diff --git a/AUTHORS b/AUTHORS index 5de0a3573..da8f104a9 100644 --- a/AUTHORS +++ b/AUTHORS @@ -10,10 +10,12 @@ Jeremy Wright Martin Siggel Matthis Thorade Thomas Krijnen -Thomas Paviot Trevor Laughlin -jelle feringa +Jelle Feringa nxsofsys Thomas Severin +Kristoffer Andersen +Tanneguy de Villemagne +Simon Klein Please report any missing name diff --git a/CMakeLists.txt b/CMakeLists.txt index c36a57dce..bb1c608f4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,8 +21,8 @@ project(PYTHONOCC) # set pythonOCC version set(PYTHONOCC_VERSION_MAJOR 7) -set(PYTHONOCC_VERSION_MINOR 5) -set(PYTHONOCC_VERSION_PATCH 3) +set(PYTHONOCC_VERSION_MINOR 6) +set(PYTHONOCC_VERSION_PATCH 2) # Empty for official releases, set to -dev, -rc1, etc for development releases set(PYTHONOCC_VERSION_DEVEL ) @@ -60,7 +60,6 @@ if(NOT DEFINED PYTHONOCC_BUILD_TYPE) endif(NOT DEFINED PYTHONOCC_BUILD_TYPE) set(CMAKE_BUILD_TYPE ${PYTHONOCC_BUILD_TYPE} CACHE INTERNAL "Build type, immutable" FORCE) -message(STATUS " ${CMAKE_CXX_FLAGS}") set(BUILD_SHARED_LIBS ON) include_directories(${CMAKE_CURRENT_SOURCE_DIR}) @@ -120,7 +119,7 @@ message(STATUS "Python library release: ${Python3_LIBRARY_RELEASE}") ######## # SWIG # ######## -find_package(SWIG 3.0.11 REQUIRED) +find_package(SWIG 4.0.2 REQUIRED) include(${SWIG_USE_FILE}) set(SWIG_FILES_PATH src/SWIG_files/wrapper) set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -fvirtual -py3) @@ -148,7 +147,7 @@ if(DEFINED OCE_INCLUDE_PATH) # if OCE_INCLUDE_PATH is not passed at command line, # find OCE automatically else(OCE_INCLUDE_PATH) - find_package(OpenCASCADE 7.5.3 REQUIRED) + find_package(OpenCASCADE 7.6.2 REQUIRED) if(OpenCASCADE_FOUND) message(STATUS "OpenCASCADE version found: " ${OpenCASCADE_MAJOR_VERSION} "." ${OpenCASCADE_MINOR_VERSION} "." ${OpenCASCADE_MAINTENANCE_VERSION}) message(STATUS "OpenCASCADE include directory: " ${OpenCASCADE_INCLUDE_DIR}) @@ -382,13 +381,6 @@ ${CMAKE_CURRENT_SOURCE_DIR}/src/Addons/Font3d.cpp swig_add_library(Addons LANGUAGE python SOURCES ${ADDONS_SOURCE_FILES} TYPE MODULE) swig_link_libraries(Addons ${OCE_MODEL_LIBRARIES} ${OCE_VISUALIZATION_LIBRARIES} Python3::Module) -#if (APPLE) -# set_target_properties(${SWIG_MODULE_Addons_REAL_NAME} PROPERTIES COMPILE_FLAGS ${PYTHON_CFLAGS}) -# set_target_properties(${SWIG_MODULE_Addons_REAL_NAME} PROPERTIES LINK_FLAGS ${PYTHON_LDFLAGS}) -# swig_link_libraries(Addons ${OPENGL_LIBRARIES}) -#else(APPLE) -# swig_link_libraries(Addons ${PYTHON_LIBRARIES}) -#endif(APPLE) ################ # Installation # diff --git a/INSTALL.md b/INSTALL.md index 2c10f3850..1b6f1018f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -19,14 +19,13 @@ Requirements pythonOCC needs the following libraries or programs to be installed before you can compile/use it : -* the python programming language (). Python 3.x is required. Python 2 -is officially dropped since the release 7.5.0. +* the python programming language (). Python 3.x is required. -* OpenCascade 7.5.2 (), direct source download at https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=0dc2c377fc5a2d8cf065f4ec005e356240cb484c;sf=tgz +* OpenCascade 7.6.2 () IMPORTANT: OpenCASCADE has to be compiled using flag -D BUILD_RELEASE_DISABLE_EXCEPTIONS=OFF -* SWIG 3.0.11 or higher (), +* SWIG 4.0.2 or higher () Optional -------- diff --git a/NEWS b/NEWS index 554a8182e..34955db72 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,18 @@ +Version 7.6.2 - August 2022 +=========================== + +This release requires opencascade-7.6.2. + +* wrapper: port to opencascade-7.6.2 + +* wrapper: improved support for enums + +* MeshDataSource: new numpy based module for fast STL mesh loading (thanks @kleinsimon) + +* LayerManager: new module (thanks @Tanneguydv) + +* misc cleanup, typos, small fixes all over the code base + Version 7.5.1 - March 2021 ========================== diff --git a/README.md b/README.md index a50d25005..b767f7941 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ [![Azure Build Status](https://dev.azure.com/tpaviot/pythonocc-core/_apis/build/status/tpaviot.pythonocc-core?branchName=master)](https://dev.azure.com/tpaviot/pythonocc-core/_build?definitionId=2) -[![Conda installer](https://anaconda.org/pythonocc/pythonocc-core/badges/installer/conda.svg)](https://anaconda.org/pythonocc/pythonocc-core) -[![Downloads Badge](https://anaconda.org/pythonocc/pythonocc-core/badges/downloads.svg)](https://anaconda.org/pythonocc/pythonocc-core) +[![Conda installer](https://anaconda.org/conda-forge/pythonocc-core/badges/installer/conda.svg)](https://anaconda.org/conda-forge/pythonocc-core) +[![Downloads Badge](https://anaconda.org/conda-forge/pythonocc-core/badges/downloads.svg)](https://anaconda.org/conda-forge/pythonocc-core) [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/tpaviot/pythonocc-core.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/tpaviot/pythonocc-core/context:python) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/67c121324b8d4f37bc27029464c87020)](https://www.codacy.com/app/tpaviot/pythonocc-core?utm_source=github.com&utm_medium=referral&utm_content=tpaviot/pythonocc-core&utm_campaign=Badge_Grade) -[![Binder](http://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/tpaviot/pythonocc-binderhub/7.5.1) +[![Binder](http://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/tpaviot/pythonocc-binderhub/7.6.2) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3686916.svg)](https://doi.org/10.5281/zenodo.3686916) pythonocc-core @@ -14,7 +14,7 @@ About pythonocc provides 3D modeling and dataexchange features. It is intended to CAD/PDM/PLM and BIM related development. -Latest release : [pythonocc-core 7.5.1 (march 2021)](https://github.com/tpaviot/pythonocc-core/releases/tag/7.5.1) +Latest release : [pythonocc-core 7.6.2 (August 2022)](https://github.com/tpaviot/pythonocc-core/releases/tag/7.6.2) Features -------- @@ -29,18 +29,18 @@ pythonocc provides the following features: Try online at mybinder ---------------------- -Click [![Binder](http://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/tpaviot/pythonocc-binderhub/7.5.1) to open a jupyter notebook running latest pythonocc-core 7.5.1, gmesh () and latest IfcOpenshell () dev branch. +Click [![Binder](http://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/tpaviot/pythonocc-binderhub/7.6.2) to open a jupyter notebook running latest pythonocc-core 7.6.2, gmesh () and latest IfcOpenshell () dev branch. Download/install binaries for Linux/OSX/Windows ----------------------------------------------- -pythonocc provides precompiled [conda packages](https://anaconda.org/pythonocc/pythonocc-core) (they depend on third part libraries made available from the dlr-sc and conda-forge conda channels) for python 3.7, 3.8 and 3.9. This will get you up and running in minutes whether you run win32/win64/linux64/osx64. Here is an example for python 3.7: +pythonocc provides precompiled [conda packages](https://anaconda.org/pythonocc/pythonocc-core) (they depend on third part libraries made available from the dlr-sc and conda-forge conda channels) for python 3.8, 3.9 and 3.10. This will get you up and running in minutes whether you run win32/win64/linux64/osx64. Here is an example for python 3.7: ```bash # first create an environment -conda create --name=pyoccenv python=3.7 +conda create --name=pyoccenv python=3.9 source activate pyoccenv -conda install -c conda-forge pythonocc-core=7.5.1 occt=7.5.1 +conda install -c conda-forge pythonocc-core=7.6.2 ``` Other channels provide pythonocc-core packages, check https://anaconda.org/search?q=pythonocc-core. @@ -71,7 +71,7 @@ We use the following online resources: pythonocc, oce and opencascade dependencies ------------------------------------------- -pythonocc-core 7.5.1 depends on the official OpenCascade-7.5.1 library () +pythonocc-core 7.6.2 depends on the official OpenCascade-7.6.2 library () Former releases rely on oce (OpenCascade Community Edition), available at [oce C++ library / CAD kernel](https://github.com/tpaviot/oce). diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a6065da18..be2f65aca 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -15,70 +15,72 @@ schedules: jobs: - template: conda-build.yml parameters: - name: Ubuntu_20_04_python37 - vmImage: 'ubuntu-20.04' + name: Ubuntu_22_04_python38 + vmImage: 'ubuntu-22.04' py_maj: 3 - py_min: 7 + py_min: 8 + conda_bld: 3.21 - template: conda-build.yml parameters: - name: macOS_10_15_python37 - vmImage: 'macOS-10.15' + name: macOS_11_python38 + vmImage: 'macOS-11' py_maj: 3 - py_min: 7 + py_min: 8 + conda_bld: 3.21 - template: conda-build.yml parameters: - name: Windows_VS2019_python37 - vmImage: 'windows-2019' + name: Windows_VS2022_python38 + vmImage: 'windows-2022' py_maj: 3 - py_min: 7 - conda_bld: 3.17 + py_min: 8 + conda_bld: 3.21 - template: conda-build.yml parameters: - name: Ubuntu_20_04_python38 - vmImage: 'ubuntu-20.04' + name: Ubuntu_22_04_python39 + vmImage: 'ubuntu-22.04' py_maj: 3 - py_min: 8 + py_min: 9 conda_bld: 3.21 - template: conda-build.yml parameters: - name: macOS_10_15_python38 - vmImage: 'macOS-10.15' + name: macOS_11_python39 + vmImage: 'macOS-11' py_maj: 3 - py_min: 8 + py_min: 9 conda_bld: 3.21 - template: conda-build.yml parameters: - name: Windows_VS2019_python38 - vmImage: 'windows-2019' + name: Windows_VS2022_python39 + vmImage: 'windows-2022' py_maj: 3 - py_min: 8 + py_min: 9 conda_bld: 3.21 - template: conda-build.yml parameters: - name: Ubuntu_20_04_python39 - vmImage: 'ubuntu-20.04' + name: Ubuntu_22_04_python310 + vmImage: 'ubuntu-22.04' py_maj: 3 - py_min: 9 + py_min: 10 conda_bld: 3.21 - template: conda-build.yml parameters: - name: macOS_10_15_python39 - vmImage: 'macOS-10.15' + name: macOS_11_python310 + vmImage: 'macOS-11' py_maj: 3 - py_min: 9 + py_min: 10 conda_bld: 3.21 - template: conda-build.yml parameters: - name: Windows_VS2019_python39 - vmImage: 'windows-2019' + name: Windows_VS2022_python310 + vmImage: 'windows-2022' py_maj: 3 - py_min: 9 + py_min: 10 conda_bld: 3.21 diff --git a/ci/conda/bld.bat b/ci/conda/bld.bat index e4bda0ca2..54fe1f682 100644 --- a/ci/conda/bld.bat +++ b/ci/conda/bld.bat @@ -2,14 +2,17 @@ mkdir build cd build REM Configure step -cmake -G "Ninja" -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^ +cmake -G "Ninja" ^ -DPYTHONOCC_BUILD_TYPE=Release ^ - -DPYTHONOCC_MESHDS_NUMPY=ON ^ -DCMAKE_PREFIX_PATH="%LIBRARY_PREFIX%" ^ + -DCMAKE_LIBRARY_PATH="%LIBRARY_LIB%" ^ + -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^ -DCMAKE_SYSTEM_PREFIX_PATH="%LIBRARY_PREFIX%" ^ -DPython3_FIND_STRATEGY=LOCATION ^ -DPython3_FIND_REGISTRY=NEVER ^ -DSWIG_HIDE_WARNINGS=ON ^ + -DPYTHONOCC_MESHDS_NUMPY=ON ^ + -DPYTHONOCC_VERSION=%OCCT_VERSION% ^ .. if errorlevel 1 exit 1 @@ -20,8 +23,3 @@ if errorlevel 1 exit 1 REM Install step ninja install if errorlevel 1 exit 1 - -REM copy the source -REM cd .. -REM xcopy src "%LIBRARY_PREFIX%\src\pythonocc-core\src" /s /e /i -REM if errorlevel 1 exit 1 diff --git a/ci/conda/build.sh b/ci/conda/build.sh index a63f318d4..780b1b9ce 100644 --- a/ci/conda/build.sh +++ b/ci/conda/build.sh @@ -7,16 +7,18 @@ if [[ ${HOST} =~ .*linux.* ]]; then fi # Configure step -cmake -G Ninja -DCMAKE_INSTALL_PREFIX=$PREFIX \ +cmake -G Ninja \ -DPYTHONOCC_BUILD_TYPE=Release \ - ${CMAKE_PLATFORM_FLAGS[@]} \ - -DPYTHONOCC_MESHDS_NUMPY=ON \ -DCMAKE_PREFIX_PATH=$PREFIX \ + -DCMAKE_LIBRARY_PATH:FILEPATH="$PREFIX/lib" \ + -DCMAKE_INSTALL_PREFIX:FILEPATH=$PREFIX \ -DCMAKE_SYSTEM_PREFIX_PATH=$PREFIX \ + ${CMAKE_PLATFORM_FLAGS[@]} \ -DPython3_FIND_STRATEGY=LOCATION \ -DPython3_FIND_FRAMEWORK=NEVER \ -DSWIG_HIDE_WARNINGS=ON \ - . + -DPYTHONOCC_MESHDS_NUMPY=ON \ + -DPYTHONOCC_VERSION=$OCCT_VERSION \ # Build step ninja @@ -25,8 +27,8 @@ ninja ninja install # fix rpaths -if [ $(uname) == Darwin ]; then - for lib in $(ls $SP_DIR/OCC/_*.so); do - install_name_tool -rpath $PREFIX/lib @loader_path/../../../ $lib - done -fi +#if [ $(uname) == Darwin ]; then +# for lib in $(ls $SP_DIR/OCC/_*.so); do +# install_name_tool -rpath $PREFIX/lib @loader_path/../../../ $lib +# done +#fi diff --git a/ci/conda/conda_build_config.yaml b/ci/conda/conda_build_config.yaml index 74ce27c16..6a99f1ddb 100644 --- a/ci/conda/conda_build_config.yaml +++ b/ci/conda/conda_build_config.yaml @@ -1,8 +1,2 @@ CONDA_BUILD_SYSROOT: - - /Applications/Xcode_12.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk # [osx] - -c_compiler: - - vs2015 # [win] - -cxx_compiler: - - vs2015 # [win] \ No newline at end of file + - /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk diff --git a/ci/conda/meta.yaml b/ci/conda/meta.yaml index 3b30c3307..9889dc7e1 100644 --- a/ci/conda/meta.yaml +++ b/ci/conda/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "7.5.3" %} +{% set version = "7.6.2" %} package: name: pythonocc-core @@ -14,6 +14,7 @@ build: requirements: build: + - {{ compiler('c') }} - {{ compiler('cxx') }} - {{ cdt('libx11-devel') }} # [linux] - {{ cdt('xorg-x11-proto-devel') }} # [linux] @@ -21,15 +22,15 @@ requirements: - {{ cdt('libxi-devel') }} # [linux] - ninja - cmake - - swig >=3.0.11 + - swig >=4.0.2 host: - python {{ python }} - - occt ==7.5.3 + - occt ==7.6.2 - numpy >=1.17 run: - - occt ==7.5.3 + - occt ==7.6.2 - python - six - numpy >=1.17 @@ -38,6 +39,8 @@ test: imports: - OCC - OCC.Core.BRepPrimAPI + - OCC.Core.MeshDS + - OCC.Core.Tesselator requires: - pyqt >=5 - mypy diff --git a/cmake/OCE_Modules.cmake b/cmake/OCE_Modules.cmake index 71dda4121..e2daa451a 100644 --- a/cmake/OCE_Modules.cmake +++ b/cmake/OCE_Modules.cmake @@ -2,7 +2,6 @@ LIST(APPEND OCE_TOOLKIT_MODEL # TKernel FSD - MMgt Message NCollection OSD diff --git a/conda-build.yml b/conda-build.yml index 3b49f413c..656131081 100644 --- a/conda-build.yml +++ b/conda-build.yml @@ -30,15 +30,15 @@ jobs: displayName: 'Install OpenGL headers' # macOS ownership workaround and fix osx sdk - - ${{ if contains(parameters.vmImage, 'macOS') }}: - - bash: | - sudo chown -R $USER $CONDA && \ - curl -o MacOSX10.9.sdk.tar.xz -L https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.9.sdk.tar.xz && \ - tar xf MacOSX10.9.sdk.tar.xz && \ - sudo mkdir -p /Applications/Xcode_12.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs && \ - sudo mv -v MacOSX10.9.sdk /Applications/Xcode_12.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ && \ - ls /Applications/Xcode_12.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ - displayName: 'MacOS ownership workaround and installation of MacOSX10.9 sdk' + # - ${{ if contains(parameters.vmImage, 'macOS') }}: + # - bash: | + # sudo chown -R $USER $CONDA && \ + # curl -o MacOSX10.9.sdk.tar.xz -L https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.9.sdk.tar.xz && \ + # tar xf MacOSX10.9.sdk.tar.xz && \ + # sudo mkdir -p /Applications/Xcode_12.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs && \ + # sudo mv -v MacOSX10.9.sdk /Applications/Xcode_12.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ && \ + # ls /Applications/Xcode_12.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ + # displayName: 'MacOS ownership workaround and installation of MacOSX10.9 sdk' - bash: | conda config --set always_yes yes --set changeps1 no && \ diff --git a/src/Display/OCCViewer.py b/src/Display/OCCViewer.py index 8a6b06601..fc516392b 100644 --- a/src/Display/OCCViewer.py +++ b/src/Display/OCCViewer.py @@ -170,6 +170,9 @@ def __init__(self): self._select_callbacks = [] self._overlay_items = [] + self._window_handle = None + self.camera = None + def get_parent(self): return self._parent @@ -231,7 +234,7 @@ def Create( if draw_face_boundaries: self.default_drawer.SetFaceBoundaryDraw(True) - # turn up tesselation defaults, which are too conversative... + # turn up tessellation defaults, which are too conversative... chord_dev = self.default_drawer.MaximalChordialDeviation() / 10.0 self.default_drawer.SetMaximalChordialDeviation(chord_dev) @@ -427,7 +430,11 @@ def DisplayVector(self, vec, pnt, update=False): pnt_start = gp_Pnt(start.X(), start.Y(), start.Z()) Prs3d_Arrow.Draw( - aStructure, pnt_start, gp_Dir(vec), math.radians(20), vec.Magnitude() + aStructure.CurrentGroup(), + pnt_start, + gp_Dir(vec), + math.radians(20), + vec.Magnitude(), ) aStructure.Display() # it would be more coherent if a AIS_InteractiveObject @@ -437,23 +444,30 @@ def DisplayVector(self, vec, pnt, update=False): return aStructure def DisplayMessage( - self, point, text_to_write, height=None, message_color=None, update=False + self, + point, + text_to_write, + height=14.0, + message_color=(0.0, 0.0, 0.0), + update=False, ): """ :point: a gp_Pnt or gp_Pnt2d instance :text_to_write: a string - :message_color: triple with the range 0-1 + :height: font height, 12 by defaults + :message_color: triple with the range 0-1, default to black """ aStructure = Graphic3d_Structure(self._struc_mgr) - text_aspect = Prs3d_TextAspect() - if message_color is not None: - text_aspect.SetColor(rgb_color(*message_color)) - if height is not None: - text_aspect.SetHeight(height) + text_aspect = Prs3d_TextAspect() + text_aspect.SetColor(rgb_color(*message_color)) + text_aspect.SetHeight(height) if isinstance(point, gp_Pnt2d): point = gp_Pnt(point.X(), point.Y(), 0) - Prs3d_Text.Draw(aStructure, text_aspect, to_string(text_to_write), point) + + Prs3d_Text.Draw( + aStructure.CurrentGroup(), text_aspect, to_string(text_to_write), point + ) aStructure.Display() # @TODO: it would be more coherent if a AIS_InteractiveObject # is be returned @@ -639,10 +653,7 @@ def GetSelectedShapes(self): return self.selected_shapes def GetSelectedShape(self): - """ - Returns the current selected shape - """ - return self.selected_shape + return self.Context.SelectedShape() def SelectArea(self, Xmin, Ymin, Xmax, Ymax): self.Context.Select(Xmin, Ymin, Xmax, Ymax, self.View, True) @@ -678,7 +689,7 @@ def ShiftSelect(self, X, Y): if self.Context.HasSelectedShape(): self.selected_shapes.append(self.Context.SelectedShape()) self.Context.NextSelected() - # hilight newly selected unhighlight those no longer selected + # highlight newly selected unhighlight those no longer selected self.Context.UpdateSelected(True) # callbacks for callback in self._select_callbacks: @@ -705,7 +716,7 @@ def StartRotation(self, X, Y): class OffscreenRenderer(Viewer3d): """The offscreen renderer is inherited from Viewer3d. - The DisplayShape method is overriden to export to image + The DisplayShape method is overridden to export to image each time it is called. """ diff --git a/src/Display/SimpleGui.py b/src/Display/SimpleGui.py index 281d20f93..925fc93d2 100644 --- a/src/Display/SimpleGui.py +++ b/src/Display/SimpleGui.py @@ -52,7 +52,7 @@ def init_display( In case an offscreen renderer is returned, start_display and add_menu are ignored, i.e. an empty function is returned (named do_nothing). add_function_to_menu just execute the - function taken as a paramter. + function taken as a parameter. Note : the offscreen renderer is used on the travis side. """ @@ -64,17 +64,16 @@ def init_display( offscreen_renderer = OffscreenRenderer() def do_nothing(*kargs: Any, **kwargs: Any) -> None: - """takes as many parameters as you want, - ans does nothing + """takes as many parameters as you want, and does nothing """ - pass + return None def call_function(s, func: Callable) -> None: """A function that calls another function. - Helpfull to bypass add_function_to_menu. s should be a string + Helpful to bypass add_function_to_menu. s should be a string """ check_callable(func) - log.info("Execute %s :: %s menu fonction" % (s, func.__name__)) + log.info("Execute %s :: %s menu function" % (s, func.__name__)) func() log.info("done") @@ -203,7 +202,7 @@ def add_function_to_menu(self, menu_name: str, _callable: Callable) -> None: # following couple of lines is a tweak to enable ipython --gui='qt' app = QtWidgets.QApplication.instance() # checks if QApplication already exists - if not app: # create QApplication if it doesnt exist + if not app: # create QApplication if it doesn't exist app = QtWidgets.QApplication(sys.argv) win = MainWindow() win.resize(size[0] - 1, size[1] - 1) diff --git a/src/Display/WebGl/flask_server.py b/src/Display/WebGl/flask_server.py index 3743c42a0..ccb6d3afa 100644 --- a/src/Display/WebGl/flask_server.py +++ b/src/Display/WebGl/flask_server.py @@ -8,8 +8,7 @@ OCC_VERSION, THREEJS_RELEASE, color_to_hex, - export_edgedata_to_json, - spinning_cursor, + export_edgedata_to_json ) from OCC.Extend.TopologyUtils import is_edge, is_wire, discretize_edge, discretize_wire from OCC.Core.Tesselator import ShapeTesselator @@ -93,7 +92,7 @@ def ConvertShape( # convert as TopoDS_Shape shape_uuid = uuid.uuid4().hex shape_hash = "shp%s" % shape_uuid - # tesselate + # tessellate tess = ShapeTesselator(shape) tess.Compute( compute_edges=export_edges, mesh_quality=mesh_quality, parallel=True @@ -197,7 +196,7 @@ def translate_shp(shp, vec, copy=False): my_ren.ConvertShape(box, export_edges=True) my_ren.ConvertShape(t_torus, export_edges=True) final_time = time.time() - print("\nTotal meshing time : ", final_time - init_time) + print("\nTotal meshing time : {:.2f}s".format(final_time - init_time)) return render_template( "index.html", diff --git a/src/Display/WebGl/jupyter_renderer.py b/src/Display/WebGl/jupyter_renderer.py index 32a03ea11..ea25dbc96 100644 --- a/src/Display/WebGl/jupyter_renderer.py +++ b/src/Display/WebGl/jupyter_renderer.py @@ -448,7 +448,7 @@ def __init__( self._camera_distance_factor = 6 self._camera_initial_zoom = 2.5 - # a dictionnary of all the shapes belonging to the renderer + # a dictionary of all the shapes belonging to the renderer # each element is a key 'mesh_id:shape' self._shapes = {} @@ -529,7 +529,7 @@ def create_checkbox(self, kind, description, value, handler): def remove_shape(self, *kargs): self.clicked_obj.visible = not self.clicked_obj.visible - # remove shape fro mthe mapping dict + # remove shape from the mapping dict cur_id = self.clicked_obj.name del self._shapes[cur_id] self._remove_shp_button.disabled = True @@ -731,7 +731,7 @@ def DisplayShape( """Displays a topods_shape in the renderer instance. shp: the TopoDS_Shape to render shape_color: the shape color, in html corm, eg '#abe000' - render_edges: optional, False by default. If True, compute and dislay all + render_edges: optional, False by default. If True, compute and display all edges as a linear interpolation of segments. edge_color: optional, black by default. The color used for edge rendering, in html form eg '#ff00ee' @@ -739,7 +739,7 @@ def DisplayShape( vertex_color: optional quality: optional, 1.0 by default. If set to something lower than 1.0, mesh will be more precise. If set to something higher than 1.0, - mesh will be less precise, i.e. lower numer of triangles. + mesh will be less precise, i.e. lower number of triangles. transparency: optional, False by default (opaque). opacity: optional, float, by default to 1 (opaque). if transparency is set to True, 1. is fully opaque, 0. is fully transparent. @@ -869,7 +869,7 @@ def AddShapeToScene( transparency=False, opacity=1.0, ): - # first, compute the tesselation + # first, compute the tessellation tess = ShapeTesselator(shp) tess.Compute(compute_edges=render_edges, mesh_quality=quality, parallel=True) # get vertices and normals diff --git a/src/Display/WebGl/simple_server.py b/src/Display/WebGl/simple_server.py index 00be27da5..30388159e 100644 --- a/src/Display/WebGl/simple_server.py +++ b/src/Display/WebGl/simple_server.py @@ -30,7 +30,7 @@ def get_available_port(port): * takes a port number (an integer), above 1024 * check if it is available * if not, take another one - * returns the port numer + * returns the port number """ if not port > 1024: raise AssertionError("port number should be > 1024") diff --git a/src/Display/WebGl/threejs_renderer.py b/src/Display/WebGl/threejs_renderer.py index de2e63aa5..82a5c234c 100644 --- a/src/Display/WebGl/threejs_renderer.py +++ b/src/Display/WebGl/threejs_renderer.py @@ -28,7 +28,7 @@ from OCC.Extend.TopologyUtils import is_edge, is_wire, discretize_edge, discretize_wire from OCC.Display.WebGl.simple_server import start_server -THREEJS_RELEASE = "r135" +THREEJS_RELEASE = "r143" def spinning_cursor(): @@ -59,7 +59,7 @@ def export_edgedata_to_json(edge_hash, point_set): for point in point_set: for coord in point: points_coordinates.append(coord) - # then build the dictionnary exported to json + # then build the dictionary exported to json edges_data = { "metadata": { "version": 4.4, @@ -475,7 +475,7 @@ def DisplayShape( return self._3js_shapes, self._3js_edges shape_uuid = uuid.uuid4().hex shape_hash = "shp%s" % shape_uuid - # tesselate + # tesselatte tess = ShapeTesselator(shape) tess.Compute( compute_edges=export_edges, mesh_quality=mesh_quality, parallel=True diff --git a/src/Display/WebGl/x3dom_renderer.py b/src/Display/WebGl/x3dom_renderer.py index ab076f57e..c9c74d7f3 100644 --- a/src/Display/WebGl/x3dom_renderer.py +++ b/src/Display/WebGl/x3dom_renderer.py @@ -27,6 +27,7 @@ from OCC.Extend.TopologyUtils import is_edge, is_wire, discretize_edge, discretize_wire from OCC.Display.WebGl.simple_server import start_server +X3DOM_RELEASE = "1.8.2" def spinning_cursor(): while True: @@ -69,7 +70,7 @@ def spinning_cursor(): position: absolute; left: 1%; bottom: 2%; - height: 38px; + height: 19px; width: 280px; border-radius: 5px; border: 2px solid #f7941e; @@ -111,9 +112,7 @@ def spinning_cursor(): @X3DSCENE@
- pythonocc-@VERSION@ x3dom renderer -
Check our blog at - http://www.pythonocc.org + pythonocc-@VERSION@ x3dom @X3DOMVERSION@ renderer
t view/hide shape
@@ -251,7 +250,7 @@ def get_str(self): self._axis_plane_zoom_factor, self._axis_plane_zoom_factor, ) - # global rotateso that z is aligne properly + # global rotateso that z is align properly x3dcontent += ( '' ) @@ -270,6 +269,7 @@ def get_str(self): x3dcontent += "" x3dcontent += "\t\t\n\t\n" body_str = body_str.replace("@X3DSCENE@", x3dcontent) + body_str = body_str.replace("@X3DOMVERSION@", X3DOM_RELEASE) return body_str @@ -500,7 +500,7 @@ def render(self, addr="localhost", server_port=8080, open_webbrowser=False): def generate_html_file(self, axes_plane, axes_plane_zoom_factor): """Generate the HTML file to be rendered wy the web browser - axes_plane: a boolean, telles wether or not display axes + axes_plane: a boolean, tells whether or not display axes """ with open(self._html_filename, "w") as html_file: html_file.write("\n") diff --git a/src/Display/qtDisplay.py b/src/Display/qtDisplay.py index 01f5294e5..cdb9334a8 100644 --- a/src/Display/qtDisplay.py +++ b/src/Display/qtDisplay.py @@ -17,7 +17,6 @@ ##You should have received a copy of the GNU Lesser General Public License ##along with pythonOCC. If not, see . -import ctypes import logging import os import sys diff --git a/src/Display/wxDisplay.py b/src/Display/wxDisplay.py index aeda6b59d..5fc6ca591 100644 --- a/src/Display/wxDisplay.py +++ b/src/Display/wxDisplay.py @@ -67,7 +67,7 @@ def GetWinId(self): win_id = self.GetHandle() init_time = time.time() delta_t = 0.0 # elapsed time, initialized to 0 before the while loop - # if ever win_id is 0, enter the loop untill it gets a value + # if ever win_id is 0, enter the loop until it gets a value while win_id == 0 and delta_t < timeout: time.sleep(0.1) wx.SafeYield() diff --git a/src/Extend/LayerManager.py b/src/Extend/LayerManager.py index 2ece8c271..9778d922e 100644 --- a/src/Extend/LayerManager.py +++ b/src/Extend/LayerManager.py @@ -17,21 +17,24 @@ class Layer: - def __init__(self, from_display, shape=None, color=0): + def __init__(self, from_display, shape=None, color=0, tansparency=0.0): """ :param from_display: the display from the main code :param shape: TopoDS_Shape :param color: Quantity color + :param transparency: from 0.0 to 1.0 """ self.clear() self.color = color self.display = from_display + self.transparency = tansparency if shape is not None: self.add(shape) def add(self, shape): self.to_display = {self.count} self.to_display = self.display.DisplayShape(shape, color=self.color)[0] + self.display.Context.SetTransparency(self.to_display, self.transparency, True) self.list_to_display.append(self.to_display) self.shapes.append(shape) self.count += 1 diff --git a/src/Extend/ShapeFactory.py b/src/Extend/ShapeFactory.py index 559470486..cdc1e64ad 100644 --- a/src/Extend/ShapeFactory.py +++ b/src/Extend/ShapeFactory.py @@ -464,7 +464,7 @@ def recognize_face(topods_face): kind = "Other" tuple_to_return = (kind, None, None) else: - tuple_to_return = ("Unknwon", None, None) + tuple_to_return = ("Unknown", None, None) return tuple_to_return diff --git a/src/Extend/TopologyUtils.py b/src/Extend/TopologyUtils.py index b81ff57f3..3590eba10 100644 --- a/src/Extend/TopologyUtils.py +++ b/src/Extend/TopologyUtils.py @@ -180,7 +180,7 @@ def _loop_topo( TopAbs_COMPSOLID: TopoDS_CompSolid, } topology_explorer = TopExp_Explorer() - if topology_type not in topo_types.keys(): + if topology_type not in topo_types: raise AssertionError(f"{topology_type} not one of {topo_types.keys()}") # use self.my_shape if nothing is specified if topological_entity is None and topology_type_to_avoid is None: @@ -729,7 +729,7 @@ def list_of_shapes_to_compound( list_of_shapes: List[TopoDS_Shape], ) -> Tuple[TopoDS_Compound, bool]: """takes a list of shape in input, gather all shapes into one compound - returns the compound and a boolean, True if all shapes were added to the compund, + returns the compound and a boolean, True if all shapes were added to the compound, False otherwise """ all_shapes_converted = True diff --git a/src/MeshDataSource/MeshDataSource.cpp b/src/MeshDataSource/MeshDataSource.cpp index d9569925d..da9bd9758 100644 --- a/src/MeshDataSource/MeshDataSource.cpp +++ b/src/MeshDataSource/MeshDataSource.cpp @@ -79,7 +79,7 @@ MeshDS_DataSource::MeshDS_DataSource(const Handle(Poly_Triangulation)& polyTri) std::vector> Ele2NodeData; CoordData.resize(polyTri->NbNodes()); Ele2NodeData.resize(polyTri->NbTriangles()); - const TColgp_Array1OfPnt& nodes = polyTri->Nodes(); + const TColgp_Array1OfPnt& nodes = polyTri->MapNodeArray()->Array1(); for (Standard_Integer nodeId = nodes.Lower(); nodeId <= nodes.Upper(); nodeId++) { const gp_Pnt& node = nodes.Value(nodeId); CoordData[nodeId - nodes.Lower()] = node; diff --git a/src/PkgBase/__init__.py b/src/PkgBase/__init__.py index 84bc6dfcc..b45116214 100644 --- a/src/PkgBase/__init__.py +++ b/src/PkgBase/__init__.py @@ -1,6 +1,6 @@ PYTHONOCC_VERSION_MAJOR = 7 -PYTHONOCC_VERSION_MINOR = 5 -PYTHONOCC_VERSION_PATCH = 3 +PYTHONOCC_VERSION_MINOR = 6 +PYTHONOCC_VERSION_PATCH = 2 # Empty for official releases, set to -dev, -rc1, etc for development releases PYTHONOCC_VERSION_DEVEL = '' diff --git a/src/SWIG_files/headers/AIS_module.hxx b/src/SWIG_files/headers/AIS_module.hxx index c8009f384..e44351285 100644 --- a/src/SWIG_files/headers/AIS_module.hxx +++ b/src/SWIG_files/headers/AIS_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -64,6 +64,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include @@ -78,6 +79,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include @@ -94,6 +96,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/Adaptor2d_module.hxx b/src/SWIG_files/headers/Adaptor2d_module.hxx index 696bb941d..e8200988b 100644 --- a/src/SWIG_files/headers/Adaptor2d_module.hxx +++ b/src/SWIG_files/headers/Adaptor2d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -20,9 +20,6 @@ along with pythonOCC. If not, see . #include -#include -#include -#include #include #include diff --git a/src/SWIG_files/headers/Adaptor3d_module.hxx b/src/SWIG_files/headers/Adaptor3d_module.hxx index c9df8127b..88389acc5 100644 --- a/src/SWIG_files/headers/Adaptor3d_module.hxx +++ b/src/SWIG_files/headers/Adaptor3d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,18 +21,11 @@ along with pythonOCC. If not, see . #include #include -#include -#include -#include -#include -#include -#include #include #include #include #include #include -#include #include #endif // ADAPTOR3D_HXX diff --git a/src/SWIG_files/headers/AdvApp2Var_module.hxx b/src/SWIG_files/headers/AdvApp2Var_module.hxx index ba654c257..45caf561c 100644 --- a/src/SWIG_files/headers/AdvApp2Var_module.hxx +++ b/src/SWIG_files/headers/AdvApp2Var_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/AdvApprox_module.hxx b/src/SWIG_files/headers/AdvApprox_module.hxx index 446739209..6d77f84ad 100644 --- a/src/SWIG_files/headers/AdvApprox_module.hxx +++ b/src/SWIG_files/headers/AdvApprox_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/AppBlend_module.hxx b/src/SWIG_files/headers/AppBlend_module.hxx index bf0d40cca..565a44ba9 100644 --- a/src/SWIG_files/headers/AppBlend_module.hxx +++ b/src/SWIG_files/headers/AppBlend_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/AppCont_module.hxx b/src/SWIG_files/headers/AppCont_module.hxx index 93e767f6e..3c4de94dc 100644 --- a/src/SWIG_files/headers/AppCont_module.hxx +++ b/src/SWIG_files/headers/AppCont_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/AppDef_module.hxx b/src/SWIG_files/headers/AppDef_module.hxx index 42bcb82ee..7f241c2d0 100644 --- a/src/SWIG_files/headers/AppDef_module.hxx +++ b/src/SWIG_files/headers/AppDef_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/AppParCurves_module.hxx b/src/SWIG_files/headers/AppParCurves_module.hxx index 4aa7fe8bb..7346ed4b9 100644 --- a/src/SWIG_files/headers/AppParCurves_module.hxx +++ b/src/SWIG_files/headers/AppParCurves_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/AppStdL_module.hxx b/src/SWIG_files/headers/AppStdL_module.hxx index 95a832955..85ca0fd8e 100644 --- a/src/SWIG_files/headers/AppStdL_module.hxx +++ b/src/SWIG_files/headers/AppStdL_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/AppStd_module.hxx b/src/SWIG_files/headers/AppStd_module.hxx index aded4082b..1012617e0 100644 --- a/src/SWIG_files/headers/AppStd_module.hxx +++ b/src/SWIG_files/headers/AppStd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ApproxInt_module.hxx b/src/SWIG_files/headers/ApproxInt_module.hxx index 34ec5c987..f9d43cf3f 100644 --- a/src/SWIG_files/headers/ApproxInt_module.hxx +++ b/src/SWIG_files/headers/ApproxInt_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Approx_module.hxx b/src/SWIG_files/headers/Approx_module.hxx index f3792539b..820eb395c 100644 --- a/src/SWIG_files/headers/Approx_module.hxx +++ b/src/SWIG_files/headers/Approx_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Aspect_module.hxx b/src/SWIG_files/headers/Aspect_module.hxx index 4ee2358a2..3d66fac6f 100644 --- a/src/SWIG_files/headers/Aspect_module.hxx +++ b/src/SWIG_files/headers/Aspect_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -25,7 +25,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include @@ -75,6 +74,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/BOPAlgo_module.hxx b/src/SWIG_files/headers/BOPAlgo_module.hxx index 1de2701b1..c06324b6e 100644 --- a/src/SWIG_files/headers/BOPAlgo_module.hxx +++ b/src/SWIG_files/headers/BOPAlgo_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BOPDS_module.hxx b/src/SWIG_files/headers/BOPDS_module.hxx index 1012f8290..755a159ec 100644 --- a/src/SWIG_files/headers/BOPDS_module.hxx +++ b/src/SWIG_files/headers/BOPDS_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BOPTools_module.hxx b/src/SWIG_files/headers/BOPTools_module.hxx index 487970393..d37db609d 100644 --- a/src/SWIG_files/headers/BOPTools_module.hxx +++ b/src/SWIG_files/headers/BOPTools_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepAdaptor_module.hxx b/src/SWIG_files/headers/BRepAdaptor_module.hxx index c17d3378b..8ec0092be 100644 --- a/src/SWIG_files/headers/BRepAdaptor_module.hxx +++ b/src/SWIG_files/headers/BRepAdaptor_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -24,10 +24,6 @@ along with pythonOCC. If not, see . #include #include #include -#include -#include -#include -#include #include #endif // BREPADAPTOR_HXX diff --git a/src/SWIG_files/headers/BRepAlgoAPI_module.hxx b/src/SWIG_files/headers/BRepAlgoAPI_module.hxx index f88d7f412..1fa42ff95 100644 --- a/src/SWIG_files/headers/BRepAlgoAPI_module.hxx +++ b/src/SWIG_files/headers/BRepAlgoAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepAlgo_module.hxx b/src/SWIG_files/headers/BRepAlgo_module.hxx index 343a52694..1b0b03e8f 100644 --- a/src/SWIG_files/headers/BRepAlgo_module.hxx +++ b/src/SWIG_files/headers/BRepAlgo_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,16 +21,9 @@ along with pythonOCC. If not, see . #include #include -#include -#include -#include -#include #include -#include #include #include #include -#include -#include #endif // BREPALGO_HXX diff --git a/src/SWIG_files/headers/BRepApprox_module.hxx b/src/SWIG_files/headers/BRepApprox_module.hxx index 48a5b3ce7..44de15fdd 100644 --- a/src/SWIG_files/headers/BRepApprox_module.hxx +++ b/src/SWIG_files/headers/BRepApprox_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepBlend_module.hxx b/src/SWIG_files/headers/BRepBlend_module.hxx index 865072333..3ad7fa51e 100644 --- a/src/SWIG_files/headers/BRepBlend_module.hxx +++ b/src/SWIG_files/headers/BRepBlend_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepBndLib_module.hxx b/src/SWIG_files/headers/BRepBndLib_module.hxx index 59cda5b08..ef8cf0146 100644 --- a/src/SWIG_files/headers/BRepBndLib_module.hxx +++ b/src/SWIG_files/headers/BRepBndLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepBuilderAPI_module.hxx b/src/SWIG_files/headers/BRepBuilderAPI_module.hxx index ecd46294b..0f90b98d9 100644 --- a/src/SWIG_files/headers/BRepBuilderAPI_module.hxx +++ b/src/SWIG_files/headers/BRepBuilderAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepCheck_module.hxx b/src/SWIG_files/headers/BRepCheck_module.hxx index 77b98c00a..c4d925da5 100644 --- a/src/SWIG_files/headers/BRepCheck_module.hxx +++ b/src/SWIG_files/headers/BRepCheck_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,12 +21,10 @@ along with pythonOCC. If not, see . #include #include -#include -#include #include -#include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/BRepClass3d_module.hxx b/src/SWIG_files/headers/BRepClass3d_module.hxx index 73befc4a3..63eb1ab49 100644 --- a/src/SWIG_files/headers/BRepClass3d_module.hxx +++ b/src/SWIG_files/headers/BRepClass3d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepClass_module.hxx b/src/SWIG_files/headers/BRepClass_module.hxx index a1be169a1..cf6fe2a8c 100644 --- a/src/SWIG_files/headers/BRepClass_module.hxx +++ b/src/SWIG_files/headers/BRepClass_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepExtrema_module.hxx b/src/SWIG_files/headers/BRepExtrema_module.hxx index fa571a7fd..eba805266 100644 --- a/src/SWIG_files/headers/BRepExtrema_module.hxx +++ b/src/SWIG_files/headers/BRepExtrema_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepFeat_module.hxx b/src/SWIG_files/headers/BRepFeat_module.hxx index 14bbbf7ba..f7fa97cf5 100644 --- a/src/SWIG_files/headers/BRepFeat_module.hxx +++ b/src/SWIG_files/headers/BRepFeat_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepFill_module.hxx b/src/SWIG_files/headers/BRepFill_module.hxx index 9925d507c..73975e24d 100644 --- a/src/SWIG_files/headers/BRepFill_module.hxx +++ b/src/SWIG_files/headers/BRepFill_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepFilletAPI_module.hxx b/src/SWIG_files/headers/BRepFilletAPI_module.hxx index ec694f4fc..7a5264028 100644 --- a/src/SWIG_files/headers/BRepFilletAPI_module.hxx +++ b/src/SWIG_files/headers/BRepFilletAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepGProp_module.hxx b/src/SWIG_files/headers/BRepGProp_module.hxx index b8a4b928c..5c7e0ca5e 100644 --- a/src/SWIG_files/headers/BRepGProp_module.hxx +++ b/src/SWIG_files/headers/BRepGProp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepIntCurveSurface_module.hxx b/src/SWIG_files/headers/BRepIntCurveSurface_module.hxx index 7f1d9d61c..1d6c70a0f 100644 --- a/src/SWIG_files/headers/BRepIntCurveSurface_module.hxx +++ b/src/SWIG_files/headers/BRepIntCurveSurface_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepLProp_module.hxx b/src/SWIG_files/headers/BRepLProp_module.hxx index 7d39ecaa9..e0b91a849 100644 --- a/src/SWIG_files/headers/BRepLProp_module.hxx +++ b/src/SWIG_files/headers/BRepLProp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepLib_module.hxx b/src/SWIG_files/headers/BRepLib_module.hxx index 4062175ba..ab6c5a92f 100644 --- a/src/SWIG_files/headers/BRepLib_module.hxx +++ b/src/SWIG_files/headers/BRepLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -37,6 +37,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #endif // BREPLIB_HXX diff --git a/src/SWIG_files/headers/BRepMAT2d_module.hxx b/src/SWIG_files/headers/BRepMAT2d_module.hxx index 91b306000..aaaf43868 100644 --- a/src/SWIG_files/headers/BRepMAT2d_module.hxx +++ b/src/SWIG_files/headers/BRepMAT2d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepMeshData_module.hxx b/src/SWIG_files/headers/BRepMeshData_module.hxx index 4cc4b4c10..562fe3fbb 100644 --- a/src/SWIG_files/headers/BRepMeshData_module.hxx +++ b/src/SWIG_files/headers/BRepMeshData_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepMesh_module.hxx b/src/SWIG_files/headers/BRepMesh_module.hxx index 6cfa46a5c..a3e195e6d 100644 --- a/src/SWIG_files/headers/BRepMesh_module.hxx +++ b/src/SWIG_files/headers/BRepMesh_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -64,6 +64,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/BRepOffsetAPI_module.hxx b/src/SWIG_files/headers/BRepOffsetAPI_module.hxx index 424364c0a..bb42361e8 100644 --- a/src/SWIG_files/headers/BRepOffsetAPI_module.hxx +++ b/src/SWIG_files/headers/BRepOffsetAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepOffset_module.hxx b/src/SWIG_files/headers/BRepOffset_module.hxx index 010e68972..c70ffc48d 100644 --- a/src/SWIG_files/headers/BRepOffset_module.hxx +++ b/src/SWIG_files/headers/BRepOffset_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepPrimAPI_module.hxx b/src/SWIG_files/headers/BRepPrimAPI_module.hxx index 1999c02af..325aaca4c 100644 --- a/src/SWIG_files/headers/BRepPrimAPI_module.hxx +++ b/src/SWIG_files/headers/BRepPrimAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepPrim_module.hxx b/src/SWIG_files/headers/BRepPrim_module.hxx index 7197213d2..b851b7a1f 100644 --- a/src/SWIG_files/headers/BRepPrim_module.hxx +++ b/src/SWIG_files/headers/BRepPrim_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepProj_module.hxx b/src/SWIG_files/headers/BRepProj_module.hxx index 5d834f60a..bd4cb4315 100644 --- a/src/SWIG_files/headers/BRepProj_module.hxx +++ b/src/SWIG_files/headers/BRepProj_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepSweep_module.hxx b/src/SWIG_files/headers/BRepSweep_module.hxx index 80f8eb6c2..88a0876d6 100644 --- a/src/SWIG_files/headers/BRepSweep_module.hxx +++ b/src/SWIG_files/headers/BRepSweep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRepTools_module.hxx b/src/SWIG_files/headers/BRepTools_module.hxx index ef419e32f..5cd19494b 100644 --- a/src/SWIG_files/headers/BRepTools_module.hxx +++ b/src/SWIG_files/headers/BRepTools_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -27,6 +27,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/BRepTopAdaptor_module.hxx b/src/SWIG_files/headers/BRepTopAdaptor_module.hxx index 27b37c756..96d347dd7 100644 --- a/src/SWIG_files/headers/BRepTopAdaptor_module.hxx +++ b/src/SWIG_files/headers/BRepTopAdaptor_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BRep_module.hxx b/src/SWIG_files/headers/BRep_module.hxx index fd48c19c1..45fe074db 100644 --- a/src/SWIG_files/headers/BRep_module.hxx +++ b/src/SWIG_files/headers/BRep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BSplCLib_module.hxx b/src/SWIG_files/headers/BSplCLib_module.hxx index 0d4e1cf05..5a1fa193d 100644 --- a/src/SWIG_files/headers/BSplCLib_module.hxx +++ b/src/SWIG_files/headers/BSplCLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BSplSLib_module.hxx b/src/SWIG_files/headers/BSplSLib_module.hxx index 9b79b0418..2d545d8e7 100644 --- a/src/SWIG_files/headers/BSplSLib_module.hxx +++ b/src/SWIG_files/headers/BSplSLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BVH_module.hxx b/src/SWIG_files/headers/BVH_module.hxx index adeab4aee..874290342 100644 --- a/src/SWIG_files/headers/BVH_module.hxx +++ b/src/SWIG_files/headers/BVH_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BiTgte_module.hxx b/src/SWIG_files/headers/BiTgte_module.hxx index b430ca053..f7ab77dfa 100644 --- a/src/SWIG_files/headers/BiTgte_module.hxx +++ b/src/SWIG_files/headers/BiTgte_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -23,7 +23,5 @@ along with pythonOCC. If not, see . #include #include #include -#include -#include #endif // BITGTE_HXX diff --git a/src/SWIG_files/headers/BinDrivers_module.hxx b/src/SWIG_files/headers/BinDrivers_module.hxx index e16360bfa..9f5933883 100644 --- a/src/SWIG_files/headers/BinDrivers_module.hxx +++ b/src/SWIG_files/headers/BinDrivers_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BinLDrivers_module.hxx b/src/SWIG_files/headers/BinLDrivers_module.hxx index fb9188390..33656e3da 100644 --- a/src/SWIG_files/headers/BinLDrivers_module.hxx +++ b/src/SWIG_files/headers/BinLDrivers_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BinMDF_module.hxx b/src/SWIG_files/headers/BinMDF_module.hxx index dad70de72..4a097381d 100644 --- a/src/SWIG_files/headers/BinMDF_module.hxx +++ b/src/SWIG_files/headers/BinMDF_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BinMDataStd_module.hxx b/src/SWIG_files/headers/BinMDataStd_module.hxx index 630615871..0f20db734 100644 --- a/src/SWIG_files/headers/BinMDataStd_module.hxx +++ b/src/SWIG_files/headers/BinMDataStd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BinMDataXtd_module.hxx b/src/SWIG_files/headers/BinMDataXtd_module.hxx index c7ac7a678..3edc64a4a 100644 --- a/src/SWIG_files/headers/BinMDataXtd_module.hxx +++ b/src/SWIG_files/headers/BinMDataXtd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BinMDocStd_module.hxx b/src/SWIG_files/headers/BinMDocStd_module.hxx index 7abfb483f..5029a6fcc 100644 --- a/src/SWIG_files/headers/BinMDocStd_module.hxx +++ b/src/SWIG_files/headers/BinMDocStd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BinMFunction_module.hxx b/src/SWIG_files/headers/BinMFunction_module.hxx index 38b291175..64f8276fa 100644 --- a/src/SWIG_files/headers/BinMFunction_module.hxx +++ b/src/SWIG_files/headers/BinMFunction_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BinMNaming_module.hxx b/src/SWIG_files/headers/BinMNaming_module.hxx index 27e558c90..27021e33a 100644 --- a/src/SWIG_files/headers/BinMNaming_module.hxx +++ b/src/SWIG_files/headers/BinMNaming_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BinMXCAFDoc_module.hxx b/src/SWIG_files/headers/BinMXCAFDoc_module.hxx index 2522ea3ec..59c222ebb 100644 --- a/src/SWIG_files/headers/BinMXCAFDoc_module.hxx +++ b/src/SWIG_files/headers/BinMXCAFDoc_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -26,6 +26,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/BinObjMgt_module.hxx b/src/SWIG_files/headers/BinObjMgt_module.hxx index 4b8fc0b69..d1783dfd5 100644 --- a/src/SWIG_files/headers/BinObjMgt_module.hxx +++ b/src/SWIG_files/headers/BinObjMgt_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -26,6 +26,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include diff --git a/src/SWIG_files/headers/BinTObjDrivers_module.hxx b/src/SWIG_files/headers/BinTObjDrivers_module.hxx index 880b4afab..9735fb3ba 100644 --- a/src/SWIG_files/headers/BinTObjDrivers_module.hxx +++ b/src/SWIG_files/headers/BinTObjDrivers_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BinTools_module.hxx b/src/SWIG_files/headers/BinTools_module.hxx index e841b1128..7f961fd30 100644 --- a/src/SWIG_files/headers/BinTools_module.hxx +++ b/src/SWIG_files/headers/BinTools_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -22,9 +22,16 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include #include +#include +#include +#include #include +#include +#include #include #endif // BINTOOLS_HXX diff --git a/src/SWIG_files/headers/BinXCAFDrivers_module.hxx b/src/SWIG_files/headers/BinXCAFDrivers_module.hxx index 2885826c4..e1558a7b7 100644 --- a/src/SWIG_files/headers/BinXCAFDrivers_module.hxx +++ b/src/SWIG_files/headers/BinXCAFDrivers_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Bisector_module.hxx b/src/SWIG_files/headers/Bisector_module.hxx index b4cec12e2..4b8500ef0 100644 --- a/src/SWIG_files/headers/Bisector_module.hxx +++ b/src/SWIG_files/headers/Bisector_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BlendFunc_module.hxx b/src/SWIG_files/headers/BlendFunc_module.hxx index 9ed46a7fb..eaf65a181 100644 --- a/src/SWIG_files/headers/BlendFunc_module.hxx +++ b/src/SWIG_files/headers/BlendFunc_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Blend_module.hxx b/src/SWIG_files/headers/Blend_module.hxx index 4e34cc9de..1113beaf2 100644 --- a/src/SWIG_files/headers/Blend_module.hxx +++ b/src/SWIG_files/headers/Blend_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/BndLib_module.hxx b/src/SWIG_files/headers/BndLib_module.hxx index 52b97eeb2..35e714363 100644 --- a/src/SWIG_files/headers/BndLib_module.hxx +++ b/src/SWIG_files/headers/BndLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Bnd_module.hxx b/src/SWIG_files/headers/Bnd_module.hxx index e08f329b7..72e7a1b68 100644 --- a/src/SWIG_files/headers/Bnd_module.hxx +++ b/src/SWIG_files/headers/Bnd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/CDF_module.hxx b/src/SWIG_files/headers/CDF_module.hxx index 56ad038cf..de4ab5b47 100644 --- a/src/SWIG_files/headers/CDF_module.hxx +++ b/src/SWIG_files/headers/CDF_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -24,7 +24,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/CDM_module.hxx b/src/SWIG_files/headers/CDM_module.hxx index 446699cb3..3418659e3 100644 --- a/src/SWIG_files/headers/CDM_module.hxx +++ b/src/SWIG_files/headers/CDM_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/CPnts_module.hxx b/src/SWIG_files/headers/CPnts_module.hxx index 3d40681e1..7c8c97f04 100644 --- a/src/SWIG_files/headers/CPnts_module.hxx +++ b/src/SWIG_files/headers/CPnts_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/CSLib_module.hxx b/src/SWIG_files/headers/CSLib_module.hxx index 72a4949d3..b16076894 100644 --- a/src/SWIG_files/headers/CSLib_module.hxx +++ b/src/SWIG_files/headers/CSLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ChFi2d_module.hxx b/src/SWIG_files/headers/ChFi2d_module.hxx index a671c698a..e60daf89c 100644 --- a/src/SWIG_files/headers/ChFi2d_module.hxx +++ b/src/SWIG_files/headers/ChFi2d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ChFi3d_module.hxx b/src/SWIG_files/headers/ChFi3d_module.hxx index 49a3bfc24..3536acebe 100644 --- a/src/SWIG_files/headers/ChFi3d_module.hxx +++ b/src/SWIG_files/headers/ChFi3d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ChFiDS_module.hxx b/src/SWIG_files/headers/ChFiDS_module.hxx index 8b0679270..38474a3c2 100644 --- a/src/SWIG_files/headers/ChFiDS_module.hxx +++ b/src/SWIG_files/headers/ChFiDS_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -29,7 +29,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/ChFiKPart_module.hxx b/src/SWIG_files/headers/ChFiKPart_module.hxx index f96f8d2b5..40fba5043 100644 --- a/src/SWIG_files/headers/ChFiKPart_module.hxx +++ b/src/SWIG_files/headers/ChFiKPart_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Contap_module.hxx b/src/SWIG_files/headers/Contap_module.hxx index 2b2fad998..21eb5076e 100644 --- a/src/SWIG_files/headers/Contap_module.hxx +++ b/src/SWIG_files/headers/Contap_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Convert_module.hxx b/src/SWIG_files/headers/Convert_module.hxx index 8d9e017a7..0d1e5aadc 100644 --- a/src/SWIG_files/headers/Convert_module.hxx +++ b/src/SWIG_files/headers/Convert_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Draft_module.hxx b/src/SWIG_files/headers/Draft_module.hxx index 764f85c1b..4faa47698 100644 --- a/src/SWIG_files/headers/Draft_module.hxx +++ b/src/SWIG_files/headers/Draft_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/DsgPrs_module.hxx b/src/SWIG_files/headers/DsgPrs_module.hxx index 86a3e235c..de5fb00be 100644 --- a/src/SWIG_files/headers/DsgPrs_module.hxx +++ b/src/SWIG_files/headers/DsgPrs_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ElCLib_module.hxx b/src/SWIG_files/headers/ElCLib_module.hxx index 4d2586e6f..af284549e 100644 --- a/src/SWIG_files/headers/ElCLib_module.hxx +++ b/src/SWIG_files/headers/ElCLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ElSLib_module.hxx b/src/SWIG_files/headers/ElSLib_module.hxx index a7319755f..048e49e93 100644 --- a/src/SWIG_files/headers/ElSLib_module.hxx +++ b/src/SWIG_files/headers/ElSLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ExprIntrp_module.hxx b/src/SWIG_files/headers/ExprIntrp_module.hxx index 78a86e4b3..95484d966 100644 --- a/src/SWIG_files/headers/ExprIntrp_module.hxx +++ b/src/SWIG_files/headers/ExprIntrp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Expr_module.hxx b/src/SWIG_files/headers/Expr_module.hxx index 524a05a44..f4389145d 100644 --- a/src/SWIG_files/headers/Expr_module.hxx +++ b/src/SWIG_files/headers/Expr_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Extrema_module.hxx b/src/SWIG_files/headers/Extrema_module.hxx index 0ef9cec56..23b86b0f6 100644 --- a/src/SWIG_files/headers/Extrema_module.hxx +++ b/src/SWIG_files/headers/Extrema_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -77,7 +77,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/FEmTool_module.hxx b/src/SWIG_files/headers/FEmTool_module.hxx index a559dae9f..3c58a47a4 100644 --- a/src/SWIG_files/headers/FEmTool_module.hxx +++ b/src/SWIG_files/headers/FEmTool_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/FSD_module.hxx b/src/SWIG_files/headers/FSD_module.hxx index ec89eabd3..311b847be 100644 --- a/src/SWIG_files/headers/FSD_module.hxx +++ b/src/SWIG_files/headers/FSD_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -20,7 +20,7 @@ along with pythonOCC. If not, see . #include -#include +#include #include #include #include diff --git a/src/SWIG_files/headers/FairCurve_module.hxx b/src/SWIG_files/headers/FairCurve_module.hxx index 73845e6b4..c81869c60 100644 --- a/src/SWIG_files/headers/FairCurve_module.hxx +++ b/src/SWIG_files/headers/FairCurve_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/FilletSurf_module.hxx b/src/SWIG_files/headers/FilletSurf_module.hxx index 52137ccb2..562dd6303 100644 --- a/src/SWIG_files/headers/FilletSurf_module.hxx +++ b/src/SWIG_files/headers/FilletSurf_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GCE2d_module.hxx b/src/SWIG_files/headers/GCE2d_module.hxx index e0f945e06..a27274f6b 100644 --- a/src/SWIG_files/headers/GCE2d_module.hxx +++ b/src/SWIG_files/headers/GCE2d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GCPnts_module.hxx b/src/SWIG_files/headers/GCPnts_module.hxx index 9abf96d79..995001669 100644 --- a/src/SWIG_files/headers/GCPnts_module.hxx +++ b/src/SWIG_files/headers/GCPnts_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -26,6 +26,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/GC_module.hxx b/src/SWIG_files/headers/GC_module.hxx index d0ed2b65a..d71899b48 100644 --- a/src/SWIG_files/headers/GC_module.hxx +++ b/src/SWIG_files/headers/GC_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GProp_module.hxx b/src/SWIG_files/headers/GProp_module.hxx index 91340f46b..be7364cc1 100644 --- a/src/SWIG_files/headers/GProp_module.hxx +++ b/src/SWIG_files/headers/GProp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GccAna_module.hxx b/src/SWIG_files/headers/GccAna_module.hxx index 16c3c1c31..837f88b69 100644 --- a/src/SWIG_files/headers/GccAna_module.hxx +++ b/src/SWIG_files/headers/GccAna_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GccEnt_module.hxx b/src/SWIG_files/headers/GccEnt_module.hxx index f76fabf89..9fb5f5b1e 100644 --- a/src/SWIG_files/headers/GccEnt_module.hxx +++ b/src/SWIG_files/headers/GccEnt_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GccInt_module.hxx b/src/SWIG_files/headers/GccInt_module.hxx index b55a7e8a3..62d8c85ae 100644 --- a/src/SWIG_files/headers/GccInt_module.hxx +++ b/src/SWIG_files/headers/GccInt_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Geom2dAPI_module.hxx b/src/SWIG_files/headers/Geom2dAPI_module.hxx index ea6fb271e..722e53ab6 100644 --- a/src/SWIG_files/headers/Geom2dAPI_module.hxx +++ b/src/SWIG_files/headers/Geom2dAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Geom2dAdaptor_module.hxx b/src/SWIG_files/headers/Geom2dAdaptor_module.hxx index 408927c68..ff006b27e 100644 --- a/src/SWIG_files/headers/Geom2dAdaptor_module.hxx +++ b/src/SWIG_files/headers/Geom2dAdaptor_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,7 +21,5 @@ along with pythonOCC. If not, see . #include #include -#include -#include #endif // GEOM2DADAPTOR_HXX diff --git a/src/SWIG_files/headers/Geom2dConvert_module.hxx b/src/SWIG_files/headers/Geom2dConvert_module.hxx index caff3fd5c..ad4911341 100644 --- a/src/SWIG_files/headers/Geom2dConvert_module.hxx +++ b/src/SWIG_files/headers/Geom2dConvert_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Geom2dEvaluator_module.hxx b/src/SWIG_files/headers/Geom2dEvaluator_module.hxx index 36eb3a139..6bee9273d 100644 --- a/src/SWIG_files/headers/Geom2dEvaluator_module.hxx +++ b/src/SWIG_files/headers/Geom2dEvaluator_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Geom2dGcc_module.hxx b/src/SWIG_files/headers/Geom2dGcc_module.hxx index 1e9b8c653..244a52f06 100644 --- a/src/SWIG_files/headers/Geom2dGcc_module.hxx +++ b/src/SWIG_files/headers/Geom2dGcc_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Geom2dHatch_module.hxx b/src/SWIG_files/headers/Geom2dHatch_module.hxx index d89f7cb05..1f4fa3bdf 100644 --- a/src/SWIG_files/headers/Geom2dHatch_module.hxx +++ b/src/SWIG_files/headers/Geom2dHatch_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Geom2dInt_module.hxx b/src/SWIG_files/headers/Geom2dInt_module.hxx index 012f91e11..6b3601ce6 100644 --- a/src/SWIG_files/headers/Geom2dInt_module.hxx +++ b/src/SWIG_files/headers/Geom2dInt_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Geom2dLProp_module.hxx b/src/SWIG_files/headers/Geom2dLProp_module.hxx index bf75fbdb6..b695249af 100644 --- a/src/SWIG_files/headers/Geom2dLProp_module.hxx +++ b/src/SWIG_files/headers/Geom2dLProp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Geom2d_module.hxx b/src/SWIG_files/headers/Geom2d_module.hxx index e2b6000f1..cd2dc1be4 100644 --- a/src/SWIG_files/headers/Geom2d_module.hxx +++ b/src/SWIG_files/headers/Geom2d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomAPI_module.hxx b/src/SWIG_files/headers/GeomAPI_module.hxx index 42f18c8fc..e8da370fd 100644 --- a/src/SWIG_files/headers/GeomAPI_module.hxx +++ b/src/SWIG_files/headers/GeomAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomAbs_module.hxx b/src/SWIG_files/headers/GeomAbs_module.hxx index 998b0fb7d..e18bfa2a1 100644 --- a/src/SWIG_files/headers/GeomAbs_module.hxx +++ b/src/SWIG_files/headers/GeomAbs_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomAdaptor_module.hxx b/src/SWIG_files/headers/GeomAdaptor_module.hxx index b04672a81..6f0f3ac90 100644 --- a/src/SWIG_files/headers/GeomAdaptor_module.hxx +++ b/src/SWIG_files/headers/GeomAdaptor_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,12 +21,6 @@ along with pythonOCC. If not, see . #include #include -#include -#include -#include -#include -#include -#include #include #include #include diff --git a/src/SWIG_files/headers/GeomConvert_module.hxx b/src/SWIG_files/headers/GeomConvert_module.hxx index 671461c79..bad1d89bb 100644 --- a/src/SWIG_files/headers/GeomConvert_module.hxx +++ b/src/SWIG_files/headers/GeomConvert_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -28,5 +28,6 @@ along with pythonOCC. If not, see . #include #include #include +#include #endif // GEOMCONVERT_HXX diff --git a/src/SWIG_files/headers/GeomEvaluator_module.hxx b/src/SWIG_files/headers/GeomEvaluator_module.hxx index 1d7334d83..1d3135c6a 100644 --- a/src/SWIG_files/headers/GeomEvaluator_module.hxx +++ b/src/SWIG_files/headers/GeomEvaluator_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomFill_module.hxx b/src/SWIG_files/headers/GeomFill_module.hxx index 6d7bb7efe..57c667e9b 100644 --- a/src/SWIG_files/headers/GeomFill_module.hxx +++ b/src/SWIG_files/headers/GeomFill_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomInt_module.hxx b/src/SWIG_files/headers/GeomInt_module.hxx index 333e06199..4237b4bc1 100644 --- a/src/SWIG_files/headers/GeomInt_module.hxx +++ b/src/SWIG_files/headers/GeomInt_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomLProp_module.hxx b/src/SWIG_files/headers/GeomLProp_module.hxx index 75cd1c9b9..42cb63bc4 100644 --- a/src/SWIG_files/headers/GeomLProp_module.hxx +++ b/src/SWIG_files/headers/GeomLProp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomLib_module.hxx b/src/SWIG_files/headers/GeomLib_module.hxx index e85d7920b..b5f26d541 100644 --- a/src/SWIG_files/headers/GeomLib_module.hxx +++ b/src/SWIG_files/headers/GeomLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomPlate_module.hxx b/src/SWIG_files/headers/GeomPlate_module.hxx index 8d0938e14..5316be941 100644 --- a/src/SWIG_files/headers/GeomPlate_module.hxx +++ b/src/SWIG_files/headers/GeomPlate_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomProjLib_module.hxx b/src/SWIG_files/headers/GeomProjLib_module.hxx index b8ad12305..22e5dcad0 100644 --- a/src/SWIG_files/headers/GeomProjLib_module.hxx +++ b/src/SWIG_files/headers/GeomProjLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomToStep_module.hxx b/src/SWIG_files/headers/GeomToStep_module.hxx index 15285888b..b773ed6ec 100644 --- a/src/SWIG_files/headers/GeomToStep_module.hxx +++ b/src/SWIG_files/headers/GeomToStep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/GeomTools_module.hxx b/src/SWIG_files/headers/GeomTools_module.hxx index 06c1c892d..9ae683e1d 100644 --- a/src/SWIG_files/headers/GeomTools_module.hxx +++ b/src/SWIG_files/headers/GeomTools_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Geom_module.hxx b/src/SWIG_files/headers/Geom_module.hxx index 1c8167342..d8ecd6a58 100644 --- a/src/SWIG_files/headers/Geom_module.hxx +++ b/src/SWIG_files/headers/Geom_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Graphic3d_module.hxx b/src/SWIG_files/headers/Graphic3d_module.hxx index cf961277c..eae1aa875 100644 --- a/src/SWIG_files/headers/Graphic3d_module.hxx +++ b/src/SWIG_files/headers/Graphic3d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -49,7 +49,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include @@ -69,11 +68,11 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include #include -#include #include #include #include @@ -83,7 +82,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include @@ -109,6 +107,8 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include #include #include @@ -133,13 +133,12 @@ along with pythonOCC. If not, see . #include #include #include -#include #include +#include #include #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/HLRAlgo_module.hxx b/src/SWIG_files/headers/HLRAlgo_module.hxx index 227c59e1f..1c7108af4 100644 --- a/src/SWIG_files/headers/HLRAlgo_module.hxx +++ b/src/SWIG_files/headers/HLRAlgo_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/HLRAppli_module.hxx b/src/SWIG_files/headers/HLRAppli_module.hxx index 3c2ac3cf8..1e3363793 100644 --- a/src/SWIG_files/headers/HLRAppli_module.hxx +++ b/src/SWIG_files/headers/HLRAppli_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/HLRBRep_module.hxx b/src/SWIG_files/headers/HLRBRep_module.hxx index bd0fb3ec6..5bb223ef3 100644 --- a/src/SWIG_files/headers/HLRBRep_module.hxx +++ b/src/SWIG_files/headers/HLRBRep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/HLRTopoBRep_module.hxx b/src/SWIG_files/headers/HLRTopoBRep_module.hxx index a21c474b8..e3baaa710 100644 --- a/src/SWIG_files/headers/HLRTopoBRep_module.hxx +++ b/src/SWIG_files/headers/HLRTopoBRep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/HatchGen_module.hxx b/src/SWIG_files/headers/HatchGen_module.hxx index 4aaa8f5d9..8ab14ceac 100644 --- a/src/SWIG_files/headers/HatchGen_module.hxx +++ b/src/SWIG_files/headers/HatchGen_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Hatch_module.hxx b/src/SWIG_files/headers/Hatch_module.hxx index f2e3ed259..ccaf9efc3 100644 --- a/src/SWIG_files/headers/Hatch_module.hxx +++ b/src/SWIG_files/headers/Hatch_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Hermit_module.hxx b/src/SWIG_files/headers/Hermit_module.hxx index 63ed26eb3..6f24b77b9 100644 --- a/src/SWIG_files/headers/Hermit_module.hxx +++ b/src/SWIG_files/headers/Hermit_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IFSelect_module.hxx b/src/SWIG_files/headers/IFSelect_module.hxx index 4fc2b2700..8b6a1fc32 100644 --- a/src/SWIG_files/headers/IFSelect_module.hxx +++ b/src/SWIG_files/headers/IFSelect_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IGESCAFControl_module.hxx b/src/SWIG_files/headers/IGESCAFControl_module.hxx index fbadbab6a..42fc96eab 100644 --- a/src/SWIG_files/headers/IGESCAFControl_module.hxx +++ b/src/SWIG_files/headers/IGESCAFControl_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IGESControl_module.hxx b/src/SWIG_files/headers/IGESControl_module.hxx index d6e5bca03..12e62cb67 100644 --- a/src/SWIG_files/headers/IGESControl_module.hxx +++ b/src/SWIG_files/headers/IGESControl_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IGESData_module.hxx b/src/SWIG_files/headers/IGESData_module.hxx index 09aacdd7d..e4d466792 100644 --- a/src/SWIG_files/headers/IGESData_module.hxx +++ b/src/SWIG_files/headers/IGESData_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IGESToBRep_module.hxx b/src/SWIG_files/headers/IGESToBRep_module.hxx index 58f3b3df7..526733e32 100644 --- a/src/SWIG_files/headers/IGESToBRep_module.hxx +++ b/src/SWIG_files/headers/IGESToBRep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IMeshData_module.hxx b/src/SWIG_files/headers/IMeshData_module.hxx index 12bf5fcd7..cd57f3e40 100644 --- a/src/SWIG_files/headers/IMeshData_module.hxx +++ b/src/SWIG_files/headers/IMeshData_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IMeshTools_module.hxx b/src/SWIG_files/headers/IMeshTools_module.hxx index 35fc228f0..d3df2ff91 100644 --- a/src/SWIG_files/headers/IMeshTools_module.hxx +++ b/src/SWIG_files/headers/IMeshTools_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IVtkOCC_module.hxx b/src/SWIG_files/headers/IVtkOCC_module.hxx index adf60a26d..6c97720bb 100644 --- a/src/SWIG_files/headers/IVtkOCC_module.hxx +++ b/src/SWIG_files/headers/IVtkOCC_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IVtkTools_module.hxx b/src/SWIG_files/headers/IVtkTools_module.hxx index 523777f8d..a11300ef6 100644 --- a/src/SWIG_files/headers/IVtkTools_module.hxx +++ b/src/SWIG_files/headers/IVtkTools_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IVtkVTK_module.hxx b/src/SWIG_files/headers/IVtkVTK_module.hxx index 38b575d14..f0a56e075 100644 --- a/src/SWIG_files/headers/IVtkVTK_module.hxx +++ b/src/SWIG_files/headers/IVtkVTK_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IVtk_module.hxx b/src/SWIG_files/headers/IVtk_module.hxx index 849f91b03..e27b4a764 100644 --- a/src/SWIG_files/headers/IVtk_module.hxx +++ b/src/SWIG_files/headers/IVtk_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Image_module.hxx b/src/SWIG_files/headers/Image_module.hxx index e0658786f..4fe3bf5fc 100644 --- a/src/SWIG_files/headers/Image_module.hxx +++ b/src/SWIG_files/headers/Image_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntAna2d_module.hxx b/src/SWIG_files/headers/IntAna2d_module.hxx index e34c93394..552c9bdc9 100644 --- a/src/SWIG_files/headers/IntAna2d_module.hxx +++ b/src/SWIG_files/headers/IntAna2d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntAna_module.hxx b/src/SWIG_files/headers/IntAna_module.hxx index 2b9551858..04429b31b 100644 --- a/src/SWIG_files/headers/IntAna_module.hxx +++ b/src/SWIG_files/headers/IntAna_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntCurveSurface_module.hxx b/src/SWIG_files/headers/IntCurveSurface_module.hxx index 381048f4e..abd247bb5 100644 --- a/src/SWIG_files/headers/IntCurveSurface_module.hxx +++ b/src/SWIG_files/headers/IntCurveSurface_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntCurve_module.hxx b/src/SWIG_files/headers/IntCurve_module.hxx index 3fe8e1348..5534dba91 100644 --- a/src/SWIG_files/headers/IntCurve_module.hxx +++ b/src/SWIG_files/headers/IntCurve_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntCurvesFace_module.hxx b/src/SWIG_files/headers/IntCurvesFace_module.hxx index ac84e2c95..7c0eaa18e 100644 --- a/src/SWIG_files/headers/IntCurvesFace_module.hxx +++ b/src/SWIG_files/headers/IntCurvesFace_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntImpParGen_module.hxx b/src/SWIG_files/headers/IntImpParGen_module.hxx index b3e15f2e5..6603fbadd 100644 --- a/src/SWIG_files/headers/IntImpParGen_module.hxx +++ b/src/SWIG_files/headers/IntImpParGen_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntImp_module.hxx b/src/SWIG_files/headers/IntImp_module.hxx index 9ff34d959..58986fcf4 100644 --- a/src/SWIG_files/headers/IntImp_module.hxx +++ b/src/SWIG_files/headers/IntImp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntPatch_module.hxx b/src/SWIG_files/headers/IntPatch_module.hxx index 6d41eaf70..6235d7912 100644 --- a/src/SWIG_files/headers/IntPatch_module.hxx +++ b/src/SWIG_files/headers/IntPatch_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntPolyh_module.hxx b/src/SWIG_files/headers/IntPolyh_module.hxx index 9bcfeb17a..b06c97203 100644 --- a/src/SWIG_files/headers/IntPolyh_module.hxx +++ b/src/SWIG_files/headers/IntPolyh_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntRes2d_module.hxx b/src/SWIG_files/headers/IntRes2d_module.hxx index 6199639f1..f1318de80 100644 --- a/src/SWIG_files/headers/IntRes2d_module.hxx +++ b/src/SWIG_files/headers/IntRes2d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntStart_module.hxx b/src/SWIG_files/headers/IntStart_module.hxx index 932990475..68487c955 100644 --- a/src/SWIG_files/headers/IntStart_module.hxx +++ b/src/SWIG_files/headers/IntStart_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntSurf_module.hxx b/src/SWIG_files/headers/IntSurf_module.hxx index 52e4a71b0..40b6e4ac8 100644 --- a/src/SWIG_files/headers/IntSurf_module.hxx +++ b/src/SWIG_files/headers/IntSurf_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/IntTools_module.hxx b/src/SWIG_files/headers/IntTools_module.hxx index 58ec89b56..5893d243b 100644 --- a/src/SWIG_files/headers/IntTools_module.hxx +++ b/src/SWIG_files/headers/IntTools_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -24,7 +24,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/IntWalk_module.hxx b/src/SWIG_files/headers/IntWalk_module.hxx index 9faacba39..2acd70f4d 100644 --- a/src/SWIG_files/headers/IntWalk_module.hxx +++ b/src/SWIG_files/headers/IntWalk_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/InterfaceGraphic_module.hxx b/src/SWIG_files/headers/InterfaceGraphic_module.hxx index b406f41a0..f1f43f336 100644 --- a/src/SWIG_files/headers/InterfaceGraphic_module.hxx +++ b/src/SWIG_files/headers/InterfaceGraphic_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,6 +19,5 @@ along with pythonOCC. If not, see . #define INTERFACEGRAPHIC_HXX -#include #endif // INTERFACEGRAPHIC_HXX diff --git a/src/SWIG_files/headers/Interface_module.hxx b/src/SWIG_files/headers/Interface_module.hxx index 94cc82dda..24f8e6ce4 100644 --- a/src/SWIG_files/headers/Interface_module.hxx +++ b/src/SWIG_files/headers/Interface_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Intf_module.hxx b/src/SWIG_files/headers/Intf_module.hxx index 9349f5446..abe2079b7 100644 --- a/src/SWIG_files/headers/Intf_module.hxx +++ b/src/SWIG_files/headers/Intf_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Intrv_module.hxx b/src/SWIG_files/headers/Intrv_module.hxx index ea51b6db2..e463da6cb 100644 --- a/src/SWIG_files/headers/Intrv_module.hxx +++ b/src/SWIG_files/headers/Intrv_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/LDOM_module.hxx b/src/SWIG_files/headers/LDOM_module.hxx index 098c51450..a44c3aee6 100644 --- a/src/SWIG_files/headers/LDOM_module.hxx +++ b/src/SWIG_files/headers/LDOM_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/LProp3d_module.hxx b/src/SWIG_files/headers/LProp3d_module.hxx index d842beeed..5c52b9cb6 100644 --- a/src/SWIG_files/headers/LProp3d_module.hxx +++ b/src/SWIG_files/headers/LProp3d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/LProp_module.hxx b/src/SWIG_files/headers/LProp_module.hxx index e4c7f5202..c2d86efe8 100644 --- a/src/SWIG_files/headers/LProp_module.hxx +++ b/src/SWIG_files/headers/LProp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Law_module.hxx b/src/SWIG_files/headers/Law_module.hxx index cdc3f96c5..bdf862b52 100644 --- a/src/SWIG_files/headers/Law_module.hxx +++ b/src/SWIG_files/headers/Law_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/LocOpe_module.hxx b/src/SWIG_files/headers/LocOpe_module.hxx index cf0a85a3d..6225daf27 100644 --- a/src/SWIG_files/headers/LocOpe_module.hxx +++ b/src/SWIG_files/headers/LocOpe_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/LocalAnalysis_module.hxx b/src/SWIG_files/headers/LocalAnalysis_module.hxx index fcc67f30d..51bbcc412 100644 --- a/src/SWIG_files/headers/LocalAnalysis_module.hxx +++ b/src/SWIG_files/headers/LocalAnalysis_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/MAT2d_module.hxx b/src/SWIG_files/headers/MAT2d_module.hxx index 5939047b3..0ee1945a0 100644 --- a/src/SWIG_files/headers/MAT2d_module.hxx +++ b/src/SWIG_files/headers/MAT2d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/MAT_module.hxx b/src/SWIG_files/headers/MAT_module.hxx index d4520cc68..d7300e10f 100644 --- a/src/SWIG_files/headers/MAT_module.hxx +++ b/src/SWIG_files/headers/MAT_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/MMgt_module.hxx b/src/SWIG_files/headers/MMgt_module.hxx deleted file mode 100644 index a4fc9dfd7..000000000 --- a/src/SWIG_files/headers/MMgt_module.hxx +++ /dev/null @@ -1,24 +0,0 @@ -/* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) - -This file is part of pythonOCC. -pythonOCC is free software: you can redistribute it and/or modify -it under the terms of the GNU Lesser General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -pythonOCC is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License -along with pythonOCC. If not, see . -*/ -#ifndef MMGT_HXX -#define MMGT_HXX - - -#include - -#endif // MMGT_HXX diff --git a/src/SWIG_files/headers/Media_module.hxx b/src/SWIG_files/headers/Media_module.hxx index 05ea5a258..5a04ed9b2 100644 --- a/src/SWIG_files/headers/Media_module.hxx +++ b/src/SWIG_files/headers/Media_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/MeshVS_module.hxx b/src/SWIG_files/headers/MeshVS_module.hxx index b45d39a1a..ce1d468f7 100644 --- a/src/SWIG_files/headers/MeshVS_module.hxx +++ b/src/SWIG_files/headers/MeshVS_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -22,7 +22,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/Message_module.hxx b/src/SWIG_files/headers/Message_module.hxx index 7ff302d1c..728cc1e86 100644 --- a/src/SWIG_files/headers/Message_module.hxx +++ b/src/SWIG_files/headers/Message_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -32,6 +32,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/MoniTool_module.hxx b/src/SWIG_files/headers/MoniTool_module.hxx index 92d231522..1f0592a54 100644 --- a/src/SWIG_files/headers/MoniTool_module.hxx +++ b/src/SWIG_files/headers/MoniTool_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/NCollection_module.hxx b/src/SWIG_files/headers/NCollection_module.hxx index 1300b6ce8..52a55b214 100644 --- a/src/SWIG_files/headers/NCollection_module.hxx +++ b/src/SWIG_files/headers/NCollection_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -20,6 +20,7 @@ along with pythonOCC. If not, see . #include +#include #include #include #include @@ -60,6 +61,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/NLPlate_module.hxx b/src/SWIG_files/headers/NLPlate_module.hxx index af5e12ce5..1e3455fba 100644 --- a/src/SWIG_files/headers/NLPlate_module.hxx +++ b/src/SWIG_files/headers/NLPlate_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/OSD_module.hxx b/src/SWIG_files/headers/OSD_module.hxx index 6744ee24b..2d100f7c9 100644 --- a/src/SWIG_files/headers/OSD_module.hxx +++ b/src/SWIG_files/headers/OSD_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -20,6 +20,7 @@ along with pythonOCC. If not, see . #include +#include #include #include #include @@ -50,11 +51,14 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include #include #include #include #include +#include #include #include #include @@ -80,6 +84,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/PCDM_module.hxx b/src/SWIG_files/headers/PCDM_module.hxx index 2e9a5e93c..9009d20a2 100644 --- a/src/SWIG_files/headers/PCDM_module.hxx +++ b/src/SWIG_files/headers/PCDM_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -27,6 +27,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/PLib_module.hxx b/src/SWIG_files/headers/PLib_module.hxx index eb7bcb268..0dc1a09af 100644 --- a/src/SWIG_files/headers/PLib_module.hxx +++ b/src/SWIG_files/headers/PLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Plate_module.hxx b/src/SWIG_files/headers/Plate_module.hxx index 8ff2ecd71..a8f89d980 100644 --- a/src/SWIG_files/headers/Plate_module.hxx +++ b/src/SWIG_files/headers/Plate_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Plugin_module.hxx b/src/SWIG_files/headers/Plugin_module.hxx index 5a16c6b3a..552abcbcb 100644 --- a/src/SWIG_files/headers/Plugin_module.hxx +++ b/src/SWIG_files/headers/Plugin_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Poly_module.hxx b/src/SWIG_files/headers/Poly_module.hxx index 7f7efc757..3d647d6d2 100644 --- a/src/SWIG_files/headers/Poly_module.hxx +++ b/src/SWIG_files/headers/Poly_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,6 +21,8 @@ along with pythonOCC. If not, see . #include #include +#include +#include #include #include #include @@ -30,10 +32,13 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include #include #include #include #include +#include #endif // POLY_HXX diff --git a/src/SWIG_files/headers/Precision_module.hxx b/src/SWIG_files/headers/Precision_module.hxx index e9694969e..714e3b304 100644 --- a/src/SWIG_files/headers/Precision_module.hxx +++ b/src/SWIG_files/headers/Precision_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ProjLib_module.hxx b/src/SWIG_files/headers/ProjLib_module.hxx index 465df4553..9b4a1e40d 100644 --- a/src/SWIG_files/headers/ProjLib_module.hxx +++ b/src/SWIG_files/headers/ProjLib_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Prs3d_module.hxx b/src/SWIG_files/headers/Prs3d_module.hxx index f5c5a8482..48e5f9084 100644 --- a/src/SWIG_files/headers/Prs3d_module.hxx +++ b/src/SWIG_files/headers/Prs3d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/PrsDim_module.hxx b/src/SWIG_files/headers/PrsDim_module.hxx index f18195e79..480250e95 100644 --- a/src/SWIG_files/headers/PrsDim_module.hxx +++ b/src/SWIG_files/headers/PrsDim_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/PrsMgr_module.hxx b/src/SWIG_files/headers/PrsMgr_module.hxx index 42201865b..f52587c68 100644 --- a/src/SWIG_files/headers/PrsMgr_module.hxx +++ b/src/SWIG_files/headers/PrsMgr_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,6 +19,7 @@ along with pythonOCC. If not, see . #define PRSMGR_HXX +#include #include #include #include diff --git a/src/SWIG_files/headers/Quantity_module.hxx b/src/SWIG_files/headers/Quantity_module.hxx index c623e6e63..ae3e32203 100644 --- a/src/SWIG_files/headers/Quantity_module.hxx +++ b/src/SWIG_files/headers/Quantity_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,98 +19,19 @@ along with pythonOCC. If not, see . #define QUANTITY_HXX -#include -#include -#include -#include -#include -#include -#include -#include #include #include -#include -#include -#include #include #include #include #include -#include -#include -#include -#include -#include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include -#include -#include #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include -#include #endif // QUANTITY_HXX diff --git a/src/SWIG_files/headers/RWGltf_module.hxx b/src/SWIG_files/headers/RWGltf_module.hxx index 050a7c623..4884a1eb1 100644 --- a/src/SWIG_files/headers/RWGltf_module.hxx +++ b/src/SWIG_files/headers/RWGltf_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -29,6 +29,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include @@ -38,7 +39,6 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include diff --git a/src/SWIG_files/headers/RWMesh_module.hxx b/src/SWIG_files/headers/RWMesh_module.hxx index a6bd88b6b..7e76b150f 100644 --- a/src/SWIG_files/headers/RWMesh_module.hxx +++ b/src/SWIG_files/headers/RWMesh_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -19,11 +19,15 @@ along with pythonOCC. If not, see . #define RWMESH_HXX +#include #include #include #include #include #include +#include #include +#include +#include #endif // RWMESH_HXX diff --git a/src/SWIG_files/headers/RWObj_module.hxx b/src/SWIG_files/headers/RWObj_module.hxx index 910cc4aae..0ed3a58f4 100644 --- a/src/SWIG_files/headers/RWObj_module.hxx +++ b/src/SWIG_files/headers/RWObj_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,8 +21,11 @@ along with pythonOCC. If not, see . #include #include +#include #include #include +#include +#include #include #include #include diff --git a/src/SWIG_files/headers/RWStepAP203_module.hxx b/src/SWIG_files/headers/RWStepAP203_module.hxx index 37cb09235..6890b28d5 100644 --- a/src/SWIG_files/headers/RWStepAP203_module.hxx +++ b/src/SWIG_files/headers/RWStepAP203_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/RWStepAP214_module.hxx b/src/SWIG_files/headers/RWStepAP214_module.hxx index 550636949..20560d6a9 100644 --- a/src/SWIG_files/headers/RWStepAP214_module.hxx +++ b/src/SWIG_files/headers/RWStepAP214_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/RWStepAP242_module.hxx b/src/SWIG_files/headers/RWStepAP242_module.hxx index 81551ec86..85d7c1324 100644 --- a/src/SWIG_files/headers/RWStepAP242_module.hxx +++ b/src/SWIG_files/headers/RWStepAP242_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/RWStepBasic_module.hxx b/src/SWIG_files/headers/RWStepBasic_module.hxx index 213bedef4..52b3dda90 100644 --- a/src/SWIG_files/headers/RWStepBasic_module.hxx +++ b/src/SWIG_files/headers/RWStepBasic_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/RWStepDimTol_module.hxx b/src/SWIG_files/headers/RWStepDimTol_module.hxx index 1da138062..d576dee10 100644 --- a/src/SWIG_files/headers/RWStepDimTol_module.hxx +++ b/src/SWIG_files/headers/RWStepDimTol_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/RWStepElement_module.hxx b/src/SWIG_files/headers/RWStepElement_module.hxx index cca4b3ef0..cc46fe6ff 100644 --- a/src/SWIG_files/headers/RWStepElement_module.hxx +++ b/src/SWIG_files/headers/RWStepElement_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/RWStepFEA_module.hxx b/src/SWIG_files/headers/RWStepFEA_module.hxx index e0c950181..71eb3b662 100644 --- a/src/SWIG_files/headers/RWStepFEA_module.hxx +++ b/src/SWIG_files/headers/RWStepFEA_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/RWStepGeom_module.hxx b/src/SWIG_files/headers/RWStepGeom_module.hxx index 2bef0e321..7088d0155 100644 --- a/src/SWIG_files/headers/RWStepGeom_module.hxx +++ b/src/SWIG_files/headers/RWStepGeom_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -86,6 +86,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/RWStepRepr_module.hxx b/src/SWIG_files/headers/RWStepRepr_module.hxx index 0cf35c721..377f803c1 100644 --- a/src/SWIG_files/headers/RWStepRepr_module.hxx +++ b/src/SWIG_files/headers/RWStepRepr_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -70,8 +70,10 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/RWStepShape_module.hxx b/src/SWIG_files/headers/RWStepShape_module.hxx index acc15df96..27d9d3372 100644 --- a/src/SWIG_files/headers/RWStepShape_module.hxx +++ b/src/SWIG_files/headers/RWStepShape_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/RWStepVisual_module.hxx b/src/SWIG_files/headers/RWStepVisual_module.hxx index fdcfad879..58878f52b 100644 --- a/src/SWIG_files/headers/RWStepVisual_module.hxx +++ b/src/SWIG_files/headers/RWStepVisual_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/RWStl_module.hxx b/src/SWIG_files/headers/RWStl_module.hxx index 4332257dc..a2d5a2465 100644 --- a/src/SWIG_files/headers/RWStl_module.hxx +++ b/src/SWIG_files/headers/RWStl_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Resource_module.hxx b/src/SWIG_files/headers/Resource_module.hxx index 2141aa7a2..2eaa4ba8d 100644 --- a/src/SWIG_files/headers/Resource_module.hxx +++ b/src/SWIG_files/headers/Resource_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/STEPCAFControl_module.hxx b/src/SWIG_files/headers/STEPCAFControl_module.hxx index e2b7323b3..4f6d7bf97 100644 --- a/src/SWIG_files/headers/STEPCAFControl_module.hxx +++ b/src/SWIG_files/headers/STEPCAFControl_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/STEPConstruct_module.hxx b/src/SWIG_files/headers/STEPConstruct_module.hxx index 358703c1a..d9cc367b7 100644 --- a/src/SWIG_files/headers/STEPConstruct_module.hxx +++ b/src/SWIG_files/headers/STEPConstruct_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/STEPControl_module.hxx b/src/SWIG_files/headers/STEPControl_module.hxx index 464c25a3e..7d419b776 100644 --- a/src/SWIG_files/headers/STEPControl_module.hxx +++ b/src/SWIG_files/headers/STEPControl_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/STEPEdit_module.hxx b/src/SWIG_files/headers/STEPEdit_module.hxx index 373cd1467..942fe7304 100644 --- a/src/SWIG_files/headers/STEPEdit_module.hxx +++ b/src/SWIG_files/headers/STEPEdit_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/STEPSelections_module.hxx b/src/SWIG_files/headers/STEPSelections_module.hxx index da4da39f8..cdfc09299 100644 --- a/src/SWIG_files/headers/STEPSelections_module.hxx +++ b/src/SWIG_files/headers/STEPSelections_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Select3D_module.hxx b/src/SWIG_files/headers/Select3D_module.hxx index 561390be8..acbe86d64 100644 --- a/src/SWIG_files/headers/Select3D_module.hxx +++ b/src/SWIG_files/headers/Select3D_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -30,6 +30,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include @@ -38,6 +39,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/SelectBasics_module.hxx b/src/SWIG_files/headers/SelectBasics_module.hxx index 4d1bba83d..b72d33ad3 100644 --- a/src/SWIG_files/headers/SelectBasics_module.hxx +++ b/src/SWIG_files/headers/SelectBasics_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/SelectMgr_module.hxx b/src/SWIG_files/headers/SelectMgr_module.hxx index 7fd7663ab..21c5c5489 100644 --- a/src/SWIG_files/headers/SelectMgr_module.hxx +++ b/src/SWIG_files/headers/SelectMgr_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -22,8 +22,10 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include +#include #include #include #include @@ -43,9 +45,9 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include -#include #include #include #include diff --git a/src/SWIG_files/headers/ShapeAlgo_module.hxx b/src/SWIG_files/headers/ShapeAlgo_module.hxx index 8c1d1475e..d820a3a83 100644 --- a/src/SWIG_files/headers/ShapeAlgo_module.hxx +++ b/src/SWIG_files/headers/ShapeAlgo_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ShapeAnalysis_module.hxx b/src/SWIG_files/headers/ShapeAnalysis_module.hxx index 20e70472f..375cc8fd9 100644 --- a/src/SWIG_files/headers/ShapeAnalysis_module.hxx +++ b/src/SWIG_files/headers/ShapeAnalysis_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ShapeBuild_module.hxx b/src/SWIG_files/headers/ShapeBuild_module.hxx index 078514356..659c624f8 100644 --- a/src/SWIG_files/headers/ShapeBuild_module.hxx +++ b/src/SWIG_files/headers/ShapeBuild_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ShapeConstruct_module.hxx b/src/SWIG_files/headers/ShapeConstruct_module.hxx index abd6de46e..5fdbf92aa 100644 --- a/src/SWIG_files/headers/ShapeConstruct_module.hxx +++ b/src/SWIG_files/headers/ShapeConstruct_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ShapeCustom_module.hxx b/src/SWIG_files/headers/ShapeCustom_module.hxx index 87c5bbee6..c58e1c55d 100644 --- a/src/SWIG_files/headers/ShapeCustom_module.hxx +++ b/src/SWIG_files/headers/ShapeCustom_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ShapeExtend_module.hxx b/src/SWIG_files/headers/ShapeExtend_module.hxx index 3e01e7d67..b0ea9032e 100644 --- a/src/SWIG_files/headers/ShapeExtend_module.hxx +++ b/src/SWIG_files/headers/ShapeExtend_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ShapeFix_module.hxx b/src/SWIG_files/headers/ShapeFix_module.hxx index 56d7e495e..4c423c345 100644 --- a/src/SWIG_files/headers/ShapeFix_module.hxx +++ b/src/SWIG_files/headers/ShapeFix_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ShapeProcessAPI_module.hxx b/src/SWIG_files/headers/ShapeProcessAPI_module.hxx index 69c90e146..185166c63 100644 --- a/src/SWIG_files/headers/ShapeProcessAPI_module.hxx +++ b/src/SWIG_files/headers/ShapeProcessAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ShapeProcess_module.hxx b/src/SWIG_files/headers/ShapeProcess_module.hxx index fb58a8ce2..3b964a33d 100644 --- a/src/SWIG_files/headers/ShapeProcess_module.hxx +++ b/src/SWIG_files/headers/ShapeProcess_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/ShapeUpgrade_module.hxx b/src/SWIG_files/headers/ShapeUpgrade_module.hxx index 25ff8d456..9ab40eed2 100644 --- a/src/SWIG_files/headers/ShapeUpgrade_module.hxx +++ b/src/SWIG_files/headers/ShapeUpgrade_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Standard_module.hxx b/src/SWIG_files/headers/Standard_module.hxx index 5ca2382c1..9438dd51a 100644 --- a/src/SWIG_files/headers/Standard_module.hxx +++ b/src/SWIG_files/headers/Standard_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StdFail_module.hxx b/src/SWIG_files/headers/StdFail_module.hxx index 9074327c1..9b092b3e8 100644 --- a/src/SWIG_files/headers/StdFail_module.hxx +++ b/src/SWIG_files/headers/StdFail_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StdPrs_module.hxx b/src/SWIG_files/headers/StdPrs_module.hxx index 11a154660..f3e1102d3 100644 --- a/src/SWIG_files/headers/StdPrs_module.hxx +++ b/src/SWIG_files/headers/StdPrs_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StdSelect_module.hxx b/src/SWIG_files/headers/StdSelect_module.hxx index 432a3b2a1..be892b2c0 100644 --- a/src/SWIG_files/headers/StdSelect_module.hxx +++ b/src/SWIG_files/headers/StdSelect_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepAP203_module.hxx b/src/SWIG_files/headers/StepAP203_module.hxx index bdf16082b..cc2abd1cd 100644 --- a/src/SWIG_files/headers/StepAP203_module.hxx +++ b/src/SWIG_files/headers/StepAP203_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepAP209_module.hxx b/src/SWIG_files/headers/StepAP209_module.hxx index 9d2b4ffed..72a101d13 100644 --- a/src/SWIG_files/headers/StepAP209_module.hxx +++ b/src/SWIG_files/headers/StepAP209_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepAP214_module.hxx b/src/SWIG_files/headers/StepAP214_module.hxx index 2e6a590e8..54aa7f9d3 100644 --- a/src/SWIG_files/headers/StepAP214_module.hxx +++ b/src/SWIG_files/headers/StepAP214_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepAP242_module.hxx b/src/SWIG_files/headers/StepAP242_module.hxx index 9fec23f37..bbbe3aab1 100644 --- a/src/SWIG_files/headers/StepAP242_module.hxx +++ b/src/SWIG_files/headers/StepAP242_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepBasic_module.hxx b/src/SWIG_files/headers/StepBasic_module.hxx index a6b2d5f45..8bdfb2388 100644 --- a/src/SWIG_files/headers/StepBasic_module.hxx +++ b/src/SWIG_files/headers/StepBasic_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepData_module.hxx b/src/SWIG_files/headers/StepData_module.hxx index 296582123..2be9a9baa 100644 --- a/src/SWIG_files/headers/StepData_module.hxx +++ b/src/SWIG_files/headers/StepData_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -36,6 +36,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/StepDimTol_module.hxx b/src/SWIG_files/headers/StepDimTol_module.hxx index be6aa73d4..d1b04e1cd 100644 --- a/src/SWIG_files/headers/StepDimTol_module.hxx +++ b/src/SWIG_files/headers/StepDimTol_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepElement_module.hxx b/src/SWIG_files/headers/StepElement_module.hxx index 5702c4817..b5e3a30bb 100644 --- a/src/SWIG_files/headers/StepElement_module.hxx +++ b/src/SWIG_files/headers/StepElement_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepFEA_module.hxx b/src/SWIG_files/headers/StepFEA_module.hxx index ed0aff87f..146cd02fe 100644 --- a/src/SWIG_files/headers/StepFEA_module.hxx +++ b/src/SWIG_files/headers/StepFEA_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepGeom_module.hxx b/src/SWIG_files/headers/StepGeom_module.hxx index 5b7fde054..21a9a8a4f 100644 --- a/src/SWIG_files/headers/StepGeom_module.hxx +++ b/src/SWIG_files/headers/StepGeom_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -112,6 +112,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/StepRepr_module.hxx b/src/SWIG_files/headers/StepRepr_module.hxx index 4f2b53cee..629d3a055 100644 --- a/src/SWIG_files/headers/StepRepr_module.hxx +++ b/src/SWIG_files/headers/StepRepr_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -88,8 +88,11 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include +#include +#include #include #include #include diff --git a/src/SWIG_files/headers/StepShape_module.hxx b/src/SWIG_files/headers/StepShape_module.hxx index fac0d0c0d..764fb853f 100644 --- a/src/SWIG_files/headers/StepShape_module.hxx +++ b/src/SWIG_files/headers/StepShape_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepToGeom_module.hxx b/src/SWIG_files/headers/StepToGeom_module.hxx index 954fbb1e1..faa35c539 100644 --- a/src/SWIG_files/headers/StepToGeom_module.hxx +++ b/src/SWIG_files/headers/StepToGeom_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepToTopoDS_module.hxx b/src/SWIG_files/headers/StepToTopoDS_module.hxx index 5ef72de5b..b372bcbd6 100644 --- a/src/SWIG_files/headers/StepToTopoDS_module.hxx +++ b/src/SWIG_files/headers/StepToTopoDS_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StepVisual_module.hxx b/src/SWIG_files/headers/StepVisual_module.hxx index ef37f58fe..e8c3a8fc0 100644 --- a/src/SWIG_files/headers/StepVisual_module.hxx +++ b/src/SWIG_files/headers/StepVisual_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/StlAPI_module.hxx b/src/SWIG_files/headers/StlAPI_module.hxx index e5afc5604..3cd4ff51c 100644 --- a/src/SWIG_files/headers/StlAPI_module.hxx +++ b/src/SWIG_files/headers/StlAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Storage_module.hxx b/src/SWIG_files/headers/Storage_module.hxx index 5bdb313d7..f04bf3d90 100644 --- a/src/SWIG_files/headers/Storage_module.hxx +++ b/src/SWIG_files/headers/Storage_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Sweep_module.hxx b/src/SWIG_files/headers/Sweep_module.hxx index 6cbf6dc6f..b927c508c 100644 --- a/src/SWIG_files/headers/Sweep_module.hxx +++ b/src/SWIG_files/headers/Sweep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TColGeom2d_module.hxx b/src/SWIG_files/headers/TColGeom2d_module.hxx index 6bc24814f..23fc3ac90 100644 --- a/src/SWIG_files/headers/TColGeom2d_module.hxx +++ b/src/SWIG_files/headers/TColGeom2d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TColGeom_module.hxx b/src/SWIG_files/headers/TColGeom_module.hxx index 600ae5685..ca677eabe 100644 --- a/src/SWIG_files/headers/TColGeom_module.hxx +++ b/src/SWIG_files/headers/TColGeom_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TColQuantity_module.hxx b/src/SWIG_files/headers/TColQuantity_module.hxx index 90e2a4678..9bc317872 100644 --- a/src/SWIG_files/headers/TColQuantity_module.hxx +++ b/src/SWIG_files/headers/TColQuantity_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TColStd_module.hxx b/src/SWIG_files/headers/TColStd_module.hxx index ca83b2f90..9827b9a79 100644 --- a/src/SWIG_files/headers/TColStd_module.hxx +++ b/src/SWIG_files/headers/TColStd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TColgp_module.hxx b/src/SWIG_files/headers/TColgp_module.hxx index cae379cf8..bc9825c2b 100644 --- a/src/SWIG_files/headers/TColgp_module.hxx +++ b/src/SWIG_files/headers/TColgp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TCollection_module.hxx b/src/SWIG_files/headers/TCollection_module.hxx index 0a6d17aaf..a3ea43257 100644 --- a/src/SWIG_files/headers/TCollection_module.hxx +++ b/src/SWIG_files/headers/TCollection_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -21,16 +21,8 @@ along with pythonOCC. If not, see . #include #include -#include -#include -#include #include #include #include -#include -#include -#include -#include -#include #endif // TCOLLECTION_HXX diff --git a/src/SWIG_files/headers/TDF_module.hxx b/src/SWIG_files/headers/TDF_module.hxx index f86452306..d6c49bc78 100644 --- a/src/SWIG_files/headers/TDF_module.hxx +++ b/src/SWIG_files/headers/TDF_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TDataStd_module.hxx b/src/SWIG_files/headers/TDataStd_module.hxx index 0f80dcce8..c055b6c60 100644 --- a/src/SWIG_files/headers/TDataStd_module.hxx +++ b/src/SWIG_files/headers/TDataStd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TDataXtd_module.hxx b/src/SWIG_files/headers/TDataXtd_module.hxx index 1bf95b876..f55a86586 100644 --- a/src/SWIG_files/headers/TDataXtd_module.hxx +++ b/src/SWIG_files/headers/TDataXtd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TDocStd_module.hxx b/src/SWIG_files/headers/TDocStd_module.hxx index dea87ab58..79beebe2c 100644 --- a/src/SWIG_files/headers/TDocStd_module.hxx +++ b/src/SWIG_files/headers/TDocStd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -26,6 +26,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/TFunction_module.hxx b/src/SWIG_files/headers/TFunction_module.hxx index 1d7715941..b048fe15d 100644 --- a/src/SWIG_files/headers/TFunction_module.hxx +++ b/src/SWIG_files/headers/TFunction_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TNaming_module.hxx b/src/SWIG_files/headers/TNaming_module.hxx index 6157a6ab0..2c4b8e70b 100644 --- a/src/SWIG_files/headers/TNaming_module.hxx +++ b/src/SWIG_files/headers/TNaming_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TObj_module.hxx b/src/SWIG_files/headers/TObj_module.hxx index c4259b8f7..380a9683c 100644 --- a/src/SWIG_files/headers/TObj_module.hxx +++ b/src/SWIG_files/headers/TObj_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TPrsStd_module.hxx b/src/SWIG_files/headers/TPrsStd_module.hxx index c0ccdcaa9..fe67331ab 100644 --- a/src/SWIG_files/headers/TPrsStd_module.hxx +++ b/src/SWIG_files/headers/TPrsStd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TShort_module.hxx b/src/SWIG_files/headers/TShort_module.hxx index af9a4caec..38a9ed6d3 100644 --- a/src/SWIG_files/headers/TShort_module.hxx +++ b/src/SWIG_files/headers/TShort_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopAbs_module.hxx b/src/SWIG_files/headers/TopAbs_module.hxx index 2c8f82030..9b596e7ad 100644 --- a/src/SWIG_files/headers/TopAbs_module.hxx +++ b/src/SWIG_files/headers/TopAbs_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopBas_module.hxx b/src/SWIG_files/headers/TopBas_module.hxx index a8416928a..7ba3cc768 100644 --- a/src/SWIG_files/headers/TopBas_module.hxx +++ b/src/SWIG_files/headers/TopBas_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopClass_module.hxx b/src/SWIG_files/headers/TopClass_module.hxx index 0a8ca7a43..ee68e1b1e 100644 --- a/src/SWIG_files/headers/TopClass_module.hxx +++ b/src/SWIG_files/headers/TopClass_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopCnx_module.hxx b/src/SWIG_files/headers/TopCnx_module.hxx index f3d239aed..8762765b2 100644 --- a/src/SWIG_files/headers/TopCnx_module.hxx +++ b/src/SWIG_files/headers/TopCnx_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopExp_module.hxx b/src/SWIG_files/headers/TopExp_module.hxx index f07670a67..cea8ef95e 100644 --- a/src/SWIG_files/headers/TopExp_module.hxx +++ b/src/SWIG_files/headers/TopExp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopLoc_module.hxx b/src/SWIG_files/headers/TopLoc_module.hxx index 001c53a5a..60234fef0 100644 --- a/src/SWIG_files/headers/TopLoc_module.hxx +++ b/src/SWIG_files/headers/TopLoc_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopOpeBRepBuild_module.hxx b/src/SWIG_files/headers/TopOpeBRepBuild_module.hxx index 89e8d88df..c14bf03d1 100644 --- a/src/SWIG_files/headers/TopOpeBRepBuild_module.hxx +++ b/src/SWIG_files/headers/TopOpeBRepBuild_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopOpeBRepDS_module.hxx b/src/SWIG_files/headers/TopOpeBRepDS_module.hxx index 3edfede3f..610bb0e3a 100644 --- a/src/SWIG_files/headers/TopOpeBRepDS_module.hxx +++ b/src/SWIG_files/headers/TopOpeBRepDS_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopOpeBRepTool_module.hxx b/src/SWIG_files/headers/TopOpeBRepTool_module.hxx index e59eaf7db..035a8fc42 100644 --- a/src/SWIG_files/headers/TopOpeBRepTool_module.hxx +++ b/src/SWIG_files/headers/TopOpeBRepTool_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopOpeBRep_module.hxx b/src/SWIG_files/headers/TopOpeBRep_module.hxx index 31a6215f2..25efff6d4 100644 --- a/src/SWIG_files/headers/TopOpeBRep_module.hxx +++ b/src/SWIG_files/headers/TopOpeBRep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopTools_module.hxx b/src/SWIG_files/headers/TopTools_module.hxx index ebf3eb181..1c395eb36 100644 --- a/src/SWIG_files/headers/TopTools_module.hxx +++ b/src/SWIG_files/headers/TopTools_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -44,6 +44,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/TopTrans_module.hxx b/src/SWIG_files/headers/TopTrans_module.hxx index 37ef64eb7..e349341e1 100644 --- a/src/SWIG_files/headers/TopTrans_module.hxx +++ b/src/SWIG_files/headers/TopTrans_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopoDSToStep_module.hxx b/src/SWIG_files/headers/TopoDSToStep_module.hxx index a83e7db08..68765b46f 100644 --- a/src/SWIG_files/headers/TopoDSToStep_module.hxx +++ b/src/SWIG_files/headers/TopoDSToStep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TopoDS_module.hxx b/src/SWIG_files/headers/TopoDS_module.hxx index 919e7c3eb..dd35e7953 100644 --- a/src/SWIG_files/headers/TopoDS_module.hxx +++ b/src/SWIG_files/headers/TopoDS_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/TransferBRep_module.hxx b/src/SWIG_files/headers/TransferBRep_module.hxx index 5e3f3275f..35d3ed79a 100644 --- a/src/SWIG_files/headers/TransferBRep_module.hxx +++ b/src/SWIG_files/headers/TransferBRep_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Transfer_module.hxx b/src/SWIG_files/headers/Transfer_module.hxx index a8aab81ab..62c1577a7 100644 --- a/src/SWIG_files/headers/Transfer_module.hxx +++ b/src/SWIG_files/headers/Transfer_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/UTL_module.hxx b/src/SWIG_files/headers/UTL_module.hxx index a4f99ea1d..b68610e13 100644 --- a/src/SWIG_files/headers/UTL_module.hxx +++ b/src/SWIG_files/headers/UTL_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/UnitsAPI_module.hxx b/src/SWIG_files/headers/UnitsAPI_module.hxx index 4593c7177..d67ccbd46 100644 --- a/src/SWIG_files/headers/UnitsAPI_module.hxx +++ b/src/SWIG_files/headers/UnitsAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Units_module.hxx b/src/SWIG_files/headers/Units_module.hxx index 07eda4009..59f2b06b7 100644 --- a/src/SWIG_files/headers/Units_module.hxx +++ b/src/SWIG_files/headers/Units_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/V3d_module.hxx b/src/SWIG_files/headers/V3d_module.hxx index 7383009cb..a38d0c5f7 100644 --- a/src/SWIG_files/headers/V3d_module.hxx +++ b/src/SWIG_files/headers/V3d_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -23,13 +23,11 @@ along with pythonOCC. If not, see . #include #include #include -#include #include #include #include #include #include -#include #include #include #include @@ -41,15 +39,11 @@ along with pythonOCC. If not, see . #include #include #include -#include -#include -#include #include #include #include #include #include -#include #include #include diff --git a/src/SWIG_files/headers/VrmlAPI_module.hxx b/src/SWIG_files/headers/VrmlAPI_module.hxx index f505408b2..6a59c4d87 100644 --- a/src/SWIG_files/headers/VrmlAPI_module.hxx +++ b/src/SWIG_files/headers/VrmlAPI_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/VrmlConverter_module.hxx b/src/SWIG_files/headers/VrmlConverter_module.hxx index da1b6ad42..0afe2487f 100644 --- a/src/SWIG_files/headers/VrmlConverter_module.hxx +++ b/src/SWIG_files/headers/VrmlConverter_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/VrmlData_module.hxx b/src/SWIG_files/headers/VrmlData_module.hxx index c04677a8b..1cbf613f2 100644 --- a/src/SWIG_files/headers/VrmlData_module.hxx +++ b/src/SWIG_files/headers/VrmlData_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/Vrml_module.hxx b/src/SWIG_files/headers/Vrml_module.hxx index 6e035bc45..379bd7c9a 100644 --- a/src/SWIG_files/headers/Vrml_module.hxx +++ b/src/SWIG_files/headers/Vrml_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XBRepMesh_module.hxx b/src/SWIG_files/headers/XBRepMesh_module.hxx index a0d107082..84dc4caba 100644 --- a/src/SWIG_files/headers/XBRepMesh_module.hxx +++ b/src/SWIG_files/headers/XBRepMesh_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XCAFApp_module.hxx b/src/SWIG_files/headers/XCAFApp_module.hxx index 13fdd1508..fdc852b40 100644 --- a/src/SWIG_files/headers/XCAFApp_module.hxx +++ b/src/SWIG_files/headers/XCAFApp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XCAFDimTolObjects_module.hxx b/src/SWIG_files/headers/XCAFDimTolObjects_module.hxx index fd5fb1741..2f42c299f 100644 --- a/src/SWIG_files/headers/XCAFDimTolObjects_module.hxx +++ b/src/SWIG_files/headers/XCAFDimTolObjects_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XCAFDoc_module.hxx b/src/SWIG_files/headers/XCAFDoc_module.hxx index e91da3be6..679a61e45 100644 --- a/src/SWIG_files/headers/XCAFDoc_module.hxx +++ b/src/SWIG_files/headers/XCAFDoc_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -40,6 +40,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/XCAFNoteObjects_module.hxx b/src/SWIG_files/headers/XCAFNoteObjects_module.hxx index c452a130b..edce6ce1d 100644 --- a/src/SWIG_files/headers/XCAFNoteObjects_module.hxx +++ b/src/SWIG_files/headers/XCAFNoteObjects_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XCAFPrs_module.hxx b/src/SWIG_files/headers/XCAFPrs_module.hxx index 502bf7b86..46ca4b7be 100644 --- a/src/SWIG_files/headers/XCAFPrs_module.hxx +++ b/src/SWIG_files/headers/XCAFPrs_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XCAFView_module.hxx b/src/SWIG_files/headers/XCAFView_module.hxx index 2da82a7b3..270eeacc3 100644 --- a/src/SWIG_files/headers/XCAFView_module.hxx +++ b/src/SWIG_files/headers/XCAFView_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XSControl_module.hxx b/src/SWIG_files/headers/XSControl_module.hxx index 9c641f155..c90a98035 100644 --- a/src/SWIG_files/headers/XSControl_module.hxx +++ b/src/SWIG_files/headers/XSControl_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlDrivers_module.hxx b/src/SWIG_files/headers/XmlDrivers_module.hxx index c324cb2ba..5ad21a7d4 100644 --- a/src/SWIG_files/headers/XmlDrivers_module.hxx +++ b/src/SWIG_files/headers/XmlDrivers_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlLDrivers_module.hxx b/src/SWIG_files/headers/XmlLDrivers_module.hxx index c7164b8fd..d4c9e2466 100644 --- a/src/SWIG_files/headers/XmlLDrivers_module.hxx +++ b/src/SWIG_files/headers/XmlLDrivers_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlMDF_module.hxx b/src/SWIG_files/headers/XmlMDF_module.hxx index cbbae4fb0..b1f88c6e5 100644 --- a/src/SWIG_files/headers/XmlMDF_module.hxx +++ b/src/SWIG_files/headers/XmlMDF_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlMDataStd_module.hxx b/src/SWIG_files/headers/XmlMDataStd_module.hxx index ed05a60cf..3e398f2cb 100644 --- a/src/SWIG_files/headers/XmlMDataStd_module.hxx +++ b/src/SWIG_files/headers/XmlMDataStd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlMDataXtd_module.hxx b/src/SWIG_files/headers/XmlMDataXtd_module.hxx index c6769caeb..8646860ee 100644 --- a/src/SWIG_files/headers/XmlMDataXtd_module.hxx +++ b/src/SWIG_files/headers/XmlMDataXtd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlMDocStd_module.hxx b/src/SWIG_files/headers/XmlMDocStd_module.hxx index b196f3070..7801a546e 100644 --- a/src/SWIG_files/headers/XmlMDocStd_module.hxx +++ b/src/SWIG_files/headers/XmlMDocStd_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlMFunction_module.hxx b/src/SWIG_files/headers/XmlMFunction_module.hxx index a9967e34d..bc9e514b7 100644 --- a/src/SWIG_files/headers/XmlMFunction_module.hxx +++ b/src/SWIG_files/headers/XmlMFunction_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlMNaming_module.hxx b/src/SWIG_files/headers/XmlMNaming_module.hxx index 967dc5d72..581609fbc 100644 --- a/src/SWIG_files/headers/XmlMNaming_module.hxx +++ b/src/SWIG_files/headers/XmlMNaming_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlMXCAFDoc_module.hxx b/src/SWIG_files/headers/XmlMXCAFDoc_module.hxx index 4025eb115..fc19d6b3a 100644 --- a/src/SWIG_files/headers/XmlMXCAFDoc_module.hxx +++ b/src/SWIG_files/headers/XmlMXCAFDoc_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -26,6 +26,7 @@ along with pythonOCC. If not, see . #include #include #include +#include #include #include #include diff --git a/src/SWIG_files/headers/XmlObjMgt_module.hxx b/src/SWIG_files/headers/XmlObjMgt_module.hxx index 8870f98f2..0ee44f61c 100644 --- a/src/SWIG_files/headers/XmlObjMgt_module.hxx +++ b/src/SWIG_files/headers/XmlObjMgt_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlTObjDrivers_module.hxx b/src/SWIG_files/headers/XmlTObjDrivers_module.hxx index 77782d923..9713c1cf2 100644 --- a/src/SWIG_files/headers/XmlTObjDrivers_module.hxx +++ b/src/SWIG_files/headers/XmlTObjDrivers_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/XmlXCAFDrivers_module.hxx b/src/SWIG_files/headers/XmlXCAFDrivers_module.hxx index 774f6ae81..fa8bb54fa 100644 --- a/src/SWIG_files/headers/XmlXCAFDrivers_module.hxx +++ b/src/SWIG_files/headers/XmlXCAFDrivers_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/gce_module.hxx b/src/SWIG_files/headers/gce_module.hxx index 48745e776..5f5a55313 100644 --- a/src/SWIG_files/headers/gce_module.hxx +++ b/src/SWIG_files/headers/gce_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/headers/gp_module.hxx b/src/SWIG_files/headers/gp_module.hxx index a324b67ee..464f9cab8 100644 --- a/src/SWIG_files/headers/gp_module.hxx +++ b/src/SWIG_files/headers/gp_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -58,6 +58,8 @@ along with pythonOCC. If not, see . #include #include #include +#include +#include #include #include #include diff --git a/src/SWIG_files/headers/math_module.hxx b/src/SWIG_files/headers/math_module.hxx index f209290d2..111fe3f2e 100644 --- a/src/SWIG_files/headers/math_module.hxx +++ b/src/SWIG_files/headers/math_module.hxx @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify diff --git a/src/SWIG_files/wrapper/AIS.i b/src/SWIG_files/wrapper/AIS.i index 5ef8908b3..d63b0ba9b 100644 --- a/src/SWIG_files/wrapper/AIS.i +++ b/src/SWIG_files/wrapper/AIS.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define AISDOCSTRING "AIS module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ais.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_ais.html" %enddef %module (package="OCC.Core", docstring=AISDOCSTRING) AIS @@ -44,6 +44,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ais.html" #include #include #include +#include #include #include #include @@ -56,11 +57,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ais.html" #include #include #include -#include #include #include -#include #include +#include +#include #include #include #include @@ -85,6 +86,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ais.html" %import NCollection.i %import SelectMgr.i %import Media.i +%import PrsMgr.i %import TCollection.i %import Quantity.i %import TopAbs.i @@ -97,11 +99,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ais.html" %import Bnd.i %import gp.i %import TopLoc.i -%import PrsMgr.i %import StdSelect.i %import TColgp.i -%import Geom.i %import Select3D.i +%import SelectBasics.i +%import Geom.i %import Poly.i %import Image.i @@ -157,12 +159,19 @@ enum AIS_TypeOfAttribute { }; enum AIS_KindOfInteractive { - AIS_KOI_None = 0, - AIS_KOI_Datum = 1, - AIS_KOI_Shape = 2, - AIS_KOI_Object = 3, - AIS_KOI_Relation = 4, - AIS_KOI_Dimension = 5, + AIS_KindOfInteractive_None = 0, + AIS_KindOfInteractive_Datum = 1, + AIS_KindOfInteractive_Shape = 2, + AIS_KindOfInteractive_Object = 3, + AIS_KindOfInteractive_Relation = 4, + AIS_KindOfInteractive_Dimension = 5, + AIS_KindOfInteractive_LightSource = 6, + AIS_KOI_None = AIS_KindOfInteractive_None, + AIS_KOI_Datum = AIS_KindOfInteractive_Datum, + AIS_KOI_Shape = AIS_KindOfInteractive_Shape, + AIS_KOI_Object = AIS_KindOfInteractive_Object, + AIS_KOI_Relation = AIS_KindOfInteractive_Relation, + AIS_KOI_Dimension = AIS_KindOfInteractive_Dimension, }; enum AIS_SelectStatus { @@ -178,6 +187,16 @@ enum AIS_TypeOfAxis { AIS_TOAX_ZAxis = 3, }; +enum AIS_SelectionScheme { + AIS_SelectionScheme_UNKNOWN = - 1, + AIS_SelectionScheme_Replace = 0, + AIS_SelectionScheme_Add = 1, + AIS_SelectionScheme_Remove = 2, + AIS_SelectionScheme_XOR = 3, + AIS_SelectionScheme_Clear = 4, + AIS_SelectionScheme_ReplaceExtra = 5, +}; + enum AIS_ConnectStatus { AIS_CS_None = 0, AIS_CS_Connection = 1, @@ -290,15 +309,9 @@ enum AIS_TypeOfPlane { AIS_TOPL_YZPlane = 3, }; -enum AIS_DisplayStatus { - AIS_DS_Displayed = 0, - AIS_DS_Erased = 1, - AIS_DS_None = 2, -}; - /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class AIS_TrihedronSelectionMode(IntEnum): @@ -376,12 +389,26 @@ AIS_TOA_SecondAxis = AIS_TypeOfAttribute.AIS_TOA_SecondAxis AIS_TOA_ThirdAxis = AIS_TypeOfAttribute.AIS_TOA_ThirdAxis class AIS_KindOfInteractive(IntEnum): - AIS_KOI_None = 0 - AIS_KOI_Datum = 1 - AIS_KOI_Shape = 2 - AIS_KOI_Object = 3 - AIS_KOI_Relation = 4 - AIS_KOI_Dimension = 5 + AIS_KindOfInteractive_None = 0 + AIS_KindOfInteractive_Datum = 1 + AIS_KindOfInteractive_Shape = 2 + AIS_KindOfInteractive_Object = 3 + AIS_KindOfInteractive_Relation = 4 + AIS_KindOfInteractive_Dimension = 5 + AIS_KindOfInteractive_LightSource = 6 + AIS_KOI_None = AIS_KindOfInteractive_None + AIS_KOI_Datum = AIS_KindOfInteractive_Datum + AIS_KOI_Shape = AIS_KindOfInteractive_Shape + AIS_KOI_Object = AIS_KindOfInteractive_Object + AIS_KOI_Relation = AIS_KindOfInteractive_Relation + AIS_KOI_Dimension = AIS_KindOfInteractive_Dimension +AIS_KindOfInteractive_None = AIS_KindOfInteractive.AIS_KindOfInteractive_None +AIS_KindOfInteractive_Datum = AIS_KindOfInteractive.AIS_KindOfInteractive_Datum +AIS_KindOfInteractive_Shape = AIS_KindOfInteractive.AIS_KindOfInteractive_Shape +AIS_KindOfInteractive_Object = AIS_KindOfInteractive.AIS_KindOfInteractive_Object +AIS_KindOfInteractive_Relation = AIS_KindOfInteractive.AIS_KindOfInteractive_Relation +AIS_KindOfInteractive_Dimension = AIS_KindOfInteractive.AIS_KindOfInteractive_Dimension +AIS_KindOfInteractive_LightSource = AIS_KindOfInteractive.AIS_KindOfInteractive_LightSource AIS_KOI_None = AIS_KindOfInteractive.AIS_KOI_None AIS_KOI_Datum = AIS_KindOfInteractive.AIS_KOI_Datum AIS_KOI_Shape = AIS_KindOfInteractive.AIS_KOI_Shape @@ -407,6 +434,22 @@ AIS_TOAX_XAxis = AIS_TypeOfAxis.AIS_TOAX_XAxis AIS_TOAX_YAxis = AIS_TypeOfAxis.AIS_TOAX_YAxis AIS_TOAX_ZAxis = AIS_TypeOfAxis.AIS_TOAX_ZAxis +class AIS_SelectionScheme(IntEnum): + AIS_SelectionScheme_UNKNOWN = - 1 + AIS_SelectionScheme_Replace = 0 + AIS_SelectionScheme_Add = 1 + AIS_SelectionScheme_Remove = 2 + AIS_SelectionScheme_XOR = 3 + AIS_SelectionScheme_Clear = 4 + AIS_SelectionScheme_ReplaceExtra = 5 +AIS_SelectionScheme_UNKNOWN = AIS_SelectionScheme.AIS_SelectionScheme_UNKNOWN +AIS_SelectionScheme_Replace = AIS_SelectionScheme.AIS_SelectionScheme_Replace +AIS_SelectionScheme_Add = AIS_SelectionScheme.AIS_SelectionScheme_Add +AIS_SelectionScheme_Remove = AIS_SelectionScheme.AIS_SelectionScheme_Remove +AIS_SelectionScheme_XOR = AIS_SelectionScheme.AIS_SelectionScheme_XOR +AIS_SelectionScheme_Clear = AIS_SelectionScheme.AIS_SelectionScheme_Clear +AIS_SelectionScheme_ReplaceExtra = AIS_SelectionScheme.AIS_SelectionScheme_ReplaceExtra + class AIS_ConnectStatus(IntEnum): AIS_CS_None = 0 AIS_CS_Connection = 1 @@ -550,14 +593,6 @@ AIS_TOPL_Unknown = AIS_TypeOfPlane.AIS_TOPL_Unknown AIS_TOPL_XYPlane = AIS_TypeOfPlane.AIS_TOPL_XYPlane AIS_TOPL_XZPlane = AIS_TypeOfPlane.AIS_TOPL_XZPlane AIS_TOPL_YZPlane = AIS_TypeOfPlane.AIS_TOPL_YZPlane - -class AIS_DisplayStatus(IntEnum): - AIS_DS_Displayed = 0 - AIS_DS_Erased = 1 - AIS_DS_None = 2 -AIS_DS_Displayed = AIS_DisplayStatus.AIS_DS_Displayed -AIS_DS_Erased = AIS_DisplayStatus.AIS_DS_Erased -AIS_DS_None = AIS_DisplayStatus.AIS_DS_None }; /* end python proxy for enums */ @@ -626,6 +661,42 @@ AIS_DS_None = AIS_DisplayStatus.AIS_DS_None }; %template(AIS_MapOfInteractive) NCollection_Map,TColStd_MapTransientHasher>; %template(AIS_MouseGestureMap) NCollection_DataMap; +%template(AIS_MouseSelectionSchemeMap) NCollection_DataMap; +%template(AIS_NArray1OfEntityOwner) NCollection_Array1>; + +%extend NCollection_Array1> { + %pythoncode { + def __getitem__(self, index): + if index + self.Lower() > self.Upper(): + raise IndexError("index out of range") + else: + return self.Value(index + self.Lower()) + + def __setitem__(self, index, value): + if index + self.Lower() > self.Upper(): + raise IndexError("index out of range") + else: + self.SetValue(index + self.Lower(), value) + + def __len__(self): + return self.Length() + + def __iter__(self): + self.low = self.Lower() + self.up = self.Upper() + self.current = self.Lower() - 1 + return self + + def next(self): + if self.current >= self.Upper(): + raise StopIteration + else: + self.current += 1 + return self.Value(self.current) + + __next__ = next + } +}; %template(AIS_NListOfEntityOwner) NCollection_List>; %extend NCollection_List> { @@ -651,12 +722,15 @@ typedef NCollection_DataMap, opencascade::handle, TColStd_MapTransientHasher> AIS_DataMapOfIOStatus; typedef NCollection_DataMap, TopTools_ShapeMapHasher> AIS_DataMapOfShapeDrawer; typedef NCollection_DataMap AIS_DataMapofIntegerListOfinteractive; +typedef PrsMgr_DisplayStatus AIS_DisplayStatus; typedef NCollection_IndexedDataMap, opencascade::handle, TColStd_MapTransientHasher> AIS_IndexedDataMapOfOwnerPrs; typedef NCollection_List>::Iterator AIS_ListIteratorOfListOfInteractive; typedef NCollection_List> AIS_ListOfInteractive; typedef NCollection_Map, TColStd_MapTransientHasher>::Iterator AIS_MapIteratorOfMapOfInteractive; typedef NCollection_Map, TColStd_MapTransientHasher> AIS_MapOfInteractive; typedef NCollection_DataMap AIS_MouseGestureMap; +typedef NCollection_DataMap AIS_MouseSelectionSchemeMap; +typedef NCollection_Array1> AIS_NArray1OfEntityOwner; typedef NCollection_List> AIS_NListOfEntityOwner; typedef NCollection_Sequence> AIS_SequenceOfInteractive; /* end typedefs declaration */ @@ -901,6 +975,21 @@ None ") SetStartPts; void SetStartPts(const Standard_Real thePtsStart); + /****************** SetTimer ******************/ + /**** md5 signature: bc8c37bcd5d705b0ef533ab6789205d2 ****/ + %feature("compactdefaultargs") SetTimer; + %feature("autodoc", "Set playback timer. + +Parameters +---------- +theTimer: Media_Timer + +Returns +------- +None +") SetTimer; + void SetTimer(const opencascade::handle & theTimer); + /****************** Start ******************/ /**** md5 signature: f879b7bb1d28c81e7848195df5536432 ****/ %feature("compactdefaultargs") Start; @@ -957,6 +1046,17 @@ None ") Stop; virtual void Stop(); + /****************** Timer ******************/ + /**** md5 signature: 5e95b895bb505401280421403e4d0404 ****/ + %feature("compactdefaultargs") Timer; + %feature("autodoc", "Return playback timer. + +Returns +------- +opencascade::handle +") Timer; + const opencascade::handle & Timer(); + /****************** Update ******************/ /**** md5 signature: 3cb3b333871faa76cde54e56cbc9a277 ****/ %feature("compactdefaultargs") Update; @@ -1080,7 +1180,7 @@ None AIS_AttributeFilter(const Standard_Real aWidth); /****************** HasColor ******************/ - /**** md5 signature: a769345684f55d228a3a0773ed253c2e ****/ + /**** md5 signature: f14084fe0c7674324d105b06cc1ff5b4 ****/ %feature("compactdefaultargs") HasColor; %feature("autodoc", "Indicates that the interactive object has the color setting specified by the argument acol at construction time. @@ -1091,7 +1191,7 @@ bool Standard_Boolean HasColor(); /****************** HasWidth ******************/ - /**** md5 signature: adf8ad0ef06bcc936459a8354657697e ****/ + /**** md5 signature: 93af72110529b1e94c6797d09cd35e15 ****/ %feature("compactdefaultargs") HasWidth; %feature("autodoc", "Indicates that the interactive object has the width setting specified by the argument awidth at construction time. @@ -1117,37 +1217,37 @@ bool virtual Standard_Boolean IsOk(const opencascade::handle & anObj); /****************** SetColor ******************/ - /**** md5 signature: a5a89259e3fdf177522ec6a45eb6b08d ****/ + /**** md5 signature: 9860b6e19b23fad901e24b0cb7a0be30 ****/ %feature("compactdefaultargs") SetColor; - %feature("autodoc", "Sets the color acol. this must be chosen from the list of colors in quantity_nameofcolor. + %feature("autodoc", "Sets the color. Parameters ---------- -aCol: Quantity_NameOfColor +theCol: Quantity_NameOfColor Returns ------- None ") SetColor; - void SetColor(const Quantity_NameOfColor aCol); + void SetColor(const Quantity_NameOfColor theCol); /****************** SetWidth ******************/ - /**** md5 signature: 241a01ddb40e85ceaaa56807348390c6 ****/ + /**** md5 signature: a388bd43f011bc773d8da404945719b5 ****/ %feature("compactdefaultargs") SetWidth; - %feature("autodoc", "Sets the line width awidth. + %feature("autodoc", "Sets the line width. Parameters ---------- -aWidth: float +theWidth: float Returns ------- None ") SetWidth; - void SetWidth(const Standard_Real aWidth); + void SetWidth(const Standard_Real theWidth); /****************** UnsetColor ******************/ - /**** md5 signature: 188f0bfeebabf5f6612a608155ee828e ****/ + /**** md5 signature: 6e328a6dea703ee08923d991dc618e9a ****/ %feature("compactdefaultargs") UnsetColor; %feature("autodoc", "Removes the setting for color from the filter. @@ -1158,7 +1258,7 @@ None void UnsetColor(); /****************** UnsetWidth ******************/ - /**** md5 signature: 18cdd810cf848c52cf981cc677405046 ****/ + /**** md5 signature: 4be8fdb1e151f0a55dae0f7e3762ce2f ****/ %feature("compactdefaultargs") UnsetWidth; %feature("autodoc", "Removes the setting for width from the filter. @@ -1648,7 +1748,7 @@ None void Clear(); /****************** IsExclusionFlagOn ******************/ - /**** md5 signature: 7fe88450ac84eb6aa148073340c9bce3 ****/ + /**** md5 signature: 8ca18384ba58f8732ba66b57719f07bf ****/ %feature("compactdefaultargs") IsExclusionFlagOn; %feature("autodoc", "No available documentation. @@ -1751,19 +1851,19 @@ bool Standard_Boolean Remove(const AIS_KindOfInteractive TypeToExclude, const Standard_Integer SignatureInType); /****************** SetExclusionFlag ******************/ - /**** md5 signature: 776a282b6c6b3f5c2639bb6c16791d22 ****/ + /**** md5 signature: f2397263f584a343e57fbb29cc64b0e6 ****/ %feature("compactdefaultargs") SetExclusionFlag; %feature("autodoc", "No available documentation. Parameters ---------- -Status: bool +theStatus: bool Returns ------- None ") SetExclusionFlag; - void SetExclusionFlag(const Standard_Boolean Status); + void SetExclusionFlag(const Standard_Boolean theStatus); }; @@ -1784,7 +1884,7 @@ class AIS_GlobalStatus : public Standard_Transient { /****************** AIS_GlobalStatus ******************/ /**** md5 signature: 9c56844364db5c947daf28e63bef42e2 ****/ %feature("compactdefaultargs") AIS_GlobalStatus; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Default constructor. Returns ------- @@ -1792,31 +1892,10 @@ None ") AIS_GlobalStatus; AIS_GlobalStatus(); - /****************** AIS_GlobalStatus ******************/ - /**** md5 signature: 23cd32a350a0cbde82da5192eb9c1991 ****/ - %feature("compactdefaultargs") AIS_GlobalStatus; - %feature("autodoc", "No available documentation. - -Parameters ----------- -aStat: AIS_DisplayStatus -aDispMode: int -aSelMode: int -ishilighted: bool,optional - default value is Standard_False -aLayerIndex: int,optional - default value is 0 - -Returns -------- -None -") AIS_GlobalStatus; - AIS_GlobalStatus(const AIS_DisplayStatus aStat, const Standard_Integer aDispMode, const Standard_Integer aSelMode, const Standard_Boolean ishilighted = Standard_False, const Standard_Integer aLayerIndex = 0); - /****************** AddSelectionMode ******************/ - /**** md5 signature: 8d521f67bc72d54c9e4e290d83d68ddc ****/ + /**** md5 signature: fc8df9157b3ed8a48caafbee5c741526 ****/ %feature("compactdefaultargs") AddSelectionMode; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Add selection mode. Parameters ---------- @@ -1824,14 +1903,14 @@ theMode: int Returns ------- -None +bool ") AddSelectionMode; - void AddSelectionMode(const Standard_Integer theMode); + Standard_Boolean AddSelectionMode(const Standard_Integer theMode); /****************** ClearSelectionModes ******************/ - /**** md5 signature: fd12a734ed1c8100ef06c89abfda31a4 ****/ + /**** md5 signature: 239a6fa95794aa4d619474ae09fc6c8d ****/ %feature("compactdefaultargs") ClearSelectionModes; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Remove all selection modes. Returns ------- @@ -1850,28 +1929,6 @@ int ") DisplayMode; Standard_Integer DisplayMode(); - /****************** GetLayerIndex ******************/ - /**** md5 signature: 7b96c91f5523916797eb6286445c0e6e ****/ - %feature("compactdefaultargs") GetLayerIndex; - %feature("autodoc", "Returns layer index. - -Returns -------- -int -") GetLayerIndex; - Standard_Integer GetLayerIndex(); - - /****************** GraphicStatus ******************/ - /**** md5 signature: ff5a84cfe20daa40af44f9889fc706ce ****/ - %feature("compactdefaultargs") GraphicStatus; - %feature("autodoc", "No available documentation. - -Returns -------- -AIS_DisplayStatus -") GraphicStatus; - AIS_DisplayStatus GraphicStatus(); - /****************** HilightStyle ******************/ /**** md5 signature: d17b0472c23cb74e2e63d1233b6a1355 ****/ %feature("compactdefaultargs") HilightStyle; @@ -1886,7 +1943,7 @@ opencascade::handle /****************** IsHilighted ******************/ /**** md5 signature: 35d1f91e445f37fcfd3bf419bad32f49 ****/ %feature("compactdefaultargs") IsHilighted; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Returns true if object is highlighted. Returns ------- @@ -1895,19 +1952,19 @@ bool Standard_Boolean IsHilighted(); /****************** IsSModeIn ******************/ - /**** md5 signature: ccf0fb36f839d3f90dd25d57ef7c634b ****/ + /**** md5 signature: a53322586bcace0ddb4fe2232b3482bf ****/ %feature("compactdefaultargs") IsSModeIn; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Return true if selection mode was registered. Parameters ---------- -aMode: int +theMode: int Returns ------- bool ") IsSModeIn; - Standard_Boolean IsSModeIn(const Standard_Integer aMode); + Standard_Boolean IsSModeIn(Standard_Integer theMode); /****************** IsSubIntensityOn ******************/ /**** md5 signature: 1df00a9c06ea8c4f5d73e211efb2c1c6 ****/ @@ -1921,24 +1978,24 @@ bool Standard_Boolean IsSubIntensityOn(); /****************** RemoveSelectionMode ******************/ - /**** md5 signature: a6d4cc7f4184138d0c1e3aad4be138ba ****/ + /**** md5 signature: 80e1091c3c87bf86bc5b1fb90ac0860e ****/ %feature("compactdefaultargs") RemoveSelectionMode; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Remove selection mode. Parameters ---------- -aMode: int +theMode: int Returns ------- -None +bool ") RemoveSelectionMode; - void RemoveSelectionMode(const Standard_Integer aMode); + Standard_Boolean RemoveSelectionMode(const Standard_Integer theMode); /****************** SelectionModes ******************/ /**** md5 signature: 908d50ed59833e1e3d8eb3eb90d6ad2c ****/ %feature("compactdefaultargs") SelectionModes; - %feature("autodoc", "Keeps the active selection modes of the object in the main viewer. + %feature("autodoc", "Returns active selection modes of the object. Returns ------- @@ -1961,25 +2018,10 @@ None ") SetDisplayMode; void SetDisplayMode(const Standard_Integer theMode); - /****************** SetGraphicStatus ******************/ - /**** md5 signature: 3f1e04531cd7e5ad848d7dcea1cf9460 ****/ - %feature("compactdefaultargs") SetGraphicStatus; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theStatus: AIS_DisplayStatus - -Returns -------- -None -") SetGraphicStatus; - void SetGraphicStatus(const AIS_DisplayStatus theStatus); - /****************** SetHilightStatus ******************/ /**** md5 signature: 32df1cc3cd232c4fb69f8546f990eb32 ****/ %feature("compactdefaultargs") SetHilightStatus; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Sets highlighted state. Parameters ---------- @@ -2006,42 +2048,20 @@ None ") SetHilightStyle; void SetHilightStyle(const opencascade::handle & theStyle); - /****************** SetLayerIndex ******************/ - /**** md5 signature: 6425d3c907faef916eed507feced557a ****/ - %feature("compactdefaultargs") SetLayerIndex; + /****************** SetSubIntensity ******************/ + /**** md5 signature: 0f4ba431b62fe5e0935797fe9323fda7 ****/ + %feature("compactdefaultargs") SetSubIntensity; %feature("autodoc", "No available documentation. Parameters ---------- -theIndex: int - -Returns -------- -None -") SetLayerIndex; - void SetLayerIndex(const Standard_Integer theIndex); - - /****************** SubIntensityOff ******************/ - /**** md5 signature: 460a3dc0927cf1132fc4383a9c3f3e8a ****/ - %feature("compactdefaultargs") SubIntensityOff; - %feature("autodoc", "No available documentation. +theIsOn: bool Returns ------- None -") SubIntensityOff; - void SubIntensityOff(); - - /****************** SubIntensityOn ******************/ - /**** md5 signature: 35338134478596b5237bbe62411f8447 ****/ - %feature("compactdefaultargs") SubIntensityOn; - %feature("autodoc", "No available documentation. - -Returns -------- -None -") SubIntensityOn; - void SubIntensityOn(); +") SetSubIntensity; + void SetSubIntensity(Standard_Boolean theIsOn); }; @@ -2270,7 +2290,7 @@ None void ActivatedModes(const opencascade::handle & anIobj, TColStd_ListOfInteger & theList); /****************** AddFilter ******************/ - /**** md5 signature: 8f89ceb3d250cc70530e81ee261a2e71 ****/ + /**** md5 signature: 8a902c12e6fe5b2f586f4e19c0758623 ****/ %feature("compactdefaultargs") AddFilter; %feature("autodoc", "Allows you to add the filter. @@ -2287,7 +2307,7 @@ None /****************** AddOrRemoveCurrentObject ******************/ /**** md5 signature: 89eb3aca1b8b6d529be5010ff461f430 ****/ %feature("compactdefaultargs") AddOrRemoveCurrentObject; - %feature("autodoc", "Allows to add or remove the object given to the list of current and highlight/unhighlight it correspondingly. is valid for global context only; for local context use method addorremoveselected. since this method makes sence only for neutral point selection of a whole object, if 0 selection of the object is empty this method simply does nothing. + %feature("autodoc", "Allows to add or remove the object given to the list of current and highlight/unhighlight it correspondingly. is valid for global context only; for local context use method addorremoveselected. since this method makes sense only for neutral point selection of a whole object, if 0 selection of the object is empty this method simply does nothing. Parameters ---------- @@ -2593,7 +2613,7 @@ opencascade::handle /****************** DetectedCurrentObject ******************/ /**** md5 signature: db9a21d25f0bb2a34f1d9b68c667faf4 ****/ %feature("compactdefaultargs") DetectedCurrentObject; - %feature("autodoc", "Returns current mouse-detected interactive object or null object, if there is no currently detected interactives @sa detectedcurrentowner()/initdetected()/moredetected()/nextdetected(). + %feature("autodoc", "Returns current mouse-detected interactive object or null object, if there is no currently detected interactives @sa detectedcurrentowner(), initdetected(), moredetected(), nextdetected(). Returns ------- @@ -2604,7 +2624,7 @@ opencascade::handle /****************** DetectedCurrentOwner ******************/ /**** md5 signature: f92c094b1c7835be9059494de430ed90 ****/ %feature("compactdefaultargs") DetectedCurrentOwner; - %feature("autodoc", "Returns the owner from detected list pointed by current iterator position. warning! this method is irrelevant to detectedowner() which returns last picked owner regardless of iterator position! @sa initdetected()/moredetected()/nextdetected(). + %feature("autodoc", "Returns the owner from detected list pointed by current iterator position. warning! this method is irrelevant to detectedowner() which returns last picked owner regardless of iterator position! @sa initdetected(), moredetected(), nextdetected(). Returns ------- @@ -2615,7 +2635,7 @@ opencascade::handle /****************** DetectedCurrentShape ******************/ /**** md5 signature: 89ce12168c616c9e784d18e7ee93368c ****/ %feature("compactdefaultargs") DetectedCurrentShape; - %feature("autodoc", "Returns current mouse-detected shape or empty (null) shape, if current interactive object is not a shape (ais_shape) or there is no current mouse-detected interactive object at all. @sa detectedcurrentowner()/initdetected()/moredetected()/nextdetected(). + %feature("autodoc", "Returns current mouse-detected shape or empty (null) shape, if current interactive object is not a shape (ais_shape) or there is no current mouse-detected interactive object at all. @sa detectedcurrentowner(), initdetected(), moredetected(), nextdetected(). Returns ------- @@ -2637,7 +2657,7 @@ opencascade::handle /****************** DetectedOwner ******************/ /**** md5 signature: e2c982281c31eda113b04938de464319 ****/ %feature("compactdefaultargs") DetectedOwner; - %feature("autodoc", "Returns the owner of the detected sensitive primitive which is currently dynamically highlighted. warning! this method is irrelevant to initdetected()/moredetected()/nextdetected(). @sa hasdetected()/hasnextdetected()/hilightpreviousdetected()/hilightnextdetected(). + %feature("autodoc", "Returns the owner of the detected sensitive primitive which is currently dynamically highlighted. warning! this method is irrelevant to initdetected()/moredetected()/nextdetected(). @sa hasdetected(), hasnextdetected(), hilightpreviousdetected(), hilightnextdetected(). Returns ------- @@ -2657,7 +2677,7 @@ TopoDS_Shape const TopoDS_Shape DetectedShape(); /****************** DeviationAngle ******************/ - /**** md5 signature: 508af72f994b69f958301c949bd7776d ****/ + /**** md5 signature: 003652129c87707eb3add7448baffc41 ****/ %feature("compactdefaultargs") DeviationAngle; %feature("autodoc", "No available documentation. @@ -2668,7 +2688,7 @@ float Standard_Real DeviationAngle(); /****************** DeviationCoefficient ******************/ - /**** md5 signature: 9c4d7eea432c70a83c2882b4c26bcbec ****/ + /**** md5 signature: aa403b444ce189be03dbbfdaa044ed4e ****/ %feature("compactdefaultargs") DeviationCoefficient; %feature("autodoc", "Returns the deviation coefficient. drawings of curves or patches are made with respect to a maximal chordal deviation. a deviation coefficient is used in the shading display mode. the shape is seen decomposed into triangles. these are used to calculate reflection of light from the surface of the object. the triangles are formed from chords of the curves in the shape. the deviation coefficient gives the highest value of the angle with which a chord can deviate from a tangent to a curve. if this limit is reached, a new triangle is begun. this deviation is absolute and is set through prs3d_drawer::setmaximalchordialdeviation. the default value is 0.001. in drawing shapes, however, you are allowed to ask for a relative deviation. this deviation will be: sizeofobject * deviationcoefficient. @@ -2679,7 +2699,7 @@ float Standard_Real DeviationCoefficient(); /****************** DisableDrawHiddenLine ******************/ - /**** md5 signature: 3fc2c3cfd86c41638b1fc12d3405a6bc ****/ + /**** md5 signature: 6b6aa32f5adca641a6dc6a0b3f24eac5 ****/ %feature("compactdefaultargs") DisableDrawHiddenLine; %feature("autodoc", "No available documentation. @@ -2723,7 +2743,7 @@ None void Display(const opencascade::handle & theIObj, const Standard_Boolean theToUpdateViewer); /****************** Display ******************/ - /**** md5 signature: ef545bdb5680ab97c00d3bcc914c2f94 ****/ + /**** md5 signature: 4844e1a120d1763a2f1c9c28b42360f1 ****/ %feature("compactdefaultargs") Display; %feature("autodoc", "Sets status, display mode and selection mode for specified object if theselectionmode equals -1, theiobj will not be activated: it will be displayed but will not be selectable. @@ -2733,17 +2753,17 @@ theIObj: AIS_InteractiveObject theDispMode: int theSelectionMode: int theToUpdateViewer: bool -theDispStatus: AIS_DisplayStatus,optional - default value is AIS_DS_None +theDispStatus: PrsMgr_DisplayStatus,optional + default value is PrsMgr_DisplayStatus_None Returns ------- None ") Display; - void Display(const opencascade::handle & theIObj, const Standard_Integer theDispMode, const Standard_Integer theSelectionMode, const Standard_Boolean theToUpdateViewer, const AIS_DisplayStatus theDispStatus = AIS_DS_None); + void Display(const opencascade::handle & theIObj, const Standard_Integer theDispMode, const Standard_Integer theSelectionMode, const Standard_Boolean theToUpdateViewer, const PrsMgr_DisplayStatus theDispStatus = PrsMgr_DisplayStatus_None); /****************** Display ******************/ - /**** md5 signature: 65b510998a253649cd991f6bf670b1e3 ****/ + /**** md5 signature: 3bee65d480eafecc8a7bf6cf7e559b20 ****/ %feature("compactdefaultargs") Display; %feature("autodoc", "No available documentation. @@ -2754,14 +2774,14 @@ theDispMode: int theSelectionMode: int theToUpdateViewer: bool theToAllowDecomposition: bool -theDispStatus: AIS_DisplayStatus,optional - default value is AIS_DS_None +theDispStatus: PrsMgr_DisplayStatus,optional + default value is PrsMgr_DisplayStatus_None Returns ------- None ") Display; - void Display(const opencascade::handle & theIObj, const Standard_Integer theDispMode, const Standard_Integer theSelectionMode, const Standard_Boolean theToUpdateViewer, const Standard_Boolean theToAllowDecomposition, const AIS_DisplayStatus theDispStatus = AIS_DS_None); + void Display(const opencascade::handle & theIObj, const Standard_Integer theDispMode, const Standard_Integer theSelectionMode, const Standard_Boolean theToUpdateViewer, const Standard_Boolean theToAllowDecomposition, const PrsMgr_DisplayStatus theDispStatus = PrsMgr_DisplayStatus_None); /****************** DisplayActiveSensitive ******************/ /**** md5 signature: 3e2889a461702eed5abdf967dcfcfd6c ****/ @@ -2851,7 +2871,7 @@ None void DisplaySelected(const Standard_Boolean theToUpdateViewer); /****************** DisplayStatus ******************/ - /**** md5 signature: 2c3ee8144ab209b024b7cd0ee5b3e9dc ****/ + /**** md5 signature: 63fdc6587cc5281c7155ba72cfd784af ****/ %feature("compactdefaultargs") DisplayStatus; %feature("autodoc", "Returns the display status of the entity aniobj. this will be one of the following: - ais_ds_displayed displayed in main viewer - ais_ds_erased hidden in main viewer - ais_ds_temporary temporarily displayed - ais_ds_none nowhere displayed. @@ -2861,9 +2881,9 @@ anIobj: AIS_InteractiveObject Returns ------- -AIS_DisplayStatus +PrsMgr_DisplayStatus ") DisplayStatus; - AIS_DisplayStatus DisplayStatus(const opencascade::handle & anIobj); + PrsMgr_DisplayStatus DisplayStatus(const opencascade::handle & anIobj); /****************** DisplayedObjects ******************/ /**** md5 signature: 2ac371de0991b7c60d0ec9d3cdc39d6c ****/ @@ -2898,7 +2918,7 @@ None void DisplayedObjects(const AIS_KindOfInteractive theWhichKind, const Standard_Integer theWhichSignature, AIS_ListOfInteractive & theListOfIO); /****************** DrawHiddenLine ******************/ - /**** md5 signature: ee867d8bc869aae190f7ad2dd51ea119 ****/ + /**** md5 signature: 372ddba1ff29bf8cd686ca27ede4bc2a ****/ %feature("compactdefaultargs") DrawHiddenLine; %feature("autodoc", "Returns standard_true if the hidden lines are to be drawn. by default the hidden lines are not drawn. @@ -2917,7 +2937,7 @@ bool return s.str();} }; /****************** EnableDrawHiddenLine ******************/ - /**** md5 signature: 7c98158946b8428a204c851de2124594 ****/ + /**** md5 signature: ef1c63d78ea294d9e74f6b66ff4bc5ee ****/ %feature("compactdefaultargs") EnableDrawHiddenLine; %feature("autodoc", "No available documentation. @@ -3043,7 +3063,7 @@ SelectMgr_FilterType SelectMgr_FilterType FilterType(); /****************** Filters ******************/ - /**** md5 signature: 3fdc80dd75c17b43e3b22bec55f591f0 ****/ + /**** md5 signature: 93a08b293ea4d8d9b7d3fef18387c381 ****/ %feature("compactdefaultargs") Filters; %feature("autodoc", "Returns the list of filters active in a local context. @@ -3122,6 +3142,17 @@ Graphic3d_ZLayerId ") GetZLayer; Graphic3d_ZLayerId GetZLayer(const opencascade::handle & theIObj); + /****************** GlobalFilter ******************/ + /**** md5 signature: 06ef473f9ff7dbdffd2e783f736f69a0 ****/ + %feature("compactdefaultargs") GlobalFilter; + %feature("autodoc", "Returns the context selection global context filter. + +Returns +------- +opencascade::handle +") GlobalFilter; + const opencascade::handle & GlobalFilter(); + /****************** GravityPoint ******************/ /**** md5 signature: 61432a855a261dfe994f834c87d91d2a ****/ %feature("compactdefaultargs") GravityPoint; @@ -3166,7 +3197,7 @@ bool /****************** HasDetected ******************/ /**** md5 signature: 9784833ccfaab525e30c79edfbe72190 ****/ %feature("compactdefaultargs") HasDetected; - %feature("autodoc", "Returns true if there is a mouse-detected entity in context. @sa detectedowner()/hasnextdetected()/hilightpreviousdetected()/hilightnextdetected(). + %feature("autodoc", "Returns true if there is a mouse-detected entity in context. @sa detectedowner(), hasnextdetected(), hilightpreviousdetected(), hilightnextdetected(). Returns ------- @@ -3177,7 +3208,7 @@ bool /****************** HasDetectedShape ******************/ /**** md5 signature: d2fb3a69e46a45ed0edd4bafb59b8257 ****/ %feature("compactdefaultargs") HasDetectedShape; - %feature("autodoc", "Returns true if there is a detected shape in local context. @sa hasdetected()/detectedshape(). + %feature("autodoc", "Returns true if there is a detected shape in local context. @sa hasdetected(), detectedshape(). Returns ------- @@ -3203,7 +3234,7 @@ bool /****************** HasNextDetected ******************/ /**** md5 signature: 7a28caee8124c59c13fd939c4f7e2c47 ****/ %feature("compactdefaultargs") HasNextDetected; - %feature("autodoc", "Returns true if other entities were detected in the last mouse detection @sa hilightpreviousdetected()/hilightnextdetected(). + %feature("autodoc", "Returns true if other entities were detected in the last mouse detection @sa hilightpreviousdetected(), hilightnextdetected(). Returns ------- @@ -3238,7 +3269,7 @@ bool Standard_Boolean HasSelectedShape(); /****************** HiddenLineAspect ******************/ - /**** md5 signature: 2194dc9305a8d04891ff31b2c7d09c8d ****/ + /**** md5 signature: 94d1c2a65d1f004db7812470264560c4 ****/ %feature("compactdefaultargs") HiddenLineAspect; %feature("autodoc", "Initializes hidden line aspect in the default drawing tool, or drawer. the default values are: color: quantity_noc_yellow type of line: aspect_tol_dash width: 1. @@ -3246,12 +3277,12 @@ Returns ------- opencascade::handle ") HiddenLineAspect; - opencascade::handle HiddenLineAspect(); + const opencascade::handle & HiddenLineAspect(); /****************** HighlightStyle ******************/ /**** md5 signature: 2cb78034dd0075f5760ff6947175afbf ****/ %feature("compactdefaultargs") HighlightStyle; - %feature("autodoc", "Returns highlight style settings. + %feature("autodoc", "Returns default highlight style settings (could be overridden by prsmgr_presentableobject). //! tip: although highlighting style is defined by prs3d_drawer, only a small set of properties derived from it's base class graphic3d_presentationattributes will be actually used in most cases. //! default highlight style for all types is aspect_tohm_color. other defaults: - prs3d_typeofhighlight_dynamic * color: quantity_noc_cyan1; * layer: graphic3d_zlayerid_top, object highlighting is drawn on top of main scene within immediate layers, so that v3d_view::redrawimmediate() will be enough to see update; - prs3d_typeofhighlight_localdynamic * color: quantity_noc_cyan1; * layer: graphic3d_zlayerid_topmost, object parts highlighting is drawn on top of main scene within immediate layers with depth cleared (even overlapped geometry will be revealed); - prs3d_typeofhighlight_selected * color: quantity_noc_gray80; * layer: graphic3d_zlayerid_unknown, object highlighting is drawn on top of main scene within the same layer as object itself (e.g. graphic3d_zlayerid_default by default) and increased priority. //! @param[in] thestyletype highlight style to modify returns drawer associated to specified highlight type //! @sa moveto() using prs3d_typeofhighlight_dynamic and prs3d_typeofhighlight_localdynamic types @sa selectdetected() using prs3d_typeofhighlight_selected and prs3d_typeofhighlight_localselected types @sa prsmgr_presentableobject::dynamichilightattributes() overriding prs3d_typeofhighlight_dynamic and prs3d_typeofhighlight_localdynamic defaults on object level @sa prsmgr_presentableobject::hilightattributes() overriding prs3d_typeofhighlight_selected and prs3d_typeofhighlight_localselected defaults on object level. Parameters ---------- @@ -3266,7 +3297,7 @@ opencascade::handle /****************** HighlightStyle ******************/ /**** md5 signature: a5e55eefe6df1b6a11e0c9a34f35e9be ****/ %feature("compactdefaultargs") HighlightStyle; - %feature("autodoc", "Returns current dynamic highlight style settings. by default: - the color of dynamic highlight is quantity_noc_cyan1; - the presentation for dynamic highlight is completely opaque; - the type of highlight is aspect_tohm_color. + %feature("autodoc", "Returns current dynamic highlight style settings corresponding to prs3d_typeofhighlight_dynamic. this is just a short-cut to highlightstyle(prs3d_typeofhighlight_dynamic). Returns ------- @@ -3340,7 +3371,7 @@ None /****************** HilightNextDetected ******************/ /**** md5 signature: 9c05abb0fa3776e9813bee557372d755 ****/ %feature("compactdefaultargs") HilightNextDetected; - %feature("autodoc", "If more than 1 object is detected by the selector, only the 'best' owner is hilighted at the mouse position. this method allows the user to hilight one after another the other detected entities. if the method select is called, the selected entity will be the hilighted one! warning: loop method. when all the detected entities have been hilighted, the next call will hilight the first one again. returns the rank of hilighted entity @sa hasnextdetected()/hilightpreviousdetected(). + %feature("autodoc", "If more than 1 object is detected by the selector, only the 'best' owner is hilighted at the mouse position. this method allows the user to hilight one after another the other detected entities. if the method select is called, the selected entity will be the hilighted one! warning: loop method. when all the detected entities have been hilighted, the next call will hilight the first one again. returns the rank of hilighted entity @sa hasnextdetected(), hilightpreviousdetected(). Parameters ---------- @@ -3357,7 +3388,7 @@ int /****************** HilightPreviousDetected ******************/ /**** md5 signature: 262cae5bc6c5467cc4d7bc8c48f38ba0 ****/ %feature("compactdefaultargs") HilightPreviousDetected; - %feature("autodoc", "Same as previous methods in reverse direction. @sa hasnextdetected()/hilightnextdetected(). + %feature("autodoc", "Same as previous methods in reverse direction. @sa hasnextdetected(), hilightnextdetected(). Parameters ---------- @@ -3434,7 +3465,7 @@ None /****************** InitDetected ******************/ /**** md5 signature: c8e093453ccb47b93fdb3539272d695f ****/ %feature("compactdefaultargs") InitDetected; - %feature("autodoc", "Initialization for iteration through mouse-detected objects in interactive context or in local context if it is opened. @sa detectedcurrentowner()/moredetected()/nextdetected(). + %feature("autodoc", "Initialization for iteration through mouse-detected objects in interactive context or in local context if it is opened. @sa detectedcurrentowner(), moredetected(), nextdetected(). Returns ------- @@ -3445,7 +3476,7 @@ None /****************** InitSelected ******************/ /**** md5 signature: 5a647272f34af26ffd1cb3083091517d ****/ %feature("compactdefaultargs") InitSelected; - %feature("autodoc", "Initializes a scan of the selected objects. @sa selectedowner()/moreselected()/nextselected(). + %feature("autodoc", "Initializes a scan of the selected objects. @sa selectedowner(), moreselected(), nextselected(). Returns ------- @@ -3587,22 +3618,22 @@ int Standard_Integer IsoNumber(const AIS_TypeOfIso WhichIsos = AIS_TOI_Both); /****************** IsoOnPlane ******************/ - /**** md5 signature: 44f2fd1c20ce3c1811c498bdca672c1e ****/ + /**** md5 signature: 48280fa3ffd8bf23acfa138c4eadbe98 ****/ %feature("compactdefaultargs") IsoOnPlane; %feature("autodoc", "Returns true if drawing isoparameters on planes is enabled. Parameters ---------- -SwitchOn: bool +theToSwitchOn: bool Returns ------- None ") IsoOnPlane; - void IsoOnPlane(const Standard_Boolean SwitchOn); + void IsoOnPlane(const Standard_Boolean theToSwitchOn); /****************** IsoOnPlane ******************/ - /**** md5 signature: 2399069013e2297195a97f40a31fdec3 ****/ + /**** md5 signature: 725ae5fc83d7314e8a35910b73791b5a ****/ %feature("compactdefaultargs") IsoOnPlane; %feature("autodoc", "Returns true if drawing isoparameters on planes is enabled. if = false,. @@ -3629,7 +3660,7 @@ None void IsoOnTriangulation(const Standard_Boolean theIsEnabled, const opencascade::handle & theObject); /****************** IsoOnTriangulation ******************/ - /**** md5 signature: 4ed3479d463d2bbfc2b72917813f3b3b ****/ + /**** md5 signature: 8e5ad4a63beb9c4793c9d1b96a3b51d2 ****/ %feature("compactdefaultargs") IsoOnTriangulation; %feature("autodoc", "Enables or disables on-triangulation build for isolines for default drawer. in case if on-triangulation builder is disabled, default on-plane builder will compute isolines for the object given. @@ -3644,7 +3675,7 @@ None void IsoOnTriangulation(const Standard_Boolean theToSwitchOn); /****************** IsoOnTriangulation ******************/ - /**** md5 signature: 35291a4239d94266e0d7a4a8b135deb7 ****/ + /**** md5 signature: 86d0a4f726e225c8973eb7c232be52f2 ****/ %feature("compactdefaultargs") IsoOnTriangulation; %feature("autodoc", "Returns true if drawing isolines on triangulation algorithm is enabled. @@ -3715,15 +3746,15 @@ TopLoc_Location TopLoc_Location Location(const opencascade::handle & theObject); /****************** MainPrsMgr ******************/ - /**** md5 signature: ac85fee1d90b00c3d3b7b78afe44671e ****/ + /**** md5 signature: bdc4498bf12a71cbbfdc608a2521c7ca ****/ %feature("compactdefaultargs") MainPrsMgr; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") MainPrsMgr; - const opencascade::handle & MainPrsMgr(); + const opencascade::handle & MainPrsMgr(); /****************** MainSelector ******************/ /**** md5 signature: 324583e97a6b1f0d3b2bbf32bc96a6ef ****/ @@ -3750,7 +3781,7 @@ bool /****************** MoreDetected ******************/ /**** md5 signature: 07e8132e91725af6307db9bfd564c136 ****/ %feature("compactdefaultargs") MoreDetected; - %feature("autodoc", "Return true if there is more mouse-detected objects after the current one during iteration through mouse-detected interactive objects. @sa detectedcurrentowner()/initdetected()/nextdetected(). + %feature("autodoc", "Return true if there is more mouse-detected objects after the current one during iteration through mouse-detected interactive objects. @sa detectedcurrentowner(), initdetected(), nextdetected(). Returns ------- @@ -3761,7 +3792,7 @@ bool /****************** MoreSelected ******************/ /**** md5 signature: 9f460e4981ece0e01fad2077174757e0 ****/ %feature("compactdefaultargs") MoreSelected; - %feature("autodoc", "Returns true if there is another object found by the scan of the list of selected objects. @sa selectedowner()/initselected()/nextselected(). + %feature("autodoc", "Returns true if there is another object found by the scan of the list of selected objects. @sa selectedowner(), initselected(), nextselected(). Returns ------- @@ -3772,7 +3803,7 @@ bool /****************** MoveTo ******************/ /**** md5 signature: 9c6ee0b190031604e2ad3ee603a732e4 ****/ %feature("compactdefaultargs") MoveTo; - %feature("autodoc", "Relays mouse position in pixels thexpix and theypix to the interactive context selectors. this is done by the view theview passing this position to the main viewer and updating it. if thetoredrawonupdate is set to false, callee should call redrawimmediate() to highlight detected object. @sa pickingstrategy(). + %feature("autodoc", "Relays mouse position in pixels thexpix and theypix to the interactive context selectors. this is done by the view theview passing this position to the main viewer and updating it. if thetoredrawonupdate is set to false, callee should call redrawimmediate() to highlight detected object. @sa pickingstrategy() @sa highlightstyle() defining default dynamic highlight styles of detected owners (prs3d_typeofhighlight_dynamic and prs3d_typeofhighlight_localdynamic) @sa prsmgr_presentableobject::dynamichilightattributes() defining per-object dynamic highlight style of detected owners (overrides defaults). Parameters ---------- @@ -3787,6 +3818,23 @@ AIS_StatusOfDetection ") MoveTo; AIS_StatusOfDetection MoveTo(const Standard_Integer theXPix, const Standard_Integer theYPix, const opencascade::handle & theView, const Standard_Boolean theToRedrawOnUpdate); + /****************** MoveTo ******************/ + /**** md5 signature: 2d4d11946cb3b5d59dc861dff00a7f66 ****/ + %feature("compactdefaultargs") MoveTo; + %feature("autodoc", "Relays axis theaxis to the interactive context selectors. this is done by the view theview passing this axis to the main viewer and updating it. if thetoredrawonupdate is set to false, callee should call redrawimmediate() to highlight detected object. @sa pickingstrategy(). + +Parameters +---------- +theAxis: gp_Ax1 +theView: V3d_View +theToRedrawOnUpdate: bool + +Returns +------- +AIS_StatusOfDetection +") MoveTo; + AIS_StatusOfDetection MoveTo(const gp_Ax1 & theAxis, const opencascade::handle & theView, const Standard_Boolean theToRedrawOnUpdate); + /****************** NbCurrents ******************/ /**** md5 signature: 2bd21aea6055d1a4ef8d258c5b2a1542 ****/ %feature("compactdefaultargs") NbCurrents; @@ -3801,7 +3849,7 @@ int /****************** NbSelected ******************/ /**** md5 signature: 29cc2a3b075c044d0d4a48fbbe1b0094 ****/ %feature("compactdefaultargs") NbSelected; - %feature("autodoc", "Count a number of selected entities using initselected()+moreselected()+nextselected() iterator. @sa selectedowner()/initselected()/moreselected()/nextselected(). + %feature("autodoc", "Count a number of selected entities using initselected()+moreselected()+nextselected() iterator. @sa selectedowner(), initselected(), moreselected(), nextselected(). Returns ------- @@ -3823,7 +3871,7 @@ None /****************** NextDetected ******************/ /**** md5 signature: 80e9abbe7c307e899704c0aa75085271 ****/ %feature("compactdefaultargs") NextDetected; - %feature("autodoc", "Gets next current object during iteration through mouse-detected interactive objects. @sa detectedcurrentowner()/initdetected()/moredetected(). + %feature("autodoc", "Gets next current object during iteration through mouse-detected interactive objects. @sa detectedcurrentowner(), initdetected(), moredetected(). Returns ------- @@ -3834,7 +3882,7 @@ None /****************** NextSelected ******************/ /**** md5 signature: b0ac689aff47b7f0c7ffd7973ff9538f ****/ %feature("compactdefaultargs") NextSelected; - %feature("autodoc", "Continues the scan to the next object in the list of selected objects. @sa selectedowner()/initselected()/moreselected(). + %feature("autodoc", "Continues the scan to the next object in the list of selected objects. @sa selectedowner(), initselected(), moreselected(). Returns ------- @@ -3842,24 +3890,35 @@ None ") NextSelected; void NextSelected(); + /****************** ObjectIterator ******************/ + /**** md5 signature: 804b294e0bb2b10425cdac1f18aab7f5 ****/ + %feature("compactdefaultargs") ObjectIterator; + %feature("autodoc", "Create iterator through all objects registered in context. + +Returns +------- +AIS_DataMapIteratorOfDataMapOfIOStatus +") ObjectIterator; + AIS_DataMapIteratorOfDataMapOfIOStatus ObjectIterator(); + /****************** ObjectsByDisplayStatus ******************/ - /**** md5 signature: 4bcd63aa892c491a7896eac1ebe4c320 ****/ + /**** md5 signature: 51d891b3fdbc286ef0af76b239900609 ****/ %feature("compactdefaultargs") ObjectsByDisplayStatus; %feature("autodoc", "Returns the list thelistofio of objects with indicated display status particular type whichkind and signature whichsignature. by default, whichsignature equals 1. this means that there is a check on type only. Parameters ---------- -theStatus: AIS_DisplayStatus +theStatus: PrsMgr_DisplayStatus theListOfIO: AIS_ListOfInteractive Returns ------- None ") ObjectsByDisplayStatus; - void ObjectsByDisplayStatus(const AIS_DisplayStatus theStatus, AIS_ListOfInteractive & theListOfIO); + void ObjectsByDisplayStatus(const PrsMgr_DisplayStatus theStatus, AIS_ListOfInteractive & theListOfIO); /****************** ObjectsByDisplayStatus ******************/ - /**** md5 signature: 2983aa8e8e07ff883ac47f17cda6d066 ****/ + /**** md5 signature: cd9150453dc815573dc7553749c81a33 ****/ %feature("compactdefaultargs") ObjectsByDisplayStatus; %feature("autodoc", "Gives the list of objects with indicated display status type and signature by default, = -1 means control only on . @@ -3867,17 +3926,17 @@ Parameters ---------- WhichKind: AIS_KindOfInteractive WhichSignature: int -theStatus: AIS_DisplayStatus +theStatus: PrsMgr_DisplayStatus theListOfIO: AIS_ListOfInteractive Returns ------- None ") ObjectsByDisplayStatus; - void ObjectsByDisplayStatus(const AIS_KindOfInteractive WhichKind, const Standard_Integer WhichSignature, const AIS_DisplayStatus theStatus, AIS_ListOfInteractive & theListOfIO); + void ObjectsByDisplayStatus(const AIS_KindOfInteractive WhichKind, const Standard_Integer WhichSignature, const PrsMgr_DisplayStatus theStatus, AIS_ListOfInteractive & theListOfIO); /****************** ObjectsForView ******************/ - /**** md5 signature: 40843a5ed70af61c5c2068857d2e8f2d ****/ + /**** md5 signature: 03db815545a73176f5e924de76ca30b2 ****/ %feature("compactdefaultargs") ObjectsForView; %feature("autodoc", "Query objects visible or hidden in specified view due to affinity mask. @@ -3886,25 +3945,25 @@ Parameters theListOfIO: AIS_ListOfInteractive theView: V3d_View theIsVisibleInView: bool -theStatus: AIS_DisplayStatus,optional - default value is AIS_DS_None +theStatus: PrsMgr_DisplayStatus,optional + default value is PrsMgr_DisplayStatus_None Returns ------- None ") ObjectsForView; - void ObjectsForView(AIS_ListOfInteractive & theListOfIO, const opencascade::handle & theView, const Standard_Boolean theIsVisibleInView, const AIS_DisplayStatus theStatus = AIS_DS_None); + void ObjectsForView(AIS_ListOfInteractive & theListOfIO, const opencascade::handle & theView, const Standard_Boolean theIsVisibleInView, const PrsMgr_DisplayStatus theStatus = PrsMgr_DisplayStatus_None); /****************** ObjectsInside ******************/ - /**** md5 signature: d09ee8b48f1dd0dc665da27f01e182bd ****/ + /**** md5 signature: e893957ca156ab9c1aea481eaeae6510 ****/ %feature("compactdefaultargs") ObjectsInside; - %feature("autodoc", "Fills with objects of a particular type and signature with no consideration of display status. by default, = -1 means control only on . if = ais_koi_none and = -1, all the objects are put into the list. + %feature("autodoc", "Fills with objects of a particular type and signature with no consideration of display status. by default, = -1 means control only on . if = ais_kindofinteractive_none and = -1, all the objects are put into the list. Parameters ---------- aListOfIO: AIS_ListOfInteractive WhichKind: AIS_KindOfInteractive,optional - default value is AIS_KOI_None + default value is AIS_KindOfInteractive_None WhichSignature: int,optional default value is -1 @@ -3912,12 +3971,12 @@ Returns ------- None ") ObjectsInside; - void ObjectsInside(AIS_ListOfInteractive & aListOfIO, const AIS_KindOfInteractive WhichKind = AIS_KOI_None, const Standard_Integer WhichSignature = -1); + void ObjectsInside(AIS_ListOfInteractive & aListOfIO, const AIS_KindOfInteractive WhichKind = AIS_KindOfInteractive_None, const Standard_Integer WhichSignature = -1); /****************** PickingStrategy ******************/ /**** md5 signature: 7ec32744d1635811c168c2b831c6636a ****/ %feature("compactdefaultargs") PickingStrategy; - %feature("autodoc", "Return picking strategy; selectmgr_pickingstrategy_firstacceptable by default. @sa moveto()/filters(). + %feature("autodoc", "Return picking strategy; selectmgr_pickingstrategy_firstacceptable by default. @sa moveto(), filters(). Returns ------- @@ -3968,17 +4027,6 @@ aMode: int ") PolygonOffsets; void PolygonOffsets(const opencascade::handle & anObj, Standard_Integer &OutValue, Standard_ShortReal & aFactor, Standard_ShortReal & aUnits); - /****************** PurgeDisplay ******************/ - /**** md5 signature: 98035b1ff513129f455deed9d95ed3f0 ****/ - %feature("compactdefaultargs") PurgeDisplay; - %feature("autodoc", "Clears all the structures which don't belong to objects displayed at neutral point only effective when no local context is opened... returns the number of removed structures from the viewers. - -Returns -------- -int -") PurgeDisplay; - Standard_Integer PurgeDisplay(); - /****************** RebuildSelectionStructs ******************/ /**** md5 signature: fc018c2ec4a8be467c479b724e4da811 ****/ %feature("compactdefaultargs") RebuildSelectionStructs; @@ -4105,7 +4153,7 @@ None void RemoveAll(const Standard_Boolean theToUpdateViewer); /****************** RemoveFilter ******************/ - /**** md5 signature: 2a3b89c9253eed8d2e19ca8eee689bf0 ****/ + /**** md5 signature: 694a9fa10d2e0617b4c8daffb2ec97d7 ****/ %feature("compactdefaultargs") RemoveFilter; %feature("autodoc", "Removes a filter from context. @@ -4120,7 +4168,7 @@ None void RemoveFilter(const opencascade::handle & theFilter); /****************** RemoveFilters ******************/ - /**** md5 signature: c67437b03a9b7287c85294a22b5cf833 ****/ + /**** md5 signature: 76b1dac56b76ef3b70fd79415970d062 ****/ %feature("compactdefaultargs") RemoveFilters; %feature("autodoc", "Remove all filters from context. @@ -4145,6 +4193,22 @@ None ") ResetLocation; void ResetLocation(const opencascade::handle & theObject); + /****************** Select ******************/ + /**** md5 signature: c71757aa96bd289bdb9ac82fa6981ef9 ****/ + %feature("compactdefaultargs") Select; + %feature("autodoc", "Sets list of owner selected/deselected using specified selection scheme. @param theowners owners to change selection state @param theselscheme selection scheme returns picking status. + +Parameters +---------- +theOwners: AIS_NArray1OfEntityOwner +theSelScheme: AIS_SelectionScheme + +Returns +------- +AIS_StatusOfPick +") Select; + AIS_StatusOfPick Select(const AIS_NArray1OfEntityOwner & theOwners, const AIS_SelectionScheme theSelScheme); + /****************** Select ******************/ /**** md5 signature: 440778a1d119dc9eec978a78067df06f ****/ %feature("compactdefaultargs") Select; @@ -4197,6 +4261,77 @@ AIS_StatusOfPick ") Select; AIS_StatusOfPick Select(const Standard_Boolean theToUpdateViewer); + /****************** SelectDetected ******************/ + /**** md5 signature: 89506ff221e1c7c4fc54b977e288b0b8 ****/ + %feature("compactdefaultargs") SelectDetected; + %feature("autodoc", "Select and hilights the previous detected via ais_interactivecontext::moveto() method; unhilights the previous picked. viewer should be explicitly redrawn after selection. @param theselscheme [in] selection scheme returns picking status //! @sa highlightstyle() defining default highlight styles of selected owners (prs3d_typeofhighlight_selected and prs3d_typeofhighlight_localselected) @sa prsmgr_presentableobject::hilightattributes() defining per-object highlight style of selected owners (overrides defaults). + +Parameters +---------- +theSelScheme: AIS_SelectionScheme,optional + default value is AIS_SelectionScheme_Replace + +Returns +------- +AIS_StatusOfPick +") SelectDetected; + AIS_StatusOfPick SelectDetected(const AIS_SelectionScheme theSelScheme = AIS_SelectionScheme_Replace); + + /****************** SelectPoint ******************/ + /**** md5 signature: 4544552d38230d3a0cabb487e3aaef7c ****/ + %feature("compactdefaultargs") SelectPoint; + %feature("autodoc", "Selects the topmost object picked by the point in the view, viewer should be explicitly redrawn after selection. @param thepnt [in] point pixel coordinates within the view @param theview [in] active view where point is defined @param theselscheme [in] selection scheme returns picking status. + +Parameters +---------- +thePnt: Graphic3d_Vec2i +theView: V3d_View +theSelScheme: AIS_SelectionScheme,optional + default value is AIS_SelectionScheme_Replace + +Returns +------- +AIS_StatusOfPick +") SelectPoint; + AIS_StatusOfPick SelectPoint(const Graphic3d_Vec2i & thePnt, const opencascade::handle & theView, const AIS_SelectionScheme theSelScheme = AIS_SelectionScheme_Replace); + + /****************** SelectPolygon ******************/ + /**** md5 signature: da0b3aa40aa2485939f28c52c4321bc7 ****/ + %feature("compactdefaultargs") SelectPolygon; + %feature("autodoc", "Select everything found in the polygon defined by bounding polyline. viewer should be explicitly redrawn after selection. @param thepolyline [in] polyline defining polygon bounds (in pixels) @param theview [in] active view where polyline is defined @param theselscheme [in] selection scheme returns picking status. + +Parameters +---------- +thePolyline: TColgp_Array1OfPnt2d +theView: V3d_View +theSelScheme: AIS_SelectionScheme,optional + default value is AIS_SelectionScheme_Replace + +Returns +------- +AIS_StatusOfPick +") SelectPolygon; + AIS_StatusOfPick SelectPolygon(const TColgp_Array1OfPnt2d & thePolyline, const opencascade::handle & theView, const AIS_SelectionScheme theSelScheme = AIS_SelectionScheme_Replace); + + /****************** SelectRectangle ******************/ + /**** md5 signature: 0f5973af0c327ca20210ac5c498ef7c0 ****/ + %feature("compactdefaultargs") SelectRectangle; + %feature("autodoc", "Selects objects within the bounding rectangle. viewer should be explicitly redrawn after selection. @param thepntmin [in] rectangle lower point (in pixels) @param thepntmax [in] rectangle upper point (in pixels) @param theview [in] active view where rectangle is defined @param theselscheme [in] selection scheme returns picking status @sa stdselect_viewerselector3d::allowoverlapdetection(). + +Parameters +---------- +thePntMin: Graphic3d_Vec2i +thePntMax: Graphic3d_Vec2i +theView: V3d_View +theSelScheme: AIS_SelectionScheme,optional + default value is AIS_SelectionScheme_Replace + +Returns +------- +AIS_StatusOfPick +") SelectRectangle; + AIS_StatusOfPick SelectRectangle(const Graphic3d_Vec2i & thePntMin, const Graphic3d_Vec2i & thePntMax, const opencascade::handle & theView, const AIS_SelectionScheme theSelScheme = AIS_SelectionScheme_Replace); + /****************** SelectedInteractive ******************/ /**** md5 signature: b6273836cee8954a2faee535a7126f4e ****/ %feature("compactdefaultargs") SelectedInteractive; @@ -4211,7 +4346,7 @@ opencascade::handle /****************** SelectedOwner ******************/ /**** md5 signature: 4f367f2cac81145c8b4f46a462bff157 ****/ %feature("compactdefaultargs") SelectedOwner; - %feature("autodoc", "Returns the owner of the selected entity. @sa initselected()/moreselected()/nextselected(). + %feature("autodoc", "Returns the owner of the selected entity. @sa initselected(), moreselected(), nextselected(). Returns ------- @@ -4222,7 +4357,7 @@ opencascade::handle /****************** SelectedShape ******************/ /**** md5 signature: 721d3a216ce98c9b5e5e9d1b15f143f5 ****/ %feature("compactdefaultargs") SelectedShape; - %feature("autodoc", "Returns the selected shape. basically it is just a shape returned stored by stdselect_brepowner with graphic transformation being applied: @code const opencascade::handle abrepowner = opencascade::handle::downcast (selectedowner()); topods_shape aselshape = abrepowner->shape(); topods_shape alocatedshape = aselshape.located (abrepowner->location() * aselshape.location()); @endcode @sa selectedowner()/hasselectedshape(). + %feature("autodoc", "Returns the selected shape. basically it is just a shape returned stored by stdselect_brepowner with graphic transformation being applied: @code const opencascade::handle abrepowner = opencascade::handle::downcast (selectedowner()); topods_shape aselshape = abrepowner->shape(); topods_shape alocatedshape = aselshape.located (abrepowner->location() * aselshape.location()); @endcode @sa selectedowner(), hasselectedshape(). Returns ------- @@ -4255,7 +4390,7 @@ opencascade::handle /****************** SelectionStyle ******************/ /**** md5 signature: 3c3ddd0e1d466df6b150cfb790baa61a ****/ %feature("compactdefaultargs") SelectionStyle; - %feature("autodoc", "Returns current selection style settings. by default: - the color of selection is quantity_noc_gray80; - the presentation for selection is completely opaque; - the type of highlight is aspect_tohm_color. + %feature("autodoc", "Returns current selection style settings corrsponding to prs3d_typeofhighlight_selected. this is just a short-cut to highlightstyle(prs3d_typeofhighlight_selected). Returns ------- @@ -4360,6 +4495,21 @@ None ") SetCurrentObject; void SetCurrentObject(const opencascade::handle & theIObj, const Standard_Boolean theToUpdateViewer); + /****************** SetDefaultDrawer ******************/ + /**** md5 signature: fa88c8a7788e5b89033f7deefbc9be1c ****/ + %feature("compactdefaultargs") SetDefaultDrawer; + %feature("autodoc", "Sets the default attribute manager; should be set at context creation time. warning - this setter doesn't update links to the default drawer of already displayed objects!. + +Parameters +---------- +theDrawer: Prs3d_Drawer + +Returns +------- +None +") SetDefaultDrawer; + void SetDefaultDrawer(const opencascade::handle & theDrawer); + /****************** SetDeviationAngle ******************/ /**** md5 signature: 3fa01c3e51e45d16b88cd62df5c6dba6 ****/ %feature("compactdefaultargs") SetDeviationAngle; @@ -4378,19 +4528,19 @@ None void SetDeviationAngle(const opencascade::handle & theIObj, const Standard_Real theAngle, const Standard_Boolean theToUpdateViewer); /****************** SetDeviationAngle ******************/ - /**** md5 signature: 373845ba63fe87edd7d9720e6aade848 ****/ + /**** md5 signature: 57d7d8b2bbfd40492359d917f4b7c203 ****/ %feature("compactdefaultargs") SetDeviationAngle; %feature("autodoc", "Default 20 degrees. Parameters ---------- -anAngle: float +theAngle: float Returns ------- None ") SetDeviationAngle; - void SetDeviationAngle(const Standard_Real anAngle); + void SetDeviationAngle(const Standard_Real theAngle); /****************** SetDeviationCoefficient ******************/ /**** md5 signature: a869465c8496bd4f68daf77ec26ec399 ****/ @@ -4410,7 +4560,7 @@ None void SetDeviationCoefficient(const opencascade::handle & theIObj, const Standard_Real theCoefficient, const Standard_Boolean theToUpdateViewer); /****************** SetDeviationCoefficient ******************/ - /**** md5 signature: c876cabde5740c4ce35b0db72a481d97 ****/ + /**** md5 signature: b9b6c62150e8986b2bdd5259de3558aa ****/ %feature("compactdefaultargs") SetDeviationCoefficient; %feature("autodoc", "Sets the deviation coefficient thecoefficient. drawings of curves or patches are made with respect to a maximal chordal deviation. a deviation coefficient is used in the shading display mode. the shape is seen decomposed into triangles. these are used to calculate reflection of light from the surface of the object. the triangles are formed from chords of the curves in the shape. the deviation coefficient thecoefficient gives the highest value of the angle with which a chord can deviate from a tangent to a curve. if this limit is reached, a new triangle is begun. this deviation is absolute and is set through the method: setmaximalchordialdeviation. the default value is 0.001. in drawing shapes, however, you are allowed to ask for a relative deviation. this deviation will be: sizeofobject * deviationcoefficient. @@ -4489,24 +4639,24 @@ None void SetFilterType(const SelectMgr_FilterType theFilterType); /****************** SetHiddenLineAspect ******************/ - /**** md5 signature: 5b46a3500446af2bbd4fd524d0b64376 ****/ + /**** md5 signature: 82e7745333ec21f019200e5221b9cdcf ****/ %feature("compactdefaultargs") SetHiddenLineAspect; %feature("autodoc", "Sets the hidden line aspect anaspect. aspect defines display attributes for hidden lines in hlr projections. Parameters ---------- -anAspect: Prs3d_LineAspect +theAspect: Prs3d_LineAspect Returns ------- None ") SetHiddenLineAspect; - void SetHiddenLineAspect(const opencascade::handle & anAspect); + void SetHiddenLineAspect(const opencascade::handle & theAspect); /****************** SetHighlightStyle ******************/ /**** md5 signature: 514ba754efe6d3cdef1ca1443d525348 ****/ %feature("compactdefaultargs") SetHighlightStyle; - %feature("autodoc", "Setup highlight style settings. it is preferred modifying existing style returned by method highlightstyle() instead of creating a new drawer. //! if a new highlight style is created, its presentation zlayer should be checked, otherwise highlighting might not work as expected. default values are: - prs3d_typeofhighlight_dynamic: graphic3d_zlayerid_top, object highlighting is drawn on top of main scene within immediate layers, so that v3d_view::redrawimmediate() will be enough to see update; - prs3d_typeofhighlight_localdynamic: graphic3d_zlayerid_topmost, object parts highlighting is drawn on top of main scene within immediate layers with depth cleared (even overlapped geometry will be revealed); - prs3d_typeofhighlight_selected: graphic3d_zlayerid_unknown, object highlighting is drawn on top of main scene within the same layer as object itself (e.g. graphic3d_zlayerid_default by default) and increased priority. + %feature("autodoc", "Setup highlight style settings. tip: it is better modifying existing style returned by method highlightstyle() instead of creating a new prs3d_drawer to avoid unexpected results due misconfiguration. //! if a new highlight style is created, its presentation zlayer should be checked, otherwise highlighting might not work as expected. Parameters ---------- @@ -4522,7 +4672,7 @@ None /****************** SetHighlightStyle ******************/ /**** md5 signature: 0f582d623d586c315d681407eef8bab2 ****/ %feature("compactdefaultargs") SetHighlightStyle; - %feature("autodoc", "Setup the style of dynamic highlighting. it is preferred modifying existing style returned by method highlightstyle() instead of creating a new drawer. //! if a new highlight style is created, its presentation zlayer should be checked, otherwise highlighting might not work as expected. default value is graphic3d_zlayerid_top, object highlighting is drawn on top of main scene within immediate layers, so that v3d_view::redrawimmediate() will be enough to see update;. + %feature("autodoc", "Setup the style of dynamic highlighting corrsponding to prs3d_typeofhighlight_selected. this is just a short-cut to sethighlightstyle(prs3d_typeofhighlight_dynamic,thestyle). Parameters ---------- @@ -4804,7 +4954,7 @@ None /****************** SetSelectionStyle ******************/ /**** md5 signature: 93a6cf42e8daf8b20f671afa0142b5ba ****/ %feature("compactdefaultargs") SetSelectionStyle; - %feature("autodoc", "Setup the style of selection highlighting. + %feature("autodoc", "Setup the style of selection highlighting. this is just a short-cut to sethighlightstyle(prs3d_typeofhighlight_selected,thestyle). Parameters ---------- @@ -4862,24 +5012,6 @@ None ") SetTransformPersistence; void SetTransformPersistence(const opencascade::handle & theObject, const opencascade::handle & theTrsfPers); - /****************** SetTransformPersistence ******************/ - /**** md5 signature: 8227af0069ce6c1db420a1ae7c1520a9 ****/ - %feature("compactdefaultargs") SetTransformPersistence; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theObj: AIS_InteractiveObject -theFlag: Graphic3d_TransModeFlags -thePoint: gp_Pnt,optional - default value is gp_Pnt(0.0,0.0,0.0) - -Returns -------- -None -") SetTransformPersistence; - void SetTransformPersistence(const opencascade::handle & theObj, const Graphic3d_TransModeFlags & theFlag, const gp_Pnt & thePoint = gp_Pnt(0.0,0.0,0.0)); - /****************** SetTransparency ******************/ /**** md5 signature: fee820087e4dfddda2498e02179e9112 ****/ %feature("compactdefaultargs") SetTransparency; @@ -5506,7 +5638,7 @@ int /****************** Type ******************/ /**** md5 signature: 7e0280329d789210bd49ed9764da22e3 ****/ %feature("compactdefaultargs") Type; - %feature("autodoc", "Returns the kind of interactive object; ais_koi_none by default. + %feature("autodoc", "Returns the kind of interactive object; ais_kindofinteractive_none by default. Returns ------- @@ -5526,37 +5658,53 @@ AIS_KindOfInteractive }; /***************************** -* class AIS_ManipulatorOwner * +* class AIS_LightSourceOwner * *****************************/ -class AIS_ManipulatorOwner : public SelectMgr_EntityOwner { +class AIS_LightSourceOwner : public SelectMgr_EntityOwner { public: - /****************** AIS_ManipulatorOwner ******************/ - /**** md5 signature: e9149e1393505f2a15862a109e2ace43 ****/ - %feature("compactdefaultargs") AIS_ManipulatorOwner; - %feature("autodoc", "No available documentation. + /****************** AIS_LightSourceOwner ******************/ + /**** md5 signature: 1a76e2e9334a0d57df383ac38fcf4ba6 ****/ + %feature("compactdefaultargs") AIS_LightSourceOwner; + %feature("autodoc", "Main constructor. Parameters ---------- -theSelObject: SelectMgr_SelectableObject -theIndex: int -theMode: AIS_ManipulatorMode +theObject: AIS_LightSource thePriority: int,optional - default value is 0 + default value is 5 Returns ------- None -") AIS_ManipulatorOwner; - AIS_ManipulatorOwner(const opencascade::handle & theSelObject, const Standard_Integer theIndex, const AIS_ManipulatorMode theMode, const Standard_Integer thePriority = 0); +") AIS_LightSourceOwner; + AIS_LightSourceOwner(const opencascade::handle & theObject, Standard_Integer thePriority = 5); + + /****************** HandleMouseClick ******************/ + /**** md5 signature: a1e0b5a1544f4c34e89ff7054f3e9da6 ****/ + %feature("compactdefaultargs") HandleMouseClick; + %feature("autodoc", "Handle mouse button click event. + +Parameters +---------- +thePoint: Graphic3d_Vec2i +theButton: Aspect_VKeyMouse +theModifiers: Aspect_VKeyFlags +theIsDoubleClick: bool + +Returns +------- +bool +") HandleMouseClick; + virtual Standard_Boolean HandleMouseClick(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButton, Aspect_VKeyFlags theModifiers, bool theIsDoubleClick); /****************** HilightWithColor ******************/ - /**** md5 signature: 71c328368ee46e9ee02419c61fa1b191 ****/ + /**** md5 signature: 93589dd7f7e0570ae831db807b6e606c ****/ %feature("compactdefaultargs") HilightWithColor; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Highlights selectable object's presentation with display mode in presentation manager with given highlight style. also a check for auto-highlight is performed - if selectable object manages highlighting on its own, execution will be passed to selectmgr_selectableobject::hilightownerwithcolor method. Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePrsMgr: PrsMgr_PresentationManager theStyle: Prs3d_Drawer theMode: int @@ -5564,23 +5712,84 @@ Returns ------- None ") HilightWithColor; - virtual void HilightWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const Standard_Integer theMode); + virtual void HilightWithColor(const opencascade::handle & thePrsMgr, const opencascade::handle & theStyle, const Standard_Integer theMode); - /****************** Index ******************/ - /**** md5 signature: 0be2d384cf83d16771bb3f9c857c6326 ****/ - %feature("compactdefaultargs") Index; - %feature("autodoc", "Returns index of manipulator axis. + /****************** IsForcedHilight ******************/ + /**** md5 signature: b7e8a39578fc441f958f06f3cf923c7d ****/ + %feature("compactdefaultargs") IsForcedHilight; + %feature("autodoc", "Always update dynamic highlighting. Returns ------- -int -") Index; - Standard_Integer Index(); +bool +") IsForcedHilight; + virtual Standard_Boolean IsForcedHilight(); - /****************** IsHilighted ******************/ - /**** md5 signature: 75ad53fe5d3fc51cf2a9dd7e62ee1347 ****/ - %feature("compactdefaultargs") IsHilighted; - %feature("autodoc", "No available documentation. +}; + + +%extend AIS_LightSourceOwner { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/***************************** +* class AIS_ManipulatorOwner * +*****************************/ +class AIS_ManipulatorOwner : public SelectMgr_EntityOwner { + public: + /****************** AIS_ManipulatorOwner ******************/ + /**** md5 signature: e9149e1393505f2a15862a109e2ace43 ****/ + %feature("compactdefaultargs") AIS_ManipulatorOwner; + %feature("autodoc", "No available documentation. + +Parameters +---------- +theSelObject: SelectMgr_SelectableObject +theIndex: int +theMode: AIS_ManipulatorMode +thePriority: int,optional + default value is 0 + +Returns +------- +None +") AIS_ManipulatorOwner; + AIS_ManipulatorOwner(const opencascade::handle & theSelObject, const Standard_Integer theIndex, const AIS_ManipulatorMode theMode, const Standard_Integer thePriority = 0); + + /****************** HilightWithColor ******************/ + /**** md5 signature: ff872ded3a30d3b368f40f78eef3d5d8 ****/ + %feature("compactdefaultargs") HilightWithColor; + %feature("autodoc", "No available documentation. + +Parameters +---------- +thePM: PrsMgr_PresentationManager +theStyle: Prs3d_Drawer +theMode: int + +Returns +------- +None +") HilightWithColor; + virtual void HilightWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const Standard_Integer theMode); + + /****************** Index ******************/ + /**** md5 signature: 0be2d384cf83d16771bb3f9c857c6326 ****/ + %feature("compactdefaultargs") Index; + %feature("autodoc", "Returns index of manipulator axis. + +Returns +------- +int +") Index; + Standard_Integer Index(); + + /****************** IsHilighted ******************/ + /**** md5 signature: 75ad53fe5d3fc51cf2a9dd7e62ee1347 ****/ + %feature("compactdefaultargs") IsHilighted; + %feature("autodoc", "No available documentation. Parameters ---------- @@ -5679,13 +5888,13 @@ opencascade::handle const opencascade::handle & DetectedPoints(); /****************** HilightWithColor ******************/ - /**** md5 signature: ac1a5f13927ca247a3c85abe1279df2d ****/ + /**** md5 signature: 93589dd7f7e0570ae831db807b6e606c ****/ %feature("compactdefaultargs") HilightWithColor; %feature("autodoc", "Handle dynamic highlighting. Parameters ---------- -thePrsMgr: PrsMgr_PresentationManager3d +thePrsMgr: PrsMgr_PresentationManager theStyle: Prs3d_Drawer theMode: int @@ -5693,7 +5902,7 @@ Returns ------- None ") HilightWithColor; - virtual void HilightWithColor(const opencascade::handle & thePrsMgr, const opencascade::handle & theStyle, const Standard_Integer theMode); + virtual void HilightWithColor(const opencascade::handle & thePrsMgr, const opencascade::handle & theStyle, const Standard_Integer theMode); /****************** IsForcedHilight ******************/ /**** md5 signature: b7e8a39578fc441f958f06f3cf923c7d ****/ @@ -5895,6 +6104,24 @@ AIS_SelectStatus ") Select; virtual AIS_SelectStatus Select(const opencascade::handle & theObject); + /****************** SelectOwners ******************/ + /**** md5 signature: ac1b8c76b8f30a86ea808928babe4605 ****/ + %feature("compactdefaultargs") SelectOwners; + %feature("autodoc", "Select or deselect owners depending on the selection scheme. @param theowners [in] elements to change selection state @param theselscheme [in] selection scheme, defines how owner is selected @param thetoallowseloverlap [in] selection flag, if true - overlapped entities are allowed @param thefilter [in] context filter to skip not acceptable owners. + +Parameters +---------- +thePickedOwners: AIS_NArray1OfEntityOwner +theSelScheme: AIS_SelectionScheme +theToAllowSelOverlap: bool +theFilter: SelectMgr_Filter + +Returns +------- +None +") SelectOwners; + virtual void SelectOwners(const AIS_NArray1OfEntityOwner & thePickedOwners, const AIS_SelectionScheme theSelScheme, const Standard_Boolean theToAllowSelOverlap, const opencascade::handle & theFilter); + /****************** Value ******************/ /**** md5 signature: af0cbe2fba1d118547342f72cf6f251c ****/ %feature("compactdefaultargs") Value; @@ -5951,13 +6178,13 @@ Prs3d_DatumParts Prs3d_DatumParts DatumPart(); /****************** HilightWithColor ******************/ - /**** md5 signature: 71c328368ee46e9ee02419c61fa1b191 ****/ + /**** md5 signature: ff872ded3a30d3b368f40f78eef3d5d8 ****/ %feature("compactdefaultargs") HilightWithColor; %feature("autodoc", "Highlights selectable object's presentation. Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theStyle: Prs3d_Drawer theMode: int @@ -5965,7 +6192,7 @@ Returns ------- None ") HilightWithColor; - virtual void HilightWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const Standard_Integer theMode); + virtual void HilightWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const Standard_Integer theMode); /****************** IsHilighted ******************/ /**** md5 signature: 75ad53fe5d3fc51cf2a9dd7e62ee1347 ****/ @@ -6059,7 +6286,7 @@ bool /*************************** * class AIS_ViewController * ***************************/ -class AIS_ViewController { +class AIS_ViewController : public Aspect_WindowInputListener { public: /****************** AIS_ViewController ******************/ /**** md5 signature: d17644811ddb999bc83fdf0d339ec312 ****/ @@ -6084,7 +6311,7 @@ None void AbortViewAnimation(); /****************** AddTouchPoint ******************/ - /**** md5 signature: 93b82d6d34eb813c208bc4163ef671c4 ****/ + /**** md5 signature: 3bd9dbdb649487ab2275978d96667a1b ****/ %feature("compactdefaultargs") AddTouchPoint; %feature("autodoc", "Add touch point with the given id. this method is expected to be called from ui thread. @param theid touch unique identifier @param thepnt touch coordinates @param theclearbefore if true previously registered touches will be removed. @@ -6101,28 +6328,6 @@ None ") AddTouchPoint; virtual void AddTouchPoint(Standard_Size theId, const Graphic3d_Vec2d & thePnt, Standard_Boolean theClearBefore = false); - /****************** Change3dMouseIsNoRotate ******************/ - /**** md5 signature: b2ff1af628a01e66606ed582c146ef69 ****/ - %feature("compactdefaultargs") Change3dMouseIsNoRotate; - %feature("autodoc", "Return 3d mouse rotation axes (tilt/roll/spin) ignore flag; (false, false, false) by default. - -Returns -------- -NCollection_Vec3 -") Change3dMouseIsNoRotate; - NCollection_Vec3 & Change3dMouseIsNoRotate(); - - /****************** Change3dMouseToReverse ******************/ - /**** md5 signature: 74994d53f8199fd2049bc1854acbcdb2 ****/ - %feature("compactdefaultargs") Change3dMouseToReverse; - %feature("autodoc", "Return 3d mouse rotation axes (tilt/roll/spin) reverse flag; (true, false, false) by default. - -Returns -------- -NCollection_Vec3 -") Change3dMouseToReverse; - NCollection_Vec3 & Change3dMouseToReverse(); - /****************** ChangeInputBuffer ******************/ /**** md5 signature: c617c43bf721a07d3495c85c386656be ****/ %feature("compactdefaultargs") ChangeInputBuffer; @@ -6138,17 +6343,6 @@ AIS_ViewInputBuffer ") ChangeInputBuffer; AIS_ViewInputBuffer & ChangeInputBuffer(AIS_ViewInputBufferType theType); - /****************** ChangeKeys ******************/ - /**** md5 signature: 5ba331e57bcd00b6539ab5d9145324ac ****/ - %feature("compactdefaultargs") ChangeKeys; - %feature("autodoc", "Return keyboard state. - -Returns -------- -Aspect_VKeySet -") ChangeKeys; - Aspect_VKeySet & ChangeKeys(); - /****************** ChangeMouseGestureMap ******************/ /**** md5 signature: f27868853ccb67e85e9cde87d79c302f ****/ %feature("compactdefaultargs") ChangeMouseGestureMap; @@ -6160,16 +6354,16 @@ AIS_MouseGestureMap ") ChangeMouseGestureMap; AIS_MouseGestureMap & ChangeMouseGestureMap(); - /****************** EventTime ******************/ - /**** md5 signature: 6bdc5b17561b5be0e9e4dbdd76a72ace ****/ - %feature("compactdefaultargs") EventTime; - %feature("autodoc", "Return event time (e.g. current time). + /****************** ChangeMouseSelectionSchemes ******************/ + /**** md5 signature: 80ce1bcc2c1e49f99852f20cc18b214d ****/ + %feature("compactdefaultargs") ChangeMouseSelectionSchemes; + %feature("autodoc", "Return map defining mouse gestures. Returns ------- -double -") EventTime; - double EventTime(); +AIS_MouseSelectionSchemeMap +") ChangeMouseSelectionSchemes; + AIS_MouseSelectionSchemeMap & ChangeMouseSelectionSchemes(); /****************** FetchNavigationKeys ******************/ /**** md5 signature: 5b7cb763413888a54d2f8b3826e86cda ****/ @@ -6221,50 +6415,6 @@ None ") FlushViewEvents; virtual void FlushViewEvents(const opencascade::handle & theCtx, const opencascade::handle & theView, Standard_Boolean theToHandle = Standard_False); - /****************** Get3dMouseIsNoRotate ******************/ - /**** md5 signature: ae14b65261c4d2a6b12679cc1f5c5ed4 ****/ - %feature("compactdefaultargs") Get3dMouseIsNoRotate; - %feature("autodoc", "Return 3d mouse rotation axes (tilt/roll/spin) ignore flag; (false, false, false) by default. - -Returns -------- -NCollection_Vec3 -") Get3dMouseIsNoRotate; - const NCollection_Vec3 & Get3dMouseIsNoRotate(); - - /****************** Get3dMouseRotationScale ******************/ - /**** md5 signature: 6e7927184907412546b0e3bf5c131f00 ****/ - %feature("compactdefaultargs") Get3dMouseRotationScale; - %feature("autodoc", "Return acceleration ratio for rotation event; 4.0 by default. - -Returns -------- -float -") Get3dMouseRotationScale; - float Get3dMouseRotationScale(); - - /****************** Get3dMouseToReverse ******************/ - /**** md5 signature: a365f1e9e4397aece1eb44aa7383f6d5 ****/ - %feature("compactdefaultargs") Get3dMouseToReverse; - %feature("autodoc", "Return 3d mouse rotation axes (tilt/roll/spin) reverse flag; (true, false, false) by default. - -Returns -------- -NCollection_Vec3 -") Get3dMouseToReverse; - const NCollection_Vec3 & Get3dMouseToReverse(); - - /****************** Get3dMouseTranslationScale ******************/ - /**** md5 signature: f426a4558b5227de61530d9d20b93e7e ****/ - %feature("compactdefaultargs") Get3dMouseTranslationScale; - %feature("autodoc", "Return acceleration ratio for translation event; 2.0 by default. - -Returns -------- -float -") Get3dMouseTranslationScale; - float Get3dMouseTranslationScale(); - /****************** GravityPoint ******************/ /**** md5 signature: 8c62140d10f0624c3042ec01021f9c63 ****/ %feature("compactdefaultargs") GravityPoint; @@ -6308,17 +6458,6 @@ bool ") HasPreviousMoveTo; bool HasPreviousMoveTo(); - /****************** HasTouchPoints ******************/ - /**** md5 signature: f6532233e79841283a6d00ea2e7477d5 ****/ - %feature("compactdefaultargs") HasTouchPoints; - %feature("autodoc", "Return true if touches map is not empty. - -Returns -------- -bool -") HasTouchPoints; - bool HasTouchPoints(); - /****************** InputBuffer ******************/ /**** md5 signature: 0e66b64ea2254057a38ac6990d92e49f ****/ %feature("compactdefaultargs") InputBuffer; @@ -6334,10 +6473,21 @@ AIS_ViewInputBuffer ") InputBuffer; const AIS_ViewInputBuffer & InputBuffer(AIS_ViewInputBufferType theType); + /****************** IsContinuousRedraw ******************/ + /**** md5 signature: ebe0ac2e75e8c36daa1c62aa56049396 ****/ + %feature("compactdefaultargs") IsContinuousRedraw; + %feature("autodoc", "Return true if continuous redrawing is enabled; false by default. this option would request a next viewer frame to be completely redrawn right after current frame is finished. + +Returns +------- +bool +") IsContinuousRedraw; + bool IsContinuousRedraw(); + /****************** KeyDown ******************/ - /**** md5 signature: e81df4f0db38c260f6d1c40efe826065 ****/ + /**** md5 signature: 055381051455eb24c6769534a3ac24de ****/ %feature("compactdefaultargs") KeyDown; - %feature("autodoc", "Press key. @param thekey key pressed @param thetime event timestamp. + %feature("autodoc", "Press key. default implementation updates internal cache. @param thekey key pressed @param thetime event timestamp. Parameters ---------- @@ -6353,9 +6503,9 @@ None virtual void KeyDown(Aspect_VKey theKey, double theTime, double thePressure = 1.0); /****************** KeyFromAxis ******************/ - /**** md5 signature: a8474160bd508215c794eb4f52308070 ****/ + /**** md5 signature: 9ef75989fe6dc713757abf2620277306 ****/ %feature("compactdefaultargs") KeyFromAxis; - %feature("autodoc", "Simulate key up/down events from axis value. + %feature("autodoc", "Simulate key up/down events from axis value. default implementation updates internal cache. Parameters ---------- @@ -6371,9 +6521,9 @@ None virtual void KeyFromAxis(Aspect_VKey theNegative, Aspect_VKey thePositive, double theTime, double thePressure); /****************** KeyUp ******************/ - /**** md5 signature: 15846f68bddea480edd14c42e82a328b ****/ + /**** md5 signature: 62ece3de20f1bd30c606afe8dacaceb1 ****/ %feature("compactdefaultargs") KeyUp; - %feature("autodoc", "Release key. @param thekey key pressed @param thetime event timestamp. + %feature("autodoc", "Release key. default implementation updates internal cache. @param thekey key pressed @param thetime event timestamp. Parameters ---------- @@ -6386,39 +6536,6 @@ None ") KeyUp; virtual void KeyUp(Aspect_VKey theKey, double theTime); - /****************** Keys ******************/ - /**** md5 signature: 71088904ae13bced99cf6e1155c58478 ****/ - %feature("compactdefaultargs") Keys; - %feature("autodoc", "Return keyboard state. - -Returns -------- -Aspect_VKeySet -") Keys; - const Aspect_VKeySet & Keys(); - - /****************** LastMouseFlags ******************/ - /**** md5 signature: 891e38e0b645d78e87ef09c802ac2d63 ****/ - %feature("compactdefaultargs") LastMouseFlags; - %feature("autodoc", "Return active key modifiers passed with last mouse event. - -Returns -------- -Aspect_VKeyFlags -") LastMouseFlags; - Aspect_VKeyFlags LastMouseFlags(); - - /****************** LastMousePosition ******************/ - /**** md5 signature: 69040771a57339f922c8a0c6021122bb ****/ - %feature("compactdefaultargs") LastMousePosition; - %feature("autodoc", "Return last mouse position. - -Returns -------- -Graphic3d_Vec2i -") LastMousePosition; - const Graphic3d_Vec2i & LastMousePosition(); - /****************** MinZoomDistance ******************/ /**** md5 signature: 5bb7298fe9e97f5e9e5ab0365d634252 ****/ %feature("compactdefaultargs") MinZoomDistance; @@ -6463,6 +6580,17 @@ AIS_MouseGestureMap ") MouseGestureMap; const AIS_MouseGestureMap & MouseGestureMap(); + /****************** MouseSelectionSchemes ******************/ + /**** md5 signature: a293a8235f2dad8699b519a19dccdf67 ****/ + %feature("compactdefaultargs") MouseSelectionSchemes; + %feature("autodoc", "Return map defining mouse selection schemes. + +Returns +------- +AIS_MouseSelectionSchemeMap +") MouseSelectionSchemes; + const AIS_MouseSelectionSchemeMap & MouseSelectionSchemes(); + /****************** NavigationMode ******************/ /**** md5 signature: de20fce514777ce3a2a466778f462fc3 ****/ %feature("compactdefaultargs") NavigationMode; @@ -6474,6 +6602,17 @@ AIS_NavigationMode ") NavigationMode; AIS_NavigationMode NavigationMode(); + /****************** ObjectsAnimation ******************/ + /**** md5 signature: f84f413869b6320ac0352f35312f7fc9 ****/ + %feature("compactdefaultargs") ObjectsAnimation; + %feature("autodoc", "Return objects animation; empty (but not null) animation by default. + +Returns +------- +opencascade::handle +") ObjectsAnimation; + const opencascade::handle & ObjectsAnimation(); + /****************** OnObjectDragged ******************/ /**** md5 signature: e3d03bd62923f7f609f4ff8690501efc ****/ %feature("compactdefaultargs") OnObjectDragged; @@ -6518,6 +6657,24 @@ float ") OrbitAcceleration; float OrbitAcceleration(); + /****************** PickAxis ******************/ + /**** md5 signature: 623ae1227bd809a63fcbddc49732d262 ****/ + %feature("compactdefaultargs") PickAxis; + %feature("autodoc", "Pick closest point by axis. this method is expected to be called from rendering thread. @param thetoppnt [out] result point @param thectx [in] interactive context @param theview [in] active view @param theaxis [in] selection axis returns true if result has been found. + +Parameters +---------- +theTopPnt: gp_Pnt +theCtx: AIS_InteractiveContext +theView: V3d_View +theAxis: gp_Ax1 + +Returns +------- +bool +") PickAxis; + virtual bool PickAxis(gp_Pnt & theTopPnt, const opencascade::handle & theCtx, const opencascade::handle & theView, const gp_Ax1 & theAxis); + /****************** PickPoint ******************/ /**** md5 signature: f34d655153fb91f33134075ddbeb45a4 ****/ %feature("compactdefaultargs") PickPoint; @@ -6537,66 +6694,82 @@ bool ") PickPoint; virtual bool PickPoint(gp_Pnt & thePnt, const opencascade::handle & theCtx, const opencascade::handle & theView, const Graphic3d_Vec2i & theCursor, bool theToStickToPickRay); - /****************** PressMouseButton ******************/ - /**** md5 signature: 3011ceaa0add6213ae689425180a9aab ****/ - %feature("compactdefaultargs") PressMouseButton; - %feature("autodoc", "Handle mouse button press event. this method is expected to be called from ui thread. @param thepoint mouse cursor position @param thebutton pressed button @param themodifiers key modifiers @param theisemulated if true then mouse event comes not from real mouse but emulated from non-precise input like touch on screen returns true if view should be redrawn. + /****************** PreviousMoveTo ******************/ + /**** md5 signature: 0238bfa577ed4f8d2d7e4ac20fe0c928 ****/ + %feature("compactdefaultargs") PreviousMoveTo; + %feature("autodoc", "Return previous position of moveto event in 3d viewer. -Parameters ----------- -thePoint: Graphic3d_Vec2i -theButton: Aspect_VKeyMouse -theModifiers: Aspect_VKeyFlags -theIsEmulated: bool +Returns +------- +Graphic3d_Vec2i +") PreviousMoveTo; + const Graphic3d_Vec2i & PreviousMoveTo(); + + /****************** ProcessClose ******************/ + /**** md5 signature: 3481c3827afdec0c5c5e91dde837b867 ****/ + %feature("compactdefaultargs") ProcessClose; + %feature("autodoc", "Handle window close event. default implementation does nothing. Returns ------- -bool -") PressMouseButton; - bool PressMouseButton(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButton, Aspect_VKeyFlags theModifiers, bool theIsEmulated); +None +") ProcessClose; + virtual void ProcessClose(); + + /****************** ProcessConfigure ******************/ + /**** md5 signature: fe5a0999d9281947f44acb4734142af6 ****/ + %feature("compactdefaultargs") ProcessConfigure; + %feature("autodoc", "Handle window resize event. default implementation does nothing. - /****************** PressedMouseButtons ******************/ - /**** md5 signature: 28ea733557be0052235dc8a7fe3ed119 ****/ - %feature("compactdefaultargs") PressedMouseButtons; - %feature("autodoc", "Return currently pressed mouse buttons. +Parameters +---------- +theIsResized: bool Returns ------- -Aspect_VKeyMouse -") PressedMouseButtons; - Aspect_VKeyMouse PressedMouseButtons(); +None +") ProcessConfigure; + virtual void ProcessConfigure(bool theIsResized); - /****************** PreviousMoveTo ******************/ - /**** md5 signature: 0238bfa577ed4f8d2d7e4ac20fe0c928 ****/ - %feature("compactdefaultargs") PreviousMoveTo; - %feature("autodoc", "Return previous position of moveto event in 3d viewer. + /****************** ProcessExpose ******************/ + /**** md5 signature: dc0514da1009d9a5010f9cf835c23893 ****/ + %feature("compactdefaultargs") ProcessExpose; + %feature("autodoc", "Handle expose event (window content has been invalidation and should be redrawn). default implementation does nothing. Returns ------- -Graphic3d_Vec2i -") PreviousMoveTo; - const Graphic3d_Vec2i & PreviousMoveTo(); +None +") ProcessExpose; + virtual void ProcessExpose(); - /****************** ReleaseMouseButton ******************/ - /**** md5 signature: a9b43da8768564266828a78fde53802f ****/ - %feature("compactdefaultargs") ReleaseMouseButton; - %feature("autodoc", "Handle mouse button release event. this method is expected to be called from ui thread. @param thepoint mouse cursor position @param thebutton released button @param themodifiers key modifiers @param theisemulated if true then mouse event comes not from real mouse but emulated from non-precise input like touch on screen returns true if view should be redrawn. + /****************** ProcessFocus ******************/ + /**** md5 signature: ff9272136bbf3e658128b3d270a2248c ****/ + %feature("compactdefaultargs") ProcessFocus; + %feature("autodoc", "Handle focus event. default implementation resets cached input state (pressed keys). Parameters ---------- -thePoint: Graphic3d_Vec2i -theButton: Aspect_VKeyMouse -theModifiers: Aspect_VKeyFlags -theIsEmulated: bool +theIsActivated: bool Returns ------- -bool -") ReleaseMouseButton; - bool ReleaseMouseButton(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButton, Aspect_VKeyFlags theModifiers, bool theIsEmulated); +None +") ProcessFocus; + virtual void ProcessFocus(bool theIsActivated); + + /****************** ProcessInput ******************/ + /**** md5 signature: 386b349f17fbbc54b1980328bb1461fc ****/ + %feature("compactdefaultargs") ProcessInput; + %feature("autodoc", "Handle window input event immediately. default implementation does nothing - input events are accumulated in internal buffer until explicit flushviewevents() call. + +Returns +------- +None +") ProcessInput; + virtual void ProcessInput(); /****************** RemoveTouchPoint ******************/ - /**** md5 signature: 45c3401339716ca58b815f7e44a3d196 ****/ + /**** md5 signature: 191b7bc4b1754be7fbea137e67fea68b ****/ %feature("compactdefaultargs") RemoveTouchPoint; %feature("autodoc", "Remove touch point with the given id. this method is expected to be called from ui thread. @param theid touch unique identifier @param theclearselectpnts if true will initiate clearing of selection points returns true if point has been removed. @@ -6646,83 +6819,38 @@ AIS_RotationMode AIS_RotationMode RotationMode(); /****************** SelectInViewer ******************/ - /**** md5 signature: fb1ee6ed4cad231a75d704035cc26f17 ****/ + /**** md5 signature: 455d3e990b5174a5d49957adc7536b62 ****/ %feature("compactdefaultargs") SelectInViewer; - %feature("autodoc", "Perform selection in 3d viewer. this method is expected to be called from ui thread. @param thepnt picking point @param theisxor xor selection flag. + %feature("autodoc", "Perform selection in 3d viewer. this method is expected to be called from ui thread. @param thepnt picking point @param thescheme selection scheme. Parameters ---------- thePnt: Graphic3d_Vec2i -theIsXOR: bool,optional - default value is false +theScheme: AIS_SelectionScheme,optional + default value is AIS_SelectionScheme_Replace Returns ------- None ") SelectInViewer; - virtual void SelectInViewer(const Graphic3d_Vec2i & thePnt, const bool theIsXOR = false); + virtual void SelectInViewer(const Graphic3d_Vec2i & thePnt, const AIS_SelectionScheme theScheme = AIS_SelectionScheme_Replace); /****************** SelectInViewer ******************/ - /**** md5 signature: e6d212ca872d2875f33a351bd67cae52 ****/ + /**** md5 signature: f9f97b8f40af10382e8032daffba1d1b ****/ %feature("compactdefaultargs") SelectInViewer; - %feature("autodoc", "Perform selection in 3d viewer. this method is expected to be called from ui thread. @param thepnts picking point @param theisxor xor selection flag. + %feature("autodoc", "Perform selection in 3d viewer. this method is expected to be called from ui thread. @param thepnts picking point @param thescheme selection scheme. Parameters ---------- thePnts: NCollection_Sequence -theIsXOR: bool,optional - default value is false +theScheme: AIS_SelectionScheme,optional + default value is AIS_SelectionScheme_Replace Returns ------- None ") SelectInViewer; - virtual void SelectInViewer(const NCollection_Sequence & thePnts, const bool theIsXOR = false); - - /****************** Set3dMousePreciseInput ******************/ - /**** md5 signature: 0ff4172c7dce21c124fb3941d21634cd ****/ - %feature("compactdefaultargs") Set3dMousePreciseInput; - %feature("autodoc", "Set quadric acceleration flag. - -Parameters ----------- -theIsQuadric: bool - -Returns -------- -None -") Set3dMousePreciseInput; - void Set3dMousePreciseInput(bool theIsQuadric); - - /****************** Set3dMouseRotationScale ******************/ - /**** md5 signature: 26cc1d3413bc1ed0806210cb74503bf8 ****/ - %feature("compactdefaultargs") Set3dMouseRotationScale; - %feature("autodoc", "Set acceleration ratio for rotation event. - -Parameters ----------- -theScale: float - -Returns -------- -None -") Set3dMouseRotationScale; - void Set3dMouseRotationScale(float theScale); - - /****************** Set3dMouseTranslationScale ******************/ - /**** md5 signature: d66cf6c87510f4cf28118e77235f6dc1 ****/ - %feature("compactdefaultargs") Set3dMouseTranslationScale; - %feature("autodoc", "Set acceleration ratio for translation event. - -Parameters ----------- -theScale: float - -Returns -------- -None -") Set3dMouseTranslationScale; - void Set3dMouseTranslationScale(float theScale); + virtual void SelectInViewer(const NCollection_Sequence & thePnts, const AIS_SelectionScheme theScheme = AIS_SelectionScheme_Replace); /****************** SetAllowDragging ******************/ /**** md5 signature: df0d4841ca91c4e463f1b9ff172bb5a7 ****/ @@ -6829,6 +6957,21 @@ None ") SetAllowZooming; void SetAllowZooming(bool theToEnable); + /****************** SetContinuousRedraw ******************/ + /**** md5 signature: 20b6590274368b0cc65949958df5306b ****/ + %feature("compactdefaultargs") SetContinuousRedraw; + %feature("autodoc", "Enable or disable continuous updates. + +Parameters +---------- +theToEnable: bool + +Returns +------- +None +") SetContinuousRedraw; + void SetContinuousRedraw(bool theToEnable); + /****************** SetDisplayXRAuxDevices ******************/ /**** md5 signature: 135d6d3dee9bf55919790adaacc3d566 ****/ %feature("compactdefaultargs") SetDisplayXRAuxDevices; @@ -6949,6 +7092,21 @@ None ") SetNavigationMode; void SetNavigationMode(AIS_NavigationMode theMode); + /****************** SetObjectsAnimation ******************/ + /**** md5 signature: 88f1b826298874a96efd29de754191e5 ****/ + %feature("compactdefaultargs") SetObjectsAnimation; + %feature("autodoc", "Set object animation to be handled within handleviewredraw(). + +Parameters +---------- +theAnimation: AIS_Animation + +Returns +------- +None +") SetObjectsAnimation; + void SetObjectsAnimation(const opencascade::handle & theAnimation); + /****************** SetOrbitAcceleration ******************/ /**** md5 signature: d9ccb4db2cbf77b5f312c630bd8dcdd6 ****/ %feature("compactdefaultargs") SetOrbitAcceleration; @@ -6964,6 +7122,21 @@ None ") SetOrbitAcceleration; void SetOrbitAcceleration(float theRatio); + /****************** SetPauseObjectsAnimation ******************/ + /**** md5 signature: 53643e467565b04cd522841842d5380d ****/ + %feature("compactdefaultargs") SetPauseObjectsAnimation; + %feature("autodoc", "Set if object animation should be paused on mouse click. + +Parameters +---------- +theToPause: bool + +Returns +------- +None +") SetPauseObjectsAnimation; + void SetPauseObjectsAnimation(bool theToPause); + /****************** SetRotationMode ******************/ /**** md5 signature: de089ee21b8924d75e03a45a58b75511 ****/ %feature("compactdefaultargs") SetRotationMode; @@ -7125,17 +7298,6 @@ float ") ThrustSpeed; float ThrustSpeed(); - /****************** To3dMousePreciseInput ******************/ - /**** md5 signature: e7d1cbbce6f739652fb2dcffebfdc574 ****/ - %feature("compactdefaultargs") To3dMousePreciseInput; - %feature("autodoc", "Return quadric acceleration flag; true by default. - -Returns -------- -bool -") To3dMousePreciseInput; - bool To3dMousePreciseInput(); - /****************** ToAllowDragging ******************/ /**** md5 signature: 8a61183f21fcf283f340eec4ff8531b8 ****/ %feature("compactdefaultargs") ToAllowDragging; @@ -7257,6 +7419,17 @@ bool ") ToLockOrbitZUp; bool ToLockOrbitZUp(); + /****************** ToPauseObjectsAnimation ******************/ + /**** md5 signature: 9eebb76fd53450abfb9c1f0883f9c02a ****/ + %feature("compactdefaultargs") ToPauseObjectsAnimation; + %feature("autodoc", "Return true if object animation should be paused on mouse click; false by default. + +Returns +------- +bool +") ToPauseObjectsAnimation; + bool ToPauseObjectsAnimation(); + /****************** ToShowPanAnchorPoint ******************/ /**** md5 signature: 20019a5af0a5a60f6ba338d642a2d2b0 ****/ %feature("compactdefaultargs") ToShowPanAnchorPoint; @@ -7313,7 +7486,7 @@ float float TouchToleranceScale(); /****************** Update3dMouse ******************/ - /**** md5 signature: 1814989e207401f76efb8f1dd3375f84 ****/ + /**** md5 signature: 38284aace0b4c5126a95024b97bd63b9 ****/ %feature("compactdefaultargs") Update3dMouse; %feature("autodoc", "Process 3d mouse input event (redirects to translation, rotation and keys). @@ -7328,7 +7501,7 @@ bool virtual bool Update3dMouse(const WNT_HIDSpaceMouse & theEvent); /****************** UpdateMouseButtons ******************/ - /**** md5 signature: 9ccfebb398dffcbca649cfaf245931da ****/ + /**** md5 signature: 81da55faf2bb0988a1f62ddfcbad1a8e ****/ %feature("compactdefaultargs") UpdateMouseButtons; %feature("autodoc", "Handle mouse button press/release event. this method is expected to be called from ui thread. @param thepoint mouse cursor position @param thebuttons pressed buttons @param themodifiers key modifiers @param theisemulated if true then mouse event comes not from real mouse but emulated from non-precise input like touch on screen returns true if view should be redrawn. @@ -7364,7 +7537,7 @@ bool virtual bool UpdateMouseClick(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButton, Aspect_VKeyFlags theModifiers, bool theIsDoubleClick); /****************** UpdateMousePosition ******************/ - /**** md5 signature: 24ca41a825cf87f54a5d2e38aaedf170 ****/ + /**** md5 signature: 55ab6f867342193c0763bd3dcd7312a7 ****/ %feature("compactdefaultargs") UpdateMousePosition; %feature("autodoc", "Handle mouse cursor movement event. this method is expected to be called from ui thread. @param thepoint mouse cursor position @param thebuttons pressed buttons @param themodifiers key modifiers @param theisemulated if true then mouse event comes not from real mouse but emulated from non-precise input like touch on screen returns true if view should be redrawn. @@ -7382,7 +7555,7 @@ bool virtual bool UpdateMousePosition(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButtons, Aspect_VKeyFlags theModifiers, bool theIsEmulated); /****************** UpdateMouseScroll ******************/ - /**** md5 signature: 9112a58a31d222aaaaca5bc7dadc5e9d ****/ + /**** md5 signature: f9e0dee1b2f1434abd34279261af844a ****/ %feature("compactdefaultargs") UpdateMouseScroll; %feature("autodoc", "Update mouse scroll event; redirects to updatezoom by default. this method is expected to be called from ui thread. @param thedelta mouse cursor position and delta returns true if new event has been created or false if existing one has been updated. @@ -7413,25 +7586,23 @@ None virtual void UpdatePolySelection(const Graphic3d_Vec2i & thePnt, bool theToAppend); /****************** UpdateRubberBand ******************/ - /**** md5 signature: 669fce723d95f678c15282bbb1bd3c7a ****/ + /**** md5 signature: 4b67e635d5f36e38ae0f2474b56c3748 ****/ %feature("compactdefaultargs") UpdateRubberBand; - %feature("autodoc", "Update rectangle selection tool. this method is expected to be called from ui thread. @param thepntfrom rectangle first corner @param thepntto rectangle another corner @param theisxor xor selection flag. + %feature("autodoc", "Update rectangle selection tool. this method is expected to be called from ui thread. @param thepntfrom rectangle first corner @param thepntto rectangle another corner. Parameters ---------- thePntFrom: Graphic3d_Vec2i thePntTo: Graphic3d_Vec2i -theIsXOR: bool,optional - default value is false Returns ------- None ") UpdateRubberBand; - virtual void UpdateRubberBand(const Graphic3d_Vec2i & thePntFrom, const Graphic3d_Vec2i & thePntTo, const bool theIsXOR = false); + virtual void UpdateRubberBand(const Graphic3d_Vec2i & thePntFrom, const Graphic3d_Vec2i & thePntTo); /****************** UpdateTouchPoint ******************/ - /**** md5 signature: 32b5b3a5782487b44b49157cf52c6e04 ****/ + /**** md5 signature: 208f103531c9da20b09298d16f2dec41 ****/ %feature("compactdefaultargs") UpdateTouchPoint; %feature("autodoc", "Update touch point with the given id. if point with specified id was not registered before, it will be added. this method is expected to be called from ui thread. @param theid touch unique identifier @param thepnt touch coordinates. @@ -7884,52 +8055,7 @@ bool ") toAskNextFrame; bool toAskNextFrame(); - /****************** update3dMouseKeys ******************/ - /**** md5 signature: 7068d4e0858b2659de00f111094ecc7f ****/ - %feature("compactdefaultargs") update3dMouseKeys; - %feature("autodoc", "Process 3d mouse input keys event. - -Parameters ----------- -theEvent: WNT_HIDSpaceMouse - -Returns -------- -bool -") update3dMouseKeys; - virtual bool update3dMouseKeys(const WNT_HIDSpaceMouse & theEvent); - - /****************** update3dMouseRotation ******************/ - /**** md5 signature: 0e88dd09859b6f02e48c9b73ec73f69b ****/ - %feature("compactdefaultargs") update3dMouseRotation; - %feature("autodoc", "Process 3d mouse input rotation event. - -Parameters ----------- -theEvent: WNT_HIDSpaceMouse - -Returns -------- -bool -") update3dMouseRotation; - virtual bool update3dMouseRotation(const WNT_HIDSpaceMouse & theEvent); - - /****************** update3dMouseTranslation ******************/ - /**** md5 signature: c826319c70a567fbe2c3401c0a5c2471 ****/ - %feature("compactdefaultargs") update3dMouseTranslation; - %feature("autodoc", "Process 3d mouse input translation event. - -Parameters ----------- -theEvent: WNT_HIDSpaceMouse - -Returns -------- -bool -") update3dMouseTranslation; - virtual bool update3dMouseTranslation(const WNT_HIDSpaceMouse & theEvent); - -}; +}; %extend AIS_ViewController { @@ -8010,6 +8136,52 @@ V3d_TypeOfOrientation } }; +/****************************** +* class AIS_ViewCubeSensitive * +******************************/ +class AIS_ViewCubeSensitive : public Select3D_SensitivePrimitiveArray { + public: + /****************** AIS_ViewCubeSensitive ******************/ + /**** md5 signature: e45652d05a411666b6fb202a054d81ef ****/ + %feature("compactdefaultargs") AIS_ViewCubeSensitive; + %feature("autodoc", "Constructor. + +Parameters +---------- +theOwner: SelectMgr_EntityOwner +theTris: Graphic3d_ArrayOfTriangles + +Returns +------- +None +") AIS_ViewCubeSensitive; + AIS_ViewCubeSensitive(const opencascade::handle & theOwner, const opencascade::handle & theTris); + + /****************** Matches ******************/ + /**** md5 signature: 9840986fdc32d0b45aedaac5faa8bc9b ****/ + %feature("compactdefaultargs") Matches; + %feature("autodoc", "Checks whether element overlaps current selecting volume. + +Parameters +---------- +theMgr: SelectBasics_SelectingVolumeManager +thePickResult: SelectBasics_PickResult + +Returns +------- +bool +") Matches; + virtual Standard_Boolean Matches(SelectBasics_SelectingVolumeManager & theMgr, SelectBasics_PickResult & thePickResult); + +}; + + +%extend AIS_ViewCubeSensitive { + %pythoncode { + __repr__ = _dumps_object + } +}; + /**************************** * class AIS_ViewInputBuffer * ****************************/ @@ -8091,6 +8263,17 @@ bool ") IsCrouching; bool IsCrouching(); + /****************** IsDefined ******************/ + /**** md5 signature: b70d5071bbde3aa553369be83e08074a ****/ + %feature("compactdefaultargs") IsDefined; + %feature("autodoc", "Return true if navigation keys are pressed even if delta from the previous frame is empty. + +Returns +------- +bool +") IsDefined; + bool IsDefined(); + /****************** IsEmpty ******************/ /**** md5 signature: 70a41d5fe65955a28167088305fc6991 ****/ %feature("compactdefaultargs") IsEmpty; @@ -8139,6 +8322,21 @@ None ") SetCrouching; void SetCrouching(bool theIsCrouching); + /****************** SetDefined ******************/ + /**** md5 signature: b71ec8fb76b263547fd8c33a97753c6c ****/ + %feature("compactdefaultargs") SetDefined; + %feature("autodoc", "Set if any navigation key is pressed. + +Parameters +---------- +theIsDefined: bool + +Returns +------- +None +") SetDefined; + void SetDefined(bool theIsDefined); + /****************** SetJumping ******************/ /**** md5 signature: 3b746ded8c228237e58bdc8b95def62f ****/ %feature("compactdefaultargs") SetJumping; @@ -8435,6 +8633,23 @@ None ") AIS_Axis; AIS_Axis(const opencascade::handle & anAxis); + /****************** AIS_Axis ******************/ + /**** md5 signature: c934eb8339507f1bfcee85301548abec ****/ + %feature("compactdefaultargs") AIS_Axis; + %feature("autodoc", "Initializes the ray as axis with start point and direction @param[in] theaxis start point and direction of the ray @param[in] thelength optional length of the ray (ray is infinite by default). + +Parameters +---------- +theAxis: gp_Ax1 +theLength: float,optional + default value is -1 + +Returns +------- +None +") AIS_Axis; + AIS_Axis(const gp_Ax1 & theAxis, const Standard_Real theLength = -1); + /****************** AcceptDisplayMode ******************/ /**** md5 signature: 4b2dbc71bc9796a113d83252030ddc96 ****/ %feature("compactdefaultargs") AcceptDisplayMode; @@ -8544,6 +8759,21 @@ None ") SetComponent; void SetComponent(const opencascade::handle & aComponent); + /****************** SetDisplayAspect ******************/ + /**** md5 signature: fbb9dcc512474594bfb63a46987619d6 ****/ + %feature("compactdefaultargs") SetDisplayAspect; + %feature("autodoc", "Set required visualization parameters. + +Parameters +---------- +theNewDatumAspect: Prs3d_LineAspect + +Returns +------- +None +") SetDisplayAspect; + void SetDisplayAspect(const opencascade::handle & theNewDatumAspect); + /****************** SetTypeOfAxis ******************/ /**** md5 signature: 020f7cadcbe397a98ebb13acd7bdc321 ****/ %feature("compactdefaultargs") SetTypeOfAxis; @@ -8653,7 +8883,7 @@ enum SelectionMode { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class SelectionMode(IntEnum): @@ -9020,13 +9250,13 @@ None void ColorRange(Quantity_Color & theMinColor, Quantity_Color & theMaxColor); /****************** Compute ******************/ - /**** md5 signature: b5355a3b64ac692f9073af0b450bf918 ****/ + /**** md5 signature: 2211827d8c388dd82f20241aba38e7b4 ****/ %feature("compactdefaultargs") Compute; %feature("autodoc", "Compute presentation. Parameters ---------- -thePresentationManager: PrsMgr_PresentationManager3d +thePrsMgr: PrsMgr_PresentationManager thePresentation: Prs3d_Presentation theMode: int @@ -9034,7 +9264,7 @@ Returns ------- None ") Compute; - virtual void Compute(const opencascade::handle & thePresentationManager, const opencascade::handle & thePresentation, const Standard_Integer theMode); + virtual void Compute(const opencascade::handle & thePrsMgr, const opencascade::handle & thePresentation, const Standard_Integer theMode); /****************** ComputeSelection ******************/ /**** md5 signature: cebd8858c299db78edb7052c49348937 ****/ @@ -9881,269 +10111,648 @@ None ") SetTitlePosition; void SetTitlePosition(const Aspect_TypeOfColorScalePosition thePos); - /****************** SetUniformColors ******************/ - /**** md5 signature: 643a34948e3de542baf241bb7740e782 ****/ - %feature("compactdefaultargs") SetUniformColors; - %feature("autodoc", "Populates colors scale by colors of the same lightness value in cie lch color space, distributed by hue, with perceptually uniform differences between consequent colors. see makeuniformcolors() for description of parameters. + /****************** SetUniformColors ******************/ + /**** md5 signature: 643a34948e3de542baf241bb7740e782 ****/ + %feature("compactdefaultargs") SetUniformColors; + %feature("autodoc", "Populates colors scale by colors of the same lightness value in cie lch color space, distributed by hue, with perceptually uniform differences between consequent colors. see makeuniformcolors() for description of parameters. + +Parameters +---------- +theLightness: float +theHueFrom: float +theHueTo: float + +Returns +------- +None +") SetUniformColors; + void SetUniformColors(Standard_Real theLightness, Standard_Real theHueFrom, Standard_Real theHueTo); + + /****************** SetXPosition ******************/ + /**** md5 signature: a0e6df9560ed6e5302a5d7db2ecacdf8 ****/ + %feature("compactdefaultargs") SetXPosition; + %feature("autodoc", "Sets the left position of color scale. + +Parameters +---------- +theX: int + +Returns +------- +None +") SetXPosition; + void SetXPosition(const Standard_Integer theX); + + /****************** SetYPosition ******************/ + /**** md5 signature: c54835c4c8e01730d64532eb5a13a6e2 ****/ + %feature("compactdefaultargs") SetYPosition; + %feature("autodoc", "Sets the bottom position of color scale. + +Parameters +---------- +theY: int + +Returns +------- +None +") SetYPosition; + void SetYPosition(const Standard_Integer theY); + + /****************** TextHeight ******************/ + /**** md5 signature: f1b1fbe39606e457f13a36a5111da3f5 ****/ + %feature("compactdefaultargs") TextHeight; + %feature("autodoc", "Returns the height of text. @param thetext [in] the text of which to calculate height. + +Parameters +---------- +theText: TCollection_ExtendedString + +Returns +------- +int +") TextHeight; + Standard_Integer TextHeight(const TCollection_ExtendedString & theText); + + /****************** TextSize ******************/ + /**** md5 signature: df57c5cfbbb6f8f9a5d75ce1943f61ab ****/ + %feature("compactdefaultargs") TextSize; + %feature("autodoc", "No available documentation. + +Parameters +---------- +theText: TCollection_ExtendedString +theHeight: int + +Returns +------- +theWidth: int +theAscent: int +theDescent: int +") TextSize; + void TextSize(const TCollection_ExtendedString & theText, const Standard_Integer theHeight, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); + + /****************** TextWidth ******************/ + /**** md5 signature: ef6e59d61da317f2087b0778bbc36b23 ****/ + %feature("compactdefaultargs") TextWidth; + %feature("autodoc", "Returns the width of text. @param thetext [in] the text of which to calculate width. + +Parameters +---------- +theText: TCollection_ExtendedString + +Returns +------- +int +") TextWidth; + Standard_Integer TextWidth(const TCollection_ExtendedString & theText); + + /****************** hueToValidRange ******************/ + /**** md5 signature: f60f245014fce41540c5cd6f560cd4ad ****/ + %feature("compactdefaultargs") hueToValidRange; + %feature("autodoc", "Shift hue into valid range. lightness and saturation should be specified in valid range [0.0, 1.0], however hue might be given out of quantity_color range to specify desired range for interpolation. + +Parameters +---------- +theHue: float + +Returns +------- +float +") hueToValidRange; + static Standard_Real hueToValidRange(const Standard_Real theHue); + +}; + + +%make_alias(AIS_ColorScale) + +%extend AIS_ColorScale { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/********************************* +* class AIS_ConnectedInteractive * +*********************************/ +class AIS_ConnectedInteractive : public AIS_InteractiveObject { + public: + /****************** AIS_ConnectedInteractive ******************/ + /**** md5 signature: 377e611268f08de16ae81b87c0243098 ****/ + %feature("compactdefaultargs") AIS_ConnectedInteractive; + %feature("autodoc", "Disconnects the previous view and sets highlight mode to 0. this highlights the wireframe presentation atypeofpresentation3d. top_allview deactivates hidden line removal. + +Parameters +---------- +aTypeOfPresentation3d: PrsMgr_TypeOfPresentation3d,optional + default value is PrsMgr_TOP_AllView + +Returns +------- +None +") AIS_ConnectedInteractive; + AIS_ConnectedInteractive(const PrsMgr_TypeOfPresentation3d aTypeOfPresentation3d = PrsMgr_TOP_AllView); + + /****************** AcceptDisplayMode ******************/ + /**** md5 signature: 4c81f1c2cfc05fd196e1c09a383a3455 ****/ + %feature("compactdefaultargs") AcceptDisplayMode; + %feature("autodoc", "Return true if reference presentation accepts specified display mode. + +Parameters +---------- +theMode: int + +Returns +------- +bool +") AcceptDisplayMode; + virtual Standard_Boolean AcceptDisplayMode(const Standard_Integer theMode); + + /****************** AcceptShapeDecomposition ******************/ + /**** md5 signature: 9203a7c0dd9eda460f91938a68e9d24e ****/ + %feature("compactdefaultargs") AcceptShapeDecomposition; + %feature("autodoc", "Informs the graphic context that the interactive object may be decomposed into sub-shapes for dynamic selection. + +Returns +------- +bool +") AcceptShapeDecomposition; + virtual Standard_Boolean AcceptShapeDecomposition(); + + /****************** Connect ******************/ + /**** md5 signature: 76ce604e5db4b247a8706638259ec61c ****/ + %feature("compactdefaultargs") Connect; + %feature("autodoc", "Establishes the connection between the connected interactive object, anotheriobj, and its reference. + +Parameters +---------- +theAnotherObj: AIS_InteractiveObject + +Returns +------- +None +") Connect; + void Connect(const opencascade::handle & theAnotherObj); + + /****************** Connect ******************/ + /**** md5 signature: 966dfec391c604c7ae9629c925cdd1c4 ****/ + %feature("compactdefaultargs") Connect; + %feature("autodoc", "Establishes the connection between the connected interactive object, anotheriobj, and its reference. locates instance in alocation. + +Parameters +---------- +theAnotherObj: AIS_InteractiveObject +theLocation: gp_Trsf + +Returns +------- +None +") Connect; + void Connect(const opencascade::handle & theAnotherObj, const gp_Trsf & theLocation); + + /****************** Connect ******************/ + /**** md5 signature: 418505c88f7f147f47107d38894767f1 ****/ + %feature("compactdefaultargs") Connect; + %feature("autodoc", "Establishes the connection between the connected interactive object, anotheriobj, and its reference. locates instance in alocation. + +Parameters +---------- +theAnotherObj: AIS_InteractiveObject +theLocation: TopLoc_Datum3D + +Returns +------- +None +") Connect; + void Connect(const opencascade::handle & theAnotherObj, const opencascade::handle & theLocation); + + /****************** ConnectedTo ******************/ + /**** md5 signature: 1541a2cb7b3a6f95f8064287356a8f2c ****/ + %feature("compactdefaultargs") ConnectedTo; + %feature("autodoc", "Returns the connection with the reference interactive object. + +Returns +------- +opencascade::handle +") ConnectedTo; + const opencascade::handle & ConnectedTo(); + + /****************** Disconnect ******************/ + /**** md5 signature: 3c68b068054eba545e5aa24799ed950d ****/ + %feature("compactdefaultargs") Disconnect; + %feature("autodoc", "Clears the connection with a source reference. the presentation will no longer be displayed. warning must be done before deleting the presentation. + +Returns +------- +None +") Disconnect; + void Disconnect(); + + /****************** HasConnection ******************/ + /**** md5 signature: e23c7e5e57b8a56096bab865a5988291 ****/ + %feature("compactdefaultargs") HasConnection; + %feature("autodoc", "Returns true if there is a connection established between the presentation and its source reference. + +Returns +------- +bool +") HasConnection; + Standard_Boolean HasConnection(); + + /****************** Signature ******************/ + /**** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ****/ + %feature("compactdefaultargs") Signature; + %feature("autodoc", "Returns 0. + +Returns +------- +int +") Signature; + virtual Standard_Integer Signature(); + + /****************** Type ******************/ + /**** md5 signature: bf4aea6b24d0b584b57c781f208134ec ****/ + %feature("compactdefaultargs") Type; + %feature("autodoc", "Returns koi_object. + +Returns +------- +AIS_KindOfInteractive +") Type; + virtual AIS_KindOfInteractive Type(); + +}; + + +%make_alias(AIS_ConnectedInteractive) + +%extend AIS_ConnectedInteractive { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/************************ +* class AIS_LightSource * +************************/ +class AIS_LightSource : public AIS_InteractiveObject { + public: + /****************** AIS_LightSource ******************/ + /**** md5 signature: 0052d1e81d2de0d4f85d4355071d4c6e ****/ + %feature("compactdefaultargs") AIS_LightSource; + %feature("autodoc", "Initializes the light source by copying graphic3d_clight settings. + +Parameters +---------- +theLightSource: Graphic3d_CLight + +Returns +------- +None +") AIS_LightSource; + AIS_LightSource(const opencascade::handle & theLightSource); + + /****************** ArcSize ******************/ + /**** md5 signature: 51ce064e7920840d08ae5330358aab35 ****/ + %feature("compactdefaultargs") ArcSize; + %feature("autodoc", "Returns sensitive sphere arc size in pixels; 20 by default. + +Returns +------- +int +") ArcSize; + Standard_Integer ArcSize(); + + /****************** IsZoomable ******************/ + /**** md5 signature: 0e11552facaac98faf2474f0071c0b9d ****/ + %feature("compactdefaultargs") IsZoomable; + %feature("autodoc", "Returns true if transform-persistence is allowed; true by default for ambient and directional lights and false by default for positional and spot lights. + +Returns +------- +bool +") IsZoomable; + bool IsZoomable(); + + /****************** Light ******************/ + /**** md5 signature: 214a553f85b1ef4686d7ae852494295b ****/ + %feature("compactdefaultargs") Light; + %feature("autodoc", "Returns the light. + +Returns +------- +opencascade::handle +") Light; + const opencascade::handle & Light(); + + /****************** MarkerImage ******************/ + /**** md5 signature: 9fa6877c3a5222f7e4f2cd4481cff78c ****/ + %feature("compactdefaultargs") MarkerImage; + %feature("autodoc", "Returns light source icon. @param theisenabled [in] marker index for enabled/disabled light source states. + +Parameters +---------- +theIsEnabled: bool + +Returns +------- +opencascade::handle +") MarkerImage; + const opencascade::handle & MarkerImage(bool theIsEnabled); + + /****************** MarkerType ******************/ + /**** md5 signature: 9dc5f63506bba9b44b67e3b05b759d65 ****/ + %feature("compactdefaultargs") MarkerType; + %feature("autodoc", "Returns light source icon. @param theisenabled [in] marker index for enabled/disabled light source states. + +Parameters +---------- +theIsEnabled: bool + +Returns +------- +Aspect_TypeOfMarker +") MarkerType; + Aspect_TypeOfMarker MarkerType(bool theIsEnabled); + + /****************** NbArrows ******************/ + /**** md5 signature: 08e533c060d75469cc6a758b3bf99584 ****/ + %feature("compactdefaultargs") NbArrows; + %feature("autodoc", "Returns a number of directional light arrows to display; 5 by default. + +Returns +------- +int +") NbArrows; + Standard_Integer NbArrows(); + + /****************** NbSplitsArrow ******************/ + /**** md5 signature: 6f408c367866603aaf9e7027b91d3783 ****/ + %feature("compactdefaultargs") NbSplitsArrow; + %feature("autodoc", "Returns tessellation level for arrows; 20 by default. + +Returns +------- +int +") NbSplitsArrow; + Standard_Integer NbSplitsArrow(); + + /****************** NbSplitsQuadric ******************/ + /**** md5 signature: 3307810c4e75bc09a5065f7d61b55f0d ****/ + %feature("compactdefaultargs") NbSplitsQuadric; + %feature("autodoc", "Returns tessellation level for quadric surfaces; 30 by default. + +Returns +------- +int +") NbSplitsQuadric; + Standard_Integer NbSplitsQuadric(); + + /****************** SetArcSize ******************/ + /**** md5 signature: 5a3d58d9a58774a120f81b4638e45506 ****/ + %feature("compactdefaultargs") SetArcSize; + %feature("autodoc", "Sets the size of sensitive sphere arc. Parameters ---------- -theLightness: float -theHueFrom: float -theHueTo: float +theSize: int Returns ------- None -") SetUniformColors; - void SetUniformColors(Standard_Real theLightness, Standard_Real theHueFrom, Standard_Real theHueTo); +") SetArcSize; + void SetArcSize(Standard_Integer theSize); - /****************** SetXPosition ******************/ - /**** md5 signature: a0e6df9560ed6e5302a5d7db2ecacdf8 ****/ - %feature("compactdefaultargs") SetXPosition; - %feature("autodoc", "Sets the left position of color scale. + /****************** SetDisplayName ******************/ + /**** md5 signature: 0df1158ac90d9de14d12ea49eb28b523 ****/ + %feature("compactdefaultargs") SetDisplayName; + %feature("autodoc", "Show/hide light source name. Parameters ---------- -theX: int +theToDisplay: bool Returns ------- None -") SetXPosition; - void SetXPosition(const Standard_Integer theX); +") SetDisplayName; + void SetDisplayName(Standard_Boolean theToDisplay); - /****************** SetYPosition ******************/ - /**** md5 signature: c54835c4c8e01730d64532eb5a13a6e2 ****/ - %feature("compactdefaultargs") SetYPosition; - %feature("autodoc", "Sets the bottom position of color scale. + /****************** SetDisplayRange ******************/ + /**** md5 signature: 0bd5c9f32b785f6e95c9c58405178361 ****/ + %feature("compactdefaultargs") SetDisplayRange; + %feature("autodoc", "Show/hide light source range shaded presentation. Parameters ---------- -theY: int +theToDisplay: bool Returns ------- None -") SetYPosition; - void SetYPosition(const Standard_Integer theY); +") SetDisplayRange; + void SetDisplayRange(Standard_Boolean theToDisplay); - /****************** TextHeight ******************/ - /**** md5 signature: f1b1fbe39606e457f13a36a5111da3f5 ****/ - %feature("compactdefaultargs") TextHeight; - %feature("autodoc", "Returns the height of text. @param thetext [in] the text of which to calculate height. + /****************** SetDraggable ******************/ + /**** md5 signature: 5d216231b8eb7eb27307d5eb7408eefb ****/ + %feature("compactdefaultargs") SetDraggable; + %feature("autodoc", "Sets if dragging is allowed. Parameters ---------- -theText: TCollection_ExtendedString +theIsDraggable: bool Returns ------- -int -") TextHeight; - Standard_Integer TextHeight(const TCollection_ExtendedString & theText); +None +") SetDraggable; + void SetDraggable(bool theIsDraggable); - /****************** TextSize ******************/ - /**** md5 signature: df57c5cfbbb6f8f9a5d75ce1943f61ab ****/ - %feature("compactdefaultargs") TextSize; - %feature("autodoc", "No available documentation. + /****************** SetLight ******************/ + /**** md5 signature: ce31662804605d4873b310f2a6d763c9 ****/ + %feature("compactdefaultargs") SetLight; + %feature("autodoc", "Set the light. Parameters ---------- -theText: TCollection_ExtendedString -theHeight: int +theLight: Graphic3d_CLight Returns ------- -theWidth: int -theAscent: int -theDescent: int -") TextSize; - void TextSize(const TCollection_ExtendedString & theText, const Standard_Integer theHeight, Standard_Integer &OutValue, Standard_Integer &OutValue, Standard_Integer &OutValue); +None +") SetLight; + void SetLight(const opencascade::handle & theLight); - /****************** TextWidth ******************/ - /**** md5 signature: ef6e59d61da317f2087b0778bbc36b23 ****/ - %feature("compactdefaultargs") TextWidth; - %feature("autodoc", "Returns the width of text. @param thetext [in] the text of which to calculate width. + /****************** SetMarkerImage ******************/ + /**** md5 signature: dc256bfcd47e005efd4fe7461270e9e3 ****/ + %feature("compactdefaultargs") SetMarkerImage; + %feature("autodoc", "Sets custom icon to light source. Parameters ---------- -theText: TCollection_ExtendedString +theImage: Graphic3d_MarkerImage +theIsEnabled: bool Returns ------- -int -") TextWidth; - Standard_Integer TextWidth(const TCollection_ExtendedString & theText); +None +") SetMarkerImage; + void SetMarkerImage(const opencascade::handle & theImage, bool theIsEnabled); - /****************** hueToValidRange ******************/ - /**** md5 signature: f60f245014fce41540c5cd6f560cd4ad ****/ - %feature("compactdefaultargs") hueToValidRange; - %feature("autodoc", "Shift hue into valid range. lightness and saturation should be specified in valid range [0.0, 1.0], however hue might be given out of quantity_color range to specify desired range for interpolation. + /****************** SetMarkerType ******************/ + /**** md5 signature: 3f31956a7405775b0ff57aeb49f530f4 ****/ + %feature("compactdefaultargs") SetMarkerType; + %feature("autodoc", "Sets standard icon to light source. Parameters ---------- -theHue: float +theType: Aspect_TypeOfMarker +theIsEnabled: bool Returns ------- -float -") hueToValidRange; - static Standard_Real hueToValidRange(const Standard_Real theHue); - -}; - - -%make_alias(AIS_ColorScale) - -%extend AIS_ColorScale { - %pythoncode { - __repr__ = _dumps_object - } -}; +None +") SetMarkerType; + void SetMarkerType(Aspect_TypeOfMarker theType, bool theIsEnabled); -/********************************* -* class AIS_ConnectedInteractive * -*********************************/ -class AIS_ConnectedInteractive : public AIS_InteractiveObject { - public: - /****************** AIS_ConnectedInteractive ******************/ - /**** md5 signature: 377e611268f08de16ae81b87c0243098 ****/ - %feature("compactdefaultargs") AIS_ConnectedInteractive; - %feature("autodoc", "Disconnects the previous view and sets highlight mode to 0. this highlights the wireframe presentation atypeofpresentation3d. top_allview deactivates hidden line removal. + /****************** SetNbArrows ******************/ + /**** md5 signature: 1241cb37383b0436b58b3aa64c069a40 ****/ + %feature("compactdefaultargs") SetNbArrows; + %feature("autodoc", "Returns a number of directional light arrows to display (supported values: 1, 3, 5, 9). Parameters ---------- -aTypeOfPresentation3d: PrsMgr_TypeOfPresentation3d,optional - default value is PrsMgr_TOP_AllView +theNbArrows: int Returns ------- None -") AIS_ConnectedInteractive; - AIS_ConnectedInteractive(const PrsMgr_TypeOfPresentation3d aTypeOfPresentation3d = PrsMgr_TOP_AllView); +") SetNbArrows; + void SetNbArrows(Standard_Integer theNbArrows); - /****************** AcceptDisplayMode ******************/ - /**** md5 signature: 4c81f1c2cfc05fd196e1c09a383a3455 ****/ - %feature("compactdefaultargs") AcceptDisplayMode; - %feature("autodoc", "Return true if reference presentation accepts specified display mode. + /****************** SetNbSplitsArrow ******************/ + /**** md5 signature: a3e56a773947a88b8ca4621a18b95941 ****/ + %feature("compactdefaultargs") SetNbSplitsArrow; + %feature("autodoc", "Sets tessellation level for arrows. Parameters ---------- -theMode: int +theNbSplits: int Returns ------- -bool -") AcceptDisplayMode; - virtual Standard_Boolean AcceptDisplayMode(const Standard_Integer theMode); +None +") SetNbSplitsArrow; + void SetNbSplitsArrow(Standard_Integer theNbSplits); - /****************** AcceptShapeDecomposition ******************/ - /**** md5 signature: 9203a7c0dd9eda460f91938a68e9d24e ****/ - %feature("compactdefaultargs") AcceptShapeDecomposition; - %feature("autodoc", "Informs the graphic context that the interactive object may be decomposed into sub-shapes for dynamic selection. + /****************** SetNbSplitsQuadric ******************/ + /**** md5 signature: b7536ec764c87e16c01603c3fbc174f8 ****/ + %feature("compactdefaultargs") SetNbSplitsQuadric; + %feature("autodoc", "Sets tessellation level for quadric surfaces. + +Parameters +---------- +theNbSplits: int Returns ------- -bool -") AcceptShapeDecomposition; - virtual Standard_Boolean AcceptShapeDecomposition(); +None +") SetNbSplitsQuadric; + void SetNbSplitsQuadric(Standard_Integer theNbSplits); - /****************** Connect ******************/ - /**** md5 signature: 76ce604e5db4b247a8706638259ec61c ****/ - %feature("compactdefaultargs") Connect; - %feature("autodoc", "Establishes the connection between the connected interactive object, anotheriobj, and its reference. + /****************** SetSize ******************/ + /**** md5 signature: c110f2a475d2740bb05e539d92d74946 ****/ + %feature("compactdefaultargs") SetSize; + %feature("autodoc", "Sets the size of presentation. Parameters ---------- -theAnotherObj: AIS_InteractiveObject +theSize: float Returns ------- None -") Connect; - void Connect(const opencascade::handle & theAnotherObj); +") SetSize; + void SetSize(Standard_Real theSize); - /****************** Connect ******************/ - /**** md5 signature: 966dfec391c604c7ae9629c925cdd1c4 ****/ - %feature("compactdefaultargs") Connect; - %feature("autodoc", "Establishes the connection between the connected interactive object, anotheriobj, and its reference. locates instance in alocation. + /****************** SetSwitchOnClick ******************/ + /**** md5 signature: 97b94ff7d25449db3028d59cb20146de ****/ + %feature("compactdefaultargs") SetSwitchOnClick; + %feature("autodoc", "Sets if mouse click should turn light on/off. Parameters ---------- -theAnotherObj: AIS_InteractiveObject -theLocation: gp_Trsf +theToHandle: bool Returns ------- None -") Connect; - void Connect(const opencascade::handle & theAnotherObj, const gp_Trsf & theLocation); +") SetSwitchOnClick; + void SetSwitchOnClick(bool theToHandle); - /****************** Connect ******************/ - /**** md5 signature: 418505c88f7f147f47107d38894767f1 ****/ - %feature("compactdefaultargs") Connect; - %feature("autodoc", "Establishes the connection between the connected interactive object, anotheriobj, and its reference. locates instance in alocation. + /****************** SetZoomable ******************/ + /**** md5 signature: 97ffe04fce7ef540e2fce9a76dd33eaa ****/ + %feature("compactdefaultargs") SetZoomable; + %feature("autodoc", "Sets if transform-persistence is allowed. Parameters ---------- -theAnotherObj: AIS_InteractiveObject -theLocation: TopLoc_Datum3D +theIsZoomable: bool Returns ------- None -") Connect; - void Connect(const opencascade::handle & theAnotherObj, const opencascade::handle & theLocation); +") SetZoomable; + void SetZoomable(bool theIsZoomable); - /****************** ConnectedTo ******************/ - /**** md5 signature: 1541a2cb7b3a6f95f8064287356a8f2c ****/ - %feature("compactdefaultargs") ConnectedTo; - %feature("autodoc", "Returns the connection with the reference interactive object. + /****************** Size ******************/ + /**** md5 signature: 0113d47673ecbdcb4822fb85c27ac0c5 ****/ + %feature("compactdefaultargs") Size; + %feature("autodoc", "Returns the size of presentation; 50 by default. Returns ------- -opencascade::handle -") ConnectedTo; - const opencascade::handle & ConnectedTo(); +float +") Size; + Standard_Real Size(); - /****************** Disconnect ******************/ - /**** md5 signature: 3c68b068054eba545e5aa24799ed950d ****/ - %feature("compactdefaultargs") Disconnect; - %feature("autodoc", "Clears the connection with a source reference. the presentation will no longer be displayed. warning must be done before deleting the presentation. + /****************** ToDisplayName ******************/ + /**** md5 signature: 017d2ca9b70c34687c2520bc2f6310a7 ****/ + %feature("compactdefaultargs") ToDisplayName; + %feature("autodoc", "Returns true if the light source name should be displayed; true by default. Returns ------- -None -") Disconnect; - void Disconnect(); +bool +") ToDisplayName; + Standard_Boolean ToDisplayName(); - /****************** HasConnection ******************/ - /**** md5 signature: e23c7e5e57b8a56096bab865a5988291 ****/ - %feature("compactdefaultargs") HasConnection; - %feature("autodoc", "Returns true if there is a connection established between the presentation and its source reference. + /****************** ToDisplayRange ******************/ + /**** md5 signature: d8300aa4d3867fb20b32d03da894e242 ****/ + %feature("compactdefaultargs") ToDisplayRange; + %feature("autodoc", "Returns true to display light source range as sphere (positional light) or cone (spot light); true by default. has no effect for non-zoomable presentation. Returns ------- bool -") HasConnection; - Standard_Boolean HasConnection(); +") ToDisplayRange; + Standard_Boolean ToDisplayRange(); - /****************** Signature ******************/ - /**** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ****/ - %feature("compactdefaultargs") Signature; - %feature("autodoc", "Returns 0. + /****************** ToSwitchOnClick ******************/ + /**** md5 signature: ecdef05201eb6d53f5b9f95f9a193655 ****/ + %feature("compactdefaultargs") ToSwitchOnClick; + %feature("autodoc", "Returns true if mouse click will turn light on/off; true by default. Returns ------- -int -") Signature; - virtual Standard_Integer Signature(); +bool +") ToSwitchOnClick; + bool ToSwitchOnClick(); /****************** Type ******************/ /**** md5 signature: bf4aea6b24d0b584b57c781f208134ec ****/ %feature("compactdefaultargs") Type; - %feature("autodoc", "Returns koi_object. + %feature("autodoc", "Returns kind of the object. Returns ------- @@ -10154,9 +10763,7 @@ AIS_KindOfInteractive }; -%make_alias(AIS_ConnectedInteractive) - -%extend AIS_ConnectedInteractive { +%extend AIS_LightSource { %pythoncode { __repr__ = _dumps_object } @@ -10448,13 +11055,13 @@ None virtual void ClearSelected(); /****************** Compute ******************/ - /**** md5 signature: 1bb1940ebb02c69fcdc59de667417f7b ****/ + /**** md5 signature: 5d0087b3c43a18eabfc5a74a27907c07 ****/ %feature("compactdefaultargs") Compute; %feature("autodoc", "Fills presentation. @note manipulator presentation does not use display mode and for all modes has the same presentation. Parameters ---------- -thePrsMgr: PrsMgr_PresentationManager3d +thePrsMgr: PrsMgr_PresentationManager thePrs: Prs3d_Presentation theMode: int,optional default value is 0 @@ -10463,7 +11070,7 @@ Returns ------- None ") Compute; - virtual void Compute(const opencascade::handle & thePrsMgr, const opencascade::handle & thePrs, const Standard_Integer theMode = 0); + virtual void Compute(const opencascade::handle & thePrsMgr, const opencascade::handle & thePrs, const Standard_Integer theMode = 0); /****************** ComputeSelection ******************/ /**** md5 signature: 0ee36b1ad2a8a3c1bbb813dfdb1d40ae ****/ @@ -10541,13 +11148,13 @@ bool Standard_Boolean HasActiveTransformation(); /****************** HilightOwnerWithColor ******************/ - /**** md5 signature: 59e159c706312ffbc3fbab59d0e52b8c ****/ + /**** md5 signature: 55b3be7a2ac03a5f834f6d8c95996212 ****/ %feature("compactdefaultargs") HilightOwnerWithColor; %feature("autodoc", "Method which hilight an owner belonging to this selectable object ( for fast presentation draw ). Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theStyle: Prs3d_Drawer theOwner: SelectMgr_EntityOwner @@ -10555,23 +11162,23 @@ Returns ------- None ") HilightOwnerWithColor; - virtual void HilightOwnerWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const opencascade::handle & theOwner); + virtual void HilightOwnerWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const opencascade::handle & theOwner); /****************** HilightSelected ******************/ - /**** md5 signature: 51adc22064d394c9bf0b2f20ae0065c3 ****/ + /**** md5 signature: b1fc27c909de3a5e8e70f8fe74bf4101 ****/ %feature("compactdefaultargs") HilightSelected; %feature("autodoc", "Method which draws selected owners ( for fast presentation draw ). Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theSeq: SelectMgr_SequenceOfOwner Returns ------- None ") HilightSelected; - virtual void HilightSelected(const opencascade::handle & thePM, const SelectMgr_SequenceOfOwner & theSeq); + virtual void HilightSelected(const opencascade::handle & thePM, const SelectMgr_SequenceOfOwner & theSeq); /****************** IsAttached ******************/ /**** md5 signature: f05a2e5d0a5e075997cd6dc06d401426 ****/ @@ -10635,7 +11242,7 @@ opencascade::handle /****************** ObjectTransformation ******************/ /**** md5 signature: e6857da7c59a18275835c532be288e72 ****/ %feature("compactdefaultargs") ObjectTransformation; - %feature("autodoc", "Computes transformation of parent object according to the active mode and input motion vector. you can use this method to get object transformation according to current mode or use own algorithm to implement any other tranformation for modes. returns transformation of parent object. + %feature("autodoc", "Computes transformation of parent object according to the active mode and input motion vector. you can use this method to get object transformation according to current mode or use own algorithm to implement any other transformation for modes. returns transformation of parent object. Parameters ---------- @@ -10903,7 +11510,7 @@ None /****************** Transform ******************/ /**** md5 signature: 7b80f6f8c56072806fdc079cea756bd9 ****/ %feature("compactdefaultargs") Transform; - %feature("autodoc", "Apply transformation made from mouse moving from start position (save on the first tranform() call and reset on deactivatecurrentmode() call.) to the in/out mouse position (thex, they). + %feature("autodoc", "Apply transformation made from mouse moving from start position (save on the first transform() call and reset on deactivatecurrentmode() call.) to the in/out mouse position (thex, they). Parameters ---------- @@ -11160,24 +11767,6 @@ opencascade::handle ") Connect; opencascade::handle Connect(const opencascade::handle & theAnotherObj, const gp_Trsf & theLocation, const opencascade::handle & theTrsfPers); - /****************** Connect ******************/ - /**** md5 signature: 2770be8a578431190d56c454749b76eb ****/ - %feature("compactdefaultargs") Connect; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theInteractive: AIS_InteractiveObject -theLocation: gp_Trsf -theTrsfPersFlag: Graphic3d_TransModeFlags -theTrsfPersPoint: gp_Pnt - -Returns -------- -opencascade::handle -") Connect; - opencascade::handle Connect(const opencascade::handle & theInteractive, const gp_Trsf & theLocation, const Graphic3d_TransModeFlags & theTrsfPersFlag, const gp_Pnt & theTrsfPersPoint); - /****************** Disconnect ******************/ /**** md5 signature: 8baee36d436931ddbde7f0643b9e8f4a ****/ %feature("compactdefaultargs") Disconnect; @@ -11253,7 +11842,7 @@ None virtual void SetContext(const opencascade::handle & theCtx); /****************** Signature ******************/ - /**** md5 signature: 81eb93a6a9075273e61be0bf8e0d1a46 ****/ + /**** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ****/ %feature("compactdefaultargs") Signature; %feature("autodoc", "No available documentation. @@ -11264,7 +11853,7 @@ int virtual Standard_Integer Signature(); /****************** Type ******************/ - /**** md5 signature: dd06dc48aefe8f5e4fea271bcf932271 ****/ + /**** md5 signature: bf4aea6b24d0b584b57c781f208134ec ****/ %feature("compactdefaultargs") Type; %feature("autodoc", "No available documentation. @@ -11438,6 +12027,17 @@ bool ") CurrentMode; Standard_Boolean CurrentMode(); + /****************** HasMinimumSize ******************/ + /**** md5 signature: a365edd1b21418e01a2b57e9636bca4f ****/ + %feature("compactdefaultargs") HasMinimumSize; + %feature("autodoc", "Returns true if transform persistence for zoom is set. + +Returns +------- +bool +") HasMinimumSize; + Standard_Boolean HasMinimumSize(); + /****************** HasOwnSize ******************/ /**** md5 signature: e915e28bcd0aa89fd85e56d0cb0fab71 ****/ %feature("compactdefaultargs") HasOwnSize; @@ -11569,6 +12169,21 @@ None ") SetCurrentMode; void SetCurrentMode(const Standard_Boolean theCurrentMode); + /****************** SetMinimumSize ******************/ + /**** md5 signature: b30f135ff9e397ec4e41d915825ab7d0 ****/ + %feature("compactdefaultargs") SetMinimumSize; + %feature("autodoc", "Sets transform persistence for zoom with value of minimum size. + +Parameters +---------- +theValue: float + +Returns +------- +None +") SetMinimumSize; + void SetMinimumSize(const Standard_Real theValue); + /****************** SetPlaneAttributes ******************/ /**** md5 signature: fcab47c7809627db9a9877e1b1b1ecfc ****/ %feature("compactdefaultargs") SetPlaneAttributes; @@ -11634,7 +12249,7 @@ None void SetTypeOfSensitivity(Select3D_TypeOfSensitivity theTypeOfSensitivity); /****************** Signature ******************/ - /**** md5 signature: 81eb93a6a9075273e61be0bf8e0d1a46 ****/ + /**** md5 signature: 4e037e01ba764fd5d5261e3d9ba6557d ****/ %feature("compactdefaultargs") Signature; %feature("autodoc", "No available documentation. @@ -11660,7 +12275,7 @@ Y: float Standard_Boolean Size(Standard_Real &OutValue, Standard_Real &OutValue); /****************** Type ******************/ - /**** md5 signature: dd06dc48aefe8f5e4fea271bcf932271 ****/ + /**** md5 signature: bf4aea6b24d0b584b57c781f208134ec ****/ %feature("compactdefaultargs") Type; %feature("autodoc", "No available documentation. @@ -11703,6 +12318,17 @@ None ") UnsetColor; void UnsetColor(); + /****************** UnsetMinimumSize ******************/ + /**** md5 signature: 455188e1c9c74ff00306b83f10dccb0d ****/ + %feature("compactdefaultargs") UnsetMinimumSize; + %feature("autodoc", "Unsets transform persistence zoom. + +Returns +------- +None +") UnsetMinimumSize; + void UnsetMinimumSize(); + /****************** UnsetSize ******************/ /**** md5 signature: 01e2703c873bbcb3ae46d4b247bdacb6 ****/ %feature("compactdefaultargs") UnsetSize; @@ -12110,7 +12736,7 @@ enum SelectionMode { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class DisplayMode(IntEnum): @@ -13863,13 +14489,13 @@ bool Standard_Boolean HasTextColor(); /****************** HilightOwnerWithColor ******************/ - /**** md5 signature: 59e159c706312ffbc3fbab59d0e52b8c ****/ + /**** md5 signature: 55b3be7a2ac03a5f834f6d8c95996212 ****/ %feature("compactdefaultargs") HilightOwnerWithColor; %feature("autodoc", "Method which hilight an owner belonging to this selectable object ( for fast presentation draw ). Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theStyle: Prs3d_Drawer theOwner: SelectMgr_EntityOwner @@ -13877,23 +14503,23 @@ Returns ------- None ") HilightOwnerWithColor; - virtual void HilightOwnerWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const opencascade::handle & theOwner); + virtual void HilightOwnerWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const opencascade::handle & theOwner); /****************** HilightSelected ******************/ - /**** md5 signature: bf8a0c8dc2d6626609da91792dd9d611 ****/ + /**** md5 signature: 5b1feef80cfa0a6159413c3c4ca13941 ****/ %feature("compactdefaultargs") HilightSelected; %feature("autodoc", "Method which draws selected owners ( for fast presentation draw ). Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theOwners: SelectMgr_SequenceOfOwner Returns ------- None ") HilightSelected; - virtual void HilightSelected(const opencascade::handle & thePM, const SelectMgr_SequenceOfOwner & theOwners); + virtual void HilightSelected(const opencascade::handle & thePM, const SelectMgr_SequenceOfOwner & theOwners); /****************** Label ******************/ /**** md5 signature: cd3b87f754f01f91f4db0b402e5a6620 ****/ @@ -13913,7 +14539,7 @@ TCollection_ExtendedString /****************** SelectionPriority ******************/ /**** md5 signature: c7f76247dd6ec404acc1afff52e95917 ****/ %feature("compactdefaultargs") SelectionPriority; - %feature("autodoc", "Sets priority of selection for owner of the given type. + %feature("autodoc", "Returns priority of selection for owner of the given type. Parameters ---------- @@ -13928,7 +14554,7 @@ int /****************** SetArrowColor ******************/ /**** md5 signature: b033462aa3dce4543ee90b2ffdc498cd ****/ %feature("compactdefaultargs") SetArrowColor; - %feature("autodoc", "Sets color of arrow of trihedron axes. used only in wireframe mode. + %feature("autodoc", "Sets color of arrow of trihedron axes. Parameters ---------- @@ -13940,6 +14566,22 @@ None ") SetArrowColor; void SetArrowColor(const Quantity_Color & theColor); + /****************** SetArrowColor ******************/ + /**** md5 signature: eed1ac90c97ed266f836f961bb20ebcd ****/ + %feature("compactdefaultargs") SetArrowColor; + %feature("autodoc", "Sets color of arrow of trihedron axes. + +Parameters +---------- +thePart: Prs3d_DatumParts +theColor: Quantity_Color + +Returns +------- +None +") SetArrowColor; + void SetArrowColor(const Prs3d_DatumParts thePart, const Quantity_Color & theColor); + /****************** SetAxisColor ******************/ /**** md5 signature: 5414b36e056312b5d2ce5a3255bab6e0 ****/ %feature("compactdefaultargs") SetAxisColor; @@ -13956,7 +14598,7 @@ None void SetAxisColor(const Quantity_Color & theColor); /****************** SetColor ******************/ - /**** md5 signature: 7e02f3e04e30cfab690f414e5d7614ca ****/ + /**** md5 signature: 259272248bacb2cef242adbc667f0ef9 ****/ %feature("compactdefaultargs") SetColor; %feature("autodoc", "Sets the color thecolor for this trihedron object, it changes color of axes. @@ -13968,7 +14610,7 @@ Returns ------- None ") SetColor; - void SetColor(const Quantity_Color & theColor); + virtual void SetColor(const Quantity_Color & theColor); /****************** SetComponent ******************/ /**** md5 signature: 0cb02d582043f1733c1764c1c909a674 ****/ @@ -14032,20 +14674,20 @@ None void SetDrawArrows(const Standard_Boolean theToDraw); /****************** SetLabel ******************/ - /**** md5 signature: 849b28153ab6d0762b12767c5f379ce7 ****/ + /**** md5 signature: f46fc70422e44644cfd6260e70ed55d0 ****/ %feature("compactdefaultargs") SetLabel; %feature("autodoc", "Sets text label for trihedron axis. parameter thepart should be xaxis, yaxis or zaxis. Parameters ---------- thePart: Prs3d_DatumParts -thePriority: TCollection_ExtendedString +theName: TCollection_ExtendedString Returns ------- None ") SetLabel; - void SetLabel(const Prs3d_DatumParts thePart, const TCollection_ExtendedString & thePriority); + void SetLabel(const Prs3d_DatumParts thePart, const TCollection_ExtendedString & theName); /****************** SetOriginColor ******************/ /**** md5 signature: 1017d076464e72d0a5e64feb3baf458f ****/ @@ -14081,7 +14723,7 @@ None /****************** SetSize ******************/ /**** md5 signature: 4ddd2387ee49354c88a5763d724abf32 ****/ %feature("compactdefaultargs") SetSize; - %feature("autodoc", "Sets the size avalue for the trihedron object. the default value is 100 mm. + %feature("autodoc", "Sets the size of trihedron object. Parameters ---------- @@ -14108,6 +14750,22 @@ None ") SetTextColor; void SetTextColor(const Quantity_Color & theColor); + /****************** SetTextColor ******************/ + /**** md5 signature: bdaf05bdad9bcc4e0cbdf6a0d46642a3 ****/ + %feature("compactdefaultargs") SetTextColor; + %feature("autodoc", "Sets color of label of trihedron axis. + +Parameters +---------- +thePart: Prs3d_DatumParts +theColor: Quantity_Color + +Returns +------- +None +") SetTextColor; + void SetTextColor(const Prs3d_DatumParts thePart, const Quantity_Color & theColor); + /****************** SetXAxisColor ******************/ /**** md5 signature: ed9ab965e65191191a7681d47d2ec159 ****/ %feature("compactdefaultargs") SetXAxisColor; @@ -14152,7 +14810,7 @@ int /****************** Size ******************/ /**** md5 signature: a8e9905382c3964d697ee929ccdb9562 ****/ %feature("compactdefaultargs") Size; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Returns the size of trihedron object; 100.0 by default. Returns ------- @@ -14443,13 +15101,13 @@ None virtual void ClearSelected(); /****************** Compute ******************/ - /**** md5 signature: 1bb1940ebb02c69fcdc59de667417f7b ****/ + /**** md5 signature: 5d0087b3c43a18eabfc5a74a27907c07 ****/ %feature("compactdefaultargs") Compute; %feature("autodoc", "Compute 3d part of view cube. @param theprsmgr [in] presentation manager. @param theprs [in] input presentation that is to be filled with flat presentation primitives. @param themode [in] display mode. @warning this object accept only 0 display mode. Parameters ---------- -thePrsMgr: PrsMgr_PresentationManager3d +thePrsMgr: PrsMgr_PresentationManager thePrs: Prs3d_Presentation theMode: int,optional default value is 0 @@ -14458,7 +15116,7 @@ Returns ------- None ") Compute; - virtual void Compute(const opencascade::handle & thePrsMgr, const opencascade::handle & thePrs, const Standard_Integer theMode = 0); + virtual void Compute(const opencascade::handle & thePrsMgr, const opencascade::handle & thePrs, const Standard_Integer theMode = 0); /****************** ComputeSelection ******************/ /**** md5 signature: 0ee36b1ad2a8a3c1bbb813dfdb1d40ae ****/ @@ -14547,13 +15205,13 @@ bool Standard_Boolean HasAnimation(); /****************** HilightOwnerWithColor ******************/ - /**** md5 signature: 59e159c706312ffbc3fbab59d0e52b8c ****/ + /**** md5 signature: 55b3be7a2ac03a5f834f6d8c95996212 ****/ %feature("compactdefaultargs") HilightOwnerWithColor; %feature("autodoc", "Method which highlights input owner belonging to this selectable object. @param thepm [in] presentation manager @param thestyle [in] style for dynamic highlighting. @param theowner [in] input entity owner. Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theStyle: Prs3d_Drawer theOwner: SelectMgr_EntityOwner @@ -14561,23 +15219,23 @@ Returns ------- None ") HilightOwnerWithColor; - virtual void HilightOwnerWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const opencascade::handle & theOwner); + virtual void HilightOwnerWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const opencascade::handle & theOwner); /****************** HilightSelected ******************/ - /**** md5 signature: 51adc22064d394c9bf0b2f20ae0065c3 ****/ + /**** md5 signature: b1fc27c909de3a5e8e70f8fe74bf4101 ****/ %feature("compactdefaultargs") HilightSelected; %feature("autodoc", "Method which draws selected owners. Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theSeq: SelectMgr_SequenceOfOwner Returns ------- None ") HilightSelected; - virtual void HilightSelected(const opencascade::handle & thePM, const SelectMgr_SequenceOfOwner & theSeq); + virtual void HilightSelected(const opencascade::handle & thePM, const SelectMgr_SequenceOfOwner & theSeq); /****************** InnerColor ******************/ /**** md5 signature: 14a7d761b72d032118329dab4a717cc8 ****/ @@ -16134,4 +16792,5 @@ float /* class aliases */ %pythoncode { AIS_AnimationTimer=OCC.Core.Media.Media_Timer +AIS_DisplayStatus=OCC.Core.PrsMgr.PrsMgr_DisplayStatus } diff --git a/src/SWIG_files/wrapper/AIS.pyi b/src/SWIG_files/wrapper/AIS.pyi index 8e4b0e550..59c9ae358 100644 --- a/src/SWIG_files/wrapper/AIS.pyi +++ b/src/SWIG_files/wrapper/AIS.pyi @@ -5,6 +5,7 @@ from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.SelectMgr import * from OCC.Core.Media import * +from OCC.Core.PrsMgr import * from OCC.Core.TCollection import * from OCC.Core.Quantity import * from OCC.Core.TopAbs import * @@ -17,15 +18,16 @@ from OCC.Core.V3d import * from OCC.Core.Bnd import * from OCC.Core.gp import * from OCC.Core.TopLoc import * -from OCC.Core.PrsMgr import * from OCC.Core.StdSelect import * from OCC.Core.TColgp import * -from OCC.Core.Geom import * from OCC.Core.Select3D import * +from OCC.Core.SelectBasics import * +from OCC.Core.Geom import * from OCC.Core.Poly import * from OCC.Core.Image import * AIS_AnimationTimer = NewType('AIS_AnimationTimer', Media_Timer) +AIS_DisplayStatus = NewType('AIS_DisplayStatus', PrsMgr_DisplayStatus) #the following typedef cannot be wrapped as is AIS_IndexedDataMapOfOwnerPrs = NewType('AIS_IndexedDataMapOfOwnerPrs', Any) #the following typedef cannot be wrapped as is @@ -47,6 +49,30 @@ class AIS_ListOfInteractive: def Value(self, theIndex: int) -> False: ... def SetValue(self, theIndex: int, theValue: False) -> None: ... +class AIS_NArray1OfEntityOwner: + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theLower: int, theUpper: int) -> None: ... + def __getitem__(self, index: int) -> False: ... + def __setitem__(self, index: int, value: False) -> None: ... + def __len__(self) -> int: ... + def __iter__(self) -> Iterator[False]: ... + def next(self) -> False: ... + __next__ = next + def Init(self, theValue: False) -> None: ... + def Size(self) -> int: ... + def Length(self) -> int: ... + def IsEmpty(self) -> bool: ... + def Lower(self) -> int: ... + def Upper(self) -> int: ... + def IsDetectable(self) -> bool: ... + def IsAllocated(self) -> bool: ... + def First(self) -> False: ... + def Last(self) -> False: ... + def Value(self, theIndex: int) -> False: ... + def SetValue(self, theIndex: int, theValue: False) -> None: ... + class AIS_NListOfEntityOwner: def __init__(self) -> None: ... def __len__(self) -> int: ... @@ -155,6 +181,13 @@ AIS_TOA_SecondAxis = AIS_TypeOfAttribute.AIS_TOA_SecondAxis AIS_TOA_ThirdAxis = AIS_TypeOfAttribute.AIS_TOA_ThirdAxis class AIS_KindOfInteractive(IntEnum): + AIS_KindOfInteractive_None: int = ... + AIS_KindOfInteractive_Datum: int = ... + AIS_KindOfInteractive_Shape: int = ... + AIS_KindOfInteractive_Object: int = ... + AIS_KindOfInteractive_Relation: int = ... + AIS_KindOfInteractive_Dimension: int = ... + AIS_KindOfInteractive_LightSource: int = ... AIS_KOI_None: int = ... AIS_KOI_Datum: int = ... AIS_KOI_Shape: int = ... @@ -162,6 +195,13 @@ class AIS_KindOfInteractive(IntEnum): AIS_KOI_Relation: int = ... AIS_KOI_Dimension: int = ... +AIS_KindOfInteractive_None = AIS_KindOfInteractive.AIS_KindOfInteractive_None +AIS_KindOfInteractive_Datum = AIS_KindOfInteractive.AIS_KindOfInteractive_Datum +AIS_KindOfInteractive_Shape = AIS_KindOfInteractive.AIS_KindOfInteractive_Shape +AIS_KindOfInteractive_Object = AIS_KindOfInteractive.AIS_KindOfInteractive_Object +AIS_KindOfInteractive_Relation = AIS_KindOfInteractive.AIS_KindOfInteractive_Relation +AIS_KindOfInteractive_Dimension = AIS_KindOfInteractive.AIS_KindOfInteractive_Dimension +AIS_KindOfInteractive_LightSource = AIS_KindOfInteractive.AIS_KindOfInteractive_LightSource AIS_KOI_None = AIS_KindOfInteractive.AIS_KOI_None AIS_KOI_Datum = AIS_KindOfInteractive.AIS_KOI_Datum AIS_KOI_Shape = AIS_KindOfInteractive.AIS_KOI_Shape @@ -189,6 +229,23 @@ AIS_TOAX_XAxis = AIS_TypeOfAxis.AIS_TOAX_XAxis AIS_TOAX_YAxis = AIS_TypeOfAxis.AIS_TOAX_YAxis AIS_TOAX_ZAxis = AIS_TypeOfAxis.AIS_TOAX_ZAxis +class AIS_SelectionScheme(IntEnum): + AIS_SelectionScheme_UNKNOWN: int = ... + AIS_SelectionScheme_Replace: int = ... + AIS_SelectionScheme_Add: int = ... + AIS_SelectionScheme_Remove: int = ... + AIS_SelectionScheme_XOR: int = ... + AIS_SelectionScheme_Clear: int = ... + AIS_SelectionScheme_ReplaceExtra: int = ... + +AIS_SelectionScheme_UNKNOWN = AIS_SelectionScheme.AIS_SelectionScheme_UNKNOWN +AIS_SelectionScheme_Replace = AIS_SelectionScheme.AIS_SelectionScheme_Replace +AIS_SelectionScheme_Add = AIS_SelectionScheme.AIS_SelectionScheme_Add +AIS_SelectionScheme_Remove = AIS_SelectionScheme.AIS_SelectionScheme_Remove +AIS_SelectionScheme_XOR = AIS_SelectionScheme.AIS_SelectionScheme_XOR +AIS_SelectionScheme_Clear = AIS_SelectionScheme.AIS_SelectionScheme_Clear +AIS_SelectionScheme_ReplaceExtra = AIS_SelectionScheme.AIS_SelectionScheme_ReplaceExtra + class AIS_ConnectStatus(IntEnum): AIS_CS_None: int = ... AIS_CS_Connection: int = ... @@ -350,15 +407,6 @@ AIS_TOPL_XYPlane = AIS_TypeOfPlane.AIS_TOPL_XYPlane AIS_TOPL_XZPlane = AIS_TypeOfPlane.AIS_TOPL_XZPlane AIS_TOPL_YZPlane = AIS_TypeOfPlane.AIS_TOPL_YZPlane -class AIS_DisplayStatus(IntEnum): - AIS_DS_Displayed: int = ... - AIS_DS_Erased: int = ... - AIS_DS_None: int = ... - -AIS_DS_Displayed = AIS_DisplayStatus.AIS_DS_Displayed -AIS_DS_Erased = AIS_DisplayStatus.AIS_DS_Erased -AIS_DS_None = AIS_DisplayStatus.AIS_DS_None - class ais: pass @@ -372,7 +420,7 @@ class AIS_Animation(Standard_Transient): def ElapsedTime(self) -> float: ... def Find(self, theAnimationName: TCollection_AsciiString) -> AIS_Animation: ... def HasOwnDuration(self) -> bool: ... - def IsStopped(self) -> False: ... + def IsStopped(self) -> bool: ... def Name(self) -> TCollection_AsciiString: ... def OwnDuration(self) -> float: ... def Pause(self) -> None: ... @@ -380,10 +428,12 @@ class AIS_Animation(Standard_Transient): def Replace(self, theAnimationOld: AIS_Animation, theAnimationNew: AIS_Animation) -> bool: ... def SetOwnDuration(self, theDuration: float) -> None: ... def SetStartPts(self, thePtsStart: float) -> None: ... + def SetTimer(self, theTimer: Media_Timer) -> None: ... def Start(self, theToUpdate: bool) -> None: ... def StartPts(self) -> float: ... def StartTimer(self, theStartPts: float, thePlaySpeed: float, theToUpdate: bool, theToStopTimer: Optional[bool] = False) -> None: ... def Stop(self) -> None: ... + def Timer(self) -> Media_Timer: ... def Update(self, thePts: float) -> bool: ... def UpdateTimer(self) -> float: ... def UpdateTotalDuration(self) -> None: ... @@ -401,8 +451,8 @@ class AIS_AttributeFilter(SelectMgr_Filter): def HasColor(self) -> bool: ... def HasWidth(self) -> bool: ... def IsOk(self, anObj: SelectMgr_EntityOwner) -> bool: ... - def SetColor(self, aCol: Quantity_NameOfColor) -> None: ... - def SetWidth(self, aWidth: float) -> None: ... + def SetColor(self, theCol: Quantity_NameOfColor) -> None: ... + def SetWidth(self, theWidth: float) -> None: ... def UnsetColor(self) -> None: ... def UnsetWidth(self) -> None: ... @@ -421,11 +471,12 @@ class AIS_C0RegularityFilter(SelectMgr_Filter): class AIS_ColoredDrawer(Prs3d_Drawer): def __init__(self, theLink: Prs3d_Drawer) -> None: ... - def HasOwnColor(self) -> False: ... - def HasOwnMaterial(self) -> False: ... - def HasOwnTransparency(self) -> False: ... - def HasOwnWidth(self) -> False: ... - def IsHidden(self) -> False: ... + def HasOwnColor(self) -> bool: ... + def HasOwnMaterial(self) -> bool: ... + def HasOwnTransparency(self) -> bool: ... + def HasOwnWidth(self) -> bool: ... + def IsHidden(self) -> bool: ... + def SetHidden(self, theToHide: bool) -> None: ... def SetOwnMaterial(self) -> None: ... def SetOwnTransparency(self, x: float) -> None: ... def UnsetOwnColor(self) -> None: ... @@ -454,31 +505,23 @@ class AIS_ExclusionFilter(SelectMgr_Filter): def Remove(self, TypeToExclude: AIS_KindOfInteractive) -> bool: ... @overload def Remove(self, TypeToExclude: AIS_KindOfInteractive, SignatureInType: int) -> bool: ... - def SetExclusionFlag(self, Status: bool) -> None: ... + def SetExclusionFlag(self, theStatus: bool) -> None: ... class AIS_GlobalStatus(Standard_Transient): - @overload def __init__(self) -> None: ... - @overload - def __init__(self, aStat: AIS_DisplayStatus, aDispMode: int, aSelMode: int, ishilighted: Optional[bool] = False, aLayerIndex: Optional[int] = 0) -> None: ... - def AddSelectionMode(self, theMode: int) -> None: ... + def AddSelectionMode(self, theMode: int) -> bool: ... def ClearSelectionModes(self) -> None: ... def DisplayMode(self) -> int: ... - def GetLayerIndex(self) -> int: ... - def GraphicStatus(self) -> AIS_DisplayStatus: ... def HilightStyle(self) -> Prs3d_Drawer: ... def IsHilighted(self) -> bool: ... - def IsSModeIn(self, aMode: int) -> bool: ... + def IsSModeIn(self, theMode: int) -> bool: ... def IsSubIntensityOn(self) -> bool: ... - def RemoveSelectionMode(self, aMode: int) -> None: ... + def RemoveSelectionMode(self, theMode: int) -> bool: ... def SelectionModes(self) -> TColStd_ListOfInteger: ... def SetDisplayMode(self, theMode: int) -> None: ... - def SetGraphicStatus(self, theStatus: AIS_DisplayStatus) -> None: ... def SetHilightStatus(self, theStatus: bool) -> None: ... def SetHilightStyle(self, theStyle: Prs3d_Drawer) -> None: ... - def SetLayerIndex(self, theIndex: int) -> None: ... - def SubIntensityOff(self) -> None: ... - def SubIntensityOn(self) -> None: ... + def SetSubIntensity(self, theIsOn: bool) -> None: ... class AIS_GraphicTool: @overload @@ -553,9 +596,9 @@ class AIS_InteractiveContext(Standard_Transient): @overload def Display(self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool) -> None: ... @overload - def Display(self, theIObj: AIS_InteractiveObject, theDispMode: int, theSelectionMode: int, theToUpdateViewer: bool, theDispStatus: Optional[AIS_DisplayStatus] = AIS_DS_None) -> None: ... + def Display(self, theIObj: AIS_InteractiveObject, theDispMode: int, theSelectionMode: int, theToUpdateViewer: bool, theDispStatus: Optional[PrsMgr_DisplayStatus] = PrsMgr_DisplayStatus_None) -> None: ... @overload - def Display(self, theIObj: AIS_InteractiveObject, theDispMode: int, theSelectionMode: int, theToUpdateViewer: bool, theToAllowDecomposition: bool, theDispStatus: Optional[AIS_DisplayStatus] = AIS_DS_None) -> None: ... + def Display(self, theIObj: AIS_InteractiveObject, theDispMode: int, theSelectionMode: int, theToUpdateViewer: bool, theToAllowDecomposition: bool, theDispStatus: Optional[PrsMgr_DisplayStatus] = PrsMgr_DisplayStatus_None) -> None: ... @overload def DisplayActiveSensitive(self, aView: V3d_View) -> None: ... @overload @@ -564,7 +607,7 @@ class AIS_InteractiveContext(Standard_Transient): def DisplayMode(self) -> int: ... def DisplayPriority(self, theIObj: AIS_InteractiveObject) -> int: ... def DisplaySelected(self, theToUpdateViewer: bool) -> None: ... - def DisplayStatus(self, anIobj: AIS_InteractiveObject) -> AIS_DisplayStatus: ... + def DisplayStatus(self, anIobj: AIS_InteractiveObject) -> PrsMgr_DisplayStatus: ... @overload def DisplayedObjects(self, aListOfIO: AIS_ListOfInteractive) -> None: ... @overload @@ -591,6 +634,7 @@ class AIS_InteractiveContext(Standard_Transient): def FitSelected(self, theView: V3d_View) -> None: ... def GetAutoActivateSelection(self) -> bool: ... def GetZLayer(self, theIObj: AIS_InteractiveObject) -> Graphic3d_ZLayerId: ... + def GlobalFilter(self) -> SelectMgr_AndOrFilter: ... def GravityPoint(self, theView: V3d_View) -> gp_Pnt: ... def HasApplicative(self) -> bool: ... def HasColor(self, aniobj: AIS_InteractiveObject) -> bool: ... @@ -635,7 +679,7 @@ class AIS_InteractiveContext(Standard_Transient): def IsSelected(self, theObj: AIS_InteractiveObject) -> bool: ... def IsoNumber(self, WhichIsos: Optional[AIS_TypeOfIso] = AIS_TOI_Both) -> int: ... @overload - def IsoOnPlane(self, SwitchOn: bool) -> None: ... + def IsoOnPlane(self, theToSwitchOn: bool) -> None: ... @overload def IsoOnPlane(self) -> bool: ... @overload @@ -650,28 +694,31 @@ class AIS_InteractiveContext(Standard_Transient): @overload def Load(self, theObj: AIS_InteractiveObject, theSelectionMode: int, x: bool) -> None: ... def Location(self, theObject: AIS_InteractiveObject) -> TopLoc_Location: ... - def MainPrsMgr(self) -> PrsMgr_PresentationManager3d: ... + def MainPrsMgr(self) -> PrsMgr_PresentationManager: ... def MainSelector(self) -> StdSelect_ViewerSelector3d: ... def MoreCurrent(self) -> bool: ... def MoreDetected(self) -> bool: ... def MoreSelected(self) -> bool: ... + @overload def MoveTo(self, theXPix: int, theYPix: int, theView: V3d_View, theToRedrawOnUpdate: bool) -> AIS_StatusOfDetection: ... + @overload + def MoveTo(self, theAxis: gp_Ax1, theView: V3d_View, theToRedrawOnUpdate: bool) -> AIS_StatusOfDetection: ... def NbCurrents(self) -> int: ... def NbSelected(self) -> int: ... def NextCurrent(self) -> None: ... def NextDetected(self) -> None: ... def NextSelected(self) -> None: ... + def ObjectIterator(self) -> AIS_DataMapIteratorOfDataMapOfIOStatus: ... @overload - def ObjectsByDisplayStatus(self, theStatus: AIS_DisplayStatus, theListOfIO: AIS_ListOfInteractive) -> None: ... + def ObjectsByDisplayStatus(self, theStatus: PrsMgr_DisplayStatus, theListOfIO: AIS_ListOfInteractive) -> None: ... @overload - def ObjectsByDisplayStatus(self, WhichKind: AIS_KindOfInteractive, WhichSignature: int, theStatus: AIS_DisplayStatus, theListOfIO: AIS_ListOfInteractive) -> None: ... - def ObjectsForView(self, theListOfIO: AIS_ListOfInteractive, theView: V3d_View, theIsVisibleInView: bool, theStatus: Optional[AIS_DisplayStatus] = AIS_DS_None) -> None: ... - def ObjectsInside(self, aListOfIO: AIS_ListOfInteractive, WhichKind: Optional[AIS_KindOfInteractive] = AIS_KOI_None, WhichSignature: Optional[int] = -1) -> None: ... + def ObjectsByDisplayStatus(self, WhichKind: AIS_KindOfInteractive, WhichSignature: int, theStatus: PrsMgr_DisplayStatus, theListOfIO: AIS_ListOfInteractive) -> None: ... + def ObjectsForView(self, theListOfIO: AIS_ListOfInteractive, theView: V3d_View, theIsVisibleInView: bool, theStatus: Optional[PrsMgr_DisplayStatus] = PrsMgr_DisplayStatus_None) -> None: ... + def ObjectsInside(self, aListOfIO: AIS_ListOfInteractive, WhichKind: Optional[AIS_KindOfInteractive] = AIS_KindOfInteractive_None, WhichSignature: Optional[int] = -1) -> None: ... def PickingStrategy(self) -> SelectMgr_PickingStrategy: ... def PixelTolerance(self) -> int: ... def PlaneSize(self) -> Tuple[bool, float, float]: ... def PolygonOffsets(self, anObj: AIS_InteractiveObject, aFactor: float, aUnits: float) -> int: ... - def PurgeDisplay(self) -> int: ... def RebuildSelectionStructs(self) -> None: ... def RecomputePrsOnly(self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool, theAllModes: Optional[bool] = False) -> None: ... def RecomputeSelectionOnly(self, anIObj: AIS_InteractiveObject) -> None: ... @@ -686,11 +733,17 @@ class AIS_InteractiveContext(Standard_Transient): def RemoveFilters(self) -> None: ... def ResetLocation(self, theObject: AIS_InteractiveObject) -> None: ... @overload + def Select(self, theOwners: AIS_NArray1OfEntityOwner, theSelScheme: AIS_SelectionScheme) -> AIS_StatusOfPick: ... + @overload def Select(self, theXPMin: int, theYPMin: int, theXPMax: int, theYPMax: int, theView: V3d_View, theToUpdateViewer: bool) -> AIS_StatusOfPick: ... @overload def Select(self, thePolyline: TColgp_Array1OfPnt2d, theView: V3d_View, theToUpdateViewer: bool) -> AIS_StatusOfPick: ... @overload def Select(self, theToUpdateViewer: bool) -> AIS_StatusOfPick: ... + def SelectDetected(self, theSelScheme: Optional[AIS_SelectionScheme] = AIS_SelectionScheme_Replace) -> AIS_StatusOfPick: ... + def SelectPoint(self, thePnt: Graphic3d_Vec2i, theView: V3d_View, theSelScheme: Optional[AIS_SelectionScheme] = AIS_SelectionScheme_Replace) -> AIS_StatusOfPick: ... + def SelectPolygon(self, thePolyline: TColgp_Array1OfPnt2d, theView: V3d_View, theSelScheme: Optional[AIS_SelectionScheme] = AIS_SelectionScheme_Replace) -> AIS_StatusOfPick: ... + def SelectRectangle(self, thePntMin: Graphic3d_Vec2i, thePntMax: Graphic3d_Vec2i, theView: V3d_View, theSelScheme: Optional[AIS_SelectionScheme] = AIS_SelectionScheme_Replace) -> AIS_StatusOfPick: ... def SelectedInteractive(self) -> AIS_InteractiveObject: ... def SelectedOwner(self) -> SelectMgr_EntityOwner: ... def SelectedShape(self) -> TopoDS_Shape: ... @@ -703,10 +756,11 @@ class AIS_InteractiveContext(Standard_Transient): def SetColor(self, theIObj: AIS_InteractiveObject, theColor: Quantity_Color, theToUpdateViewer: bool) -> None: ... def SetCurrentFacingModel(self, aniobj: AIS_InteractiveObject, aModel: Optional[Aspect_TypeOfFacingModel] = Aspect_TOFM_BOTH_SIDE) -> None: ... def SetCurrentObject(self, theIObj: AIS_InteractiveObject, theToUpdateViewer: bool) -> None: ... + def SetDefaultDrawer(self, theDrawer: Prs3d_Drawer) -> None: ... @overload def SetDeviationAngle(self, theIObj: AIS_InteractiveObject, theAngle: float, theToUpdateViewer: bool) -> None: ... @overload - def SetDeviationAngle(self, anAngle: float) -> None: ... + def SetDeviationAngle(self, theAngle: float) -> None: ... @overload def SetDeviationCoefficient(self, theIObj: AIS_InteractiveObject, theCoefficient: float, theToUpdateViewer: bool) -> None: ... @overload @@ -717,7 +771,7 @@ class AIS_InteractiveContext(Standard_Transient): def SetDisplayMode(self, theIObj: AIS_InteractiveObject, theMode: int, theToUpdateViewer: bool) -> None: ... def SetDisplayPriority(self, theIObj: AIS_InteractiveObject, thePriority: int) -> None: ... def SetFilterType(self, theFilterType: SelectMgr_FilterType) -> None: ... - def SetHiddenLineAspect(self, anAspect: Prs3d_LineAspect) -> None: ... + def SetHiddenLineAspect(self, theAspect: Prs3d_LineAspect) -> None: ... @overload def SetHighlightStyle(self, theStyleType: Prs3d_TypeOfHighlight, theStyle: Prs3d_Drawer) -> None: ... @overload @@ -745,10 +799,7 @@ class AIS_InteractiveContext(Standard_Transient): def SetSelectionStyle(self, theStyle: Prs3d_Drawer) -> None: ... def SetSubIntensityColor(self, theColor: Quantity_Color) -> None: ... def SetToHilightSelected(self, toHilight: bool) -> None: ... - @overload def SetTransformPersistence(self, theObject: AIS_InteractiveObject, theTrsfPers: Graphic3d_TransformPers) -> None: ... - @overload - def SetTransformPersistence(self, theObj: AIS_InteractiveObject, theFlag: Graphic3d_TransModeFlags, thePoint: Optional[gp_Pnt] = gp_Pnt(0.0,0.0,0.0)) -> None: ... def SetTransparency(self, theIObj: AIS_InteractiveObject, theValue: float, theToUpdateViewer: bool) -> None: ... def SetTrihedronSize(self, theSize: float, theToUpdateViewer: bool) -> None: ... def SetViewAffinity(self, theIObj: AIS_InteractiveObject, theView: V3d_View, theIsVisible: bool) -> None: ... @@ -796,9 +847,15 @@ class AIS_InteractiveObject(SelectMgr_SelectableObject): def Signature(self) -> int: ... def Type(self) -> AIS_KindOfInteractive: ... +class AIS_LightSourceOwner(SelectMgr_EntityOwner): + def __init__(self, theObject: AIS_LightSource, thePriority: Optional[int] = 5) -> None: ... + def HandleMouseClick(self, thePoint: Graphic3d_Vec2i, theButton: Aspect_VKeyMouse, theModifiers: Aspect_VKeyFlags, theIsDoubleClick: bool) -> bool: ... + def HilightWithColor(self, thePrsMgr: PrsMgr_PresentationManager, theStyle: Prs3d_Drawer, theMode: int) -> None: ... + def IsForcedHilight(self) -> bool: ... + class AIS_ManipulatorOwner(SelectMgr_EntityOwner): def __init__(self, theSelObject: SelectMgr_SelectableObject, theIndex: int, theMode: AIS_ManipulatorMode, thePriority: Optional[int] = 0) -> None: ... - def HilightWithColor(self, thePM: PrsMgr_PresentationManager3d, theStyle: Prs3d_Drawer, theMode: int) -> None: ... + def HilightWithColor(self, thePM: PrsMgr_PresentationManager, theStyle: Prs3d_Drawer, theMode: int) -> None: ... def Index(self) -> int: ... def IsHilighted(self, thePM: PrsMgr_PresentationManager, theMode: int) -> bool: ... def Mode(self) -> AIS_ManipulatorMode: ... @@ -808,7 +865,7 @@ class AIS_PointCloudOwner(SelectMgr_EntityOwner): def __init__(self, theOrigin: AIS_PointCloud) -> None: ... def Clear(self, thePrsMgr: PrsMgr_PresentationManager, theMode: int) -> None: ... def DetectedPoints(self) -> TColStd_HPackedMapOfInteger: ... - def HilightWithColor(self, thePrsMgr: PrsMgr_PresentationManager3d, theStyle: Prs3d_Drawer, theMode: int) -> None: ... + def HilightWithColor(self, thePrsMgr: PrsMgr_PresentationManager, theStyle: Prs3d_Drawer, theMode: int) -> None: ... def IsForcedHilight(self) -> bool: ... def SelectedPoints(self) -> TColStd_HPackedMapOfInteger: ... def Unhilight(self, thePrsMgr: PrsMgr_PresentationManager, theMode: int) -> None: ... @@ -826,12 +883,13 @@ class AIS_Selection(Standard_Transient): def Next(self) -> None: ... def Objects(self) -> AIS_NListOfEntityOwner: ... def Select(self, theObject: SelectMgr_EntityOwner) -> AIS_SelectStatus: ... + def SelectOwners(self, thePickedOwners: AIS_NArray1OfEntityOwner, theSelScheme: AIS_SelectionScheme, theToAllowSelOverlap: bool, theFilter: SelectMgr_Filter) -> None: ... def Value(self) -> SelectMgr_EntityOwner: ... class AIS_TrihedronOwner(SelectMgr_EntityOwner): def __init__(self, theSelObject: SelectMgr_SelectableObject, theDatumPart: Prs3d_DatumParts, thePriority: int) -> None: ... def DatumPart(self) -> Prs3d_DatumParts: ... - def HilightWithColor(self, thePM: PrsMgr_PresentationManager3d, theStyle: Prs3d_Drawer, theMode: int) -> None: ... + def HilightWithColor(self, thePM: PrsMgr_PresentationManager, theStyle: Prs3d_Drawer, theMode: int) -> None: ... def IsHilighted(self, thePM: PrsMgr_PresentationManager, theMode: int) -> bool: ... def Unhilight(self, thePM: PrsMgr_PresentationManager, theMode: int) -> None: ... @@ -839,75 +897,106 @@ class AIS_TypeFilter(SelectMgr_Filter): def __init__(self, aGivenKind: AIS_KindOfInteractive) -> None: ... def IsOk(self, anobj: SelectMgr_EntityOwner) -> bool: ... -class AIS_ViewController: +class AIS_ViewController(Aspect_WindowInputListener): def __init__(self) -> None: ... def AbortViewAnimation(self) -> None: ... def AddTouchPoint(self, theId: int, thePnt: Graphic3d_Vec2d, theClearBefore: Optional[bool] = false) -> None: ... - def Change3dMouseIsNoRotate(self) -> False: ... - def Change3dMouseToReverse(self) -> False: ... def ChangeInputBuffer(self, theType: AIS_ViewInputBufferType) -> AIS_ViewInputBuffer: ... - def ChangeKeys(self) -> Aspect_VKeySet: ... def ChangeMouseGestureMap(self) -> AIS_MouseGestureMap: ... - def EventTime(self) -> False: ... + def ChangeMouseSelectionSchemes(self) -> AIS_MouseSelectionSchemeMap: ... def FetchNavigationKeys(self, theCrouchRatio: float, theRunRatio: float) -> AIS_WalkDelta: ... def FitAllAuto(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> None: ... def FlushViewEvents(self, theCtx: AIS_InteractiveContext, theView: V3d_View, theToHandle: Optional[bool] = False) -> None: ... - def Get3dMouseIsNoRotate(self) -> False: ... - def Get3dMouseRotationScale(self) -> False: ... - def Get3dMouseToReverse(self) -> False: ... - def Get3dMouseTranslationScale(self) -> False: ... def GravityPoint(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> gp_Pnt: ... def HandleViewEvents(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> None: ... - def HasPreviousMoveTo(self) -> False: ... - def HasTouchPoints(self) -> False: ... + def HasPreviousMoveTo(self) -> bool: ... def InputBuffer(self, theType: AIS_ViewInputBufferType) -> AIS_ViewInputBuffer: ... - def Keys(self) -> Aspect_VKeySet: ... - def LastMouseFlags(self) -> Aspect_VKeyFlags: ... - def LastMousePosition(self) -> Graphic3d_Vec2i: ... + def IsContinuousRedraw(self) -> bool: ... def MinZoomDistance(self) -> False: ... - def MouseAcceleration(self) -> False: ... + def MouseAcceleration(self) -> float: ... def MouseDoubleClickInterval(self) -> False: ... def MouseGestureMap(self) -> AIS_MouseGestureMap: ... + def MouseSelectionSchemes(self) -> AIS_MouseSelectionSchemeMap: ... def NavigationMode(self) -> AIS_NavigationMode: ... + def ObjectsAnimation(self) -> AIS_Animation: ... def OnObjectDragged(self, theCtx: AIS_InteractiveContext, theView: V3d_View, theAction: AIS_DragAction) -> None: ... def OnSelectionChanged(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> None: ... - def OrbitAcceleration(self) -> False: ... - def PressedMouseButtons(self) -> Aspect_VKeyMouse: ... + def OrbitAcceleration(self) -> float: ... + def PickAxis(self, theTopPnt: gp_Pnt, theCtx: AIS_InteractiveContext, theView: V3d_View, theAxis: gp_Ax1) -> bool: ... + def PickPoint(self, thePnt: gp_Pnt, theCtx: AIS_InteractiveContext, theView: V3d_View, theCursor: Graphic3d_Vec2i, theToStickToPickRay: bool) -> bool: ... def PreviousMoveTo(self) -> Graphic3d_Vec2i: ... - def RemoveTouchPoint(self, theId: int, theClearSelectPnts: Optional[bool] = false) -> False: ... + def ProcessClose(self) -> None: ... + def ProcessConfigure(self, theIsResized: bool) -> None: ... + def ProcessExpose(self) -> None: ... + def ProcessFocus(self, theIsActivated: bool) -> None: ... + def ProcessInput(self) -> None: ... + def RemoveTouchPoint(self, theId: int, theClearSelectPnts: Optional[bool] = false) -> bool: ... def ResetPreviousMoveTo(self) -> None: ... def ResetViewInput(self) -> None: ... def RotationMode(self) -> AIS_RotationMode: ... + @overload + def SelectInViewer(self, thePnt: Graphic3d_Vec2i, theScheme: Optional[AIS_SelectionScheme] = AIS_SelectionScheme_Replace) -> None: ... + def SetAllowDragging(self, theToEnable: bool) -> None: ... + def SetAllowHighlight(self, theToEnable: bool) -> None: ... + def SetAllowPanning(self, theToEnable: bool) -> None: ... + def SetAllowRotation(self, theToEnable: bool) -> None: ... + def SetAllowTouchZRotation(self, theToEnable: bool) -> None: ... + def SetAllowZFocus(self, theToEnable: bool) -> None: ... + def SetAllowZooming(self, theToEnable: bool) -> None: ... + def SetContinuousRedraw(self, theToEnable: bool) -> None: ... + def SetDisplayXRAuxDevices(self, theToDisplay: bool) -> None: ... + def SetDisplayXRHands(self, theToDisplay: bool) -> None: ... + def SetInvertPitch(self, theToInvert: bool) -> None: ... + def SetLockOrbitZUp(self, theToForceUp: bool) -> None: ... + def SetMouseAcceleration(self, theRatio: float) -> None: ... def SetNavigationMode(self, theMode: AIS_NavigationMode) -> None: ... + def SetObjectsAnimation(self, theAnimation: AIS_Animation) -> None: ... + def SetOrbitAcceleration(self, theRatio: float) -> None: ... + def SetPauseObjectsAnimation(self, theToPause: bool) -> None: ... def SetRotationMode(self, theMode: AIS_RotationMode) -> None: ... + def SetShowPanAnchorPoint(self, theToShow: bool) -> None: ... + def SetShowRotateCenter(self, theToShow: bool) -> None: ... + def SetStickToRayOnRotation(self, theToEnable: bool) -> None: ... + def SetStickToRayOnZoom(self, theToEnable: bool) -> None: ... + def SetThrustSpeed(self, theSpeed: float) -> None: ... + def SetTouchToleranceScale(self, theTolerance: float) -> None: ... def SetViewAnimation(self, theAnimation: AIS_AnimationCamera) -> None: ... - def ThrustSpeed(self) -> False: ... - def To3dMousePreciseInput(self) -> False: ... - def ToAllowDragging(self) -> False: ... - def ToAllowHighlight(self) -> False: ... - def ToAllowPanning(self) -> False: ... - def ToAllowRotation(self) -> False: ... - def ToAllowTouchZRotation(self) -> False: ... - def ToAllowZFocus(self) -> False: ... - def ToAllowZooming(self) -> False: ... - def ToDisplayXRAuxDevices(self) -> False: ... - def ToDisplayXRHands(self) -> False: ... - def ToInvertPitch(self) -> False: ... - def ToLockOrbitZUp(self) -> False: ... - def ToShowPanAnchorPoint(self) -> False: ... - def ToShowRotateCenter(self) -> False: ... - def ToStickToRayOnRotation(self) -> False: ... - def ToStickToRayOnZoom(self) -> False: ... - def TouchToleranceScale(self) -> False: ... - def UpdateMouseScroll(self, theDelta: Aspect_ScrollDelta) -> False: ... + def SetWalkSpeedAbsolute(self, theSpeed: float) -> None: ... + def SetWalkSpeedRelative(self, theFactor: float) -> None: ... + def ThrustSpeed(self) -> float: ... + def ToAllowDragging(self) -> bool: ... + def ToAllowHighlight(self) -> bool: ... + def ToAllowPanning(self) -> bool: ... + def ToAllowRotation(self) -> bool: ... + def ToAllowTouchZRotation(self) -> bool: ... + def ToAllowZFocus(self) -> bool: ... + def ToAllowZooming(self) -> bool: ... + def ToDisplayXRAuxDevices(self) -> bool: ... + def ToDisplayXRHands(self) -> bool: ... + def ToInvertPitch(self) -> bool: ... + def ToLockOrbitZUp(self) -> bool: ... + def ToPauseObjectsAnimation(self) -> bool: ... + def ToShowPanAnchorPoint(self) -> bool: ... + def ToShowRotateCenter(self) -> bool: ... + def ToStickToRayOnRotation(self) -> bool: ... + def ToStickToRayOnZoom(self) -> bool: ... + def TouchToleranceScale(self) -> float: ... + def UpdateMouseButtons(self, thePoint: Graphic3d_Vec2i, theButtons: Aspect_VKeyMouse, theModifiers: Aspect_VKeyFlags, theIsEmulated: bool) -> bool: ... + def UpdateMouseClick(self, thePoint: Graphic3d_Vec2i, theButton: Aspect_VKeyMouse, theModifiers: Aspect_VKeyFlags, theIsDoubleClick: bool) -> bool: ... + def UpdateMousePosition(self, thePoint: Graphic3d_Vec2i, theButtons: Aspect_VKeyMouse, theModifiers: Aspect_VKeyFlags, theIsEmulated: bool) -> bool: ... + def UpdateMouseScroll(self, theDelta: Aspect_ScrollDelta) -> bool: ... + def UpdatePolySelection(self, thePnt: Graphic3d_Vec2i, theToAppend: bool) -> None: ... + def UpdateRubberBand(self, thePntFrom: Graphic3d_Vec2i, thePntTo: Graphic3d_Vec2i) -> None: ... def UpdateTouchPoint(self, theId: int, thePnt: Graphic3d_Vec2d) -> None: ... - def UpdateZoom(self, theDelta: Aspect_ScrollDelta) -> False: ... + def UpdateViewOrientation(self, theOrientation: V3d_TypeOfOrientation, theToFitAll: bool) -> None: ... + def UpdateZoom(self, theDelta: Aspect_ScrollDelta) -> bool: ... def ViewAnimation(self) -> AIS_AnimationCamera: ... - def WalkSpeedAbsolute(self) -> False: ... - def WalkSpeedRelative(self) -> False: ... + def WalkSpeedAbsolute(self) -> float: ... + def WalkSpeedRelative(self) -> float: ... def handleCameraActions(self, theCtx: AIS_InteractiveContext, theView: V3d_View, theWalk: AIS_WalkDelta) -> None: ... def handleMoveTo(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> None: ... def handleNavigationKeys(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> AIS_WalkDelta: ... + def handleOrbitRotation(self, theView: V3d_View, thePnt: gp_Pnt, theToLockZUp: bool) -> None: ... def handlePanning(self, theView: V3d_View) -> None: ... def handleViewOrientationKeys(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> None: ... def handleViewRedraw(self, theCtx: AIS_InteractiveContext, theView: V3d_View) -> None: ... @@ -921,32 +1010,43 @@ class AIS_ViewController: def handleZFocusScroll(self, theView: V3d_View, theParams: Aspect_ScrollDelta) -> None: ... def handleZRotate(self, theView: V3d_View) -> None: ... def handleZoom(self, theView: V3d_View, theParams: Aspect_ScrollDelta, thePnt: gp_Pnt) -> None: ... - def hasPanningAnchorPoint(self) -> False: ... + def hasPanningAnchorPoint(self) -> bool: ... def panningAnchorPoint(self) -> gp_Pnt: ... + def setAskNextFrame(self, theToDraw: Optional[bool] = true) -> None: ... def setPanningAnchorPoint(self, thePnt: gp_Pnt) -> None: ... - def toAskNextFrame(self) -> False: ... + def toAskNextFrame(self) -> bool: ... class AIS_ViewCubeOwner(SelectMgr_EntityOwner): def __init__(self, theObject: AIS_ViewCube, theOrient: V3d_TypeOfOrientation, thePriority: Optional[int] = 5) -> None: ... + def HandleMouseClick(self, thePoint: Graphic3d_Vec2i, theButton: Aspect_VKeyMouse, theModifiers: Aspect_VKeyFlags, theIsDoubleClick: bool) -> bool: ... def IsForcedHilight(self) -> bool: ... def MainOrientation(self) -> V3d_TypeOfOrientation: ... +class AIS_ViewCubeSensitive(Select3D_SensitivePrimitiveArray): + def __init__(self, theOwner: SelectMgr_EntityOwner, theTris: Graphic3d_ArrayOfTriangles) -> None: ... + def Matches(self, theMgr: SelectBasics_SelectingVolumeManager, thePickResult: SelectBasics_PickResult) -> bool: ... + class AIS_ViewInputBuffer: def __init__(self) -> None: ... def Reset(self) -> None: ... class AIS_WalkDelta: def __init__(self) -> None: ... - def IsCrouching(self) -> False: ... - def IsEmpty(self) -> False: ... - def IsJumping(self) -> False: ... - def IsRunning(self) -> False: ... - def ToMove(self) -> False: ... - def ToRotate(self) -> False: ... + def IsCrouching(self) -> bool: ... + def IsDefined(self) -> bool: ... + def IsEmpty(self) -> bool: ... + def IsJumping(self) -> bool: ... + def IsRunning(self) -> bool: ... + def SetCrouching(self, theIsCrouching: bool) -> None: ... + def SetDefined(self, theIsDefined: bool) -> None: ... + def SetJumping(self, theIsJumping: bool) -> None: ... + def SetRunning(self, theIsRunning: bool) -> None: ... + def ToMove(self) -> bool: ... + def ToRotate(self) -> bool: ... class AIS_WalkPart: def __init__(self) -> None: ... - def IsEmpty(self) -> False: ... + def IsEmpty(self) -> bool: ... class AIS_AnimationCamera(AIS_Animation): def __init__(self, theAnimationName: TCollection_AsciiString, theView: V3d_View) -> None: ... @@ -967,6 +1067,8 @@ class AIS_Axis(AIS_InteractiveObject): def __init__(self, aComponent: Geom_Axis2Placement, anAxisType: AIS_TypeOfAxis) -> None: ... @overload def __init__(self, anAxis: Geom_Axis1Placement) -> None: ... + @overload + def __init__(self, theAxis: gp_Ax1, theLength: Optional[float] = -1) -> None: ... def AcceptDisplayMode(self, aMode: int) -> bool: ... def Axis2Placement(self) -> Geom_Axis2Placement: ... def Component(self) -> Geom_Line: ... @@ -975,6 +1077,7 @@ class AIS_Axis(AIS_InteractiveObject): def SetAxis2Placement(self, aComponent: Geom_Axis2Placement, anAxisType: AIS_TypeOfAxis) -> None: ... def SetColor(self, aColor: Quantity_Color) -> None: ... def SetComponent(self, aComponent: Geom_Line) -> None: ... + def SetDisplayAspect(self, theNewDatumAspect: Prs3d_LineAspect) -> None: ... def SetTypeOfAxis(self, theTypeAxis: AIS_TypeOfAxis) -> None: ... def SetWidth(self, aValue: float) -> None: ... def Signature(self) -> int: ... @@ -1014,7 +1117,7 @@ class AIS_ColorScale(AIS_InteractiveObject): def __init__(self) -> None: ... def AcceptDisplayMode(self, theMode: int) -> bool: ... def ColorRange(self, theMinColor: Quantity_Color, theMaxColor: Quantity_Color) -> None: ... - def Compute(self, thePresentationManager: PrsMgr_PresentationManager3d, thePresentation: Prs3d_Presentation, theMode: int) -> None: ... + def Compute(self, thePrsMgr: PrsMgr_PresentationManager, thePresentation: Prs3d_Presentation, theMode: int) -> None: ... @overload @staticmethod def FindColor(theValue: float, theMin: float, theMax: float, theColorsCount: int, theColorHlsMin: Graphic3d_Vec3d, theColorHlsMax: Graphic3d_Vec3d, theColor: Quantity_Color) -> bool: ... @@ -1108,6 +1211,35 @@ class AIS_ConnectedInteractive(AIS_InteractiveObject): def Signature(self) -> int: ... def Type(self) -> AIS_KindOfInteractive: ... +class AIS_LightSource(AIS_InteractiveObject): + def __init__(self, theLightSource: Graphic3d_CLight) -> None: ... + def ArcSize(self) -> int: ... + def IsZoomable(self) -> bool: ... + def Light(self) -> Graphic3d_CLight: ... + def MarkerImage(self, theIsEnabled: bool) -> Graphic3d_MarkerImage: ... + def MarkerType(self, theIsEnabled: bool) -> Aspect_TypeOfMarker: ... + def NbArrows(self) -> int: ... + def NbSplitsArrow(self) -> int: ... + def NbSplitsQuadric(self) -> int: ... + def SetArcSize(self, theSize: int) -> None: ... + def SetDisplayName(self, theToDisplay: bool) -> None: ... + def SetDisplayRange(self, theToDisplay: bool) -> None: ... + def SetDraggable(self, theIsDraggable: bool) -> None: ... + def SetLight(self, theLight: Graphic3d_CLight) -> None: ... + def SetMarkerImage(self, theImage: Graphic3d_MarkerImage, theIsEnabled: bool) -> None: ... + def SetMarkerType(self, theType: Aspect_TypeOfMarker, theIsEnabled: bool) -> None: ... + def SetNbArrows(self, theNbArrows: int) -> None: ... + def SetNbSplitsArrow(self, theNbSplits: int) -> None: ... + def SetNbSplitsQuadric(self, theNbSplits: int) -> None: ... + def SetSize(self, theSize: float) -> None: ... + def SetSwitchOnClick(self, theToHandle: bool) -> None: ... + def SetZoomable(self, theIsZoomable: bool) -> None: ... + def Size(self) -> float: ... + def ToDisplayName(self) -> bool: ... + def ToDisplayRange(self) -> bool: ... + def ToSwitchOnClick(self) -> bool: ... + def Type(self) -> AIS_KindOfInteractive: ... + class AIS_Line(AIS_InteractiveObject): @overload def __init__(self, aLine: Geom_Line) -> None: ... @@ -1132,15 +1264,15 @@ class AIS_Manipulator(AIS_InteractiveObject): def ActiveAxisIndex(self) -> int: ... def ActiveMode(self) -> AIS_ManipulatorMode: ... def ClearSelected(self) -> None: ... - def Compute(self, thePrsMgr: PrsMgr_PresentationManager3d, thePrs: Prs3d_Presentation, theMode: Optional[int] = 0) -> None: ... + def Compute(self, thePrsMgr: PrsMgr_PresentationManager, thePrs: Prs3d_Presentation, theMode: Optional[int] = 0) -> None: ... def ComputeSelection(self, theSelection: SelectMgr_Selection, theMode: int) -> None: ... def DeactivateCurrentMode(self) -> None: ... def Detach(self) -> None: ... def EnableMode(self, theMode: AIS_ManipulatorMode) -> None: ... def HasActiveMode(self) -> bool: ... def HasActiveTransformation(self) -> bool: ... - def HilightOwnerWithColor(self, thePM: PrsMgr_PresentationManager3d, theStyle: Prs3d_Drawer, theOwner: SelectMgr_EntityOwner) -> None: ... - def HilightSelected(self, thePM: PrsMgr_PresentationManager3d, theSeq: SelectMgr_SequenceOfOwner) -> None: ... + def HilightOwnerWithColor(self, thePM: PrsMgr_PresentationManager, theStyle: Prs3d_Drawer, theOwner: SelectMgr_EntityOwner) -> None: ... + def HilightSelected(self, thePM: PrsMgr_PresentationManager, theSeq: SelectMgr_SequenceOfOwner) -> None: ... def IsAttached(self) -> bool: ... def IsAutoHilight(self) -> bool: ... def IsModeActivationOnDetection(self) -> bool: ... @@ -1181,7 +1313,7 @@ class AIS_MediaPlayer(AIS_InteractiveObject): def OpenInput(self, thePath: TCollection_AsciiString, theToWait: bool) -> None: ... def PlayPause(self) -> None: ... def PlayerContext(self) -> Media_PlayerContext: ... - def PresentFrame(self, theLeftCorner: Graphic3d_Vec2i, theMaxSize: Graphic3d_Vec2i) -> False: ... + def PresentFrame(self, theLeftCorner: Graphic3d_Vec2i, theMaxSize: Graphic3d_Vec2i) -> bool: ... def SetClosePlayer(self) -> None: ... class AIS_MultipleConnectedInteractive(AIS_InteractiveObject): @@ -1195,8 +1327,6 @@ class AIS_MultipleConnectedInteractive(AIS_InteractiveObject): def Connect(self, theAnotherObj: AIS_InteractiveObject, theLocation: gp_Trsf) -> AIS_InteractiveObject: ... @overload def Connect(self, theAnotherObj: AIS_InteractiveObject, theLocation: gp_Trsf, theTrsfPers: Graphic3d_TransformPers) -> AIS_InteractiveObject: ... - @overload - def Connect(self, theInteractive: AIS_InteractiveObject, theLocation: gp_Trsf, theTrsfPersFlag: Graphic3d_TransModeFlags, theTrsfPersPoint: gp_Pnt) -> AIS_InteractiveObject: ... def Disconnect(self, theInteractive: AIS_InteractiveObject) -> None: ... def DisconnectAll(self) -> None: ... def GetAssemblyOwner(self) -> SelectMgr_EntityOwner: ... @@ -1221,6 +1351,7 @@ class AIS_Plane(AIS_InteractiveObject): def Component(self) -> Geom_Plane: ... def ComputeSelection(self, theSelection: SelectMgr_Selection, theMode: int) -> None: ... def CurrentMode(self) -> bool: ... + def HasMinimumSize(self) -> bool: ... def HasOwnSize(self) -> bool: ... def IsXYZPlane(self) -> bool: ... def PlaneAttributes(self, aComponent: Geom_Plane, aCenter: gp_Pnt, aPmin: gp_Pnt, aPmax: gp_Pnt) -> bool: ... @@ -1230,6 +1361,7 @@ class AIS_Plane(AIS_InteractiveObject): def SetComponent(self, aComponent: Geom_Plane) -> None: ... def SetContext(self, aCtx: AIS_InteractiveContext) -> None: ... def SetCurrentMode(self, theCurrentMode: bool) -> None: ... + def SetMinimumSize(self, theValue: float) -> None: ... def SetPlaneAttributes(self, aComponent: Geom_Plane, aCenter: gp_Pnt, aPmin: gp_Pnt, aPmax: gp_Pnt) -> None: ... @overload def SetSize(self, aValue: float) -> None: ... @@ -1242,6 +1374,7 @@ class AIS_Plane(AIS_InteractiveObject): def TypeOfPlane(self) -> AIS_TypeOfPlane: ... def TypeOfSensitivity(self) -> Select3D_TypeOfSensitivity: ... def UnsetColor(self) -> None: ... + def UnsetMinimumSize(self) -> None: ... def UnsetSize(self) -> None: ... class AIS_PlaneTrihedron(AIS_InteractiveObject): @@ -1420,22 +1553,28 @@ class AIS_Trihedron(AIS_InteractiveObject): def HasArrowColor(self) -> bool: ... def HasOwnSize(self) -> bool: ... def HasTextColor(self) -> bool: ... - def HilightOwnerWithColor(self, thePM: PrsMgr_PresentationManager3d, theStyle: Prs3d_Drawer, theOwner: SelectMgr_EntityOwner) -> None: ... - def HilightSelected(self, thePM: PrsMgr_PresentationManager3d, theOwners: SelectMgr_SequenceOfOwner) -> None: ... + def HilightOwnerWithColor(self, thePM: PrsMgr_PresentationManager, theStyle: Prs3d_Drawer, theOwner: SelectMgr_EntityOwner) -> None: ... + def HilightSelected(self, thePM: PrsMgr_PresentationManager, theOwners: SelectMgr_SequenceOfOwner) -> None: ... def Label(self, thePart: Prs3d_DatumParts) -> TCollection_ExtendedString: ... def SelectionPriority(self, thePart: Prs3d_DatumParts) -> int: ... + @overload def SetArrowColor(self, theColor: Quantity_Color) -> None: ... + @overload + def SetArrowColor(self, thePart: Prs3d_DatumParts, theColor: Quantity_Color) -> None: ... def SetAxisColor(self, theColor: Quantity_Color) -> None: ... def SetColor(self, theColor: Quantity_Color) -> None: ... def SetComponent(self, theComponent: Geom_Axis2Placement) -> None: ... def SetDatumDisplayMode(self, theMode: Prs3d_DatumMode) -> None: ... def SetDatumPartColor(self, thePart: Prs3d_DatumParts, theColor: Quantity_Color) -> None: ... def SetDrawArrows(self, theToDraw: bool) -> None: ... - def SetLabel(self, thePart: Prs3d_DatumParts, thePriority: TCollection_ExtendedString) -> None: ... + def SetLabel(self, thePart: Prs3d_DatumParts, theName: TCollection_ExtendedString) -> None: ... def SetOriginColor(self, theColor: Quantity_Color) -> None: ... def SetSelectionPriority(self, thePart: Prs3d_DatumParts, thePriority: int) -> None: ... def SetSize(self, theValue: float) -> None: ... + @overload def SetTextColor(self, theColor: Quantity_Color) -> None: ... + @overload + def SetTextColor(self, thePart: Prs3d_DatumParts, theColor: Quantity_Color) -> None: ... def SetXAxisColor(self, theColor: Quantity_Color) -> None: ... def SetYAxisColor(self, theColor: Quantity_Color) -> None: ... def Signature(self) -> int: ... @@ -1465,7 +1604,7 @@ class AIS_ViewCube(AIS_InteractiveObject): def BoxSideStyle(self) -> Prs3d_ShadingAspect: ... def BoxTransparency(self) -> float: ... def ClearSelected(self) -> None: ... - def Compute(self, thePrsMgr: PrsMgr_PresentationManager3d, thePrs: Prs3d_Presentation, theMode: Optional[int] = 0) -> None: ... + def Compute(self, thePrsMgr: PrsMgr_PresentationManager, thePrs: Prs3d_Presentation, theMode: Optional[int] = 0) -> None: ... def ComputeSelection(self, theSelection: SelectMgr_Selection, theMode: int) -> None: ... def Duration(self) -> float: ... def Font(self) -> TCollection_AsciiString: ... @@ -1473,20 +1612,21 @@ class AIS_ViewCube(AIS_InteractiveObject): def GlobalSelOwner(self) -> SelectMgr_EntityOwner: ... def HandleClick(self, theOwner: AIS_ViewCubeOwner) -> None: ... def HasAnimation(self) -> bool: ... - def HilightOwnerWithColor(self, thePM: PrsMgr_PresentationManager3d, theStyle: Prs3d_Drawer, theOwner: SelectMgr_EntityOwner) -> None: ... - def HilightSelected(self, thePM: PrsMgr_PresentationManager3d, theSeq: SelectMgr_SequenceOfOwner) -> None: ... + def HilightOwnerWithColor(self, thePM: PrsMgr_PresentationManager, theStyle: Prs3d_Drawer, theOwner: SelectMgr_EntityOwner) -> None: ... + def HilightSelected(self, thePM: PrsMgr_PresentationManager, theSeq: SelectMgr_SequenceOfOwner) -> None: ... def InnerColor(self) -> Quantity_Color: ... def IsAutoHilight(self) -> bool: ... @staticmethod - def IsBoxCorner(theOrient: V3d_TypeOfOrientation) -> False: ... + def IsBoxCorner(theOrient: V3d_TypeOfOrientation) -> bool: ... @staticmethod - def IsBoxEdge(theOrient: V3d_TypeOfOrientation) -> False: ... + def IsBoxEdge(theOrient: V3d_TypeOfOrientation) -> bool: ... @staticmethod - def IsBoxSide(theOrient: V3d_TypeOfOrientation) -> False: ... + def IsBoxSide(theOrient: V3d_TypeOfOrientation) -> bool: ... def IsFixedAnimationLoop(self) -> bool: ... def IsYup(self) -> bool: ... def ResetStyles(self) -> None: ... def RoundRadius(self) -> float: ... + def SetAutoStartAnimation(self, theToEnable: bool) -> None: ... def SetAxesConeRadius(self, theRadius: float) -> None: ... def SetAxesLabels(self, theX: TCollection_AsciiString, theY: TCollection_AsciiString, theZ: TCollection_AsciiString) -> None: ... def SetAxesPadding(self, theValue: float) -> None: ... @@ -1505,6 +1645,7 @@ class AIS_ViewCube(AIS_InteractiveObject): def SetDrawVertices(self, theValue: bool) -> None: ... def SetDuration(self, theValue: float) -> None: ... def SetFitSelected(self, theToFitSelected: bool) -> None: ... + def SetFixedAnimationLoop(self, theToEnable: bool) -> None: ... def SetFont(self, theFont: TCollection_AsciiString) -> None: ... def SetFontHeight(self, theValue: float) -> None: ... def SetInnerColor(self, theColor: Quantity_Color) -> None: ... diff --git a/src/SWIG_files/wrapper/Adaptor2d.i b/src/SWIG_files/wrapper/Adaptor2d.i index f5a81f81a..5cc63ed0c 100644 --- a/src/SWIG_files/wrapper/Adaptor2d.i +++ b/src/SWIG_files/wrapper/Adaptor2d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define ADAPTOR2DDOCSTRING "Adaptor2d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_adaptor2d.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_adaptor2d.html" %enddef %module (package="OCC.Core", docstring=ADAPTOR2DDOCSTRING) Adaptor2d @@ -66,15 +66,15 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ /* handles */ -%wrap_handle(Adaptor2d_HCurve2d) -%wrap_handle(Adaptor2d_HLine2d) -%wrap_handle(Adaptor2d_HOffsetCurve) +%wrap_handle(Adaptor2d_Curve2d) +%wrap_handle(Adaptor2d_Line2d) +%wrap_handle(Adaptor2d_OffsetCurve) /* end handles declaration */ /* templates */ @@ -86,7 +86,7 @@ from OCC.Core.Exception import * /************************** * class Adaptor2d_Curve2d * **************************/ -class Adaptor2d_Curve2d { +class Adaptor2d_Curve2d : public Standard_Transient { public: /****************** BSpline ******************/ /**** md5 signature: b2a7a571ebf1b38738b883a277ef794f ****/ @@ -276,7 +276,7 @@ gp_Hypr2d /****************** Intervals ******************/ /**** md5 signature: 1b47d9fadea42b0a52e1ad5844faff05 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -430,7 +430,7 @@ float virtual Standard_Real Resolution(const Standard_Real R3d); /****************** Trim ******************/ - /**** md5 signature: b00e7319c95fdc2964d9791c57ace928 ****/ + /**** md5 signature: aa66325f9b552366d3dd9f832a9cb16d ****/ %feature("compactdefaultargs") Trim; %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -442,9 +442,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") Trim; - virtual opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + virtual opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: af409c62c74a5e93d7c7e76240b9de9b ****/ @@ -464,555 +464,9 @@ gp_Pnt2d }; -%extend Adaptor2d_Curve2d { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/*************************** -* class Adaptor2d_HCurve2d * -***************************/ -%nodefaultctor Adaptor2d_HCurve2d; -class Adaptor2d_HCurve2d : public Standard_Transient { - public: - /****************** BSpline ******************/ - /**** md5 signature: b2a7a571ebf1b38738b883a277ef794f ****/ - %feature("compactdefaultargs") BSpline; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") BSpline; - virtual opencascade::handle BSpline(); - - /****************** Bezier ******************/ - /**** md5 signature: 41032442357596356ca52db8dddd69b1 ****/ - %feature("compactdefaultargs") Bezier; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") Bezier; - opencascade::handle Bezier(); - - /****************** Circle ******************/ - /**** md5 signature: 3db788e83f60e9102eb4d18e49dde44e ****/ - %feature("compactdefaultargs") Circle; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Circ2d -") Circle; - gp_Circ2d Circle(); - - /****************** Continuity ******************/ - /**** md5 signature: 4cc571878c66d538aeaf8b0affec3574 ****/ - %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - -Returns -------- -GeomAbs_Shape -") Continuity; - GeomAbs_Shape Continuity(); - - /****************** Curve2d ******************/ - /**** md5 signature: 80beb5a704afff9d2021bd4f524db9cb ****/ - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", "Returns a reference to the curve2d inside the hcurve2d. - -Returns -------- -Adaptor2d_Curve2d -") Curve2d; - virtual const Adaptor2d_Curve2d & Curve2d(); - - /****************** D0 ******************/ - /**** md5 signature: 85d1e98e1313be6e4d71518a7016009f ****/ - %feature("compactdefaultargs") D0; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -P: gp_Pnt2d - -Returns -------- -None -") D0; - void D0(const Standard_Real U, gp_Pnt2d & P); - - /****************** D1 ******************/ - /**** md5 signature: 857bb09c503ab50c52904dfc4cdc1a50 ****/ - %feature("compactdefaultargs") D1; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -P: gp_Pnt2d -V: gp_Vec2d - -Returns -------- -None -") D1; - void D1(const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V); - - /****************** D2 ******************/ - /**** md5 signature: 8574226eb2474fe793edb28b9a188341 ****/ - %feature("compactdefaultargs") D2; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -P: gp_Pnt2d -V1: gp_Vec2d -V2: gp_Vec2d - -Returns -------- -None -") D2; - void D2(const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2); - - /****************** D3 ******************/ - /**** md5 signature: 30bd0f2c5f6642dfece94c3612cd0e2f ****/ - %feature("compactdefaultargs") D3; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -P: gp_Pnt2d -V1: gp_Vec2d -V2: gp_Vec2d -V3: gp_Vec2d - -Returns -------- -None -") D3; - void D3(const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2, gp_Vec2d & V3); - - /****************** DN ******************/ - /**** md5 signature: 0932075ca22fa86aeae3a5a4650fb0ff ****/ - %feature("compactdefaultargs") DN; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -N: int - -Returns -------- -gp_Vec2d -") DN; - gp_Vec2d DN(const Standard_Real U, const Standard_Integer N); +%make_alias(Adaptor2d_Curve2d) - /****************** Degree ******************/ - /**** md5 signature: e3276df1ce733e2c8e940db548a26d03 ****/ - %feature("compactdefaultargs") Degree; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") Degree; - Standard_Integer Degree(); - - /****************** Ellipse ******************/ - /**** md5 signature: 4d2fb3c954fc20d00e7fb670cc75b8c5 ****/ - %feature("compactdefaultargs") Ellipse; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Elips2d -") Ellipse; - gp_Elips2d Ellipse(); - - /****************** FirstParameter ******************/ - /**** md5 signature: 4ccedbaad83be904f510b4760c75f69c ****/ - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") FirstParameter; - Standard_Real FirstParameter(); - - /****************** GetType ******************/ - /**** md5 signature: 6d4e6ae7972633971ba343e8afc91aa1 ****/ - %feature("compactdefaultargs") GetType; - %feature("autodoc", "No available documentation. - -Returns -------- -GeomAbs_CurveType -") GetType; - GeomAbs_CurveType GetType(); - - /****************** Hyperbola ******************/ - /**** md5 signature: 0bf75fd35e804f23a63a4cf957882adb ****/ - %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Hypr2d -") Hyperbola; - gp_Hypr2d Hyperbola(); - - /****************** Intervals ******************/ - /**** md5 signature: c7a2f17df7514293a67a56baae0afb68 ****/ - %feature("compactdefaultargs") Intervals; - %feature("autodoc", "No available documentation. - -Parameters ----------- -T: TColStd_Array1OfReal -S: GeomAbs_Shape - -Returns -------- -None -") Intervals; - void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - - /****************** IsClosed ******************/ - /**** md5 signature: 29709d02fadc9fcb79a766bc9679271b ****/ - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsClosed; - Standard_Boolean IsClosed(); - - /****************** IsPeriodic ******************/ - /**** md5 signature: 62d7f554b0b7785e1f3919569dfbc68f ****/ - %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsPeriodic; - Standard_Boolean IsPeriodic(); - - /****************** IsRational ******************/ - /**** md5 signature: fd4212ffa7bc30cde420e74a2c539434 ****/ - %feature("compactdefaultargs") IsRational; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsRational; - Standard_Boolean IsRational(); - - /****************** LastParameter ******************/ - /**** md5 signature: 7cdf630921ee47ad365a5a6bafd4b46e ****/ - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") LastParameter; - Standard_Real LastParameter(); - - /****************** Line ******************/ - /**** md5 signature: 8f714dea9190d608a011f61fa588b4f4 ****/ - %feature("compactdefaultargs") Line; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Lin2d -") Line; - gp_Lin2d Line(); - - /****************** NbIntervals ******************/ - /**** md5 signature: a9cec7e4e6cb5b355a27e6de1f3fc9d9 ****/ - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "No available documentation. - -Parameters ----------- -S: GeomAbs_Shape - -Returns -------- -int -") NbIntervals; - Standard_Integer NbIntervals(const GeomAbs_Shape S); - - /****************** NbKnots ******************/ - /**** md5 signature: ccda669299f8eba1ba0d3387af4c950e ****/ - %feature("compactdefaultargs") NbKnots; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbKnots; - Standard_Integer NbKnots(); - - /****************** NbPoles ******************/ - /**** md5 signature: 9a7d6d5f8a21c5833786e951bce99604 ****/ - %feature("compactdefaultargs") NbPoles; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbPoles; - Standard_Integer NbPoles(); - - /****************** Parabola ******************/ - /**** md5 signature: b95e4eaba6ed0e103a45829a8ad74d91 ****/ - %feature("compactdefaultargs") Parabola; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Parab2d -") Parabola; - gp_Parab2d Parabola(); - - /****************** Period ******************/ - /**** md5 signature: 0270204961d3b0052ffe029cbcdbacd9 ****/ - %feature("compactdefaultargs") Period; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") Period; - Standard_Real Period(); - - /****************** Resolution ******************/ - /**** md5 signature: 955dbc498c06516d62e17e1e8d38cba7 ****/ - %feature("compactdefaultargs") Resolution; - %feature("autodoc", "No available documentation. - -Parameters ----------- -R3d: float - -Returns -------- -float -") Resolution; - Standard_Real Resolution(const Standard_Real R3d); - - /****************** Trim ******************/ - /**** md5 signature: bffd31b1526dffa3669fe68d7477ad60 ****/ - %feature("compactdefaultargs") Trim; - %feature("autodoc", "If >= . - -Parameters ----------- -First: float -Last: float -Tol: float - -Returns -------- -opencascade::handle -") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - - /****************** Value ******************/ - /**** md5 signature: 1105e8ccba0b18e6fe7169aa8e376b83 ****/ - %feature("compactdefaultargs") Value; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float - -Returns -------- -gp_Pnt2d -") Value; - gp_Pnt2d Value(const Standard_Real U); - -}; - - -%make_alias(Adaptor2d_HCurve2d) - -%extend Adaptor2d_HCurve2d { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/************************** -* class Adaptor2d_HLine2d * -**************************/ -class Adaptor2d_HLine2d : public Adaptor2d_HCurve2d { - public: - /****************** Adaptor2d_HLine2d ******************/ - /**** md5 signature: bb5e89d0552ec46ae15a9c98c3e2dca2 ****/ - %feature("compactdefaultargs") Adaptor2d_HLine2d; - %feature("autodoc", "Creates an empty genhcurve2d. - -Returns -------- -None -") Adaptor2d_HLine2d; - Adaptor2d_HLine2d(); - - /****************** Adaptor2d_HLine2d ******************/ - /**** md5 signature: 046602de20e8904427b18584962efeb5 ****/ - %feature("compactdefaultargs") Adaptor2d_HLine2d; - %feature("autodoc", "Creates a genhcurve2d from a curve. - -Parameters ----------- -C: Adaptor2d_Line2d - -Returns -------- -None -") Adaptor2d_HLine2d; - Adaptor2d_HLine2d(const Adaptor2d_Line2d & C); - - /****************** ChangeCurve2d ******************/ - /**** md5 signature: 73f0e1ef4f5c40bc001736631c9a4752 ****/ - %feature("compactdefaultargs") ChangeCurve2d; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -Adaptor2d_Line2d -") ChangeCurve2d; - Adaptor2d_Line2d & ChangeCurve2d(); - - /****************** Curve2d ******************/ - /**** md5 signature: 87546edb35f2000a54f99255bb8c94db ****/ - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", "Returns the curve used to create the genhcurve2d. this is redefined from hcurve2d, cannot be inline. - -Returns -------- -Adaptor2d_Curve2d -") Curve2d; - const Adaptor2d_Curve2d & Curve2d(); - - /****************** Set ******************/ - /**** md5 signature: 83a2d11d0840652cd510c132d33f7cef ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve2d. - -Parameters ----------- -C: Adaptor2d_Line2d - -Returns -------- -None -") Set; - void Set(const Adaptor2d_Line2d & C); - -}; - - -%make_alias(Adaptor2d_HLine2d) - -%extend Adaptor2d_HLine2d { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/******************************* -* class Adaptor2d_HOffsetCurve * -*******************************/ -class Adaptor2d_HOffsetCurve : public Adaptor2d_HCurve2d { - public: - /****************** Adaptor2d_HOffsetCurve ******************/ - /**** md5 signature: 25491c0f4f175db6f52163695140eee9 ****/ - %feature("compactdefaultargs") Adaptor2d_HOffsetCurve; - %feature("autodoc", "Creates an empty genhcurve2d. - -Returns -------- -None -") Adaptor2d_HOffsetCurve; - Adaptor2d_HOffsetCurve(); - - /****************** Adaptor2d_HOffsetCurve ******************/ - /**** md5 signature: d050b963ffed31a899bd970e3b8d00a6 ****/ - %feature("compactdefaultargs") Adaptor2d_HOffsetCurve; - %feature("autodoc", "Creates a genhcurve2d from a curve. - -Parameters ----------- -C: Adaptor2d_OffsetCurve - -Returns -------- -None -") Adaptor2d_HOffsetCurve; - Adaptor2d_HOffsetCurve(const Adaptor2d_OffsetCurve & C); - - /****************** ChangeCurve2d ******************/ - /**** md5 signature: 9d8ed054df51d67ca2a36626dc87b6da ****/ - %feature("compactdefaultargs") ChangeCurve2d; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -Adaptor2d_OffsetCurve -") ChangeCurve2d; - Adaptor2d_OffsetCurve & ChangeCurve2d(); - - /****************** Curve2d ******************/ - /**** md5 signature: 87546edb35f2000a54f99255bb8c94db ****/ - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", "Returns the curve used to create the genhcurve2d. this is redefined from hcurve2d, cannot be inline. - -Returns -------- -Adaptor2d_Curve2d -") Curve2d; - const Adaptor2d_Curve2d & Curve2d(); - - /****************** Set ******************/ - /**** md5 signature: f4a03234be9ba1c2342db8164bd1c6ee ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve2d. - -Parameters ----------- -C: Adaptor2d_OffsetCurve - -Returns -------- -None -") Set; - void Set(const Adaptor2d_OffsetCurve & C); - -}; - - -%make_alias(Adaptor2d_HOffsetCurve) - -%extend Adaptor2d_HOffsetCurve { +%extend Adaptor2d_Curve2d { %pythoncode { __repr__ = _dumps_object } @@ -1240,7 +694,7 @@ gp_Hypr2d /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -1415,7 +869,7 @@ float Standard_Real Resolution(const Standard_Real R3d); /****************** Trim ******************/ - /**** md5 signature: e1eef64565323d75c47ee19ca861de8d ****/ + /**** md5 signature: b5ce1c7f3b02aa6680da8e9ad704acc6 ****/ %feature("compactdefaultargs") Trim; %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -1427,9 +881,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: 98884cb0e60eec266d8c9645d817f1b5 ****/ @@ -1449,6 +903,8 @@ gp_Pnt2d }; +%make_alias(Adaptor2d_Line2d) + %extend Adaptor2d_Line2d { %pythoncode { __repr__ = _dumps_object @@ -1472,44 +928,44 @@ None Adaptor2d_OffsetCurve(); /****************** Adaptor2d_OffsetCurve ******************/ - /**** md5 signature: 2092489fd56ad30e5d0310fbc081109f ****/ + /**** md5 signature: 5654e6bb9cb8b9bac1b0469cd906dc2c ****/ %feature("compactdefaultargs") Adaptor2d_OffsetCurve; %feature("autodoc", "The curve is loaded. the offset is set to 0. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- None ") Adaptor2d_OffsetCurve; - Adaptor2d_OffsetCurve(const opencascade::handle & C); + Adaptor2d_OffsetCurve(const opencascade::handle & C); /****************** Adaptor2d_OffsetCurve ******************/ - /**** md5 signature: da34b132e75ca6b9fc87b2085685e26a ****/ + /**** md5 signature: 2b9b1c473de25b65f79a33cf02d9d422 ****/ %feature("compactdefaultargs") Adaptor2d_OffsetCurve; %feature("autodoc", "Creates an offsetcurve curve. the offset is set to offset. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Offset: float Returns ------- None ") Adaptor2d_OffsetCurve; - Adaptor2d_OffsetCurve(const opencascade::handle & C, const Standard_Real Offset); + Adaptor2d_OffsetCurve(const opencascade::handle & C, const Standard_Real Offset); /****************** Adaptor2d_OffsetCurve ******************/ - /**** md5 signature: 292811072e2428d6f8a963b44c425f71 ****/ + /**** md5 signature: bcca54868ea581c1cf7db2b8ab1074bc ****/ %feature("compactdefaultargs") Adaptor2d_OffsetCurve; %feature("autodoc", "Create an offset curve. wfirst,wlast define the bounds of the offset curve. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Offset: float WFirst: float WLast: float @@ -1518,7 +974,7 @@ Returns ------- None ") Adaptor2d_OffsetCurve; - Adaptor2d_OffsetCurve(const opencascade::handle & C, const Standard_Real Offset, const Standard_Real WFirst, const Standard_Real WLast); + Adaptor2d_OffsetCurve(const opencascade::handle & C, const Standard_Real Offset, const Standard_Real WFirst, const Standard_Real WLast); /****************** BSpline ******************/ /**** md5 signature: 9439c331c4f14f299277aa5a4ff16cec ****/ @@ -1565,15 +1021,15 @@ GeomAbs_Shape GeomAbs_Shape Continuity(); /****************** Curve ******************/ - /**** md5 signature: f5519de5cf0d739f28ebd5b0ec724522 ****/ + /**** md5 signature: 49c261ed663fbe8204b6afa365e067a9 ****/ %feature("compactdefaultargs") Curve; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") Curve; - const opencascade::handle & Curve(); + const opencascade::handle & Curve(); /****************** D0 ******************/ /**** md5 signature: 01a5234aae6db090351bac35b3718fd9 ****/ @@ -1684,7 +1140,7 @@ gp_Elips2d gp_Elips2d Ellipse(); /****************** FirstParameter ******************/ - /**** md5 signature: eb9ebe94572bd67588fe8811eac261fb ****/ + /**** md5 signature: 93c381754667baab23468a195644e410 ****/ %feature("compactdefaultargs") FirstParameter; %feature("autodoc", "No available documentation. @@ -1692,7 +1148,7 @@ Returns ------- float ") FirstParameter; - Standard_Real FirstParameter(); + virtual Standard_Real FirstParameter(); /****************** GetType ******************/ /**** md5 signature: 0ad61dcbb5497908c1b536e766f0fcb9 ****/ @@ -1719,7 +1175,7 @@ gp_Hypr2d /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -1766,7 +1222,7 @@ bool Standard_Boolean IsRational(); /****************** LastParameter ******************/ - /**** md5 signature: cb4925a2d4a451ceec8f6ad486530f9c ****/ + /**** md5 signature: a2893a92f9c4af09acb0cd59d959d964 ****/ %feature("compactdefaultargs") LastParameter; %feature("autodoc", "No available documentation. @@ -1774,7 +1230,7 @@ Returns ------- float ") LastParameter; - Standard_Real LastParameter(); + virtual Standard_Real LastParameter(); /****************** Line ******************/ /**** md5 signature: d41344e9c3febf8a7347a9e78e837373 ****/ @@ -1788,19 +1244,19 @@ gp_Lin2d gp_Lin2d Line(); /****************** Load ******************/ - /**** md5 signature: 4da8ce5b01ac5268a3dc1c0fb87edcf6 ****/ + /**** md5 signature: 9061983eb8107070a51888448966855a ****/ %feature("compactdefaultargs") Load; %feature("autodoc", "Changes the curve. the offset is reset to 0. Parameters ---------- -S: Adaptor2d_HCurve2d +S: Adaptor2d_Curve2d Returns ------- None ") Load; - void Load(const opencascade::handle & S); + void Load(const opencascade::handle & S); /****************** Load ******************/ /**** md5 signature: 9a0b0df619b9827b4c54ec1608be65ca ****/ @@ -1883,7 +1339,7 @@ int Standard_Integer NbSamples(); /****************** Offset ******************/ - /**** md5 signature: 02d05c913be85cd7a6e18ff06a18b8e7 ****/ + /**** md5 signature: dc63f42d21519182e8aed77d60677eb8 ****/ %feature("compactdefaultargs") Offset; %feature("autodoc", "No available documentation. @@ -1931,7 +1387,7 @@ float Standard_Real Resolution(const Standard_Real R3d); /****************** Trim ******************/ - /**** md5 signature: e1eef64565323d75c47ee19ca861de8d ****/ + /**** md5 signature: b5ce1c7f3b02aa6680da8e9ad704acc6 ****/ %feature("compactdefaultargs") Trim; %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -1943,9 +1399,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: 91dcf5c5229f25c64d3a714347090b29 ****/ @@ -1965,6 +1421,8 @@ gp_Pnt2d }; +%make_alias(Adaptor2d_OffsetCurve) + %extend Adaptor2d_OffsetCurve { %pythoncode { __repr__ = _dumps_object diff --git a/src/SWIG_files/wrapper/Adaptor2d.pyi b/src/SWIG_files/wrapper/Adaptor2d.pyi index da436aee9..a3ca3e8d6 100644 --- a/src/SWIG_files/wrapper/Adaptor2d.pyi +++ b/src/SWIG_files/wrapper/Adaptor2d.pyi @@ -9,7 +9,7 @@ from OCC.Core.GeomAbs import * from OCC.Core.TColStd import * -class Adaptor2d_Curve2d: +class Adaptor2d_Curve2d(Standard_Transient): def BSpline(self) -> Geom2d_BSplineCurve: ... def Bezier(self) -> Geom2d_BezierCurve: ... def Circle(self) -> gp_Circ2d: ... @@ -37,58 +37,9 @@ class Adaptor2d_Curve2d: def Parabola(self) -> gp_Parab2d: ... def Period(self) -> float: ... def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor2d_HCurve2d: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor2d_Curve2d: ... def Value(self, U: float) -> gp_Pnt2d: ... -class Adaptor2d_HCurve2d(Standard_Transient): - def BSpline(self) -> Geom2d_BSplineCurve: ... - def Bezier(self) -> Geom2d_BezierCurve: ... - def Circle(self) -> gp_Circ2d: ... - def Continuity(self) -> GeomAbs_Shape: ... - def Curve2d(self) -> Adaptor2d_Curve2d: ... - def D0(self, U: float, P: gp_Pnt2d) -> None: ... - def D1(self, U: float, P: gp_Pnt2d, V: gp_Vec2d) -> None: ... - def D2(self, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d) -> None: ... - def D3(self, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d) -> None: ... - def DN(self, U: float, N: int) -> gp_Vec2d: ... - def Degree(self) -> int: ... - def Ellipse(self) -> gp_Elips2d: ... - def FirstParameter(self) -> float: ... - def GetType(self) -> GeomAbs_CurveType: ... - def Hyperbola(self) -> gp_Hypr2d: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def IsClosed(self) -> bool: ... - def IsPeriodic(self) -> bool: ... - def IsRational(self) -> bool: ... - def LastParameter(self) -> float: ... - def Line(self) -> gp_Lin2d: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbKnots(self) -> int: ... - def NbPoles(self) -> int: ... - def Parabola(self) -> gp_Parab2d: ... - def Period(self) -> float: ... - def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor2d_HCurve2d: ... - def Value(self, U: float) -> gp_Pnt2d: ... - -class Adaptor2d_HLine2d(Adaptor2d_HCurve2d): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: Adaptor2d_Line2d) -> None: ... - def ChangeCurve2d(self) -> Adaptor2d_Line2d: ... - def Curve2d(self) -> Adaptor2d_Curve2d: ... - def Set(self, C: Adaptor2d_Line2d) -> None: ... - -class Adaptor2d_HOffsetCurve(Adaptor2d_HCurve2d): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: Adaptor2d_OffsetCurve) -> None: ... - def ChangeCurve2d(self) -> Adaptor2d_OffsetCurve: ... - def Curve2d(self) -> Adaptor2d_Curve2d: ... - def Set(self, C: Adaptor2d_OffsetCurve) -> None: ... - class Adaptor2d_Line2d(Adaptor2d_Curve2d): @overload def __init__(self) -> None: ... @@ -124,23 +75,23 @@ class Adaptor2d_Line2d(Adaptor2d_Curve2d): def Parabola(self) -> gp_Parab2d: ... def Period(self) -> float: ... def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor2d_HCurve2d: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor2d_Curve2d: ... def Value(self, X: float) -> gp_Pnt2d: ... class Adaptor2d_OffsetCurve(Adaptor2d_Curve2d): @overload def __init__(self) -> None: ... @overload - def __init__(self, C: Adaptor2d_HCurve2d) -> None: ... + def __init__(self, C: Adaptor2d_Curve2d) -> None: ... @overload - def __init__(self, C: Adaptor2d_HCurve2d, Offset: float) -> None: ... + def __init__(self, C: Adaptor2d_Curve2d, Offset: float) -> None: ... @overload - def __init__(self, C: Adaptor2d_HCurve2d, Offset: float, WFirst: float, WLast: float) -> None: ... + def __init__(self, C: Adaptor2d_Curve2d, Offset: float, WFirst: float, WLast: float) -> None: ... def BSpline(self) -> Geom2d_BSplineCurve: ... def Bezier(self) -> Geom2d_BezierCurve: ... def Circle(self) -> gp_Circ2d: ... def Continuity(self) -> GeomAbs_Shape: ... - def Curve(self) -> Adaptor2d_HCurve2d: ... + def Curve(self) -> Adaptor2d_Curve2d: ... def D0(self, U: float, P: gp_Pnt2d) -> None: ... def D1(self, U: float, P: gp_Pnt2d, V: gp_Vec2d) -> None: ... def D2(self, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d) -> None: ... @@ -158,7 +109,7 @@ class Adaptor2d_OffsetCurve(Adaptor2d_Curve2d): def LastParameter(self) -> float: ... def Line(self) -> gp_Lin2d: ... @overload - def Load(self, S: Adaptor2d_HCurve2d) -> None: ... + def Load(self, S: Adaptor2d_Curve2d) -> None: ... @overload def Load(self, Offset: float) -> None: ... @overload @@ -171,7 +122,7 @@ class Adaptor2d_OffsetCurve(Adaptor2d_Curve2d): def Parabola(self) -> gp_Parab2d: ... def Period(self) -> float: ... def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor2d_HCurve2d: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor2d_Curve2d: ... def Value(self, U: float) -> gp_Pnt2d: ... # harray1 classes diff --git a/src/SWIG_files/wrapper/Adaptor3d.i b/src/SWIG_files/wrapper/Adaptor3d.i index ec8198d0e..62f5c42fc 100644 --- a/src/SWIG_files/wrapper/Adaptor3d.i +++ b/src/SWIG_files/wrapper/Adaptor3d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define ADAPTOR3DDOCSTRING "Adaptor3d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_adaptor3d.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_adaptor3d.html" %enddef %module (package="OCC.Core", docstring=ADAPTOR3DDOCSTRING) Adaptor3d @@ -37,7 +37,6 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_adaptor3d.html" %{ -#include #include //Dependencies @@ -75,33 +74,30 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ /* handles */ -%wrap_handle(Adaptor3d_HCurve) -%wrap_handle(Adaptor3d_HSurface) +%wrap_handle(Adaptor3d_Curve) %wrap_handle(Adaptor3d_HVertex) +%wrap_handle(Adaptor3d_Surface) %wrap_handle(Adaptor3d_TopolTool) -%wrap_handle(Adaptor3d_HCurveOnSurface) -%wrap_handle(Adaptor3d_HIsoCurve) +%wrap_handle(Adaptor3d_CurveOnSurface) +%wrap_handle(Adaptor3d_IsoCurve) /* end handles declaration */ /* templates */ /* end templates declaration */ /* typedefs */ -typedef Adaptor3d_CurveOnSurface * Adaptor3d_CurveOnSurfacePtr; -typedef Adaptor3d_Curve * Adaptor3d_CurvePtr; -typedef Adaptor3d_Surface * Adaptor3d_SurfacePtr; /* end typedefs declaration */ /************************ * class Adaptor3d_Curve * ************************/ -class Adaptor3d_Curve { +class Adaptor3d_Curve : public Standard_Transient { public: /****************** BSpline ******************/ /**** md5 signature: 534c7ad12bf6a739dd70c41ffd91fbc3 ****/ @@ -291,7 +287,7 @@ gp_Hypr /****************** Intervals ******************/ /**** md5 signature: 1b47d9fadea42b0a52e1ad5844faff05 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -445,7 +441,7 @@ float virtual Standard_Real Resolution(const Standard_Real R3d); /****************** Trim ******************/ - /**** md5 signature: 8820ef060727865a80e1c0a131f9bffe ****/ + /**** md5 signature: 28307ca5011d5510d72469097ddcd806 ****/ %feature("compactdefaultargs") Trim; %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -457,9 +453,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") Trim; - virtual opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + virtual opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: 29b1ab46081b3ec6882d2390e14cd6b7 ****/ @@ -479,1054 +475,9 @@ gp_Pnt }; -%extend Adaptor3d_Curve { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/************************* -* class Adaptor3d_HCurve * -*************************/ -%nodefaultctor Adaptor3d_HCurve; -class Adaptor3d_HCurve : public Standard_Transient { - public: - /****************** BSpline ******************/ - /**** md5 signature: 496d8648e54b9bba1acabb31d1b7a380 ****/ - %feature("compactdefaultargs") BSpline; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") BSpline; - opencascade::handle BSpline(); - - /****************** Bezier ******************/ - /**** md5 signature: 60ae31bb205b04a8b0005c7bd4ffc65d ****/ - %feature("compactdefaultargs") Bezier; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") Bezier; - opencascade::handle Bezier(); - - /****************** Circle ******************/ - /**** md5 signature: cab8b08988d177bd7107adbbccc4ef89 ****/ - %feature("compactdefaultargs") Circle; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Circ -") Circle; - gp_Circ Circle(); - - /****************** Continuity ******************/ - /**** md5 signature: 4cc571878c66d538aeaf8b0affec3574 ****/ - %feature("compactdefaultargs") Continuity; - %feature("autodoc", "No available documentation. - -Returns -------- -GeomAbs_Shape -") Continuity; - GeomAbs_Shape Continuity(); - - /****************** Curve ******************/ - /**** md5 signature: b1b3209ca0bbe9919434e23a024a3799 ****/ - %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns a pointer to the curve inside the hcurve. - -Returns -------- -Adaptor3d_Curve -") Curve; - virtual const Adaptor3d_Curve & Curve(); - - /****************** D0 ******************/ - /**** md5 signature: c5111ce8ff4abb74b6c4ba34040c62bb ****/ - %feature("compactdefaultargs") D0; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -P: gp_Pnt - -Returns -------- -None -") D0; - void D0(const Standard_Real U, gp_Pnt & P); - - /****************** D1 ******************/ - /**** md5 signature: 1460fb893db73aba38f92f1893861fce ****/ - %feature("compactdefaultargs") D1; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -P: gp_Pnt -V: gp_Vec - -Returns -------- -None -") D1; - void D1(const Standard_Real U, gp_Pnt & P, gp_Vec & V); - - /****************** D2 ******************/ - /**** md5 signature: d3341eb150b9e311e1603e34e0717b8a ****/ - %feature("compactdefaultargs") D2; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -P: gp_Pnt -V1: gp_Vec -V2: gp_Vec - -Returns -------- -None -") D2; - void D2(const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2); - - /****************** D3 ******************/ - /**** md5 signature: 644c58f9f4e45baba2b8854d87d69f57 ****/ - %feature("compactdefaultargs") D3; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -P: gp_Pnt -V1: gp_Vec -V2: gp_Vec -V3: gp_Vec - -Returns -------- -None -") D3; - void D3(const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2, gp_Vec & V3); - - /****************** DN ******************/ - /**** md5 signature: 434d922dd496e1564b08c06a8cd37e9f ****/ - %feature("compactdefaultargs") DN; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -N: int - -Returns -------- -gp_Vec -") DN; - gp_Vec DN(const Standard_Real U, const Standard_Integer N); - - /****************** Degree ******************/ - /**** md5 signature: e3276df1ce733e2c8e940db548a26d03 ****/ - %feature("compactdefaultargs") Degree; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") Degree; - Standard_Integer Degree(); - - /****************** Ellipse ******************/ - /**** md5 signature: b6da2657e61960166cfe0f18dac79c1f ****/ - %feature("compactdefaultargs") Ellipse; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Elips -") Ellipse; - gp_Elips Ellipse(); - - /****************** FirstParameter ******************/ - /**** md5 signature: 4ccedbaad83be904f510b4760c75f69c ****/ - %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") FirstParameter; - Standard_Real FirstParameter(); - - /****************** GetCurve ******************/ - /**** md5 signature: de9a948ea4ea8ee7924747601045abdc ****/ - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", "Returns a pointer to the curve inside the hcurve. - -Returns -------- -Adaptor3d_Curve -") GetCurve; - virtual Adaptor3d_Curve & GetCurve(); - - /****************** GetType ******************/ - /**** md5 signature: 6d4e6ae7972633971ba343e8afc91aa1 ****/ - %feature("compactdefaultargs") GetType; - %feature("autodoc", "No available documentation. - -Returns -------- -GeomAbs_CurveType -") GetType; - GeomAbs_CurveType GetType(); - - /****************** Hyperbola ******************/ - /**** md5 signature: 766d3e1ddfb79a4ee7d6daea9d3565cd ****/ - %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Hypr -") Hyperbola; - gp_Hypr Hyperbola(); - - /****************** Intervals ******************/ - /**** md5 signature: c7a2f17df7514293a67a56baae0afb68 ****/ - %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). - -Parameters ----------- -T: TColStd_Array1OfReal -S: GeomAbs_Shape - -Returns -------- -None -") Intervals; - void Intervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - - /****************** IsClosed ******************/ - /**** md5 signature: 29709d02fadc9fcb79a766bc9679271b ****/ - %feature("compactdefaultargs") IsClosed; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsClosed; - Standard_Boolean IsClosed(); - - /****************** IsPeriodic ******************/ - /**** md5 signature: 62d7f554b0b7785e1f3919569dfbc68f ****/ - %feature("compactdefaultargs") IsPeriodic; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsPeriodic; - Standard_Boolean IsPeriodic(); - - /****************** IsRational ******************/ - /**** md5 signature: fd4212ffa7bc30cde420e74a2c539434 ****/ - %feature("compactdefaultargs") IsRational; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsRational; - Standard_Boolean IsRational(); - - /****************** LastParameter ******************/ - /**** md5 signature: 7cdf630921ee47ad365a5a6bafd4b46e ****/ - %feature("compactdefaultargs") LastParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") LastParameter; - Standard_Real LastParameter(); - - /****************** Line ******************/ - /**** md5 signature: 63e1fa189ca3bcfdb401241217a93bfb ****/ - %feature("compactdefaultargs") Line; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Lin -") Line; - gp_Lin Line(); - - /****************** NbIntervals ******************/ - /**** md5 signature: a9cec7e4e6cb5b355a27e6de1f3fc9d9 ****/ - %feature("compactdefaultargs") NbIntervals; - %feature("autodoc", "No available documentation. - -Parameters ----------- -S: GeomAbs_Shape - -Returns -------- -int -") NbIntervals; - Standard_Integer NbIntervals(const GeomAbs_Shape S); - - /****************** NbKnots ******************/ - /**** md5 signature: ccda669299f8eba1ba0d3387af4c950e ****/ - %feature("compactdefaultargs") NbKnots; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbKnots; - Standard_Integer NbKnots(); - - /****************** NbPoles ******************/ - /**** md5 signature: 9a7d6d5f8a21c5833786e951bce99604 ****/ - %feature("compactdefaultargs") NbPoles; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbPoles; - Standard_Integer NbPoles(); - - /****************** OffsetCurve ******************/ - /**** md5 signature: 654404567e8f56751f28208a99f6d1ab ****/ - %feature("compactdefaultargs") OffsetCurve; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") OffsetCurve; - opencascade::handle OffsetCurve(); - - /****************** Parabola ******************/ - /**** md5 signature: 44bd09c360bea3d33e8c3aa19668649c ****/ - %feature("compactdefaultargs") Parabola; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Parab -") Parabola; - gp_Parab Parabola(); - - /****************** Period ******************/ - /**** md5 signature: 0270204961d3b0052ffe029cbcdbacd9 ****/ - %feature("compactdefaultargs") Period; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") Period; - Standard_Real Period(); - - /****************** Resolution ******************/ - /**** md5 signature: 955dbc498c06516d62e17e1e8d38cba7 ****/ - %feature("compactdefaultargs") Resolution; - %feature("autodoc", "No available documentation. - -Parameters ----------- -R3d: float - -Returns -------- -float -") Resolution; - Standard_Real Resolution(const Standard_Real R3d); - - /****************** Trim ******************/ - /**** md5 signature: 2541d5a486b9d27b8e1154aafc1cd5ff ****/ - %feature("compactdefaultargs") Trim; - %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. //! if >= . - -Parameters ----------- -First: float -Last: float -Tol: float - -Returns -------- -opencascade::handle -") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - - /****************** Value ******************/ - /**** md5 signature: 183286476627e1c9a629476db3ac9809 ****/ - %feature("compactdefaultargs") Value; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float - -Returns -------- -gp_Pnt -") Value; - gp_Pnt Value(const Standard_Real U); - -}; - - -%make_alias(Adaptor3d_HCurve) - -%extend Adaptor3d_HCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/*************************** -* class Adaptor3d_HSurface * -***************************/ -%nodefaultctor Adaptor3d_HSurface; -class Adaptor3d_HSurface : public Standard_Transient { - public: - /****************** AxeOfRevolution ******************/ - /**** md5 signature: 8f7f7061135caff67ddf8736b7a53c32 ****/ - %feature("compactdefaultargs") AxeOfRevolution; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Ax1 -") AxeOfRevolution; - gp_Ax1 AxeOfRevolution(); - - /****************** BSpline ******************/ - /**** md5 signature: 90520d0656879e55de455fd41c68966f ****/ - %feature("compactdefaultargs") BSpline; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") BSpline; - opencascade::handle BSpline(); - - /****************** BasisCurve ******************/ - /**** md5 signature: 9bd57fb60b07c382f0e724ac372b1845 ****/ - %feature("compactdefaultargs") BasisCurve; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") BasisCurve; - opencascade::handle BasisCurve(); - - /****************** BasisSurface ******************/ - /**** md5 signature: 2ab1646a2dc339747d731fed023ab778 ****/ - %feature("compactdefaultargs") BasisSurface; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") BasisSurface; - opencascade::handle BasisSurface(); - - /****************** Bezier ******************/ - /**** md5 signature: 01b14c23c4d757505e280cb9ac231b2c ****/ - %feature("compactdefaultargs") Bezier; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") Bezier; - opencascade::handle Bezier(); - - /****************** Cone ******************/ - /**** md5 signature: 433ba8697232d6bc7b71708b08d190e5 ****/ - %feature("compactdefaultargs") Cone; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Cone -") Cone; - gp_Cone Cone(); - - /****************** Cylinder ******************/ - /**** md5 signature: 60a8831694e0858ad1a30449c1edb3c9 ****/ - %feature("compactdefaultargs") Cylinder; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Cylinder -") Cylinder; - gp_Cylinder Cylinder(); - - /****************** D0 ******************/ - /**** md5 signature: d4bee7be33ee8a5b008ff349f73e15d2 ****/ - %feature("compactdefaultargs") D0; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -V: float -P: gp_Pnt - -Returns -------- -None -") D0; - void D0(const Standard_Real U, const Standard_Real V, gp_Pnt & P); - - /****************** D1 ******************/ - /**** md5 signature: 9e70ed4843af0bc8bcd7afd9285b482c ****/ - %feature("compactdefaultargs") D1; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -V: float -P: gp_Pnt -D1U: gp_Vec -D1V: gp_Vec - -Returns -------- -None -") D1; - void D1(const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & D1U, gp_Vec & D1V); - - /****************** D2 ******************/ - /**** md5 signature: 41dd87b4b944b8ec265f6e7e991f1393 ****/ - %feature("compactdefaultargs") D2; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -V: float -P: gp_Pnt -D1U: gp_Vec -D1V: gp_Vec -D2U: gp_Vec -D2V: gp_Vec -D2UV: gp_Vec - -Returns -------- -None -") D2; - void D2(const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & D1U, gp_Vec & D1V, gp_Vec & D2U, gp_Vec & D2V, gp_Vec & D2UV); - - /****************** D3 ******************/ - /**** md5 signature: d5b106014284d8d0d08b9488980311ae ****/ - %feature("compactdefaultargs") D3; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -V: float -P: gp_Pnt -D1U: gp_Vec -D1V: gp_Vec -D2U: gp_Vec -D2V: gp_Vec -D2UV: gp_Vec -D3U: gp_Vec -D3V: gp_Vec -D3UUV: gp_Vec -D3UVV: gp_Vec - -Returns -------- -None -") D3; - void D3(const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & D1U, gp_Vec & D1V, gp_Vec & D2U, gp_Vec & D2V, gp_Vec & D2UV, gp_Vec & D3U, gp_Vec & D3V, gp_Vec & D3UUV, gp_Vec & D3UVV); - - /****************** DN ******************/ - /**** md5 signature: 02c249fcb50eab490fed64db9f653acc ****/ - %feature("compactdefaultargs") DN; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -V: float -Nu: int -Nv: int - -Returns -------- -gp_Vec -") DN; - gp_Vec DN(const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv); - - /****************** Direction ******************/ - /**** md5 signature: 7db1622a0b370b4453af0886bb5f840c ****/ - %feature("compactdefaultargs") Direction; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Dir -") Direction; - gp_Dir Direction(); - - /****************** FirstUParameter ******************/ - /**** md5 signature: 6df66ef45f6e6b2484c886efaa36b44e ****/ - %feature("compactdefaultargs") FirstUParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") FirstUParameter; - Standard_Real FirstUParameter(); - - /****************** FirstVParameter ******************/ - /**** md5 signature: aef7f1c19798ea1af472f542f7782819 ****/ - %feature("compactdefaultargs") FirstVParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") FirstVParameter; - Standard_Real FirstVParameter(); - - /****************** GetType ******************/ - /**** md5 signature: fff8b0b7b5e45cc1a24755c8639001aa ****/ - %feature("compactdefaultargs") GetType; - %feature("autodoc", "No available documentation. - -Returns -------- -GeomAbs_SurfaceType -") GetType; - GeomAbs_SurfaceType GetType(); - - /****************** IsUClosed ******************/ - /**** md5 signature: 17d29145e29e54adf880f81b138cfeb5 ****/ - %feature("compactdefaultargs") IsUClosed; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsUClosed; - Standard_Boolean IsUClosed(); - - /****************** IsUPeriodic ******************/ - /**** md5 signature: 3115f09325238f13df1a22947495381e ****/ - %feature("compactdefaultargs") IsUPeriodic; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsUPeriodic; - Standard_Boolean IsUPeriodic(); - - /****************** IsURational ******************/ - /**** md5 signature: d3be4b63bc17a9c6de48bb978a5cf0e7 ****/ - %feature("compactdefaultargs") IsURational; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsURational; - Standard_Boolean IsURational(); - - /****************** IsVClosed ******************/ - /**** md5 signature: 270ac1341783e48f1a0f14434f1599d3 ****/ - %feature("compactdefaultargs") IsVClosed; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsVClosed; - Standard_Boolean IsVClosed(); - - /****************** IsVPeriodic ******************/ - /**** md5 signature: 1c89d32f35a2ad1870438aec5474569f ****/ - %feature("compactdefaultargs") IsVPeriodic; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsVPeriodic; - Standard_Boolean IsVPeriodic(); - - /****************** IsVRational ******************/ - /**** md5 signature: dcc1c1ae4603545d87819084535899bc ****/ - %feature("compactdefaultargs") IsVRational; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") IsVRational; - Standard_Boolean IsVRational(); - - /****************** LastUParameter ******************/ - /**** md5 signature: 240d7cb5f8b2d03ea2f8f0d7eeea85aa ****/ - %feature("compactdefaultargs") LastUParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") LastUParameter; - Standard_Real LastUParameter(); - - /****************** LastVParameter ******************/ - /**** md5 signature: cf5436b90b80ba44a7a5f108073dea03 ****/ - %feature("compactdefaultargs") LastVParameter; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") LastVParameter; - Standard_Real LastVParameter(); - - /****************** NbUIntervals ******************/ - /**** md5 signature: 67fae7e55f49018d52bc6ac35ded71cf ****/ - %feature("compactdefaultargs") NbUIntervals; - %feature("autodoc", "No available documentation. - -Parameters ----------- -S: GeomAbs_Shape - -Returns -------- -int -") NbUIntervals; - Standard_Integer NbUIntervals(const GeomAbs_Shape S); - - /****************** NbUKnots ******************/ - /**** md5 signature: dad62b27d386c8d79ed8a3faddece815 ****/ - %feature("compactdefaultargs") NbUKnots; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbUKnots; - Standard_Integer NbUKnots(); - - /****************** NbUPoles ******************/ - /**** md5 signature: fb7c625af5aeee8be8cffdd28f1b08d5 ****/ - %feature("compactdefaultargs") NbUPoles; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbUPoles; - Standard_Integer NbUPoles(); - - /****************** NbVIntervals ******************/ - /**** md5 signature: 4d2cf8dff004e57a23366467efaaa5d8 ****/ - %feature("compactdefaultargs") NbVIntervals; - %feature("autodoc", "No available documentation. - -Parameters ----------- -S: GeomAbs_Shape - -Returns -------- -int -") NbVIntervals; - Standard_Integer NbVIntervals(const GeomAbs_Shape S); - - /****************** NbVKnots ******************/ - /**** md5 signature: c5483500ef062c3949009d9a2ec75b29 ****/ - %feature("compactdefaultargs") NbVKnots; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbVKnots; - Standard_Integer NbVKnots(); - - /****************** NbVPoles ******************/ - /**** md5 signature: 098754ae7893287e442d0a3c48b39cf0 ****/ - %feature("compactdefaultargs") NbVPoles; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NbVPoles; - Standard_Integer NbVPoles(); - - /****************** OffsetValue ******************/ - /**** md5 signature: f7bd45fab9feccc67257472cf9ec43f9 ****/ - %feature("compactdefaultargs") OffsetValue; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") OffsetValue; - Standard_Real OffsetValue(); - - /****************** Plane ******************/ - /**** md5 signature: 722ec8a1cda087d25cc539584e9de6e6 ****/ - %feature("compactdefaultargs") Plane; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Pln -") Plane; - gp_Pln Plane(); - - /****************** Sphere ******************/ - /**** md5 signature: e02f27c8c733f0b938d13039e1e73f8c ****/ - %feature("compactdefaultargs") Sphere; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Sphere -") Sphere; - gp_Sphere Sphere(); - - /****************** Surface ******************/ - /**** md5 signature: 658e31c962719011136ebd1ebd27e42f ****/ - %feature("compactdefaultargs") Surface; - %feature("autodoc", "Returns a reference to the surface inside the hsurface. - -Returns -------- -Adaptor3d_Surface -") Surface; - virtual const Adaptor3d_Surface & Surface(); - - /****************** Torus ******************/ - /**** md5 signature: 9bb22d5b92ef11cba62e467d89f58c66 ****/ - %feature("compactdefaultargs") Torus; - %feature("autodoc", "No available documentation. - -Returns -------- -gp_Torus -") Torus; - gp_Torus Torus(); - - /****************** UContinuity ******************/ - /**** md5 signature: 7a834d6689e9f5d1864fd4bd798b97b5 ****/ - %feature("compactdefaultargs") UContinuity; - %feature("autodoc", "No available documentation. - -Returns -------- -GeomAbs_Shape -") UContinuity; - GeomAbs_Shape UContinuity(); - - /****************** UDegree ******************/ - /**** md5 signature: f204e5fbf1c49e3d9e4889dfead5a190 ****/ - %feature("compactdefaultargs") UDegree; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") UDegree; - Standard_Integer UDegree(); - - /****************** UIntervals ******************/ - /**** md5 signature: 6585e940c4d44726e96258ccbb7d0087 ****/ - %feature("compactdefaultargs") UIntervals; - %feature("autodoc", "No available documentation. - -Parameters ----------- -T: TColStd_Array1OfReal -S: GeomAbs_Shape - -Returns -------- -None -") UIntervals; - void UIntervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - - /****************** UPeriod ******************/ - /**** md5 signature: a51837d6412a7de249a4df43b8e9344b ****/ - %feature("compactdefaultargs") UPeriod; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") UPeriod; - Standard_Real UPeriod(); - - /****************** UResolution ******************/ - /**** md5 signature: 14956adece2a5624f93a48c664b9536a ****/ - %feature("compactdefaultargs") UResolution; - %feature("autodoc", "No available documentation. - -Parameters ----------- -R3d: float - -Returns -------- -float -") UResolution; - Standard_Real UResolution(const Standard_Real R3d); - - /****************** UTrim ******************/ - /**** md5 signature: cbb1f328bb843f607160892cca566ac3 ****/ - %feature("compactdefaultargs") UTrim; - %feature("autodoc", "No available documentation. - -Parameters ----------- -First: float -Last: float -Tol: float - -Returns -------- -opencascade::handle -") UTrim; - opencascade::handle UTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - - /****************** VContinuity ******************/ - /**** md5 signature: 04feca7c074e42905bbf6e2b3062dcd8 ****/ - %feature("compactdefaultargs") VContinuity; - %feature("autodoc", "No available documentation. - -Returns -------- -GeomAbs_Shape -") VContinuity; - GeomAbs_Shape VContinuity(); - - /****************** VDegree ******************/ - /**** md5 signature: 4901bdb3b29a5c2410ca93d6a7816f06 ****/ - %feature("compactdefaultargs") VDegree; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") VDegree; - Standard_Integer VDegree(); - - /****************** VIntervals ******************/ - /**** md5 signature: 2919b0dacec67ea3d917062f8f5feecb ****/ - %feature("compactdefaultargs") VIntervals; - %feature("autodoc", "No available documentation. - -Parameters ----------- -T: TColStd_Array1OfReal -S: GeomAbs_Shape - -Returns -------- -None -") VIntervals; - void VIntervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); - - /****************** VPeriod ******************/ - /**** md5 signature: df925493eccad7833ed58c5638da644c ****/ - %feature("compactdefaultargs") VPeriod; - %feature("autodoc", "No available documentation. - -Returns -------- -float -") VPeriod; - Standard_Real VPeriod(); - - /****************** VResolution ******************/ - /**** md5 signature: d6f64a3d2847b3efc73525db1d12e389 ****/ - %feature("compactdefaultargs") VResolution; - %feature("autodoc", "No available documentation. - -Parameters ----------- -R3d: float - -Returns -------- -float -") VResolution; - Standard_Real VResolution(const Standard_Real R3d); - - /****************** VTrim ******************/ - /**** md5 signature: b13205acad04edca4efd92692857303d ****/ - %feature("compactdefaultargs") VTrim; - %feature("autodoc", "No available documentation. - -Parameters ----------- -First: float -Last: float -Tol: float - -Returns -------- -opencascade::handle -") VTrim; - opencascade::handle VTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - - /****************** Value ******************/ - /**** md5 signature: 42959897db65d301eb66b5528ed15f16 ****/ - %feature("compactdefaultargs") Value; - %feature("autodoc", "No available documentation. - -Parameters ----------- -U: float -V: float - -Returns -------- -gp_Pnt -") Value; - gp_Pnt Value(const Standard_Real U, const Standard_Real V); +%make_alias(Adaptor3d_Curve) -}; - - -%make_alias(Adaptor3d_HSurface) - -%extend Adaptor3d_HSurface { +%extend Adaptor3d_Curve { %pythoncode { __repr__ = _dumps_object } @@ -1538,390 +489,390 @@ gp_Pnt class Adaptor3d_HSurfaceTool { public: /****************** AxeOfRevolution ******************/ - /**** md5 signature: 90e7d3ea84c6972f4ac75908f93df788 ****/ + /**** md5 signature: 4e3c848c28744e01b507e4ba35d58b75 ****/ %feature("compactdefaultargs") AxeOfRevolution; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- gp_Ax1 ") AxeOfRevolution; - static gp_Ax1 AxeOfRevolution(const opencascade::handle & S); + static gp_Ax1 AxeOfRevolution(const opencascade::handle & theSurf); /****************** BSpline ******************/ - /**** md5 signature: 58a5333acc8651d1da1d04a77d39832b ****/ + /**** md5 signature: b20eee8852543ecba534da56f02ccdf2 ****/ %feature("compactdefaultargs") BSpline; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- opencascade::handle ") BSpline; - static opencascade::handle BSpline(const opencascade::handle & S); + static opencascade::handle BSpline(const opencascade::handle & theSurf); /****************** BasisCurve ******************/ - /**** md5 signature: a58c4e3cb81636061391721c51a87b99 ****/ + /**** md5 signature: a71b9a72441e0c7b51624acf5d096f74 ****/ %feature("compactdefaultargs") BasisCurve; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- -opencascade::handle +opencascade::handle ") BasisCurve; - static opencascade::handle BasisCurve(const opencascade::handle & S); + static opencascade::handle BasisCurve(const opencascade::handle & theSurf); /****************** BasisSurface ******************/ - /**** md5 signature: 80fd95eda10a05e6b7859979212efda5 ****/ + /**** md5 signature: 6934a2ceed70d84abf626da742f2ca76 ****/ %feature("compactdefaultargs") BasisSurface; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- -opencascade::handle +opencascade::handle ") BasisSurface; - static opencascade::handle BasisSurface(const opencascade::handle & S); + static opencascade::handle BasisSurface(const opencascade::handle & theSurf); /****************** Bezier ******************/ - /**** md5 signature: 38452501aabb3d7fb2dff281b7ea0c2a ****/ + /**** md5 signature: ef3b727f4373bb00634a7bd688d5763b ****/ %feature("compactdefaultargs") Bezier; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- opencascade::handle ") Bezier; - static opencascade::handle Bezier(const opencascade::handle & S); + static opencascade::handle Bezier(const opencascade::handle & theSurf); /****************** Cone ******************/ - /**** md5 signature: 0add92af7a5e48458c7b7d4d1d025330 ****/ + /**** md5 signature: a89b691d80e2017209b45690348a907f ****/ %feature("compactdefaultargs") Cone; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- gp_Cone ") Cone; - static gp_Cone Cone(const opencascade::handle & S); + static gp_Cone Cone(const opencascade::handle & theSurf); /****************** Cylinder ******************/ - /**** md5 signature: e22d57d0f6918a890aa3f83bc07fc114 ****/ + /**** md5 signature: 4f2f78ef4d73dcfbb95115cb8f3fa005 ****/ %feature("compactdefaultargs") Cylinder; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- gp_Cylinder ") Cylinder; - static gp_Cylinder Cylinder(const opencascade::handle & S); + static gp_Cylinder Cylinder(const opencascade::handle & theSurf); /****************** D0 ******************/ - /**** md5 signature: ab791038c5995868ba4c10405c9e646b ****/ + /**** md5 signature: ef0f2f9a8ca6c0c9f75569aea26f4923 ****/ %feature("compactdefaultargs") D0; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -u: float -v: float -P: gp_Pnt +theSurf: Adaptor3d_Surface +theU: float +theV: float +thePnt: gp_Pnt Returns ------- None ") D0; - static void D0(const opencascade::handle & S, const Standard_Real u, const Standard_Real v, gp_Pnt & P); + static void D0(const opencascade::handle & theSurf, const Standard_Real theU, const Standard_Real theV, gp_Pnt & thePnt); /****************** D1 ******************/ - /**** md5 signature: d1d64a7b4d697015545621cd8dfff2d0 ****/ + /**** md5 signature: a7a9c17ffe5446525786782c4d8ec23c ****/ %feature("compactdefaultargs") D1; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -u: float -v: float -P: gp_Pnt -D1u: gp_Vec -D1v: gp_Vec +theSurf: Adaptor3d_Surface +theU: float +theV: float +thePnt: gp_Pnt +theD1U: gp_Vec +theD1V: gp_Vec Returns ------- None ") D1; - static void D1(const opencascade::handle & S, const Standard_Real u, const Standard_Real v, gp_Pnt & P, gp_Vec & D1u, gp_Vec & D1v); + static void D1(const opencascade::handle & theSurf, const Standard_Real theU, const Standard_Real theV, gp_Pnt & thePnt, gp_Vec & theD1U, gp_Vec & theD1V); /****************** D2 ******************/ - /**** md5 signature: 0a4a9b049d40127cada1f6c51cb957cc ****/ + /**** md5 signature: d37322a7acd2c884c1193c7c40124ccd ****/ %feature("compactdefaultargs") D2; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -u: float -v: float -P: gp_Pnt -D1U: gp_Vec -D1V: gp_Vec -D2U: gp_Vec -D2V: gp_Vec -D2UV: gp_Vec +theSurf: Adaptor3d_Surface +theU: float +theV: float +thePnt: gp_Pnt +theD1U: gp_Vec +theD1V: gp_Vec +theD2U: gp_Vec +theD2V: gp_Vec +theD2UV: gp_Vec Returns ------- None ") D2; - static void D2(const opencascade::handle & S, const Standard_Real u, const Standard_Real v, gp_Pnt & P, gp_Vec & D1U, gp_Vec & D1V, gp_Vec & D2U, gp_Vec & D2V, gp_Vec & D2UV); + static void D2(const opencascade::handle & theSurf, const Standard_Real theU, const Standard_Real theV, gp_Pnt & thePnt, gp_Vec & theD1U, gp_Vec & theD1V, gp_Vec & theD2U, gp_Vec & theD2V, gp_Vec & theD2UV); /****************** D3 ******************/ - /**** md5 signature: a77eb3d1c1d59a1ae72354786b564149 ****/ + /**** md5 signature: 548950301f5d431905372eddf5619eb0 ****/ %feature("compactdefaultargs") D3; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -u: float -v: float -P: gp_Pnt -D1U: gp_Vec -D1V: gp_Vec -D2U: gp_Vec -D2V: gp_Vec -D2UV: gp_Vec -D3U: gp_Vec -D3V: gp_Vec -D3UUV: gp_Vec -D3UVV: gp_Vec +theSurf: Adaptor3d_Surface +theU: float +theV: float +thePnt: gp_Pnt +theD1U: gp_Vec +theD1V: gp_Vec +theD2U: gp_Vec +theD2V: gp_Vec +theD2UV: gp_Vec +theD3U: gp_Vec +theD3V: gp_Vec +theD3UUV: gp_Vec +theD3UVV: gp_Vec Returns ------- None ") D3; - static void D3(const opencascade::handle & S, const Standard_Real u, const Standard_Real v, gp_Pnt & P, gp_Vec & D1U, gp_Vec & D1V, gp_Vec & D2U, gp_Vec & D2V, gp_Vec & D2UV, gp_Vec & D3U, gp_Vec & D3V, gp_Vec & D3UUV, gp_Vec & D3UVV); + static void D3(const opencascade::handle & theSurf, const Standard_Real theU, const Standard_Real theV, gp_Pnt & thePnt, gp_Vec & theD1U, gp_Vec & theD1V, gp_Vec & theD2U, gp_Vec & theD2V, gp_Vec & theD2UV, gp_Vec & theD3U, gp_Vec & theD3V, gp_Vec & theD3UUV, gp_Vec & theD3UVV); /****************** DN ******************/ - /**** md5 signature: c5d144984dcddbd88ca698d8031760dc ****/ + /**** md5 signature: 53aedfdee41fb6987ac126268a92d99b ****/ %feature("compactdefaultargs") DN; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -u: float -v: float -Nu: int -Nv: int +theSurf: Adaptor3d_Surface +theU: float +theV: float +theNU: int +theNV: int Returns ------- gp_Vec ") DN; - static gp_Vec DN(const opencascade::handle & S, const Standard_Real u, const Standard_Real v, const Standard_Integer Nu, const Standard_Integer Nv); + static gp_Vec DN(const opencascade::handle & theSurf, const Standard_Real theU, const Standard_Real theV, const Standard_Integer theNU, const Standard_Integer theNV); /****************** Direction ******************/ - /**** md5 signature: 878bac77ef3c09c3eb87688a021f87a4 ****/ + /**** md5 signature: 390f6a317984f3d7d015dcaaccd7ed67 ****/ %feature("compactdefaultargs") Direction; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- gp_Dir ") Direction; - static gp_Dir Direction(const opencascade::handle & S); + static gp_Dir Direction(const opencascade::handle & theSurf); /****************** FirstUParameter ******************/ - /**** md5 signature: 4892ca893e0332cc6c24a5beea0f0783 ****/ + /**** md5 signature: 09a568c2a86c9579d6d807f3e72bc98f ****/ %feature("compactdefaultargs") FirstUParameter; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- float ") FirstUParameter; - static Standard_Real FirstUParameter(const opencascade::handle & S); + static Standard_Real FirstUParameter(const opencascade::handle & theSurf); /****************** FirstVParameter ******************/ - /**** md5 signature: 6ced63b707653ce0c6a47c938a6cdc22 ****/ + /**** md5 signature: 9a27fa1be5f466c88aad4c2e37fb7f0f ****/ %feature("compactdefaultargs") FirstVParameter; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- float ") FirstVParameter; - static Standard_Real FirstVParameter(const opencascade::handle & S); + static Standard_Real FirstVParameter(const opencascade::handle & theSurf); /****************** GetType ******************/ - /**** md5 signature: 4d6525589c7cdb1671b4d191d1237a8f ****/ + /**** md5 signature: 53f66bf2c621ee9ef4e55ebd8ffafedc ****/ %feature("compactdefaultargs") GetType; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- GeomAbs_SurfaceType ") GetType; - static GeomAbs_SurfaceType GetType(const opencascade::handle & S); + static GeomAbs_SurfaceType GetType(const opencascade::handle & theSurf); /****************** IsUClosed ******************/ - /**** md5 signature: 6908c9818fd37b91c797ea5e81ca2274 ****/ + /**** md5 signature: 72572d307cc1b0c468f6fd5b46afb6a4 ****/ %feature("compactdefaultargs") IsUClosed; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- bool ") IsUClosed; - static Standard_Boolean IsUClosed(const opencascade::handle & S); + static Standard_Boolean IsUClosed(const opencascade::handle & theSurf); /****************** IsUPeriodic ******************/ - /**** md5 signature: db6aac7cc37781bc003ba4e14b2d07f5 ****/ + /**** md5 signature: b78a8d5ae8699626e5a192f250e8d734 ****/ %feature("compactdefaultargs") IsUPeriodic; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- bool ") IsUPeriodic; - static Standard_Boolean IsUPeriodic(const opencascade::handle & S); + static Standard_Boolean IsUPeriodic(const opencascade::handle & theSurf); /****************** IsVClosed ******************/ - /**** md5 signature: 691cde9c27fbbfc3b50570b78a9e6c4b ****/ + /**** md5 signature: c45c621ec386b255606174f186649fab ****/ %feature("compactdefaultargs") IsVClosed; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- bool ") IsVClosed; - static Standard_Boolean IsVClosed(const opencascade::handle & S); + static Standard_Boolean IsVClosed(const opencascade::handle & theSurf); /****************** IsVPeriodic ******************/ - /**** md5 signature: 12d9a142396354cc719fcd5cf7000b13 ****/ + /**** md5 signature: f4305ccce01d0fbbd27855b1043d4ce5 ****/ %feature("compactdefaultargs") IsVPeriodic; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- bool ") IsVPeriodic; - static Standard_Boolean IsVPeriodic(const opencascade::handle & S); + static Standard_Boolean IsVPeriodic(const opencascade::handle & theSurf); /****************** LastUParameter ******************/ - /**** md5 signature: ba67c0c1fa5d7330f919d1bca6f5d665 ****/ + /**** md5 signature: 30477e987d8f575f84b54a57ce9f7444 ****/ %feature("compactdefaultargs") LastUParameter; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- float ") LastUParameter; - static Standard_Real LastUParameter(const opencascade::handle & S); + static Standard_Real LastUParameter(const opencascade::handle & theSurf); /****************** LastVParameter ******************/ - /**** md5 signature: b150e0a1c4f0d9eb4f7949dcddb252f3 ****/ + /**** md5 signature: d5915a1291074a4423aec5d175b66bbc ****/ %feature("compactdefaultargs") LastVParameter; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- float ") LastVParameter; - static Standard_Real LastVParameter(const opencascade::handle & S); + static Standard_Real LastVParameter(const opencascade::handle & theSurf); /****************** NbSamplesU ******************/ - /**** md5 signature: 04e6f03e12bf728fc21ea8558f2cff17 ****/ + /**** md5 signature: 50ddbf72eceb31a63e22869e67292178 ****/ %feature("compactdefaultargs") NbSamplesU; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- int ") NbSamplesU; - static Standard_Integer NbSamplesU(const opencascade::handle & S); + static Standard_Integer NbSamplesU(const opencascade::handle & S); /****************** NbSamplesU ******************/ - /**** md5 signature: 97232a7a843cb20e7362e1978825fb60 ****/ + /**** md5 signature: 7ffe816252db97bdbf2950cea2ca2037 ****/ %feature("compactdefaultargs") NbSamplesU; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface u1: float u2: float @@ -1929,31 +880,31 @@ Returns ------- int ") NbSamplesU; - static Standard_Integer NbSamplesU(const opencascade::handle & S, const Standard_Real u1, const Standard_Real u2); + static Standard_Integer NbSamplesU(const opencascade::handle & S, const Standard_Real u1, const Standard_Real u2); /****************** NbSamplesV ******************/ - /**** md5 signature: ed0fd39f45c62dbb556e150cc3779dd1 ****/ + /**** md5 signature: 3604df32e5eb1f507b1b53de19c12208 ****/ %feature("compactdefaultargs") NbSamplesV; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- int ") NbSamplesV; - static Standard_Integer NbSamplesV(const opencascade::handle & S); + static Standard_Integer NbSamplesV(const opencascade::handle & S); /****************** NbSamplesV ******************/ - /**** md5 signature: 3cd7a5ede88f3424fd1fcf0d55b10994 ****/ + /**** md5 signature: c65f614c9f36a107ebd0cfa1e6386566 ****/ %feature("compactdefaultargs") NbSamplesV; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +&: Adaptor3d_Surface v1: float v2: float @@ -1961,248 +912,248 @@ Returns ------- int ") NbSamplesV; - static Standard_Integer NbSamplesV(const opencascade::handle & S, const Standard_Real v1, const Standard_Real v2); + static Standard_Integer NbSamplesV(const opencascade::handle &, const Standard_Real v1, const Standard_Real v2); /****************** NbUIntervals ******************/ - /**** md5 signature: 06670fbd19968f771c7cf5743303f56e ****/ + /**** md5 signature: fef1dad379e290c3cf16fef6ea8c820e ****/ %feature("compactdefaultargs") NbUIntervals; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -Sh: GeomAbs_Shape +theSurf: Adaptor3d_Surface +theSh: GeomAbs_Shape Returns ------- int ") NbUIntervals; - static Standard_Integer NbUIntervals(const opencascade::handle & S, const GeomAbs_Shape Sh); + static Standard_Integer NbUIntervals(const opencascade::handle & theSurf, const GeomAbs_Shape theSh); /****************** NbVIntervals ******************/ - /**** md5 signature: 0f2402374ce95f4746eb22f26cdda151 ****/ + /**** md5 signature: 54fd606ca3f499eebfa8059b5b5d9f74 ****/ %feature("compactdefaultargs") NbVIntervals; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -Sh: GeomAbs_Shape +theSurf: Adaptor3d_Surface +theSh: GeomAbs_Shape Returns ------- int ") NbVIntervals; - static Standard_Integer NbVIntervals(const opencascade::handle & S, const GeomAbs_Shape Sh); + static Standard_Integer NbVIntervals(const opencascade::handle & theSurf, const GeomAbs_Shape theSh); /****************** OffsetValue ******************/ - /**** md5 signature: 8628e64a41658edacca2ab062abb4e25 ****/ + /**** md5 signature: 85e20729392a6c80ca1b75cc991aedbe ****/ %feature("compactdefaultargs") OffsetValue; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- float ") OffsetValue; - static Standard_Real OffsetValue(const opencascade::handle & S); + static Standard_Real OffsetValue(const opencascade::handle & theSurf); /****************** Plane ******************/ - /**** md5 signature: df74b58271a89046ad1f79bfcda17a73 ****/ + /**** md5 signature: 130558349c1c282f4139d902e5e9368f ****/ %feature("compactdefaultargs") Plane; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- gp_Pln ") Plane; - static gp_Pln Plane(const opencascade::handle & S); + static gp_Pln Plane(const opencascade::handle & theSurf); /****************** Sphere ******************/ - /**** md5 signature: 55b57e8330450aaac39340b1d49015eb ****/ + /**** md5 signature: 65542b788a7978c4d53b85508f7b7b04 ****/ %feature("compactdefaultargs") Sphere; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- gp_Sphere ") Sphere; - static gp_Sphere Sphere(const opencascade::handle & S); + static gp_Sphere Sphere(const opencascade::handle & theSurf); /****************** Torus ******************/ - /**** md5 signature: 9357b2e640f24ae106cfe541edab22a5 ****/ + /**** md5 signature: 501d3c96d8b60d053b3044bf8c2ccc47 ****/ %feature("compactdefaultargs") Torus; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- gp_Torus ") Torus; - static gp_Torus Torus(const opencascade::handle & S); + static gp_Torus Torus(const opencascade::handle & theSurf); /****************** UIntervals ******************/ - /**** md5 signature: bb8ba97c1b70204ec451270e9dc16afb ****/ + /**** md5 signature: f279ed888174d088294a26485fe4f7d2 ****/ %feature("compactdefaultargs") UIntervals; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -T: TColStd_Array1OfReal -Sh: GeomAbs_Shape +theSurf: Adaptor3d_Surface +theTab: TColStd_Array1OfReal +theSh: GeomAbs_Shape Returns ------- None ") UIntervals; - static void UIntervals(const opencascade::handle & S, TColStd_Array1OfReal & T, const GeomAbs_Shape Sh); + static void UIntervals(const opencascade::handle & theSurf, TColStd_Array1OfReal & theTab, const GeomAbs_Shape theSh); /****************** UPeriod ******************/ - /**** md5 signature: cd87df3f4725ee2252b4b19c3ac9b2b7 ****/ + /**** md5 signature: 4aeb87257dacd4656faf037c69140a18 ****/ %feature("compactdefaultargs") UPeriod; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- float ") UPeriod; - static Standard_Real UPeriod(const opencascade::handle & S); + static Standard_Real UPeriod(const opencascade::handle & theSurf); /****************** UResolution ******************/ - /**** md5 signature: 4c565bcadc5d4f703ee29da0ea3ea362 ****/ + /**** md5 signature: c6db1a9c95ce8de22a88509a6b426b1c ****/ %feature("compactdefaultargs") UResolution; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -R3d: float +theSurf: Adaptor3d_Surface +theR3d: float Returns ------- float ") UResolution; - static Standard_Real UResolution(const opencascade::handle & S, const Standard_Real R3d); + static Standard_Real UResolution(const opencascade::handle & theSurf, const Standard_Real theR3d); /****************** UTrim ******************/ - /**** md5 signature: 1cbbd5e479fe1a5100e82082f6399560 ****/ + /**** md5 signature: 89490d90b4ba34479d131997cc0a14c7 ****/ %feature("compactdefaultargs") UTrim; %feature("autodoc", "If >= . Parameters ---------- -S: Adaptor3d_HSurface -First: float -Last: float -Tol: float +theSurf: Adaptor3d_Surface +theFirst: float +theLast: float +theTol: float Returns ------- -opencascade::handle +opencascade::handle ") UTrim; - static opencascade::handle UTrim(const opencascade::handle & S, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + static opencascade::handle UTrim(const opencascade::handle & theSurf, const Standard_Real theFirst, const Standard_Real theLast, const Standard_Real theTol); /****************** VIntervals ******************/ - /**** md5 signature: cbfdcf52b860b9930e49be75b47ad472 ****/ + /**** md5 signature: 57ded06c80e1ec6f84e74507a3d38d67 ****/ %feature("compactdefaultargs") VIntervals; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -T: TColStd_Array1OfReal -Sh: GeomAbs_Shape +theSurf: Adaptor3d_Surface +theTab: TColStd_Array1OfReal +theSh: GeomAbs_Shape Returns ------- None ") VIntervals; - static void VIntervals(const opencascade::handle & S, TColStd_Array1OfReal & T, const GeomAbs_Shape Sh); + static void VIntervals(const opencascade::handle & theSurf, TColStd_Array1OfReal & theTab, const GeomAbs_Shape theSh); /****************** VPeriod ******************/ - /**** md5 signature: af77948f430594f60f59da1b1a3f352a ****/ + /**** md5 signature: f67c9c307abb1d8d90b6594b6b0fbd1d ****/ %feature("compactdefaultargs") VPeriod; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- float ") VPeriod; - static Standard_Real VPeriod(const opencascade::handle & S); + static Standard_Real VPeriod(const opencascade::handle & theSurf); /****************** VResolution ******************/ - /**** md5 signature: beaff68487c58bc3f9dc9f19b10bfc18 ****/ + /**** md5 signature: f1bc46b0efcda3053b6da41b831f082f ****/ %feature("compactdefaultargs") VResolution; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -R3d: float +theSurf: Adaptor3d_Surface +theR3d: float Returns ------- float ") VResolution; - static Standard_Real VResolution(const opencascade::handle & S, const Standard_Real R3d); + static Standard_Real VResolution(const opencascade::handle & theSurf, const Standard_Real theR3d); /****************** VTrim ******************/ - /**** md5 signature: b73aad6ae8af513502e7b092d86f6b64 ****/ + /**** md5 signature: 3459ab4e01913199af1a74ede3ba1856 ****/ %feature("compactdefaultargs") VTrim; %feature("autodoc", "If >= . Parameters ---------- -S: Adaptor3d_HSurface -First: float -Last: float -Tol: float +theSurf: Adaptor3d_Surface +theFirst: float +theLast: float +theTol: float Returns ------- -opencascade::handle +opencascade::handle ") VTrim; - static opencascade::handle VTrim(const opencascade::handle & S, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + static opencascade::handle VTrim(const opencascade::handle & theSurf, const Standard_Real theFirst, const Standard_Real theLast, const Standard_Real theTol); /****************** Value ******************/ - /**** md5 signature: ece6694106470c8e1baec9c388e99772 ****/ + /**** md5 signature: 84d566772d6b3b2e19370cd2b0f8b89c ****/ %feature("compactdefaultargs") Value; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -u: float -v: float +theSurf: Adaptor3d_Surface +theU: float +theV: float Returns ------- gp_Pnt ") Value; - static gp_Pnt Value(const opencascade::handle & S, const Standard_Real u, const Standard_Real v); + static gp_Pnt Value(const opencascade::handle & theSurf, const Standard_Real theU, const Standard_Real theV); }; @@ -2273,34 +1224,34 @@ TopAbs_Orientation virtual TopAbs_Orientation Orientation(); /****************** Parameter ******************/ - /**** md5 signature: 5130613bc6d6a66acb1bafa5c8e5a642 ****/ + /**** md5 signature: 20685a87d4a2fb9ff73f5a56e84880d4 ****/ %feature("compactdefaultargs") Parameter; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- float ") Parameter; - virtual Standard_Real Parameter(const opencascade::handle & C); + virtual Standard_Real Parameter(const opencascade::handle & C); /****************** Resolution ******************/ - /**** md5 signature: 1b4390ea04796364541aabde1cc2a726 ****/ + /**** md5 signature: ec6f3df4575cf3700b58ff4c13f33f75 ****/ %feature("compactdefaultargs") Resolution; %feature("autodoc", "Parametric resolution (2d). Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- float ") Resolution; - virtual Standard_Real Resolution(const opencascade::handle & C); + virtual Standard_Real Resolution(const opencascade::handle & C); /****************** Value ******************/ /**** md5 signature: b163ee7405059c08236e9641cb63201d ****/ @@ -2330,13 +1281,13 @@ gp_Pnt2d class Adaptor3d_InterFunc : public math_FunctionWithDerivative { public: /****************** Adaptor3d_InterFunc ******************/ - /**** md5 signature: f73f29df80301a570ee4264743b28a2c ****/ + /**** md5 signature: d6afc00bbf8d3cd088610834f216ab59 ****/ %feature("compactdefaultargs") Adaptor3d_InterFunc; %feature("autodoc", "Build the function u(t)=fixval if fix =1 or v(t)=fixval if fix=2. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d FixVal: float Fix: int @@ -2344,7 +1295,7 @@ Returns ------- None ") Adaptor3d_InterFunc; - Adaptor3d_InterFunc(const opencascade::handle & C, const Standard_Real FixVal, const Standard_Integer Fix); + Adaptor3d_InterFunc(const opencascade::handle & C, const Standard_Real FixVal, const Standard_Integer Fix); /****************** Derivative ******************/ /**** md5 signature: 95e91729f1fb548d9a62f690b302c323 ****/ @@ -2404,7 +1355,7 @@ D: float /************************** * class Adaptor3d_Surface * **************************/ -class Adaptor3d_Surface { +class Adaptor3d_Surface : public Standard_Transient { public: /****************** AxeOfRevolution ******************/ /**** md5 signature: 3debc8f77289017ebe3fc26c5b0a7fde ****/ @@ -2429,26 +1380,26 @@ opencascade::handle virtual opencascade::handle BSpline(); /****************** BasisCurve ******************/ - /**** md5 signature: bbd44bfb0042dae87e45be0bec21fdcc ****/ + /**** md5 signature: 99c15a8a36ba096c01e3a30ab92fff44 ****/ %feature("compactdefaultargs") BasisCurve; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") BasisCurve; - virtual opencascade::handle BasisCurve(); + virtual opencascade::handle BasisCurve(); /****************** BasisSurface ******************/ - /**** md5 signature: 2ba4e25ee7521113eb97a975c6092ca5 ****/ + /**** md5 signature: 530983a0f32601b5771bf2a2dc2ae5d1 ****/ %feature("compactdefaultargs") BasisSurface; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") BasisSurface; - virtual opencascade::handle BasisSurface(); + virtual opencascade::handle BasisSurface(); /****************** Bezier ******************/ /**** md5 signature: 46959653edaff049efd779790fb904a6 ****/ @@ -2900,7 +1851,7 @@ float virtual Standard_Real UResolution(const Standard_Real R3d); /****************** UTrim ******************/ - /**** md5 signature: ce5013d9681905ece95640be6884c721 ****/ + /**** md5 signature: c37e4851cad3cfe0fd1be5953bcbb1dc ****/ %feature("compactdefaultargs") UTrim; %feature("autodoc", "Returns a surface trimmed in the u direction equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -2912,9 +1863,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") UTrim; - virtual opencascade::handle UTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + virtual opencascade::handle UTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** VContinuity ******************/ /**** md5 signature: d072bc9a7996d58b53b4d1e10a7f1999 ****/ @@ -2981,7 +1932,7 @@ float virtual Standard_Real VResolution(const Standard_Real R3d); /****************** VTrim ******************/ - /**** md5 signature: d453f3cacf5408b3f24da02142fddf9e ****/ + /**** md5 signature: feea2421d912ddae74778d2b21c61475 ****/ %feature("compactdefaultargs") VTrim; %feature("autodoc", "Returns a surface trimmed in the v direction between parameters and . is used to test for 3d points confusion. if >= . @@ -2993,9 +1944,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") VTrim; - virtual opencascade::handle VTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + virtual opencascade::handle VTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: 86112fa27918493b04ce20ef2fcddd47 ****/ @@ -3016,6 +1967,8 @@ gp_Pnt }; +%make_alias(Adaptor3d_Surface) + %extend Adaptor3d_Surface { %pythoncode { __repr__ = _dumps_object @@ -3039,24 +1992,24 @@ None Adaptor3d_TopolTool(); /****************** Adaptor3d_TopolTool ******************/ - /**** md5 signature: 65b5c30353d60ab1184a5dd5c69e76eb ****/ + /**** md5 signature: ab0a135902966159ae926769ffdb7052 ****/ %feature("compactdefaultargs") Adaptor3d_TopolTool; %feature("autodoc", "No available documentation. Parameters ---------- -Surface: Adaptor3d_HSurface +Surface: Adaptor3d_Surface Returns ------- None ") Adaptor3d_TopolTool; - Adaptor3d_TopolTool(const opencascade::handle & Surface); + Adaptor3d_TopolTool(const opencascade::handle & Surface); /****************** BSplSamplePnts ******************/ /**** md5 signature: 6903f238d66cf388d6121d16fc28d803 ****/ %feature("compactdefaultargs") BSplSamplePnts; - %feature("autodoc", "Compute the sample-points for the intersections algorithms by adaptive algorithm for bspline surfaces - is used in samplepnts thedefl is a requred deflection thenumin, thenvmin are minimal nb points for u and v. + %feature("autodoc", "Compute the sample-points for the intersections algorithms by adaptive algorithm for bspline surfaces - is used in samplepnts @param thedefl [in] required deflection @param thenumin [in] minimal nb points for u @param thenvmin [in] minimal nb points for v. Parameters ---------- @@ -3182,34 +2135,34 @@ None virtual void Initialize(); /****************** Initialize ******************/ - /**** md5 signature: 0cee070a5833f0f0a9e2bdada90ca309 ****/ + /**** md5 signature: faffacbbf54c7a186e23fb682d81e648 ****/ %feature("compactdefaultargs") Initialize; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- None ") Initialize; - virtual void Initialize(const opencascade::handle & S); + virtual void Initialize(const opencascade::handle & S); /****************** Initialize ******************/ - /**** md5 signature: 08fd10f63f31b9e0ebacfa174e39505b ****/ + /**** md5 signature: 20b22aee7c221a24f9ddddb5f04f3ad2 ****/ %feature("compactdefaultargs") Initialize; %feature("autodoc", "No available documentation. Parameters ---------- -Curve: Adaptor2d_HCurve2d +Curve: Adaptor2d_Curve2d Returns ------- None ") Initialize; - virtual void Initialize(const opencascade::handle & Curve); + virtual void Initialize(const opencascade::handle & Curve); /****************** IsThePointOn ******************/ /**** md5 signature: 28addf6263169f07c643732d758cdb38 ****/ @@ -3318,19 +2271,19 @@ None virtual void NextVertex(); /****************** Orientation ******************/ - /**** md5 signature: 3913502ac99bc8838af6331a441cce6d ****/ + /**** md5 signature: 2ec1f29b131dd0ba8f7295bc408c863d ****/ %feature("compactdefaultargs") Orientation; %feature("autodoc", "If the function returns the orientation of the arc. if the orientation is forward or reversed, the arc is a 'real' limit of the surface. if the orientation is internal or external, the arc is considered as an arc on the surface. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- TopAbs_Orientation ") Orientation; - virtual TopAbs_Orientation Orientation(const opencascade::handle & C); + virtual TopAbs_Orientation Orientation(const opencascade::handle & C); /****************** Orientation ******************/ /**** md5 signature: b97399854b9802139edc16aa1fd0c067 ****/ @@ -3365,7 +2318,7 @@ gp_Pnt /****************** SamplePnts ******************/ /**** md5 signature: cb1bbdcdfeca14f92fa49d557a8ab965 ****/ %feature("compactdefaultargs") SamplePnts; - %feature("autodoc", "Compute the sample-points for the intersections algorithms by adaptive algorithm for bspline surfaces. for other surfaces algorithm is the same as in method computesamplepoints(), but only fill arrays of u and v sample parameters; thedefl is a requred deflection thenumin, thenvmin are minimal nb points for u and v. + %feature("autodoc", "Compute the sample-points for the intersections algorithms by adaptive algorithm for bspline surfaces. for other surfaces algorithm is the same as in method computesamplepoints(), but only fill arrays of u and v sample parameters; @param thedefl [in] a required deflection @param thenumin [in] minimal nb points for u @param thenvmin [in] minimal nb points for v. Parameters ---------- @@ -3397,19 +2350,19 @@ None virtual void SamplePoint(const Standard_Integer Index, gp_Pnt2d & P2d, gp_Pnt & P3d); /****************** Tol3d ******************/ - /**** md5 signature: d6bb51f14db6a1999559b2b95dcc6396 ****/ + /**** md5 signature: ca38e336a92c0a050652dac5bd784e6b ****/ %feature("compactdefaultargs") Tol3d; %feature("autodoc", "Returns 3d tolerance of the arc c. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- float ") Tol3d; - virtual Standard_Real Tol3d(const opencascade::handle & C); + virtual Standard_Real Tol3d(const opencascade::handle & C); /****************** Tol3d ******************/ /**** md5 signature: e2e5362802ebc0fb247e0d27af1a66c7 ****/ @@ -3457,15 +2410,15 @@ None void VParameters(TColStd_Array1OfReal & theArray); /****************** Value ******************/ - /**** md5 signature: 15a818c10874d0bd609bf62fa887c259 ****/ + /**** md5 signature: 69341486cc398dcbf57c11fda47f97ca ****/ %feature("compactdefaultargs") Value; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") Value; - virtual opencascade::handle Value(); + virtual opencascade::handle Value(); /****************** Vertex ******************/ /**** md5 signature: 5fa61bdbc5145c1abf55279009e1141b ****/ @@ -3506,35 +2459,35 @@ None Adaptor3d_CurveOnSurface(); /****************** Adaptor3d_CurveOnSurface ******************/ - /**** md5 signature: 907501a4d5d346465b960b605564db19 ****/ + /**** md5 signature: 43855c057bcf63a011b7ed029a6545e6 ****/ %feature("compactdefaultargs") Adaptor3d_CurveOnSurface; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- None ") Adaptor3d_CurveOnSurface; - Adaptor3d_CurveOnSurface(const opencascade::handle & S); + Adaptor3d_CurveOnSurface(const opencascade::handle & S); /****************** Adaptor3d_CurveOnSurface ******************/ - /**** md5 signature: 49787844bd3fe95762d61ccf440b44f0 ****/ + /**** md5 signature: b05d3f0d46c0fd08ffcffadc70a4838b ****/ %feature("compactdefaultargs") Adaptor3d_CurveOnSurface; %feature("autodoc", "Creates a curveonsurface from the 2d curve and the surface . Parameters ---------- -C: Adaptor2d_HCurve2d -S: Adaptor3d_HSurface +C: Adaptor2d_Curve2d +S: Adaptor3d_Surface Returns ------- None ") Adaptor3d_CurveOnSurface; - Adaptor3d_CurveOnSurface(const opencascade::handle & C, const opencascade::handle & S); + Adaptor3d_CurveOnSurface(const opencascade::handle & C, const opencascade::handle & S); /****************** BSpline ******************/ /**** md5 signature: 3ccc0d851302bffb5de6344e3eb3e58d ****/ @@ -3559,26 +2512,26 @@ opencascade::handle opencascade::handle Bezier(); /****************** ChangeCurve ******************/ - /**** md5 signature: a9bfe879bc2aa9995956b31559c0086a ****/ + /**** md5 signature: 0751d1f9e5791d4ab52f473cba6aa712 ****/ %feature("compactdefaultargs") ChangeCurve; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") ChangeCurve; - opencascade::handle & ChangeCurve(); + opencascade::handle & ChangeCurve(); /****************** ChangeSurface ******************/ - /**** md5 signature: ba63a52eafbfff0b62e3d214999c2980 ****/ + /**** md5 signature: b8c30fe30999884649c5e492e4d3ae1b ****/ %feature("compactdefaultargs") ChangeSurface; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") ChangeSurface; - opencascade::handle & ChangeSurface(); + opencascade::handle & ChangeSurface(); /****************** Circle ******************/ /**** md5 signature: 5f382e7a6af009845ea6e16d54814298 ****/ @@ -3722,26 +2675,26 @@ float Standard_Real FirstParameter(); /****************** GetCurve ******************/ - /**** md5 signature: 1a141bee0abfe05162f2753ed772cb69 ****/ + /**** md5 signature: 59faf580a052d0534228f92dbc8fa8ec ****/ %feature("compactdefaultargs") GetCurve; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") GetCurve; - const opencascade::handle & GetCurve(); + const opencascade::handle & GetCurve(); /****************** GetSurface ******************/ - /**** md5 signature: a4a1c7c92c718762dc89945deb151cb7 ****/ + /**** md5 signature: 56dff0248d5d8fc9e2bd341c8dad1556 ****/ %feature("compactdefaultargs") GetSurface; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") GetSurface; - const opencascade::handle & GetSurface(); + const opencascade::handle & GetSurface(); /****************** GetType ******************/ /**** md5 signature: 0ad61dcbb5497908c1b536e766f0fcb9 ****/ @@ -3768,7 +2721,7 @@ gp_Hypr /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -3837,50 +2790,50 @@ gp_Lin gp_Lin Line(); /****************** Load ******************/ - /**** md5 signature: 4e28ad4f267fb2bf6f257a9658f019ac ****/ + /**** md5 signature: 5fdedc45f7f3e3286603c8152dd5d5ba ****/ %feature("compactdefaultargs") Load; %feature("autodoc", "Changes the surface. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- None ") Load; - void Load(const opencascade::handle & S); + void Load(const opencascade::handle & S); /****************** Load ******************/ - /**** md5 signature: 5645940cb6fc8e3a4d71d4ef9cd41ca5 ****/ + /**** md5 signature: ddca440597e53b1ed736274984f99921 ****/ %feature("compactdefaultargs") Load; %feature("autodoc", "Changes the 2d curve. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- None ") Load; - void Load(const opencascade::handle & C); + void Load(const opencascade::handle & C); /****************** Load ******************/ - /**** md5 signature: 65ffbdf7da97e8c51d8c25bb157cecdc ****/ + /**** md5 signature: 30aac2c787964491ce82a24360e0e4be ****/ %feature("compactdefaultargs") Load; %feature("autodoc", "Load both curve and surface. Parameters ---------- -C: Adaptor2d_HCurve2d -S: Adaptor3d_HSurface +C: Adaptor2d_Curve2d +S: Adaptor3d_Surface Returns ------- None ") Load; - void Load(const opencascade::handle & C, const opencascade::handle & S); + void Load(const opencascade::handle & C, const opencascade::handle & S); /****************** NbIntervals ******************/ /**** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ****/ @@ -3957,7 +2910,7 @@ float Standard_Real Resolution(const Standard_Real R3d); /****************** Trim ******************/ - /**** md5 signature: 113944489c8ce9efcb5cb2d44fff51d7 ****/ + /**** md5 signature: 40a46ffe7379c6d919968b501b8343a5 ****/ %feature("compactdefaultargs") Trim; %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -3969,9 +2922,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: d7f310c73762cbaa285ace0a141bc7bf ****/ @@ -3991,187 +2944,9 @@ gp_Pnt }; -%extend Adaptor3d_CurveOnSurface { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/********************************** -* class Adaptor3d_HCurveOnSurface * -**********************************/ -class Adaptor3d_HCurveOnSurface : public Adaptor3d_HCurve { - public: - /****************** Adaptor3d_HCurveOnSurface ******************/ - /**** md5 signature: 3db8fbcc8219ab31e2829c9eebfdad41 ****/ - %feature("compactdefaultargs") Adaptor3d_HCurveOnSurface; - %feature("autodoc", "Creates an empty genhcurve. - -Returns -------- -None -") Adaptor3d_HCurveOnSurface; - Adaptor3d_HCurveOnSurface(); - - /****************** Adaptor3d_HCurveOnSurface ******************/ - /**** md5 signature: 33792ca3ecc239391e088e4b3daf2fd4 ****/ - %feature("compactdefaultargs") Adaptor3d_HCurveOnSurface; - %feature("autodoc", "Creates a genhcurve from a curve. - -Parameters ----------- -C: Adaptor3d_CurveOnSurface - -Returns -------- -None -") Adaptor3d_HCurveOnSurface; - Adaptor3d_HCurveOnSurface(const Adaptor3d_CurveOnSurface & C); - - /****************** ChangeCurve ******************/ - /**** md5 signature: 973306c79b1d7c34992bbc043a779c8d ****/ - %feature("compactdefaultargs") ChangeCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -Adaptor3d_CurveOnSurface -") ChangeCurve; - Adaptor3d_CurveOnSurface & ChangeCurve(); - - /****************** Curve ******************/ - /**** md5 signature: a89f0959dbb9c3c030843720c3636148 ****/ - %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") Curve; - const Adaptor3d_Curve & Curve(); - - /****************** GetCurve ******************/ - /**** md5 signature: 73b397b3522011e6948956523664e20c ****/ - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") GetCurve; - Adaptor3d_Curve & GetCurve(); - - /****************** Set ******************/ - /**** md5 signature: 562c69bc1f82ad2a8d712b5082d022d6 ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve. - -Parameters ----------- -C: Adaptor3d_CurveOnSurface - -Returns -------- -None -") Set; - void Set(const Adaptor3d_CurveOnSurface & C); - -}; - - -%make_alias(Adaptor3d_HCurveOnSurface) - -%extend Adaptor3d_HCurveOnSurface { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/**************************** -* class Adaptor3d_HIsoCurve * -****************************/ -class Adaptor3d_HIsoCurve : public Adaptor3d_HCurve { - public: - /****************** Adaptor3d_HIsoCurve ******************/ - /**** md5 signature: 38c12067a8274569ac76e96dd2ad5b57 ****/ - %feature("compactdefaultargs") Adaptor3d_HIsoCurve; - %feature("autodoc", "Creates an empty genhcurve. - -Returns -------- -None -") Adaptor3d_HIsoCurve; - Adaptor3d_HIsoCurve(); - - /****************** Adaptor3d_HIsoCurve ******************/ - /**** md5 signature: 99ff55f1373594ff2081c604c3d6f4bd ****/ - %feature("compactdefaultargs") Adaptor3d_HIsoCurve; - %feature("autodoc", "Creates a genhcurve from a curve. - -Parameters ----------- -C: Adaptor3d_IsoCurve - -Returns -------- -None -") Adaptor3d_HIsoCurve; - Adaptor3d_HIsoCurve(const Adaptor3d_IsoCurve & C); - - /****************** ChangeCurve ******************/ - /**** md5 signature: 7360f7b4a871ff2011dc152e993c965a ****/ - %feature("compactdefaultargs") ChangeCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -Adaptor3d_IsoCurve -") ChangeCurve; - Adaptor3d_IsoCurve & ChangeCurve(); - - /****************** Curve ******************/ - /**** md5 signature: a89f0959dbb9c3c030843720c3636148 ****/ - %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") Curve; - const Adaptor3d_Curve & Curve(); - - /****************** GetCurve ******************/ - /**** md5 signature: 73b397b3522011e6948956523664e20c ****/ - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") GetCurve; - Adaptor3d_Curve & GetCurve(); - - /****************** Set ******************/ - /**** md5 signature: 2a8075f8bdbdf17eaf0a0ffd3dba6a6f ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve. - -Parameters ----------- -C: Adaptor3d_IsoCurve - -Returns -------- -None -") Set; - void Set(const Adaptor3d_IsoCurve & C); - -}; - - -%make_alias(Adaptor3d_HIsoCurve) +%make_alias(Adaptor3d_CurveOnSurface) -%extend Adaptor3d_HIsoCurve { +%extend Adaptor3d_CurveOnSurface { %pythoncode { __repr__ = _dumps_object } @@ -4194,28 +2969,28 @@ None Adaptor3d_IsoCurve(); /****************** Adaptor3d_IsoCurve ******************/ - /**** md5 signature: fc594fa4f61ccaf564bf7a2a95ec0013 ****/ + /**** md5 signature: 607c0557eaedda13d060731388d0c004 ****/ %feature("compactdefaultargs") Adaptor3d_IsoCurve; %feature("autodoc", "The surface is loaded. the iso is set to noneiso. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- None ") Adaptor3d_IsoCurve; - Adaptor3d_IsoCurve(const opencascade::handle & S); + Adaptor3d_IsoCurve(const opencascade::handle & S); /****************** Adaptor3d_IsoCurve ******************/ - /**** md5 signature: 04b9da7d4b70469d39a98b4a1142088b ****/ + /**** md5 signature: bfbcfabf7a1c156890f141f7adbff1f4 ****/ %feature("compactdefaultargs") Adaptor3d_IsoCurve; %feature("autodoc", "Creates an isocurve curve. iso defines the type (isou or isou) param defines the value of the iso. the bounds of the iso are the bounds of the surface. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Iso: GeomAbs_IsoType Param: float @@ -4223,16 +2998,16 @@ Returns ------- None ") Adaptor3d_IsoCurve; - Adaptor3d_IsoCurve(const opencascade::handle & S, const GeomAbs_IsoType Iso, const Standard_Real Param); + Adaptor3d_IsoCurve(const opencascade::handle & S, const GeomAbs_IsoType Iso, const Standard_Real Param); /****************** Adaptor3d_IsoCurve ******************/ - /**** md5 signature: 4153a58b25ea8131b6b8831b2624280a ****/ + /**** md5 signature: e4dee8adea539086aa810249d6783f57 ****/ %feature("compactdefaultargs") Adaptor3d_IsoCurve; %feature("autodoc", "Create an isocurve curve. iso defines the type (isou or isov). param defines the value of the iso. wfirst,wlast define the bounds of the iso. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Iso: GeomAbs_IsoType Param: float WFirst: float @@ -4242,7 +3017,7 @@ Returns ------- None ") Adaptor3d_IsoCurve; - Adaptor3d_IsoCurve(const opencascade::handle & S, const GeomAbs_IsoType Iso, const Standard_Real Param, const Standard_Real WFirst, const Standard_Real WLast); + Adaptor3d_IsoCurve(const opencascade::handle & S, const GeomAbs_IsoType Iso, const Standard_Real Param, const Standard_Real WFirst, const Standard_Real WLast); /****************** BSpline ******************/ /**** md5 signature: 3ccc0d851302bffb5de6344e3eb3e58d ****/ @@ -4397,7 +3172,7 @@ gp_Elips gp_Elips Ellipse(); /****************** FirstParameter ******************/ - /**** md5 signature: eb9ebe94572bd67588fe8811eac261fb ****/ + /**** md5 signature: 93c381754667baab23468a195644e410 ****/ %feature("compactdefaultargs") FirstParameter; %feature("autodoc", "No available documentation. @@ -4405,7 +3180,7 @@ Returns ------- float ") FirstParameter; - Standard_Real FirstParameter(); + virtual Standard_Real FirstParameter(); /****************** GetType ******************/ /**** md5 signature: 0ad61dcbb5497908c1b536e766f0fcb9 ****/ @@ -4432,7 +3207,7 @@ gp_Hypr /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -4479,7 +3254,7 @@ bool Standard_Boolean IsRational(); /****************** Iso ******************/ - /**** md5 signature: ce620a6c2a00969fbb408f76d434f57e ****/ + /**** md5 signature: ab18592b64592fda4c22a1eda51e637d ****/ %feature("compactdefaultargs") Iso; %feature("autodoc", "No available documentation. @@ -4490,7 +3265,7 @@ GeomAbs_IsoType GeomAbs_IsoType Iso(); /****************** LastParameter ******************/ - /**** md5 signature: cb4925a2d4a451ceec8f6ad486530f9c ****/ + /**** md5 signature: a2893a92f9c4af09acb0cd59d959d964 ****/ %feature("compactdefaultargs") LastParameter; %feature("autodoc", "No available documentation. @@ -4498,7 +3273,7 @@ Returns ------- float ") LastParameter; - Standard_Real LastParameter(); + virtual Standard_Real LastParameter(); /****************** Line ******************/ /**** md5 signature: cf28f5541e4e744dd8038e2a9ac75a8f ****/ @@ -4512,19 +3287,19 @@ gp_Lin gp_Lin Line(); /****************** Load ******************/ - /**** md5 signature: 4e28ad4f267fb2bf6f257a9658f019ac ****/ + /**** md5 signature: 5fdedc45f7f3e3286603c8152dd5d5ba ****/ %feature("compactdefaultargs") Load; %feature("autodoc", "Changes the surface. the iso is reset to noneiso. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- None ") Load; - void Load(const opencascade::handle & S); + void Load(const opencascade::handle & S); /****************** Load ******************/ /**** md5 signature: 66ff0843f86cebdbf3cebf29ed66e909 ****/ @@ -4609,7 +3384,7 @@ gp_Parab gp_Parab Parabola(); /****************** Parameter ******************/ - /**** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ****/ + /**** md5 signature: a1c30d1196ee452cd8e422f1e25a0fbc ****/ %feature("compactdefaultargs") Parameter; %feature("autodoc", "No available documentation. @@ -4646,18 +3421,18 @@ float Standard_Real Resolution(const Standard_Real R3d); /****************** Surface ******************/ - /**** md5 signature: 81999f08eca68bee259ba395fdac1a30 ****/ + /**** md5 signature: 36b438ec6a4fa276d7bb47e4d8b0376a ****/ %feature("compactdefaultargs") Surface; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") Surface; - const opencascade::handle & Surface(); + const opencascade::handle & Surface(); /****************** Trim ******************/ - /**** md5 signature: 113944489c8ce9efcb5cb2d44fff51d7 ****/ + /**** md5 signature: 40a46ffe7379c6d919968b501b8343a5 ****/ %feature("compactdefaultargs") Trim; %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -4669,9 +3444,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: d7f310c73762cbaa285ace0a141bc7bf ****/ @@ -4691,6 +3466,8 @@ gp_Pnt }; +%make_alias(Adaptor3d_IsoCurve) + %extend Adaptor3d_IsoCurve { %pythoncode { __repr__ = _dumps_object diff --git a/src/SWIG_files/wrapper/Adaptor3d.pyi b/src/SWIG_files/wrapper/Adaptor3d.pyi index ffd514c7c..6f90b8df6 100644 --- a/src/SWIG_files/wrapper/Adaptor3d.pyi +++ b/src/SWIG_files/wrapper/Adaptor3d.pyi @@ -11,11 +11,8 @@ from OCC.Core.TopAbs import * from OCC.Core.Adaptor2d import * from OCC.Core.math import * -Adaptor3d_CurveOnSurfacePtr = NewType('Adaptor3d_CurveOnSurfacePtr', Adaptor3d_CurveOnSurface) -Adaptor3d_CurvePtr = NewType('Adaptor3d_CurvePtr', Adaptor3d_Curve) -Adaptor3d_SurfacePtr = NewType('Adaptor3d_SurfacePtr', Adaptor3d_Surface) -class Adaptor3d_Curve: +class Adaptor3d_Curve(Standard_Transient): def BSpline(self) -> Geom_BSplineCurve: ... def Bezier(self) -> Geom_BezierCurve: ... def Circle(self) -> gp_Circ: ... @@ -43,179 +40,93 @@ class Adaptor3d_Curve: def Parabola(self) -> gp_Parab: ... def Period(self) -> float: ... def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HCurve: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Curve: ... def Value(self, U: float) -> gp_Pnt: ... -class Adaptor3d_HCurve(Standard_Transient): - def BSpline(self) -> Geom_BSplineCurve: ... - def Bezier(self) -> Geom_BezierCurve: ... - def Circle(self) -> gp_Circ: ... - def Continuity(self) -> GeomAbs_Shape: ... - def Curve(self) -> Adaptor3d_Curve: ... - def D0(self, U: float, P: gp_Pnt) -> None: ... - def D1(self, U: float, P: gp_Pnt, V: gp_Vec) -> None: ... - def D2(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... - def D3(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec) -> None: ... - def DN(self, U: float, N: int) -> gp_Vec: ... - def Degree(self) -> int: ... - def Ellipse(self) -> gp_Elips: ... - def FirstParameter(self) -> float: ... - def GetCurve(self) -> Adaptor3d_Curve: ... - def GetType(self) -> GeomAbs_CurveType: ... - def Hyperbola(self) -> gp_Hypr: ... - def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def IsClosed(self) -> bool: ... - def IsPeriodic(self) -> bool: ... - def IsRational(self) -> bool: ... - def LastParameter(self) -> float: ... - def Line(self) -> gp_Lin: ... - def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbKnots(self) -> int: ... - def NbPoles(self) -> int: ... - def OffsetCurve(self) -> Geom_OffsetCurve: ... - def Parabola(self) -> gp_Parab: ... - def Period(self) -> float: ... - def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HCurve: ... - def Value(self, U: float) -> gp_Pnt: ... - -class Adaptor3d_HSurface(Standard_Transient): - def AxeOfRevolution(self) -> gp_Ax1: ... - def BSpline(self) -> Geom_BSplineSurface: ... - def BasisCurve(self) -> Adaptor3d_HCurve: ... - def BasisSurface(self) -> Adaptor3d_HSurface: ... - def Bezier(self) -> Geom_BezierSurface: ... - def Cone(self) -> gp_Cone: ... - def Cylinder(self) -> gp_Cylinder: ... - def D0(self, U: float, V: float, P: gp_Pnt) -> None: ... - def D1(self, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec) -> None: ... - def D2(self, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec) -> None: ... - def D3(self, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec, D3U: gp_Vec, D3V: gp_Vec, D3UUV: gp_Vec, D3UVV: gp_Vec) -> None: ... - def DN(self, U: float, V: float, Nu: int, Nv: int) -> gp_Vec: ... - def Direction(self) -> gp_Dir: ... - def FirstUParameter(self) -> float: ... - def FirstVParameter(self) -> float: ... - def GetType(self) -> GeomAbs_SurfaceType: ... - def IsUClosed(self) -> bool: ... - def IsUPeriodic(self) -> bool: ... - def IsURational(self) -> bool: ... - def IsVClosed(self) -> bool: ... - def IsVPeriodic(self) -> bool: ... - def IsVRational(self) -> bool: ... - def LastUParameter(self) -> float: ... - def LastVParameter(self) -> float: ... - def NbUIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbUKnots(self) -> int: ... - def NbUPoles(self) -> int: ... - def NbVIntervals(self, S: GeomAbs_Shape) -> int: ... - def NbVKnots(self) -> int: ... - def NbVPoles(self) -> int: ... - def OffsetValue(self) -> float: ... - def Plane(self) -> gp_Pln: ... - def Sphere(self) -> gp_Sphere: ... - def Surface(self) -> Adaptor3d_Surface: ... - def Torus(self) -> gp_Torus: ... - def UContinuity(self) -> GeomAbs_Shape: ... - def UDegree(self) -> int: ... - def UIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def UPeriod(self) -> float: ... - def UResolution(self, R3d: float) -> float: ... - def UTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... - def VContinuity(self) -> GeomAbs_Shape: ... - def VDegree(self) -> int: ... - def VIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... - def VPeriod(self) -> float: ... - def VResolution(self, R3d: float) -> float: ... - def VTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... - def Value(self, U: float, V: float) -> gp_Pnt: ... - class Adaptor3d_HSurfaceTool: @staticmethod - def AxeOfRevolution(S: Adaptor3d_HSurface) -> gp_Ax1: ... + def AxeOfRevolution(theSurf: Adaptor3d_Surface) -> gp_Ax1: ... @staticmethod - def BSpline(S: Adaptor3d_HSurface) -> Geom_BSplineSurface: ... + def BSpline(theSurf: Adaptor3d_Surface) -> Geom_BSplineSurface: ... @staticmethod - def BasisCurve(S: Adaptor3d_HSurface) -> Adaptor3d_HCurve: ... + def BasisCurve(theSurf: Adaptor3d_Surface) -> Adaptor3d_Curve: ... @staticmethod - def BasisSurface(S: Adaptor3d_HSurface) -> Adaptor3d_HSurface: ... + def BasisSurface(theSurf: Adaptor3d_Surface) -> Adaptor3d_Surface: ... @staticmethod - def Bezier(S: Adaptor3d_HSurface) -> Geom_BezierSurface: ... + def Bezier(theSurf: Adaptor3d_Surface) -> Geom_BezierSurface: ... @staticmethod - def Cone(S: Adaptor3d_HSurface) -> gp_Cone: ... + def Cone(theSurf: Adaptor3d_Surface) -> gp_Cone: ... @staticmethod - def Cylinder(S: Adaptor3d_HSurface) -> gp_Cylinder: ... + def Cylinder(theSurf: Adaptor3d_Surface) -> gp_Cylinder: ... @staticmethod - def D0(S: Adaptor3d_HSurface, u: float, v: float, P: gp_Pnt) -> None: ... + def D0(theSurf: Adaptor3d_Surface, theU: float, theV: float, thePnt: gp_Pnt) -> None: ... @staticmethod - def D1(S: Adaptor3d_HSurface, u: float, v: float, P: gp_Pnt, D1u: gp_Vec, D1v: gp_Vec) -> None: ... + def D1(theSurf: Adaptor3d_Surface, theU: float, theV: float, thePnt: gp_Pnt, theD1U: gp_Vec, theD1V: gp_Vec) -> None: ... @staticmethod - def D2(S: Adaptor3d_HSurface, u: float, v: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec) -> None: ... + def D2(theSurf: Adaptor3d_Surface, theU: float, theV: float, thePnt: gp_Pnt, theD1U: gp_Vec, theD1V: gp_Vec, theD2U: gp_Vec, theD2V: gp_Vec, theD2UV: gp_Vec) -> None: ... @staticmethod - def D3(S: Adaptor3d_HSurface, u: float, v: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, D2UV: gp_Vec, D3U: gp_Vec, D3V: gp_Vec, D3UUV: gp_Vec, D3UVV: gp_Vec) -> None: ... + def D3(theSurf: Adaptor3d_Surface, theU: float, theV: float, thePnt: gp_Pnt, theD1U: gp_Vec, theD1V: gp_Vec, theD2U: gp_Vec, theD2V: gp_Vec, theD2UV: gp_Vec, theD3U: gp_Vec, theD3V: gp_Vec, theD3UUV: gp_Vec, theD3UVV: gp_Vec) -> None: ... @staticmethod - def DN(S: Adaptor3d_HSurface, u: float, v: float, Nu: int, Nv: int) -> gp_Vec: ... + def DN(theSurf: Adaptor3d_Surface, theU: float, theV: float, theNU: int, theNV: int) -> gp_Vec: ... @staticmethod - def Direction(S: Adaptor3d_HSurface) -> gp_Dir: ... + def Direction(theSurf: Adaptor3d_Surface) -> gp_Dir: ... @staticmethod - def FirstUParameter(S: Adaptor3d_HSurface) -> float: ... + def FirstUParameter(theSurf: Adaptor3d_Surface) -> float: ... @staticmethod - def FirstVParameter(S: Adaptor3d_HSurface) -> float: ... + def FirstVParameter(theSurf: Adaptor3d_Surface) -> float: ... @staticmethod - def GetType(S: Adaptor3d_HSurface) -> GeomAbs_SurfaceType: ... + def GetType(theSurf: Adaptor3d_Surface) -> GeomAbs_SurfaceType: ... @staticmethod - def IsUClosed(S: Adaptor3d_HSurface) -> bool: ... + def IsUClosed(theSurf: Adaptor3d_Surface) -> bool: ... @staticmethod - def IsUPeriodic(S: Adaptor3d_HSurface) -> bool: ... + def IsUPeriodic(theSurf: Adaptor3d_Surface) -> bool: ... @staticmethod - def IsVClosed(S: Adaptor3d_HSurface) -> bool: ... + def IsVClosed(theSurf: Adaptor3d_Surface) -> bool: ... @staticmethod - def IsVPeriodic(S: Adaptor3d_HSurface) -> bool: ... + def IsVPeriodic(theSurf: Adaptor3d_Surface) -> bool: ... @staticmethod - def LastUParameter(S: Adaptor3d_HSurface) -> float: ... + def LastUParameter(theSurf: Adaptor3d_Surface) -> float: ... @staticmethod - def LastVParameter(S: Adaptor3d_HSurface) -> float: ... + def LastVParameter(theSurf: Adaptor3d_Surface) -> float: ... @overload @staticmethod - def NbSamplesU(S: Adaptor3d_HSurface) -> int: ... + def NbSamplesU(S: Adaptor3d_Surface) -> int: ... @overload @staticmethod - def NbSamplesU(S: Adaptor3d_HSurface, u1: float, u2: float) -> int: ... + def NbSamplesU(S: Adaptor3d_Surface, u1: float, u2: float) -> int: ... @overload @staticmethod - def NbSamplesV(S: Adaptor3d_HSurface) -> int: ... - @overload + def NbSamplesV(S: Adaptor3d_Surface) -> int: ... @staticmethod - def NbSamplesV(S: Adaptor3d_HSurface, v1: float, v2: float) -> int: ... + def NbUIntervals(theSurf: Adaptor3d_Surface, theSh: GeomAbs_Shape) -> int: ... @staticmethod - def NbUIntervals(S: Adaptor3d_HSurface, Sh: GeomAbs_Shape) -> int: ... + def NbVIntervals(theSurf: Adaptor3d_Surface, theSh: GeomAbs_Shape) -> int: ... @staticmethod - def NbVIntervals(S: Adaptor3d_HSurface, Sh: GeomAbs_Shape) -> int: ... + def OffsetValue(theSurf: Adaptor3d_Surface) -> float: ... @staticmethod - def OffsetValue(S: Adaptor3d_HSurface) -> float: ... + def Plane(theSurf: Adaptor3d_Surface) -> gp_Pln: ... @staticmethod - def Plane(S: Adaptor3d_HSurface) -> gp_Pln: ... + def Sphere(theSurf: Adaptor3d_Surface) -> gp_Sphere: ... @staticmethod - def Sphere(S: Adaptor3d_HSurface) -> gp_Sphere: ... + def Torus(theSurf: Adaptor3d_Surface) -> gp_Torus: ... @staticmethod - def Torus(S: Adaptor3d_HSurface) -> gp_Torus: ... + def UIntervals(theSurf: Adaptor3d_Surface, theTab: TColStd_Array1OfReal, theSh: GeomAbs_Shape) -> None: ... @staticmethod - def UIntervals(S: Adaptor3d_HSurface, T: TColStd_Array1OfReal, Sh: GeomAbs_Shape) -> None: ... + def UPeriod(theSurf: Adaptor3d_Surface) -> float: ... @staticmethod - def UPeriod(S: Adaptor3d_HSurface) -> float: ... + def UResolution(theSurf: Adaptor3d_Surface, theR3d: float) -> float: ... @staticmethod - def UResolution(S: Adaptor3d_HSurface, R3d: float) -> float: ... + def UTrim(theSurf: Adaptor3d_Surface, theFirst: float, theLast: float, theTol: float) -> Adaptor3d_Surface: ... @staticmethod - def UTrim(S: Adaptor3d_HSurface, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... + def VIntervals(theSurf: Adaptor3d_Surface, theTab: TColStd_Array1OfReal, theSh: GeomAbs_Shape) -> None: ... @staticmethod - def VIntervals(S: Adaptor3d_HSurface, T: TColStd_Array1OfReal, Sh: GeomAbs_Shape) -> None: ... + def VPeriod(theSurf: Adaptor3d_Surface) -> float: ... @staticmethod - def VPeriod(S: Adaptor3d_HSurface) -> float: ... + def VResolution(theSurf: Adaptor3d_Surface, theR3d: float) -> float: ... @staticmethod - def VResolution(S: Adaptor3d_HSurface, R3d: float) -> float: ... + def VTrim(theSurf: Adaptor3d_Surface, theFirst: float, theLast: float, theTol: float) -> Adaptor3d_Surface: ... @staticmethod - def VTrim(S: Adaptor3d_HSurface, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... - @staticmethod - def Value(S: Adaptor3d_HSurface, u: float, v: float) -> gp_Pnt: ... + def Value(theSurf: Adaptor3d_Surface, theU: float, theV: float) -> gp_Pnt: ... class Adaptor3d_HVertex(Standard_Transient): @overload @@ -224,21 +135,21 @@ class Adaptor3d_HVertex(Standard_Transient): def __init__(self, P: gp_Pnt2d, Ori: TopAbs_Orientation, Resolution: float) -> None: ... def IsSame(self, Other: Adaptor3d_HVertex) -> bool: ... def Orientation(self) -> TopAbs_Orientation: ... - def Parameter(self, C: Adaptor2d_HCurve2d) -> float: ... - def Resolution(self, C: Adaptor2d_HCurve2d) -> float: ... + def Parameter(self, C: Adaptor2d_Curve2d) -> float: ... + def Resolution(self, C: Adaptor2d_Curve2d) -> float: ... def Value(self) -> gp_Pnt2d: ... class Adaptor3d_InterFunc(math_FunctionWithDerivative): - def __init__(self, C: Adaptor2d_HCurve2d, FixVal: float, Fix: int) -> None: ... + def __init__(self, C: Adaptor2d_Curve2d, FixVal: float, Fix: int) -> None: ... def Derivative(self, X: float) -> Tuple[bool, float]: ... def Value(self, X: float) -> Tuple[bool, float]: ... def Values(self, X: float) -> Tuple[bool, float, float]: ... -class Adaptor3d_Surface: +class Adaptor3d_Surface(Standard_Transient): def AxeOfRevolution(self) -> gp_Ax1: ... def BSpline(self) -> Geom_BSplineSurface: ... - def BasisCurve(self) -> Adaptor3d_HCurve: ... - def BasisSurface(self) -> Adaptor3d_HSurface: ... + def BasisCurve(self) -> Adaptor3d_Curve: ... + def BasisSurface(self) -> Adaptor3d_Surface: ... def Bezier(self) -> Geom_BezierSurface: ... def Cone(self) -> gp_Cone: ... def Cylinder(self) -> gp_Cylinder: ... @@ -274,20 +185,20 @@ class Adaptor3d_Surface: def UIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... def UPeriod(self) -> float: ... def UResolution(self, R3d: float) -> float: ... - def UTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... + def UTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Surface: ... def VContinuity(self) -> GeomAbs_Shape: ... def VDegree(self) -> int: ... def VIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... def VPeriod(self) -> float: ... def VResolution(self, R3d: float) -> float: ... - def VTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... + def VTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Surface: ... def Value(self, U: float, V: float) -> gp_Pnt: ... class Adaptor3d_TopolTool(Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, Surface: Adaptor3d_HSurface) -> None: ... + def __init__(self, Surface: Adaptor3d_Surface) -> None: ... def BSplSamplePnts(self, theDefl: float, theNUmin: int, theNVmin: int) -> None: ... def Classify(self, P: gp_Pnt2d, Tol: float, ReacdreOnPeriodic: Optional[bool] = True) -> TopAbs_State: ... def ComputeSamplePoints(self) -> None: ... @@ -300,9 +211,9 @@ class Adaptor3d_TopolTool(Standard_Transient): @overload def Initialize(self) -> None: ... @overload - def Initialize(self, S: Adaptor3d_HSurface) -> None: ... + def Initialize(self, S: Adaptor3d_Surface) -> None: ... @overload - def Initialize(self, Curve: Adaptor2d_HCurve2d) -> None: ... + def Initialize(self, Curve: Adaptor2d_Curve2d) -> None: ... def IsThePointOn(self, P: gp_Pnt2d, Tol: float, ReacdreOnPeriodic: Optional[bool] = True) -> bool: ... def IsUniformSampling(self) -> bool: ... def More(self) -> bool: ... @@ -313,32 +224,32 @@ class Adaptor3d_TopolTool(Standard_Transient): def Next(self) -> None: ... def NextVertex(self) -> None: ... @overload - def Orientation(self, C: Adaptor2d_HCurve2d) -> TopAbs_Orientation: ... + def Orientation(self, C: Adaptor2d_Curve2d) -> TopAbs_Orientation: ... @overload def Orientation(self, V: Adaptor3d_HVertex) -> TopAbs_Orientation: ... def Pnt(self, V: Adaptor3d_HVertex) -> gp_Pnt: ... def SamplePnts(self, theDefl: float, theNUmin: int, theNVmin: int) -> None: ... def SamplePoint(self, Index: int, P2d: gp_Pnt2d, P3d: gp_Pnt) -> None: ... @overload - def Tol3d(self, C: Adaptor2d_HCurve2d) -> float: ... + def Tol3d(self, C: Adaptor2d_Curve2d) -> float: ... @overload def Tol3d(self, V: Adaptor3d_HVertex) -> float: ... def UParameters(self, theArray: TColStd_Array1OfReal) -> None: ... def VParameters(self, theArray: TColStd_Array1OfReal) -> None: ... - def Value(self) -> Adaptor2d_HCurve2d: ... + def Value(self) -> Adaptor2d_Curve2d: ... def Vertex(self) -> Adaptor3d_HVertex: ... class Adaptor3d_CurveOnSurface(Adaptor3d_Curve): @overload def __init__(self) -> None: ... @overload - def __init__(self, S: Adaptor3d_HSurface) -> None: ... + def __init__(self, S: Adaptor3d_Surface) -> None: ... @overload - def __init__(self, C: Adaptor2d_HCurve2d, S: Adaptor3d_HSurface) -> None: ... + def __init__(self, C: Adaptor2d_Curve2d, S: Adaptor3d_Surface) -> None: ... def BSpline(self) -> Geom_BSplineCurve: ... def Bezier(self) -> Geom_BezierCurve: ... - def ChangeCurve(self) -> Adaptor2d_HCurve2d: ... - def ChangeSurface(self) -> Adaptor3d_HSurface: ... + def ChangeCurve(self) -> Adaptor2d_Curve2d: ... + def ChangeSurface(self) -> Adaptor3d_Surface: ... def Circle(self) -> gp_Circ: ... def Continuity(self) -> GeomAbs_Shape: ... def D0(self, U: float, P: gp_Pnt) -> None: ... @@ -349,8 +260,8 @@ class Adaptor3d_CurveOnSurface(Adaptor3d_Curve): def Degree(self) -> int: ... def Ellipse(self) -> gp_Elips: ... def FirstParameter(self) -> float: ... - def GetCurve(self) -> Adaptor2d_HCurve2d: ... - def GetSurface(self) -> Adaptor3d_HSurface: ... + def GetCurve(self) -> Adaptor2d_Curve2d: ... + def GetSurface(self) -> Adaptor3d_Surface: ... def GetType(self) -> GeomAbs_CurveType: ... def Hyperbola(self) -> gp_Hypr: ... def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... @@ -360,49 +271,29 @@ class Adaptor3d_CurveOnSurface(Adaptor3d_Curve): def LastParameter(self) -> float: ... def Line(self) -> gp_Lin: ... @overload - def Load(self, S: Adaptor3d_HSurface) -> None: ... + def Load(self, S: Adaptor3d_Surface) -> None: ... @overload - def Load(self, C: Adaptor2d_HCurve2d) -> None: ... + def Load(self, C: Adaptor2d_Curve2d) -> None: ... @overload - def Load(self, C: Adaptor2d_HCurve2d, S: Adaptor3d_HSurface) -> None: ... + def Load(self, C: Adaptor2d_Curve2d, S: Adaptor3d_Surface) -> None: ... def NbIntervals(self, S: GeomAbs_Shape) -> int: ... def NbKnots(self) -> int: ... def NbPoles(self) -> int: ... def Parabola(self) -> gp_Parab: ... def Period(self) -> float: ... def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HCurve: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Curve: ... def Value(self, U: float) -> gp_Pnt: ... -class Adaptor3d_HCurveOnSurface(Adaptor3d_HCurve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: Adaptor3d_CurveOnSurface) -> None: ... - def ChangeCurve(self) -> Adaptor3d_CurveOnSurface: ... - def Curve(self) -> Adaptor3d_Curve: ... - def GetCurve(self) -> Adaptor3d_Curve: ... - def Set(self, C: Adaptor3d_CurveOnSurface) -> None: ... - -class Adaptor3d_HIsoCurve(Adaptor3d_HCurve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: Adaptor3d_IsoCurve) -> None: ... - def ChangeCurve(self) -> Adaptor3d_IsoCurve: ... - def Curve(self) -> Adaptor3d_Curve: ... - def GetCurve(self) -> Adaptor3d_Curve: ... - def Set(self, C: Adaptor3d_IsoCurve) -> None: ... - class Adaptor3d_IsoCurve(Adaptor3d_Curve): @overload def __init__(self) -> None: ... @overload - def __init__(self, S: Adaptor3d_HSurface) -> None: ... + def __init__(self, S: Adaptor3d_Surface) -> None: ... @overload - def __init__(self, S: Adaptor3d_HSurface, Iso: GeomAbs_IsoType, Param: float) -> None: ... + def __init__(self, S: Adaptor3d_Surface, Iso: GeomAbs_IsoType, Param: float) -> None: ... @overload - def __init__(self, S: Adaptor3d_HSurface, Iso: GeomAbs_IsoType, Param: float, WFirst: float, WLast: float) -> None: ... + def __init__(self, S: Adaptor3d_Surface, Iso: GeomAbs_IsoType, Param: float, WFirst: float, WLast: float) -> None: ... def BSpline(self) -> Geom_BSplineCurve: ... def Bezier(self) -> Geom_BezierCurve: ... def Circle(self) -> gp_Circ: ... @@ -425,7 +316,7 @@ class Adaptor3d_IsoCurve(Adaptor3d_Curve): def LastParameter(self) -> float: ... def Line(self) -> gp_Lin: ... @overload - def Load(self, S: Adaptor3d_HSurface) -> None: ... + def Load(self, S: Adaptor3d_Surface) -> None: ... @overload def Load(self, Iso: GeomAbs_IsoType, Param: float) -> None: ... @overload @@ -437,8 +328,8 @@ class Adaptor3d_IsoCurve(Adaptor3d_Curve): def Parameter(self) -> float: ... def Period(self) -> float: ... def Resolution(self, R3d: float) -> float: ... - def Surface(self) -> Adaptor3d_HSurface: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HCurve: ... + def Surface(self) -> Adaptor3d_Surface: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Curve: ... def Value(self, U: float) -> gp_Pnt: ... # harray1 classes diff --git a/src/SWIG_files/wrapper/AdvApp2Var.i b/src/SWIG_files/wrapper/AdvApp2Var.i index fa1a34efc..5f277b23f 100644 --- a/src/SWIG_files/wrapper/AdvApp2Var.i +++ b/src/SWIG_files/wrapper/AdvApp2Var.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define ADVAPP2VARDOCSTRING "AdvApp2Var module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_advapp2var.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_advapp2var.html" %enddef %module (package="OCC.Core", docstring=ADVAPP2VARDOCSTRING) AdvApp2Var @@ -85,7 +85,7 @@ enum AdvApp2Var_CriterionType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class AdvApp2Var_CriterionRepartition(IntEnum): diff --git a/src/SWIG_files/wrapper/AdvApprox.i b/src/SWIG_files/wrapper/AdvApprox.i index 8e46b49ce..2fbf2f532 100644 --- a/src/SWIG_files/wrapper/AdvApprox.i +++ b/src/SWIG_files/wrapper/AdvApprox.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define ADVAPPROXDOCSTRING "AdvApprox module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_advapprox.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_advapprox.html" %enddef %module (package="OCC.Core", docstring=ADVAPPROXDOCSTRING) AdvApprox @@ -67,7 +67,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/AppBlend.i b/src/SWIG_files/wrapper/AppBlend.i index 49a548e71..3176d327d 100644 --- a/src/SWIG_files/wrapper/AppBlend.i +++ b/src/SWIG_files/wrapper/AppBlend.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define APPBLENDDOCSTRING "AppBlend module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appblend.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_appblend.html" %enddef %module (package="OCC.Core", docstring=APPBLENDDOCSTRING) AppBlend @@ -62,7 +62,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/AppCont.i b/src/SWIG_files/wrapper/AppCont.i index af8b27055..faca0d8a4 100644 --- a/src/SWIG_files/wrapper/AppCont.i +++ b/src/SWIG_files/wrapper/AppCont.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define APPCONTDOCSTRING "AppCont module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appcont.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_appcont.html" %enddef %module (package="OCC.Core", docstring=APPCONTDOCSTRING) AppCont @@ -63,7 +63,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/AppDef.i b/src/SWIG_files/wrapper/AppDef.i index 2a6c927e3..d69e45530 100644 --- a/src/SWIG_files/wrapper/AppDef.i +++ b/src/SWIG_files/wrapper/AppDef.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define APPDEFDOCSTRING "AppDef module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appdef.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_appdef.html" %enddef %module (package="OCC.Core", docstring=APPDEFDOCSTRING) AppDef @@ -80,7 +80,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -1098,7 +1098,7 @@ None /****************** SetPeriodic ******************/ /**** md5 signature: 3109823bbe448d62437b44b39b4d9b19 ****/ %feature("compactdefaultargs") SetPeriodic; - %feature("autodoc", "Sets periodic flag. if theperiodic = standard_true, algorith tries to build periodic multicurve using corresponding c1 boundary condition for first and last multipoints. multiline must be closed. + %feature("autodoc", "Sets periodic flag. if theperiodic = standard_true, algorithm tries to build periodic multicurve using corresponding c1 boundary condition for first and last multipoints. multiline must be closed. Parameters ---------- diff --git a/src/SWIG_files/wrapper/AppParCurves.i b/src/SWIG_files/wrapper/AppParCurves.i index 9c60dbc0d..7150937a8 100644 --- a/src/SWIG_files/wrapper/AppParCurves.i +++ b/src/SWIG_files/wrapper/AppParCurves.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define APPPARCURVESDOCSTRING "AppParCurves module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appparcurves.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_appparcurves.html" %enddef %module (package="OCC.Core", docstring=APPPARCURVESDOCSTRING) AppParCurves @@ -74,7 +74,7 @@ enum AppParCurves_Constraint { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class AppParCurves_Constraint(IntEnum): diff --git a/src/SWIG_files/wrapper/AppStd.i b/src/SWIG_files/wrapper/AppStd.i index cd1fb5980..2226b542d 100644 --- a/src/SWIG_files/wrapper/AppStd.i +++ b/src/SWIG_files/wrapper/AppStd.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define APPSTDDOCSTRING "AppStd module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appstd.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_appstd.html" %enddef %module (package="OCC.Core", docstring=APPSTDDOCSTRING) AppStd @@ -66,7 +66,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/AppStdL.i b/src/SWIG_files/wrapper/AppStdL.i index f3592e805..25285fd74 100644 --- a/src/SWIG_files/wrapper/AppStdL.i +++ b/src/SWIG_files/wrapper/AppStdL.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define APPSTDLDOCSTRING "AppStdL module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_appstdl.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_appstdl.html" %enddef %module (package="OCC.Core", docstring=APPSTDLDOCSTRING) AppStdL @@ -67,7 +67,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/Approx.i b/src/SWIG_files/wrapper/Approx.i index a20d92180..967d0b714 100644 --- a/src/SWIG_files/wrapper/Approx.i +++ b/src/SWIG_files/wrapper/Approx.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define APPROXDOCSTRING "Approx module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_approx.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_approx.html" %enddef %module (package="OCC.Core", docstring=APPROXDOCSTRING) Approx @@ -93,7 +93,7 @@ enum Approx_ParametrizationType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Approx_Status(IntEnum): @@ -122,9 +122,9 @@ Approx_IsoParametric = Approx_ParametrizationType.Approx_IsoParametric /* end handles declaration */ /* templates */ -%template(Approx_Array1OfAdHSurface) NCollection_Array1>; +%template(Approx_Array1OfAdHSurface) NCollection_Array1>; -%extend NCollection_Array1> { +%extend NCollection_Array1> { %pythoncode { def __getitem__(self, index): if index + self.Lower() > self.Upper(): @@ -203,7 +203,7 @@ Approx_IsoParametric = Approx_ParametrizationType.Approx_IsoParametric /* end templates declaration */ /* typedefs */ -typedef NCollection_Array1> Approx_Array1OfAdHSurface; +typedef NCollection_Array1> Approx_Array1OfAdHSurface; typedef NCollection_Array1 Approx_Array1OfGTrsf2d; typedef NCollection_Sequence> Approx_SequenceOfHArray1OfReal; /* end typedefs declaration */ @@ -214,13 +214,13 @@ typedef NCollection_Sequence> Approx_ class Approx_Curve2d { public: /****************** Approx_Curve2d ******************/ - /**** md5 signature: 3808819d209e1def3c108ec4c293e785 ****/ + /**** md5 signature: 1cf9afd9ee459ec2a81ee32abee6de50 ****/ %feature("compactdefaultargs") Approx_Curve2d; %feature("autodoc", "No available documentation. Parameters ---------- -C2D: Adaptor2d_HCurve2d +C2D: Adaptor2d_Curve2d First: float Last: float TolU: float @@ -233,7 +233,7 @@ Returns ------- None ") Approx_Curve2d; - Approx_Curve2d(const opencascade::handle & C2D, const Standard_Real First, const Standard_Real Last, const Standard_Real TolU, const Standard_Real TolV, const GeomAbs_Shape Continuity, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments); + Approx_Curve2d(const opencascade::handle & C2D, const Standard_Real First, const Standard_Real Last, const Standard_Real TolU, const Standard_Real TolV, const GeomAbs_Shape Continuity, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments); /****************** Curve ******************/ /**** md5 signature: 1960069de54819d72fccc75ab85806ec ****/ @@ -305,13 +305,13 @@ float class Approx_Curve3d { public: /****************** Approx_Curve3d ******************/ - /**** md5 signature: 65c8fcb0b3c6c7d1df42f0bb0ba09688 ****/ + /**** md5 signature: 4662771ab9a9bb958e880ba73bec8340 ****/ %feature("compactdefaultargs") Approx_Curve3d; - %feature("autodoc", "Approximation of a curve with respect of the requiered tolerance tol3d. + %feature("autodoc", "Approximation of a curve with respect of the required tolerance tol3d. Parameters ---------- -Curve: Adaptor3d_HCurve +Curve: Adaptor3d_Curve Tol3d: float Order: GeomAbs_Shape MaxSegments: int @@ -321,7 +321,7 @@ Returns ------- None ") Approx_Curve3d; - Approx_Curve3d(const opencascade::handle & Curve, const Standard_Real Tol3d, const GeomAbs_Shape Order, const Standard_Integer MaxSegments, const Standard_Integer MaxDegree); + Approx_Curve3d(const opencascade::handle & Curve, const Standard_Real Tol3d, const GeomAbs_Shape Order, const Standard_Integer MaxSegments, const Standard_Integer MaxDegree); /****************** Curve ******************/ /**** md5 signature: 8f61eb8bebb31bbd1fd75a7da450accd ****/ @@ -356,7 +356,7 @@ bool /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns standard_true if the approximation has been done within requiered tolerance. + %feature("autodoc", "Returns standard_true if the approximation has been done within required tolerance. Returns ------- @@ -390,14 +390,14 @@ float class Approx_CurveOnSurface { public: /****************** Approx_CurveOnSurface ******************/ - /**** md5 signature: 44953400bcecd6141157e0f3eb58084e ****/ + /**** md5 signature: 8924b9935f0fc05dc273ee96b9ecd51b ****/ %feature("compactdefaultargs") Approx_CurveOnSurface; %feature("autodoc", "This constructor calls perform method. this constructor is deprecated. Parameters ---------- -C2D: Adaptor2d_HCurve2d -Surf: Adaptor3d_HSurface +C2D: Adaptor2d_Curve2d +Surf: Adaptor3d_Surface First: float Last: float Tol: float @@ -413,17 +413,17 @@ Returns ------- None ") Approx_CurveOnSurface; - Approx_CurveOnSurface(const opencascade::handle & C2D, const opencascade::handle & Surf, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol, const GeomAbs_Shape Continuity, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments, const Standard_Boolean Only3d = Standard_False, const Standard_Boolean Only2d = Standard_False); + Approx_CurveOnSurface(const opencascade::handle & C2D, const opencascade::handle & Surf, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol, const GeomAbs_Shape Continuity, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments, const Standard_Boolean Only3d = Standard_False, const Standard_Boolean Only2d = Standard_False); /****************** Approx_CurveOnSurface ******************/ - /**** md5 signature: 1870fd9a1e6fea950b25fca64ce963ff ****/ + /**** md5 signature: 6bf6e1de687ad8553d00cd8a3f1f8344 ****/ %feature("compactdefaultargs") Approx_CurveOnSurface; %feature("autodoc", "This constructor does not call perform method. @param thec2d 2d curve to be approximated in 3d. @param thesurf surface where 2d curve is located. @param thefirst first parameter of resulting curve. @param thefirst last parameter of resulting curve. @param thetol computation tolerance. Parameters ---------- -theC2D: Adaptor2d_HCurve2d -theSurf: Adaptor3d_HSurface +theC2D: Adaptor2d_Curve2d +theSurf: Adaptor3d_Surface theFirst: float theLast: float theTol: float @@ -432,7 +432,7 @@ Returns ------- None ") Approx_CurveOnSurface; - Approx_CurveOnSurface(const opencascade::handle & theC2D, const opencascade::handle & theSurf, const Standard_Real theFirst, const Standard_Real theLast, const Standard_Real theTol); + Approx_CurveOnSurface(const opencascade::handle & theC2D, const opencascade::handle & theSurf, const Standard_Real theFirst, const Standard_Real theLast, const Standard_Real theTol); /****************** Curve2d ******************/ /**** md5 signature: a68a2dac2ad11e4da3864dc2433ead7f ****/ @@ -492,7 +492,7 @@ float /****************** MaxError2dV ******************/ /**** md5 signature: 641a3fe3b7d3b163d6a32b23f94b6eec ****/ %feature("compactdefaultargs") MaxError2dV; - %feature("autodoc", "Returns the maximum errors relativly to the u component or the v component of the 2d curve. + %feature("autodoc", "Returns the maximum errors relatively to the u component or the v component of the 2d curve. Returns ------- @@ -547,13 +547,13 @@ None class Approx_CurvilinearParameter { public: /****************** Approx_CurvilinearParameter ******************/ - /**** md5 signature: 87a8d57e93c58fe13b36b4f14487e297 ****/ + /**** md5 signature: 8d18e8dfacd0a079eb20447b49586c35 ****/ %feature("compactdefaultargs") Approx_CurvilinearParameter; %feature("autodoc", "Case of a free 3d curve. Parameters ---------- -C3D: Adaptor3d_HCurve +C3D: Adaptor3d_Curve Tol: float Order: GeomAbs_Shape MaxDegree: int @@ -563,17 +563,17 @@ Returns ------- None ") Approx_CurvilinearParameter; - Approx_CurvilinearParameter(const opencascade::handle & C3D, const Standard_Real Tol, const GeomAbs_Shape Order, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments); + Approx_CurvilinearParameter(const opencascade::handle & C3D, const Standard_Real Tol, const GeomAbs_Shape Order, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments); /****************** Approx_CurvilinearParameter ******************/ - /**** md5 signature: 5e6af048127e41f0e55fb4904bc8c476 ****/ + /**** md5 signature: 55fdfdb6b236c7342a9df38b0c499ba5 ****/ %feature("compactdefaultargs") Approx_CurvilinearParameter; %feature("autodoc", "Case of a curve on one surface. Parameters ---------- -C2D: Adaptor2d_HCurve2d -Surf: Adaptor3d_HSurface +C2D: Adaptor2d_Curve2d +Surf: Adaptor3d_Surface Tol: float Order: GeomAbs_Shape MaxDegree: int @@ -583,19 +583,19 @@ Returns ------- None ") Approx_CurvilinearParameter; - Approx_CurvilinearParameter(const opencascade::handle & C2D, const opencascade::handle & Surf, const Standard_Real Tol, const GeomAbs_Shape Order, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments); + Approx_CurvilinearParameter(const opencascade::handle & C2D, const opencascade::handle & Surf, const Standard_Real Tol, const GeomAbs_Shape Order, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments); /****************** Approx_CurvilinearParameter ******************/ - /**** md5 signature: c20ec6318bb423836fdfcdd350ec13c6 ****/ + /**** md5 signature: c239a7061007faa74c11bd361d60ce57 ****/ %feature("compactdefaultargs") Approx_CurvilinearParameter; %feature("autodoc", "Case of a curve on two surfaces. Parameters ---------- -C2D1: Adaptor2d_HCurve2d -Surf1: Adaptor3d_HSurface -C2D2: Adaptor2d_HCurve2d -Surf2: Adaptor3d_HSurface +C2D1: Adaptor2d_Curve2d +Surf1: Adaptor3d_Surface +C2D2: Adaptor2d_Curve2d +Surf2: Adaptor3d_Surface Tol: float Order: GeomAbs_Shape MaxDegree: int @@ -605,7 +605,7 @@ Returns ------- None ") Approx_CurvilinearParameter; - Approx_CurvilinearParameter(const opencascade::handle & C2D1, const opencascade::handle & Surf1, const opencascade::handle & C2D2, const opencascade::handle & Surf2, const Standard_Real Tol, const GeomAbs_Shape Order, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments); + Approx_CurvilinearParameter(const opencascade::handle & C2D1, const opencascade::handle & Surf1, const opencascade::handle & C2D2, const opencascade::handle & Surf2, const Standard_Real Tol, const GeomAbs_Shape Order, const Standard_Integer MaxDegree, const Standard_Integer MaxSegments); /****************** Curve2d1 ******************/ /**** md5 signature: 320386716849305473262b1fbe175d01 ****/ @@ -718,56 +718,56 @@ float class Approx_CurvlinFunc : public Standard_Transient { public: /****************** Approx_CurvlinFunc ******************/ - /**** md5 signature: 13612be4e5b55611b7eb0ad987bab15a ****/ + /**** md5 signature: c91fd83aabe931a1e52d13473ccfd009 ****/ %feature("compactdefaultargs") Approx_CurvlinFunc; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Tol: float Returns ------- None ") Approx_CurvlinFunc; - Approx_CurvlinFunc(const opencascade::handle & C, const Standard_Real Tol); + Approx_CurvlinFunc(const opencascade::handle & C, const Standard_Real Tol); /****************** Approx_CurvlinFunc ******************/ - /**** md5 signature: 07e78bf99be942395ed9cc13ea9bc1cf ****/ + /**** md5 signature: c69a4fe4cbfe7c5d7648f238e2e8b84a ****/ %feature("compactdefaultargs") Approx_CurvlinFunc; %feature("autodoc", "No available documentation. Parameters ---------- -C2D: Adaptor2d_HCurve2d -S: Adaptor3d_HSurface +C2D: Adaptor2d_Curve2d +S: Adaptor3d_Surface Tol: float Returns ------- None ") Approx_CurvlinFunc; - Approx_CurvlinFunc(const opencascade::handle & C2D, const opencascade::handle & S, const Standard_Real Tol); + Approx_CurvlinFunc(const opencascade::handle & C2D, const opencascade::handle & S, const Standard_Real Tol); /****************** Approx_CurvlinFunc ******************/ - /**** md5 signature: e575afd63226bf2aaec13682942a488d ****/ + /**** md5 signature: d04cb6fd18225e82ef40a4e61e7e3bdf ****/ %feature("compactdefaultargs") Approx_CurvlinFunc; %feature("autodoc", "No available documentation. Parameters ---------- -C2D1: Adaptor2d_HCurve2d -C2D2: Adaptor2d_HCurve2d -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface +C2D1: Adaptor2d_Curve2d +C2D2: Adaptor2d_Curve2d +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface Tol: float Returns ------- None ") Approx_CurvlinFunc; - Approx_CurvlinFunc(const opencascade::handle & C2D1, const opencascade::handle & C2D2, const opencascade::handle & S1, const opencascade::handle & S2, const Standard_Real Tol); + Approx_CurvlinFunc(const opencascade::handle & C2D1, const opencascade::handle & C2D2, const opencascade::handle & S1, const opencascade::handle & S2, const Standard_Real Tol); /****************** EvalCase1 ******************/ /**** md5 signature: d6f977aec2ba6ef7261ad448995f2a1d ****/ @@ -845,7 +845,7 @@ float /****************** GetSParameter ******************/ /**** md5 signature: de8883031fb26c06bc41920f0af259b5 ****/ %feature("compactdefaultargs") GetSParameter; - %feature("autodoc", "Returns original parameter correponding s. + %feature("autodoc", "Returns original parameter corresponding s. Parameters ---------- @@ -860,7 +860,7 @@ float /****************** GetUParameter ******************/ /**** md5 signature: a288323291b5a7c86e97e5e379347550 ****/ %feature("compactdefaultargs") GetUParameter; - %feature("autodoc", "Returns original parameter correponding s. if case == 1 computation is performed on myc2d1 and mysurf1, otherwise it is done on myc2d2 and mysurf2. + %feature("autodoc", "Returns original parameter corresponding s. if case == 1 computation is performed on myc2d1 and mysurf1, otherwise it is done on myc2d2 and mysurf2. Parameters ---------- @@ -877,7 +877,7 @@ float /****************** Intervals ******************/ /**** md5 signature: c7a2f17df7514293a67a56baae0afb68 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -1631,40 +1631,40 @@ None Approx_SameParameter(const opencascade::handle & C3D, const opencascade::handle & C2D, const opencascade::handle & S, const Standard_Real Tol); /****************** Approx_SameParameter ******************/ - /**** md5 signature: bcc24beb554e4ba834ebfad460b28050 ****/ + /**** md5 signature: c5ca4b0fa91714a7d8dbbb7f74166b6e ****/ %feature("compactdefaultargs") Approx_SameParameter; %feature("autodoc", "Warning: the c3d and c2d must have the same parametric domain. Parameters ---------- -C3D: Adaptor3d_HCurve +C3D: Adaptor3d_Curve C2D: Geom2d_Curve -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Tol: float Returns ------- None ") Approx_SameParameter; - Approx_SameParameter(const opencascade::handle & C3D, const opencascade::handle & C2D, const opencascade::handle & S, const Standard_Real Tol); + Approx_SameParameter(const opencascade::handle & C3D, const opencascade::handle & C2D, const opencascade::handle & S, const Standard_Real Tol); /****************** Approx_SameParameter ******************/ - /**** md5 signature: b09fa1bc62b4172d25965850dec9f2da ****/ + /**** md5 signature: fd528457c519a0cdcaefab6e6d47b26f ****/ %feature("compactdefaultargs") Approx_SameParameter; %feature("autodoc", "Warning: the c3d and c2d must have the same parametric domain. Parameters ---------- -C3D: Adaptor3d_HCurve -C2D: Adaptor2d_HCurve2d -S: Adaptor3d_HSurface +C3D: Adaptor3d_Curve +C2D: Adaptor2d_Curve2d +S: Adaptor3d_Surface Tol: float Returns ------- None ") Approx_SameParameter; - Approx_SameParameter(const opencascade::handle & C3D, const opencascade::handle & C2D, const opencascade::handle & S, const Standard_Real Tol); + Approx_SameParameter(const opencascade::handle & C3D, const opencascade::handle & C2D, const opencascade::handle & S, const Standard_Real Tol); /****************** Curve2d ******************/ /**** md5 signature: 5fab5e35541cfe36f16f0294e27855ba ****/ @@ -1757,7 +1757,7 @@ float /****************** AverageErrorOnSurf ******************/ /**** md5 signature: bac8be79201b06f130f6dd21a4817d03 ****/ %feature("compactdefaultargs") AverageErrorOnSurf; - %feature("autodoc", "Returns the average error in the suface approximation. + %feature("autodoc", "Returns the average error in the surface approximation. Returns ------- @@ -1902,7 +1902,7 @@ float /****************** MaxErrorOnSurf ******************/ /**** md5 signature: e42290da593c42adaac24f68c51ecbda ****/ %feature("compactdefaultargs") MaxErrorOnSurf; - %feature("autodoc", "Returns the maximum error in the suface approximation. + %feature("autodoc", "Returns the maximum error in the surface approximation. Returns ------- @@ -1924,7 +1924,7 @@ int /****************** Perform ******************/ /**** md5 signature: 306f26941735cb759216a105543fe10a ****/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Perform the approximation [first, last] : approx_sweepapproximation.cdl tol3d : tolerance to surface approximation tol2d : tolerance used to perform curve approximation normaly the 2d curve are approximated with a tolerance given by the resolution on support surfaces, but if this tolerance is too large tol2d is used. tolangular : tolerance (in radian) to control the angle beetween tangents on the section law and tangent of iso-v on approximed surface continuity : the continuity in v waiting on the surface degmax : the maximum degree in v requiered on the surface segmax : the maximum number of span in v requiered on the surface warning : the continuity ci can be obtained only if ft is ci. + %feature("autodoc", "Perform the approximation [first, last] : approx_sweepapproximation.cdl tol3d : tolerance to surface approximation tol2d : tolerance used to perform curve approximation normally the 2d curve are approximated with a tolerance given by the resolution on support surfaces, but if this tolerance is too large tol2d is used. tolangular : tolerance (in radian) to control the angle between tangents on the section law and tangent of iso-v on approximated surface continuity : the continuity in v waiting on the surface degmax : the maximum degree in v required on the surface segmax : the maximum number of span in v required on the surface warning : the continuity ci can be obtained only if ft is ci. Parameters ---------- @@ -2107,7 +2107,7 @@ class Approx_SweepFunction : public Standard_Transient { /****************** BarycentreOfSurf ******************/ /**** md5 signature: cbc6eaf5619edbfc0f2839466f8de856 ****/ %feature("compactdefaultargs") BarycentreOfSurf; - %feature("autodoc", "Get the barycentre of surface. an very poor estimation is sufficent. this information is usefull to perform well conditioned rational approximation. warning: used only if isrational. + %feature("autodoc", "Get the barycentre of surface. an very poor estimation is sufficient. this information is useful to perform well conditioned rational approximation. warning: used only if isrational. Returns ------- @@ -2138,7 +2138,7 @@ bool /****************** D1 ******************/ /**** md5 signature: 509d473b60471c40fb84a525daccf7b2 ****/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Compute the first derivative in v direction of the section for v = param warning : it used only for c1 or c2 aproximation. + %feature("autodoc", "Compute the first derivative in v direction of the section for v = param warning : it used only for c1 or c2 approximation. Parameters ---------- @@ -2161,7 +2161,7 @@ bool /****************** D2 ******************/ /**** md5 signature: 9688db55fcb73e40afa5da6bce93a93e ****/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Compute the second derivative in v direction of the section for v = param warning : it used only for c2 aproximation. + %feature("autodoc", "Compute the second derivative in v direction of the section for v = param warning : it used only for c2 approximation. Parameters ---------- @@ -2187,7 +2187,7 @@ bool /****************** GetMinimalWeight ******************/ /**** md5 signature: 6fdd12d5da1669c5217b9449c91c0d9e ****/ %feature("compactdefaultargs") GetMinimalWeight; - %feature("autodoc", "Compute the minimal value of weight for each poles in all sections. this information is usefull to control error in rational approximation. warning: used only if isrational. + %feature("autodoc", "Compute the minimal value of weight for each poles in all sections. this information is useful to control error in rational approximation. warning: used only if isrational. Parameters ---------- @@ -2220,7 +2220,7 @@ None /****************** Intervals ******************/ /**** md5 signature: 7d2bf038a9213acf1609cc1244a3ee03 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -2262,7 +2262,7 @@ None /****************** MaximalSection ******************/ /**** md5 signature: d9acdf10cc3735a15f259a425c017f62 ****/ %feature("compactdefaultargs") MaximalSection; - %feature("autodoc", "Returns the length of the greater section. this information is usefull to g1's control. warning: with an little value, approximation can be slower. + %feature("autodoc", "Returns the length of the greater section. thisinformation is useful to g1's control. warning: with an little value, approximation can be slower. Returns ------- @@ -2363,7 +2363,7 @@ None /****************** SetTolerance ******************/ /**** md5 signature: 93e9274684dae026e60334d9dec71409 ****/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "Is usefull, if (me) have to run numerical algorithm to perform d0, d1 or d2. + %feature("autodoc", "Is useful, if (me) have to run numerical algorithm to perform d0, d1 or d2. Parameters ---------- diff --git a/src/SWIG_files/wrapper/Approx.pyi b/src/SWIG_files/wrapper/Approx.pyi index dc5689320..805f773e2 100644 --- a/src/SWIG_files/wrapper/Approx.pyi +++ b/src/SWIG_files/wrapper/Approx.pyi @@ -97,7 +97,7 @@ Approx_Centripetal = Approx_ParametrizationType.Approx_Centripetal Approx_IsoParametric = Approx_ParametrizationType.Approx_IsoParametric class Approx_Curve2d: - def __init__(self, C2D: Adaptor2d_HCurve2d, First: float, Last: float, TolU: float, TolV: float, Continuity: GeomAbs_Shape, MaxDegree: int, MaxSegments: int) -> None: ... + def __init__(self, C2D: Adaptor2d_Curve2d, First: float, Last: float, TolU: float, TolV: float, Continuity: GeomAbs_Shape, MaxDegree: int, MaxSegments: int) -> None: ... def Curve(self) -> Geom2d_BSplineCurve: ... def HasResult(self) -> bool: ... def IsDone(self) -> bool: ... @@ -105,7 +105,7 @@ class Approx_Curve2d: def MaxError2dV(self) -> float: ... class Approx_Curve3d: - def __init__(self, Curve: Adaptor3d_HCurve, Tol3d: float, Order: GeomAbs_Shape, MaxSegments: int, MaxDegree: int) -> None: ... + def __init__(self, Curve: Adaptor3d_Curve, Tol3d: float, Order: GeomAbs_Shape, MaxSegments: int, MaxDegree: int) -> None: ... def Curve(self) -> Geom_BSplineCurve: ... def HasResult(self) -> bool: ... def IsDone(self) -> bool: ... @@ -113,9 +113,9 @@ class Approx_Curve3d: class Approx_CurveOnSurface: @overload - def __init__(self, C2D: Adaptor2d_HCurve2d, Surf: Adaptor3d_HSurface, First: float, Last: float, Tol: float, Continuity: GeomAbs_Shape, MaxDegree: int, MaxSegments: int, Only3d: Optional[bool] = False, Only2d: Optional[bool] = False) -> None: ... + def __init__(self, C2D: Adaptor2d_Curve2d, Surf: Adaptor3d_Surface, First: float, Last: float, Tol: float, Continuity: GeomAbs_Shape, MaxDegree: int, MaxSegments: int, Only3d: Optional[bool] = False, Only2d: Optional[bool] = False) -> None: ... @overload - def __init__(self, theC2D: Adaptor2d_HCurve2d, theSurf: Adaptor3d_HSurface, theFirst: float, theLast: float, theTol: float) -> None: ... + def __init__(self, theC2D: Adaptor2d_Curve2d, theSurf: Adaptor3d_Surface, theFirst: float, theLast: float, theTol: float) -> None: ... def Curve2d(self) -> Geom2d_BSplineCurve: ... def Curve3d(self) -> Geom_BSplineCurve: ... def HasResult(self) -> bool: ... @@ -127,11 +127,11 @@ class Approx_CurveOnSurface: class Approx_CurvilinearParameter: @overload - def __init__(self, C3D: Adaptor3d_HCurve, Tol: float, Order: GeomAbs_Shape, MaxDegree: int, MaxSegments: int) -> None: ... + def __init__(self, C3D: Adaptor3d_Curve, Tol: float, Order: GeomAbs_Shape, MaxDegree: int, MaxSegments: int) -> None: ... @overload - def __init__(self, C2D: Adaptor2d_HCurve2d, Surf: Adaptor3d_HSurface, Tol: float, Order: GeomAbs_Shape, MaxDegree: int, MaxSegments: int) -> None: ... + def __init__(self, C2D: Adaptor2d_Curve2d, Surf: Adaptor3d_Surface, Tol: float, Order: GeomAbs_Shape, MaxDegree: int, MaxSegments: int) -> None: ... @overload - def __init__(self, C2D1: Adaptor2d_HCurve2d, Surf1: Adaptor3d_HSurface, C2D2: Adaptor2d_HCurve2d, Surf2: Adaptor3d_HSurface, Tol: float, Order: GeomAbs_Shape, MaxDegree: int, MaxSegments: int) -> None: ... + def __init__(self, C2D1: Adaptor2d_Curve2d, Surf1: Adaptor3d_Surface, C2D2: Adaptor2d_Curve2d, Surf2: Adaptor3d_Surface, Tol: float, Order: GeomAbs_Shape, MaxDegree: int, MaxSegments: int) -> None: ... def Curve2d1(self) -> Geom2d_BSplineCurve: ... def Curve2d2(self) -> Geom2d_BSplineCurve: ... def Curve3d(self) -> Geom_BSplineCurve: ... @@ -143,11 +143,11 @@ class Approx_CurvilinearParameter: class Approx_CurvlinFunc(Standard_Transient): @overload - def __init__(self, C: Adaptor3d_HCurve, Tol: float) -> None: ... + def __init__(self, C: Adaptor3d_Curve, Tol: float) -> None: ... @overload - def __init__(self, C2D: Adaptor2d_HCurve2d, S: Adaptor3d_HSurface, Tol: float) -> None: ... + def __init__(self, C2D: Adaptor2d_Curve2d, S: Adaptor3d_Surface, Tol: float) -> None: ... @overload - def __init__(self, C2D1: Adaptor2d_HCurve2d, C2D2: Adaptor2d_HCurve2d, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, Tol: float) -> None: ... + def __init__(self, C2D1: Adaptor2d_Curve2d, C2D2: Adaptor2d_Curve2d, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, Tol: float) -> None: ... def EvalCase1(self, S: float, Order: int, Result: TColStd_Array1OfReal) -> bool: ... def EvalCase2(self, S: float, Order: int, Result: TColStd_Array1OfReal) -> bool: ... def EvalCase3(self, S: float, Order: int, Result: TColStd_Array1OfReal) -> bool: ... @@ -218,9 +218,9 @@ class Approx_SameParameter: @overload def __init__(self, C3D: Geom_Curve, C2D: Geom2d_Curve, S: Geom_Surface, Tol: float) -> None: ... @overload - def __init__(self, C3D: Adaptor3d_HCurve, C2D: Geom2d_Curve, S: Adaptor3d_HSurface, Tol: float) -> None: ... + def __init__(self, C3D: Adaptor3d_Curve, C2D: Geom2d_Curve, S: Adaptor3d_Surface, Tol: float) -> None: ... @overload - def __init__(self, C3D: Adaptor3d_HCurve, C2D: Adaptor2d_HCurve2d, S: Adaptor3d_HSurface, Tol: float) -> None: ... + def __init__(self, C3D: Adaptor3d_Curve, C2D: Adaptor2d_Curve2d, S: Adaptor3d_Surface, Tol: float) -> None: ... def Curve2d(self) -> Geom2d_Curve: ... def IsDone(self) -> bool: ... def IsSameParameter(self) -> bool: ... diff --git a/src/SWIG_files/wrapper/ApproxInt.i b/src/SWIG_files/wrapper/ApproxInt.i index 5c937fd67..74577476c 100644 --- a/src/SWIG_files/wrapper/ApproxInt.i +++ b/src/SWIG_files/wrapper/ApproxInt.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define APPROXINTDOCSTRING "ApproxInt module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_approxint.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_approxint.html" %enddef %module (package="OCC.Core", docstring=APPROXINTDOCSTRING) ApproxInt @@ -42,8 +42,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_approxint.html" //Dependencies #include #include -#include #include +#include +#include +#include +#include #include #include #include @@ -51,6 +54,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_approxint.html" #include #include #include +#include +#include #include #include #include @@ -58,8 +63,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_approxint.html" %}; %import Standard.i %import NCollection.i -%import TColgp.i %import math.i +%import TColStd.i +%import TColgp.i +%import IntPatch.i +%import Approx.i %import gp.i %import IntSurf.i @@ -71,7 +79,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -90,10 +98,28 @@ from OCC.Core.Exception import * ****************************/ class ApproxInt_KnotTools { public: + /****************** BuildCurvature ******************/ + /**** md5 signature: b62269124f28a23358303630ee8d4ebf ****/ + %feature("compactdefaultargs") BuildCurvature; + %feature("autodoc", "Builds discrete curvature. + +Parameters +---------- +theCoords: NCollection_LocalArray +theDim: int +thePars: math_Vector +theCurv: TColStd_Array1OfReal + +Returns +------- +theMaxCurv: float +") BuildCurvature; + static void BuildCurvature(const NCollection_LocalArray & theCoords, const Standard_Integer theDim, const math_Vector & thePars, TColStd_Array1OfReal & theCurv, Standard_Real &OutValue); + /****************** BuildKnots ******************/ /**** md5 signature: 49c65485e14fc730360039ad6109a047 ****/ %feature("compactdefaultargs") BuildKnots; - %feature("autodoc", "Main function to build optimal knot sequence. at least one set from (thepntsxyz, thepntsu1v1, thepntsu2v2) should exist. @param thepntsxyz - set of 3d points. @param thepntsu1v1 - set of 2d points. @param thepntsu2v2 - set of 2d points. @param thepars - expected parameters assoiated with set. @param theapproxxyz - flag, existence of 3d set. @param theapproxu1v1 - flag existence of first 2d set. @param theapproxu2v2 - flag existence of second 2d set. @param theminnbpnts - minimal number of points per knot interval. @param theknots - output knots sequence. + %feature("autodoc", "Main function to build optimal knot sequence. at least one set from (thepntsxyz, thepntsu1v1, thepntsu2v2) should exist. @param thepntsxyz - set of 3d points. @param thepntsu1v1 - set of 2d points. @param thepntsu2v2 - set of 2d points. @param thepars - expected parameters associated with set. @param theapproxxyz - flag, existence of 3d set. @param theapproxu1v1 - flag existence of first 2d set. @param theapproxu2v2 - flag existence of second 2d set. @param theminnbpnts - minimal number of points per knot interval. @param theknots - output knots sequence. Parameters ---------- @@ -113,6 +139,26 @@ None ") BuildKnots; static void BuildKnots(const TColgp_Array1OfPnt & thePntsXYZ, const TColgp_Array1OfPnt2d & thePntsU1V1, const TColgp_Array1OfPnt2d & thePntsU2V2, const math_Vector & thePars, const Standard_Boolean theApproxXYZ, const Standard_Boolean theApproxU1V1, const Standard_Boolean theApproxU2V2, const Standard_Integer theMinNbPnts, NCollection_Vector & theKnots); + /****************** DefineParType ******************/ + /**** md5 signature: e1d91690eade86173e6384cbb3ec9b53 ****/ + %feature("compactdefaultargs") DefineParType; + %feature("autodoc", "Defines preferable parametrization type for thewl . + +Parameters +---------- +theWL: IntPatch_WLine +theFpar: int +theLpar: int +theApproxXYZ: bool +theApproxU1V1: bool +theApproxU2V2: bool + +Returns +------- +Approx_ParametrizationType +") DefineParType; + static Approx_ParametrizationType DefineParType(const opencascade::handle & theWL, const Standard_Integer theFpar, const Standard_Integer theLpar, const Standard_Boolean theApproxXYZ, const Standard_Boolean theApproxU1V1, const Standard_Boolean theApproxU2V2); + }; @@ -149,6 +195,17 @@ v2: float ") Compute; virtual Standard_Boolean Compute(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, gp_Pnt & Pt, gp_Vec & Tg, gp_Vec2d & Tguv1, gp_Vec2d & Tguv2); + /****************** GetUseSolver ******************/ + /**** md5 signature: 0cd3174a4b9b13255f5e86b8e6432347 ****/ + %feature("compactdefaultargs") GetUseSolver; + %feature("autodoc", "No available documentation. + +Returns +------- +bool +") GetUseSolver; + virtual Standard_Boolean GetUseSolver(); + /****************** Pnt ******************/ /**** md5 signature: 16f6732cc231fab7357ba8adcca3b24d ****/ %feature("compactdefaultargs") Pnt; @@ -187,6 +244,21 @@ bool ") SeekPoint; virtual Standard_Boolean SeekPoint(const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, IntSurf_PntOn2S & Point); + /****************** SetUseSolver ******************/ + /**** md5 signature: 60f84821ae19a493df618fb006dc01ad ****/ + %feature("compactdefaultargs") SetUseSolver; + %feature("autodoc", "No available documentation. + +Parameters +---------- +theUseSol: bool + +Returns +------- +None +") SetUseSolver; + virtual void SetUseSolver(const Standard_Boolean theUseSol); + /****************** Tangency ******************/ /**** md5 signature: 2d07e542429be7042ab790c78def5d62 ****/ %feature("compactdefaultargs") Tangency; diff --git a/src/SWIG_files/wrapper/ApproxInt.pyi b/src/SWIG_files/wrapper/ApproxInt.pyi index 6fc3504ab..caaf24100 100644 --- a/src/SWIG_files/wrapper/ApproxInt.pyi +++ b/src/SWIG_files/wrapper/ApproxInt.pyi @@ -3,19 +3,25 @@ from typing import overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * -from OCC.Core.TColgp import * from OCC.Core.math import * +from OCC.Core.TColStd import * +from OCC.Core.TColgp import * +from OCC.Core.IntPatch import * +from OCC.Core.Approx import * from OCC.Core.gp import * from OCC.Core.IntSurf import * class ApproxInt_KnotTools: - pass + @staticmethod + def DefineParType(theWL: IntPatch_WLine, theFpar: int, theLpar: int, theApproxXYZ: bool, theApproxU1V1: bool, theApproxU2V2: bool) -> Approx_ParametrizationType: ... class ApproxInt_SvSurfaces: def Compute(self, Pt: gp_Pnt, Tg: gp_Vec, Tguv1: gp_Vec2d, Tguv2: gp_Vec2d) -> Tuple[bool, float, float, float, float]: ... + def GetUseSolver(self) -> bool: ... def Pnt(self, u1: float, v1: float, u2: float, v2: float, P: gp_Pnt) -> None: ... def SeekPoint(self, u1: float, v1: float, u2: float, v2: float, Point: IntSurf_PntOn2S) -> bool: ... + def SetUseSolver(self, theUseSol: bool) -> None: ... def Tangency(self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec) -> bool: ... def TangencyOnSurf1(self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec2d) -> bool: ... def TangencyOnSurf2(self, u1: float, v1: float, u2: float, v2: float, Tg: gp_Vec2d) -> bool: ... @@ -24,4 +30,6 @@ class ApproxInt_SvSurfaces: # harray2 classes # hsequence classes +ApproxInt_KnotTools_BuildCurvature = ApproxInt_KnotTools.BuildCurvature ApproxInt_KnotTools_BuildKnots = ApproxInt_KnotTools.BuildKnots +ApproxInt_KnotTools_DefineParType = ApproxInt_KnotTools.DefineParType diff --git a/src/SWIG_files/wrapper/Aspect.i b/src/SWIG_files/wrapper/Aspect.i index f3a6f5fe0..f660f6a0c 100644 --- a/src/SWIG_files/wrapper/Aspect.i +++ b/src/SWIG_files/wrapper/Aspect.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define ASPECTDOCSTRING "Aspect module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_aspect.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_aspect.html" %enddef %module (package="OCC.Core", docstring=ASPECTDOCSTRING) Aspect @@ -37,16 +37,17 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_aspect.html" %{ +#include #include //Dependencies #include #include #include +#include #include #include #include -#include #include #include #include @@ -57,10 +58,10 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_aspect.html" %import Standard.i %import NCollection.i %import Quantity.i +%import Graphic3d.i %import TCollection.i %import gp.i %import Image.i -%import Graphic3d.i %pythoncode { from enum import IntEnum @@ -245,15 +246,25 @@ enum Aspect_TypeOfLine { }; enum Aspect_GradientFillMethod { - Aspect_GFM_NONE = 0, - Aspect_GFM_HOR = 1, - Aspect_GFM_VER = 2, - Aspect_GFM_DIAG1 = 3, - Aspect_GFM_DIAG2 = 4, - Aspect_GFM_CORNER1 = 5, - Aspect_GFM_CORNER2 = 6, - Aspect_GFM_CORNER3 = 7, - Aspect_GFM_CORNER4 = 8, + Aspect_GradientFillMethod_None = 0, + Aspect_GradientFillMethod_Horizontal = 1, + Aspect_GradientFillMethod_Vertical = 2, + Aspect_GradientFillMethod_Diagonal1 = 3, + Aspect_GradientFillMethod_Diagonal2 = 4, + Aspect_GradientFillMethod_Corner1 = 5, + Aspect_GradientFillMethod_Corner2 = 6, + Aspect_GradientFillMethod_Corner3 = 7, + Aspect_GradientFillMethod_Corner4 = 8, + Aspect_GradientFillMethod_Elliptical = 9, + Aspect_GFM_NONE = Aspect_GradientFillMethod_None, + Aspect_GFM_HOR = Aspect_GradientFillMethod_Horizontal, + Aspect_GFM_VER = Aspect_GradientFillMethod_Vertical, + Aspect_GFM_DIAG1 = Aspect_GradientFillMethod_Diagonal1, + Aspect_GFM_DIAG2 = Aspect_GradientFillMethod_Diagonal2, + Aspect_GFM_CORNER1 = Aspect_GradientFillMethod_Corner1, + Aspect_GFM_CORNER2 = Aspect_GradientFillMethod_Corner2, + Aspect_GFM_CORNER3 = Aspect_GradientFillMethod_Corner3, + Aspect_GFM_CORNER4 = Aspect_GradientFillMethod_Corner4, }; enum Aspect_XRGenericAction { @@ -482,7 +493,7 @@ enum Aspect_InteriorStyle { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Aspect_Eye(IntEnum): @@ -800,15 +811,35 @@ Aspect_TOL_DOTDASH = Aspect_TypeOfLine.Aspect_TOL_DOTDASH Aspect_TOL_USERDEFINED = Aspect_TypeOfLine.Aspect_TOL_USERDEFINED class Aspect_GradientFillMethod(IntEnum): - Aspect_GFM_NONE = 0 - Aspect_GFM_HOR = 1 - Aspect_GFM_VER = 2 - Aspect_GFM_DIAG1 = 3 - Aspect_GFM_DIAG2 = 4 - Aspect_GFM_CORNER1 = 5 - Aspect_GFM_CORNER2 = 6 - Aspect_GFM_CORNER3 = 7 - Aspect_GFM_CORNER4 = 8 + Aspect_GradientFillMethod_None = 0 + Aspect_GradientFillMethod_Horizontal = 1 + Aspect_GradientFillMethod_Vertical = 2 + Aspect_GradientFillMethod_Diagonal1 = 3 + Aspect_GradientFillMethod_Diagonal2 = 4 + Aspect_GradientFillMethod_Corner1 = 5 + Aspect_GradientFillMethod_Corner2 = 6 + Aspect_GradientFillMethod_Corner3 = 7 + Aspect_GradientFillMethod_Corner4 = 8 + Aspect_GradientFillMethod_Elliptical = 9 + Aspect_GFM_NONE = Aspect_GradientFillMethod_None + Aspect_GFM_HOR = Aspect_GradientFillMethod_Horizontal + Aspect_GFM_VER = Aspect_GradientFillMethod_Vertical + Aspect_GFM_DIAG1 = Aspect_GradientFillMethod_Diagonal1 + Aspect_GFM_DIAG2 = Aspect_GradientFillMethod_Diagonal2 + Aspect_GFM_CORNER1 = Aspect_GradientFillMethod_Corner1 + Aspect_GFM_CORNER2 = Aspect_GradientFillMethod_Corner2 + Aspect_GFM_CORNER3 = Aspect_GradientFillMethod_Corner3 + Aspect_GFM_CORNER4 = Aspect_GradientFillMethod_Corner4 +Aspect_GradientFillMethod_None = Aspect_GradientFillMethod.Aspect_GradientFillMethod_None +Aspect_GradientFillMethod_Horizontal = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Horizontal +Aspect_GradientFillMethod_Vertical = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Vertical +Aspect_GradientFillMethod_Diagonal1 = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Diagonal1 +Aspect_GradientFillMethod_Diagonal2 = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Diagonal2 +Aspect_GradientFillMethod_Corner1 = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Corner1 +Aspect_GradientFillMethod_Corner2 = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Corner2 +Aspect_GradientFillMethod_Corner3 = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Corner3 +Aspect_GradientFillMethod_Corner4 = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Corner4 +Aspect_GradientFillMethod_Elliptical = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Elliptical Aspect_GFM_NONE = Aspect_GradientFillMethod.Aspect_GFM_NONE Aspect_GFM_HOR = Aspect_GradientFillMethod.Aspect_GFM_HOR Aspect_GFM_VER = Aspect_GradientFillMethod.Aspect_GFM_VER @@ -1187,7 +1218,7 @@ Aspect_IS_HOLLOW = Aspect_InteriorStyle.Aspect_IS_HOLLOW /* typedefs */ typedef void * Aspect_Display; typedef unsigned long Aspect_Drawable; -typedef void * Aspect_FBConfig; +typedef GLXFBConfig Aspect_FBConfig; typedef unsigned long Aspect_Handle; typedef void * Aspect_RenderingContext; typedef NCollection_Sequence Aspect_SequenceOfColor; @@ -1281,6 +1312,39 @@ None *********************************/ class Aspect_DisplayConnection : public Standard_Transient { public: + /****************** GetDefaultFBConfig ******************/ + /**** md5 signature: 622b64beb2b73c32aace98cc90ab7793 ****/ + %feature("compactdefaultargs") GetDefaultFBConfig; + %feature("autodoc", "Returns native window fb config (glxfbconfig on xlib). + +Returns +------- +Aspect_FBConfig +") GetDefaultFBConfig; + Aspect_FBConfig GetDefaultFBConfig(); + + /****************** GetDefaultVisualInfo ******************/ + /**** md5 signature: dde27c64c5cbb24e80531c18197370c1 ****/ + %feature("compactdefaultargs") GetDefaultVisualInfo; + %feature("autodoc", "Return default window visual or null when undefined. + +Returns +------- +Aspect_XVisualInfo * +") GetDefaultVisualInfo; + Aspect_XVisualInfo * GetDefaultVisualInfo(); + + /****************** GetDisplayAspect ******************/ + /**** md5 signature: b7c859e60cde1d6a2d363b0c0841abb9 ****/ + %feature("compactdefaultargs") GetDisplayAspect; + %feature("autodoc", "Returns pointer to display structure that serves as the connection to the x server. + +Returns +------- +Aspect_XDisplay * +") GetDisplayAspect; + Aspect_XDisplay * GetDisplayAspect(); + }; @@ -1313,6 +1377,18 @@ class Aspect_DisplayConnection : public Standard_Transient { @methodnotwrapped def IsOwnDisplay(self): pass + + @methodnotwrapped + def GetAtomX(self): + pass + + @methodnotwrapped + def GetDefaultVisualInfoX(self): + pass + + @methodnotwrapped + def SetDefaultVisualInfo(self): + pass } }; @@ -1978,6 +2054,58 @@ Aspect_FillMethod ") BackgroundFillMethod; Aspect_FillMethod BackgroundFillMethod(); + /****************** ConvertPointFromBacking ******************/ + /**** md5 signature: 621f59446c2c34234eba0b43cd724552 ****/ + %feature("compactdefaultargs") ConvertPointFromBacking; + %feature("autodoc", "Convert point from backing store units to logical units. + +Parameters +---------- +thePnt: Graphic3d_Vec2d + +Returns +------- +Graphic3d_Vec2d +") ConvertPointFromBacking; + virtual Graphic3d_Vec2d ConvertPointFromBacking(const Graphic3d_Vec2d & thePnt); + + /****************** ConvertPointToBacking ******************/ + /**** md5 signature: 37a4876c01cca0dee435e17d82ae73d5 ****/ + %feature("compactdefaultargs") ConvertPointToBacking; + %feature("autodoc", "Convert point from logical units into backing store units. + +Parameters +---------- +thePnt: Graphic3d_Vec2d + +Returns +------- +Graphic3d_Vec2d +") ConvertPointToBacking; + virtual Graphic3d_Vec2d ConvertPointToBacking(const Graphic3d_Vec2d & thePnt); + + /****************** DevicePixelRatio ******************/ + /**** md5 signature: 6492ff955dcc6243b26fa4c3bdea7bf0 ****/ + %feature("compactdefaultargs") DevicePixelRatio; + %feature("autodoc", "Return device pixel ratio (logical to backing store scale factor). + +Returns +------- +float +") DevicePixelRatio; + virtual Standard_Real DevicePixelRatio(); + + /****************** DisplayConnection ******************/ + /**** md5 signature: 411dcd7f318927d5a5c6c027eda3726a ****/ + %feature("compactdefaultargs") DisplayConnection; + %feature("autodoc", "Returns connection to display or null. + +Returns +------- +opencascade::handle +") DisplayConnection; + const opencascade::handle & DisplayConnection(); + /****************** DoMapping ******************/ /**** md5 signature: bccedbb13c087bbcb0fdc2dc4be5fafa ****/ %feature("compactdefaultargs") DoMapping; @@ -2243,6 +2371,544 @@ None } }; +/*********************************** +* class Aspect_WindowInputListener * +***********************************/ +%nodefaultctor Aspect_WindowInputListener; +class Aspect_WindowInputListener { + public: + /****************** AddTouchPoint ******************/ + /**** md5 signature: 93b82d6d34eb813c208bc4163ef671c4 ****/ + %feature("compactdefaultargs") AddTouchPoint; + %feature("autodoc", "Add touch point with the given id. this method is expected to be called from ui thread. @param theid touch unique identifier @param thepnt touch coordinates @param theclearbefore if true previously registered touches will be removed. + +Parameters +---------- +theId: Standard_Size +thePnt: Graphic3d_Vec2d +theClearBefore: bool,optional + default value is false + +Returns +------- +None +") AddTouchPoint; + virtual void AddTouchPoint(Standard_Size theId, const Graphic3d_Vec2d & thePnt, Standard_Boolean theClearBefore = false); + + /****************** Change3dMouseIsNoRotate ******************/ + /**** md5 signature: b2ff1af628a01e66606ed582c146ef69 ****/ + %feature("compactdefaultargs") Change3dMouseIsNoRotate; + %feature("autodoc", "Return 3d mouse rotation axes (tilt/roll/spin) ignore flag; (false, false, false) by default. + +Returns +------- +NCollection_Vec3 +") Change3dMouseIsNoRotate; + NCollection_Vec3 & Change3dMouseIsNoRotate(); + + /****************** Change3dMouseToReverse ******************/ + /**** md5 signature: 74994d53f8199fd2049bc1854acbcdb2 ****/ + %feature("compactdefaultargs") Change3dMouseToReverse; + %feature("autodoc", "Return 3d mouse rotation axes (tilt/roll/spin) reverse flag; (true, false, false) by default. + +Returns +------- +NCollection_Vec3 +") Change3dMouseToReverse; + NCollection_Vec3 & Change3dMouseToReverse(); + + /****************** ChangeKeys ******************/ + /**** md5 signature: 5ba331e57bcd00b6539ab5d9145324ac ****/ + %feature("compactdefaultargs") ChangeKeys; + %feature("autodoc", "Return keyboard state. + +Returns +------- +Aspect_VKeySet +") ChangeKeys; + Aspect_VKeySet & ChangeKeys(); + + /****************** EventTime ******************/ + /**** md5 signature: 6bdc5b17561b5be0e9e4dbdd76a72ace ****/ + %feature("compactdefaultargs") EventTime; + %feature("autodoc", "Return event time (e.g. current time). + +Returns +------- +double +") EventTime; + double EventTime(); + + /****************** Get3dMouseIsNoRotate ******************/ + /**** md5 signature: ae14b65261c4d2a6b12679cc1f5c5ed4 ****/ + %feature("compactdefaultargs") Get3dMouseIsNoRotate; + %feature("autodoc", "Return 3d mouse rotation axes (tilt/roll/spin) ignore flag; (false, false, false) by default. + +Returns +------- +NCollection_Vec3 +") Get3dMouseIsNoRotate; + const NCollection_Vec3 & Get3dMouseIsNoRotate(); + + /****************** Get3dMouseRotationScale ******************/ + /**** md5 signature: 6e7927184907412546b0e3bf5c131f00 ****/ + %feature("compactdefaultargs") Get3dMouseRotationScale; + %feature("autodoc", "Return acceleration ratio for rotation event; 4.0 by default. + +Returns +------- +float +") Get3dMouseRotationScale; + float Get3dMouseRotationScale(); + + /****************** Get3dMouseToReverse ******************/ + /**** md5 signature: a365f1e9e4397aece1eb44aa7383f6d5 ****/ + %feature("compactdefaultargs") Get3dMouseToReverse; + %feature("autodoc", "Return 3d mouse rotation axes (tilt/roll/spin) reverse flag; (true, false, false) by default. + +Returns +------- +NCollection_Vec3 +") Get3dMouseToReverse; + const NCollection_Vec3 & Get3dMouseToReverse(); + + /****************** Get3dMouseTranslationScale ******************/ + /**** md5 signature: f426a4558b5227de61530d9d20b93e7e ****/ + %feature("compactdefaultargs") Get3dMouseTranslationScale; + %feature("autodoc", "Return acceleration ratio for translation event; 2.0 by default. + +Returns +------- +float +") Get3dMouseTranslationScale; + float Get3dMouseTranslationScale(); + + /****************** HasTouchPoints ******************/ + /**** md5 signature: f6532233e79841283a6d00ea2e7477d5 ****/ + %feature("compactdefaultargs") HasTouchPoints; + %feature("autodoc", "Return true if touches map is not empty. + +Returns +------- +bool +") HasTouchPoints; + bool HasTouchPoints(); + + /****************** KeyDown ******************/ + /**** md5 signature: 5192d78be0f66dc0b2cf998103ed19af ****/ + %feature("compactdefaultargs") KeyDown; + %feature("autodoc", "Press key. default implementation updates internal cache. @param thekey key pressed @param thetime event timestamp. + +Parameters +---------- +theKey: Aspect_VKey +theTime: double +thePressure: double,optional + default value is 1.0 + +Returns +------- +None +") KeyDown; + virtual void KeyDown(Aspect_VKey theKey, double theTime, double thePressure = 1.0); + + /****************** KeyFromAxis ******************/ + /**** md5 signature: a8592c856484d5ea635556005b4dbf66 ****/ + %feature("compactdefaultargs") KeyFromAxis; + %feature("autodoc", "Simulate key up/down events from axis value. default implementation updates internal cache. + +Parameters +---------- +theNegative: Aspect_VKey +thePositive: Aspect_VKey +theTime: double +thePressure: double + +Returns +------- +None +") KeyFromAxis; + virtual void KeyFromAxis(Aspect_VKey theNegative, Aspect_VKey thePositive, double theTime, double thePressure); + + /****************** KeyUp ******************/ + /**** md5 signature: facf026fe52d5d68e622d779a08b26c3 ****/ + %feature("compactdefaultargs") KeyUp; + %feature("autodoc", "Release key. default implementation updates internal cache. @param thekey key pressed @param thetime event timestamp. + +Parameters +---------- +theKey: Aspect_VKey +theTime: double + +Returns +------- +None +") KeyUp; + virtual void KeyUp(Aspect_VKey theKey, double theTime); + + /****************** Keys ******************/ + /**** md5 signature: 71088904ae13bced99cf6e1155c58478 ****/ + %feature("compactdefaultargs") Keys; + %feature("autodoc", "Return keyboard state. + +Returns +------- +Aspect_VKeySet +") Keys; + const Aspect_VKeySet & Keys(); + + /****************** LastMouseFlags ******************/ + /**** md5 signature: 891e38e0b645d78e87ef09c802ac2d63 ****/ + %feature("compactdefaultargs") LastMouseFlags; + %feature("autodoc", "Return active key modifiers passed with last mouse event. + +Returns +------- +Aspect_VKeyFlags +") LastMouseFlags; + Aspect_VKeyFlags LastMouseFlags(); + + /****************** LastMousePosition ******************/ + /**** md5 signature: 69040771a57339f922c8a0c6021122bb ****/ + %feature("compactdefaultargs") LastMousePosition; + %feature("autodoc", "Return last mouse position. + +Returns +------- +Graphic3d_Vec2i +") LastMousePosition; + const Graphic3d_Vec2i & LastMousePosition(); + + /****************** PressMouseButton ******************/ + /**** md5 signature: 3011ceaa0add6213ae689425180a9aab ****/ + %feature("compactdefaultargs") PressMouseButton; + %feature("autodoc", "Handle mouse button press event. this method is expected to be called from ui thread. default implementation redirects to updatemouseposition(). @param thepoint mouse cursor position @param thebutton pressed button @param themodifiers key modifiers @param theisemulated if true then mouse event comes not from real mouse but emulated from non-precise input like touch on screen returns true if window content should be redrawn. + +Parameters +---------- +thePoint: Graphic3d_Vec2i +theButton: Aspect_VKeyMouse +theModifiers: Aspect_VKeyFlags +theIsEmulated: bool + +Returns +------- +bool +") PressMouseButton; + bool PressMouseButton(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButton, Aspect_VKeyFlags theModifiers, bool theIsEmulated); + + /****************** PressedMouseButtons ******************/ + /**** md5 signature: 28ea733557be0052235dc8a7fe3ed119 ****/ + %feature("compactdefaultargs") PressedMouseButtons; + %feature("autodoc", "Return currently pressed mouse buttons. + +Returns +------- +Aspect_VKeyMouse +") PressedMouseButtons; + Aspect_VKeyMouse PressedMouseButtons(); + + /****************** ProcessClose ******************/ + /**** md5 signature: 59654ad0d3a6816d4daa90e13a580cde ****/ + %feature("compactdefaultargs") ProcessClose; + %feature("autodoc", "Handle window close event. + +Returns +------- +None +") ProcessClose; + virtual void ProcessClose(); + + /****************** ProcessConfigure ******************/ + /**** md5 signature: ca30e387334b4284a619ea054d2c8c75 ****/ + %feature("compactdefaultargs") ProcessConfigure; + %feature("autodoc", "Handle window resize event. + +Parameters +---------- +theIsResized: bool + +Returns +------- +None +") ProcessConfigure; + virtual void ProcessConfigure(bool theIsResized); + + /****************** ProcessExpose ******************/ + /**** md5 signature: f597030918979508d41a1535a55a52da ****/ + %feature("compactdefaultargs") ProcessExpose; + %feature("autodoc", "Handle expose event (window content has been invalidation and should be redrawn). + +Returns +------- +None +") ProcessExpose; + virtual void ProcessExpose(); + + /****************** ProcessFocus ******************/ + /**** md5 signature: 62ed591bdb7901b7386a340b9d7b2f9b ****/ + %feature("compactdefaultargs") ProcessFocus; + %feature("autodoc", "Handle focus event. + +Parameters +---------- +theIsActivated: bool + +Returns +------- +None +") ProcessFocus; + virtual void ProcessFocus(bool theIsActivated); + + /****************** ProcessInput ******************/ + /**** md5 signature: 25eccaa30cc27b2a88e167899d319730 ****/ + %feature("compactdefaultargs") ProcessInput; + %feature("autodoc", "Handle window input event immediately (flush input buffer or ignore). + +Returns +------- +None +") ProcessInput; + virtual void ProcessInput(); + + /****************** ReleaseMouseButton ******************/ + /**** md5 signature: a9b43da8768564266828a78fde53802f ****/ + %feature("compactdefaultargs") ReleaseMouseButton; + %feature("autodoc", "Handle mouse button release event. this method is expected to be called from ui thread. default implementation redirects to updatemouseposition(). @param thepoint mouse cursor position @param thebutton released button @param themodifiers key modifiers @param theisemulated if true then mouse event comes not from real mouse but emulated from non-precise input like touch on screen returns true if window content should be redrawn. + +Parameters +---------- +thePoint: Graphic3d_Vec2i +theButton: Aspect_VKeyMouse +theModifiers: Aspect_VKeyFlags +theIsEmulated: bool + +Returns +------- +bool +") ReleaseMouseButton; + bool ReleaseMouseButton(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButton, Aspect_VKeyFlags theModifiers, bool theIsEmulated); + + /****************** RemoveTouchPoint ******************/ + /**** md5 signature: 45c3401339716ca58b815f7e44a3d196 ****/ + %feature("compactdefaultargs") RemoveTouchPoint; + %feature("autodoc", "Remove touch point with the given id. this method is expected to be called from ui thread. @param theid touch unique identifier @param theclearselectpnts if true will initiate clearing of selection points returns true if point has been removed. + +Parameters +---------- +theId: Standard_Size +theClearSelectPnts: bool,optional + default value is false + +Returns +------- +bool +") RemoveTouchPoint; + virtual bool RemoveTouchPoint(Standard_Size theId, Standard_Boolean theClearSelectPnts = false); + + /****************** Set3dMousePreciseInput ******************/ + /**** md5 signature: 0ff4172c7dce21c124fb3941d21634cd ****/ + %feature("compactdefaultargs") Set3dMousePreciseInput; + %feature("autodoc", "Set quadric acceleration flag. + +Parameters +---------- +theIsQuadric: bool + +Returns +------- +None +") Set3dMousePreciseInput; + void Set3dMousePreciseInput(bool theIsQuadric); + + /****************** Set3dMouseRotationScale ******************/ + /**** md5 signature: 26cc1d3413bc1ed0806210cb74503bf8 ****/ + %feature("compactdefaultargs") Set3dMouseRotationScale; + %feature("autodoc", "Set acceleration ratio for rotation event. + +Parameters +---------- +theScale: float + +Returns +------- +None +") Set3dMouseRotationScale; + void Set3dMouseRotationScale(float theScale); + + /****************** Set3dMouseTranslationScale ******************/ + /**** md5 signature: d66cf6c87510f4cf28118e77235f6dc1 ****/ + %feature("compactdefaultargs") Set3dMouseTranslationScale; + %feature("autodoc", "Set acceleration ratio for translation event. + +Parameters +---------- +theScale: float + +Returns +------- +None +") Set3dMouseTranslationScale; + void Set3dMouseTranslationScale(float theScale); + + /****************** To3dMousePreciseInput ******************/ + /**** md5 signature: e7d1cbbce6f739652fb2dcffebfdc574 ****/ + %feature("compactdefaultargs") To3dMousePreciseInput; + %feature("autodoc", "Return quadric acceleration flag; true by default. + +Returns +------- +bool +") To3dMousePreciseInput; + bool To3dMousePreciseInput(); + + /****************** TouchPoints ******************/ + /**** md5 signature: aae5a0777c45c41be0cc42d98cb8d6a5 ****/ + %feature("compactdefaultargs") TouchPoints; + %feature("autodoc", "Return map of active touches. + +Returns +------- +Aspect_TouchMap +") TouchPoints; + const Aspect_TouchMap & TouchPoints(); + + /****************** Update3dMouse ******************/ + /**** md5 signature: 989c941c2b66167e2e5fa84999e81fe3 ****/ + %feature("compactdefaultargs") Update3dMouse; + %feature("autodoc", "Process 3d mouse input event (redirects to translation, rotation and keys). + +Parameters +---------- +theEvent: WNT_HIDSpaceMouse + +Returns +------- +bool +") Update3dMouse; + virtual bool Update3dMouse(const WNT_HIDSpaceMouse & theEvent); + + /****************** UpdateMouseButtons ******************/ + /**** md5 signature: 344a32c08e48df63d66f82e75f14f4ac ****/ + %feature("compactdefaultargs") UpdateMouseButtons; + %feature("autodoc", "Handle mouse button press/release event. this method is expected to be called from ui thread. @param thepoint mouse cursor position @param thebuttons pressed buttons @param themodifiers key modifiers @param theisemulated if true then mouse event comes not from real mouse but emulated from non-precise input like touch on screen returns true if window content should be redrawn. + +Parameters +---------- +thePoint: Graphic3d_Vec2i +theButtons: Aspect_VKeyMouse +theModifiers: Aspect_VKeyFlags +theIsEmulated: bool + +Returns +------- +bool +") UpdateMouseButtons; + virtual bool UpdateMouseButtons(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButtons, Aspect_VKeyFlags theModifiers, bool theIsEmulated); + + /****************** UpdateMousePosition ******************/ + /**** md5 signature: 217f410d7de77f6f79b905cc2f67eaf4 ****/ + %feature("compactdefaultargs") UpdateMousePosition; + %feature("autodoc", "Handle mouse cursor movement event. this method is expected to be called from ui thread. default implementation does nothing. @param thepoint mouse cursor position @param thebuttons pressed buttons @param themodifiers key modifiers @param theisemulated if true then mouse event comes not from real mouse but emulated from non-precise input like touch on screen returns true if window content should be redrawn. + +Parameters +---------- +thePoint: Graphic3d_Vec2i +theButtons: Aspect_VKeyMouse +theModifiers: Aspect_VKeyFlags +theIsEmulated: bool + +Returns +------- +bool +") UpdateMousePosition; + virtual bool UpdateMousePosition(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButtons, Aspect_VKeyFlags theModifiers, bool theIsEmulated); + + /****************** UpdateMouseScroll ******************/ + /**** md5 signature: 33a1d2af16e7dcdaa2ec2c0ec68a7748 ****/ + %feature("compactdefaultargs") UpdateMouseScroll; + %feature("autodoc", "Update mouse scroll event. this method is expected to be called from ui thread. @param thedelta mouse cursor position and delta returns true if new event has been created or false if existing one has been updated. + +Parameters +---------- +theDelta: Aspect_ScrollDelta + +Returns +------- +bool +") UpdateMouseScroll; + virtual bool UpdateMouseScroll(const Aspect_ScrollDelta & theDelta); + + /****************** UpdateTouchPoint ******************/ + /**** md5 signature: 32b5b3a5782487b44b49157cf52c6e04 ****/ + %feature("compactdefaultargs") UpdateTouchPoint; + %feature("autodoc", "Update touch point with the given id. if point with specified id was not registered before, it will be added. this method is expected to be called from ui thread. @param theid touch unique identifier @param thepnt touch coordinates. + +Parameters +---------- +theId: Standard_Size +thePnt: Graphic3d_Vec2d + +Returns +------- +None +") UpdateTouchPoint; + virtual void UpdateTouchPoint(Standard_Size theId, const Graphic3d_Vec2d & thePnt); + + /****************** update3dMouseKeys ******************/ + /**** md5 signature: 7068d4e0858b2659de00f111094ecc7f ****/ + %feature("compactdefaultargs") update3dMouseKeys; + %feature("autodoc", "Process 3d mouse input keys event. + +Parameters +---------- +theEvent: WNT_HIDSpaceMouse + +Returns +------- +bool +") update3dMouseKeys; + virtual bool update3dMouseKeys(const WNT_HIDSpaceMouse & theEvent); + + /****************** update3dMouseRotation ******************/ + /**** md5 signature: 0e88dd09859b6f02e48c9b73ec73f69b ****/ + %feature("compactdefaultargs") update3dMouseRotation; + %feature("autodoc", "Process 3d mouse input rotation event. + +Parameters +---------- +theEvent: WNT_HIDSpaceMouse + +Returns +------- +bool +") update3dMouseRotation; + virtual bool update3dMouseRotation(const WNT_HIDSpaceMouse & theEvent); + + /****************** update3dMouseTranslation ******************/ + /**** md5 signature: c826319c70a567fbe2c3401c0a5c2471 ****/ + %feature("compactdefaultargs") update3dMouseTranslation; + %feature("autodoc", "Process 3d mouse input translation event. + +Parameters +---------- +theEvent: WNT_HIDSpaceMouse + +Returns +------- +bool +") update3dMouseTranslation; + virtual bool update3dMouseTranslation(const WNT_HIDSpaceMouse & theEvent); + +}; + + +%extend Aspect_WindowInputListener { + %pythoncode { + __repr__ = _dumps_object + } +}; + /************************ * class Aspect_XRAction * ************************/ @@ -2588,7 +3254,7 @@ enum InfoString { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class TrackingUniverseOrigin(IntEnum): @@ -3098,7 +3764,7 @@ class Aspect_GradientBackground : public Aspect_Background { /****************** Aspect_GradientBackground ******************/ /**** md5 signature: 2a3b12e3984621a36868307403d00696 ****/ %feature("compactdefaultargs") Aspect_GradientBackground; - %feature("autodoc", "Creates a window gradient background. default colors : quantity_noc_black. default fill method : aspect_gfm_none. + %feature("autodoc", "Creates a window gradient background. default color is quantity_noc_black. default fill method is aspect_gradientfillmethod_none. Returns ------- @@ -3107,22 +3773,22 @@ None Aspect_GradientBackground(); /****************** Aspect_GradientBackground ******************/ - /**** md5 signature: a6f68c9f1a0e9cb605f0a1cfca9bada3 ****/ + /**** md5 signature: 85f06b5f3ce72c2ed98cd0a1aa2d2a99 ****/ %feature("compactdefaultargs") Aspect_GradientBackground; - %feature("autodoc", "Creates a window gradient background with colours . + %feature("autodoc", "Creates a window gradient background with two colours. Parameters ---------- -AColor1: Quantity_Color -AColor2: Quantity_Color -AMethod: Aspect_GradientFillMethod,optional - default value is Aspect_GFM_HOR +theColor1: Quantity_Color +theColor2: Quantity_Color +theMethod: Aspect_GradientFillMethod,optional + default value is Aspect_GradientFillMethod_Horizontal Returns ------- None ") Aspect_GradientBackground; - Aspect_GradientBackground(const Quantity_Color & AColor1, const Quantity_Color & AColor2, const Aspect_GradientFillMethod AMethod = Aspect_GFM_HOR); + Aspect_GradientBackground(const Quantity_Color & theColor1, const Quantity_Color & theColor2, const Aspect_GradientFillMethod theMethod = Aspect_GradientFillMethod_Horizontal); /****************** BgGradientFillMethod ******************/ /**** md5 signature: 7ed50907542306114d5e90acbea724cc ****/ @@ -3136,20 +3802,20 @@ Aspect_GradientFillMethod Aspect_GradientFillMethod BgGradientFillMethod(); /****************** Colors ******************/ - /**** md5 signature: 1f444dae8ef6192a952d97253320da63 ****/ + /**** md5 signature: 2e3f4d55b92b83e682d47f9e5901fc34 ****/ %feature("compactdefaultargs") Colors; - %feature("autodoc", "Returns colours of the window gradient background . + %feature("autodoc", "Returns colours of the window gradient background. Parameters ---------- -AColor1: Quantity_Color -AColor2: Quantity_Color +theColor1: Quantity_Color +theColor2: Quantity_Color Returns ------- None ") Colors; - void Colors(Quantity_Color & AColor1, Quantity_Color & AColor2); + void Colors(Quantity_Color & theColor1, Quantity_Color & theColor2); %feature("autodoc", "1"); @@ -3160,22 +3826,22 @@ None return s.str();} }; /****************** SetColors ******************/ - /**** md5 signature: e9d1a160fb9ca8b15bcaf9ca8e97b5f0 ****/ + /**** md5 signature: ca78c9c4d4c2f941b5264058f8f3157f ****/ %feature("compactdefaultargs") SetColors; - %feature("autodoc", "Modifies the colours of the window gradient background . + %feature("autodoc", "Modifies the colours of the window gradient background. Parameters ---------- -AColor1: Quantity_Color -AColor2: Quantity_Color -AMethod: Aspect_GradientFillMethod,optional - default value is Aspect_GFM_HOR +theColor1: Quantity_Color +theColor2: Quantity_Color +theMethod: Aspect_GradientFillMethod,optional + default value is Aspect_GradientFillMethod_Horizontal Returns ------- None ") SetColors; - void SetColors(const Quantity_Color & AColor1, const Quantity_Color & AColor2, const Aspect_GradientFillMethod AMethod = Aspect_GFM_HOR); + void SetColors(const Quantity_Color & theColor1, const Quantity_Color & theColor2, const Aspect_GradientFillMethod theMethod = Aspect_GradientFillMethod_Horizontal); }; diff --git a/src/SWIG_files/wrapper/Aspect.pyi b/src/SWIG_files/wrapper/Aspect.pyi index f4b975c2d..b63fc7f7d 100644 --- a/src/SWIG_files/wrapper/Aspect.pyi +++ b/src/SWIG_files/wrapper/Aspect.pyi @@ -4,14 +4,14 @@ from typing import overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.Quantity import * +from OCC.Core.Graphic3d import * from OCC.Core.TCollection import * from OCC.Core.gp import * from OCC.Core.Image import * -from OCC.Core.Graphic3d import * Aspect_Display = NewType('Aspect_Display', None) Aspect_Drawable = NewType('Aspect_Drawable', int) -Aspect_FBConfig = NewType('Aspect_FBConfig', None) +Aspect_FBConfig = NewType('Aspect_FBConfig', GLXFBConfig) Aspect_Handle = NewType('Aspect_Handle', int) Aspect_RenderingContext = NewType('Aspect_RenderingContext', None) #the following typedef cannot be wrapped as is @@ -386,6 +386,16 @@ Aspect_TOL_DOTDASH = Aspect_TypeOfLine.Aspect_TOL_DOTDASH Aspect_TOL_USERDEFINED = Aspect_TypeOfLine.Aspect_TOL_USERDEFINED class Aspect_GradientFillMethod(IntEnum): + Aspect_GradientFillMethod_None: int = ... + Aspect_GradientFillMethod_Horizontal: int = ... + Aspect_GradientFillMethod_Vertical: int = ... + Aspect_GradientFillMethod_Diagonal1: int = ... + Aspect_GradientFillMethod_Diagonal2: int = ... + Aspect_GradientFillMethod_Corner1: int = ... + Aspect_GradientFillMethod_Corner2: int = ... + Aspect_GradientFillMethod_Corner3: int = ... + Aspect_GradientFillMethod_Corner4: int = ... + Aspect_GradientFillMethod_Elliptical: int = ... Aspect_GFM_NONE: int = ... Aspect_GFM_HOR: int = ... Aspect_GFM_VER: int = ... @@ -396,6 +406,16 @@ class Aspect_GradientFillMethod(IntEnum): Aspect_GFM_CORNER3: int = ... Aspect_GFM_CORNER4: int = ... +Aspect_GradientFillMethod_None = Aspect_GradientFillMethod.Aspect_GradientFillMethod_None +Aspect_GradientFillMethod_Horizontal = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Horizontal +Aspect_GradientFillMethod_Vertical = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Vertical +Aspect_GradientFillMethod_Diagonal1 = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Diagonal1 +Aspect_GradientFillMethod_Diagonal2 = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Diagonal2 +Aspect_GradientFillMethod_Corner1 = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Corner1 +Aspect_GradientFillMethod_Corner2 = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Corner2 +Aspect_GradientFillMethod_Corner3 = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Corner3 +Aspect_GradientFillMethod_Corner4 = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Corner4 +Aspect_GradientFillMethod_Elliptical = Aspect_GradientFillMethod.Aspect_GradientFillMethod_Elliptical Aspect_GFM_NONE = Aspect_GradientFillMethod.Aspect_GFM_NONE Aspect_GFM_HOR = Aspect_GradientFillMethod.Aspect_GFM_HOR Aspect_GFM_VER = Aspect_GradientFillMethod.Aspect_GFM_VER @@ -746,7 +766,9 @@ class Aspect_Background: def SetColor(self, AColor: Quantity_Color) -> None: ... class Aspect_DisplayConnection(Standard_Transient): - pass + def GetDefaultFBConfig(self) -> Aspect_FBConfig: ... + def GetDefaultVisualInfo(self) -> Aspect_XVisualInfo: ... + def GetDisplayAspect(self) -> Aspect_XDisplay: ... class Aspect_GenId: @overload @@ -794,7 +816,7 @@ class Aspect_ScrollDelta: def __init__(self) -> None: ... @overload def __init__(self, theValue: float, theFlags: Optional[Aspect_VKeyFlags] = Aspect_VKeyFlags_NONE) -> None: ... - def HasPoint(self) -> False: ... + def HasPoint(self) -> bool: ... def ResetPoint(self) -> None: ... class Aspect_Touch: @@ -810,6 +832,10 @@ class Aspect_TrackedDevicePose: class Aspect_Window(Standard_Transient): def Background(self) -> Aspect_Background: ... def BackgroundFillMethod(self) -> Aspect_FillMethod: ... + def ConvertPointFromBacking(self, thePnt: Graphic3d_Vec2d) -> Graphic3d_Vec2d: ... + def ConvertPointToBacking(self, thePnt: Graphic3d_Vec2d) -> Graphic3d_Vec2d: ... + def DevicePixelRatio(self) -> float: ... + def DisplayConnection(self) -> Aspect_DisplayConnection: ... def DoMapping(self) -> bool: ... def DoResize(self) -> Aspect_TypeOfResize: ... def GradientBackground(self) -> Aspect_GradientBackground: ... @@ -833,10 +859,43 @@ class Aspect_Window(Standard_Transient): def Size(self) -> Tuple[int, int]: ... def Unmap(self) -> None: ... +class Aspect_WindowInputListener: + def AddTouchPoint(self, theId: int, thePnt: Graphic3d_Vec2d, theClearBefore: Optional[bool] = false) -> None: ... + def Change3dMouseIsNoRotate(self) -> bool: ... + def Change3dMouseToReverse(self) -> bool: ... + def ChangeKeys(self) -> Aspect_VKeySet: ... + def EventTime(self) -> False: ... + def Get3dMouseIsNoRotate(self) -> bool: ... + def Get3dMouseRotationScale(self) -> float: ... + def Get3dMouseToReverse(self) -> bool: ... + def Get3dMouseTranslationScale(self) -> float: ... + def HasTouchPoints(self) -> bool: ... + def Keys(self) -> Aspect_VKeySet: ... + def LastMouseFlags(self) -> Aspect_VKeyFlags: ... + def LastMousePosition(self) -> Graphic3d_Vec2i: ... + def PressMouseButton(self, thePoint: Graphic3d_Vec2i, theButton: Aspect_VKeyMouse, theModifiers: Aspect_VKeyFlags, theIsEmulated: bool) -> bool: ... + def PressedMouseButtons(self) -> Aspect_VKeyMouse: ... + def ProcessClose(self) -> None: ... + def ProcessConfigure(self, theIsResized: bool) -> None: ... + def ProcessExpose(self) -> None: ... + def ProcessFocus(self, theIsActivated: bool) -> None: ... + def ProcessInput(self) -> None: ... + def ReleaseMouseButton(self, thePoint: Graphic3d_Vec2i, theButton: Aspect_VKeyMouse, theModifiers: Aspect_VKeyFlags, theIsEmulated: bool) -> bool: ... + def RemoveTouchPoint(self, theId: int, theClearSelectPnts: Optional[bool] = false) -> bool: ... + def Set3dMousePreciseInput(self, theIsQuadric: bool) -> None: ... + def Set3dMouseRotationScale(self, theScale: float) -> None: ... + def Set3dMouseTranslationScale(self, theScale: float) -> None: ... + def To3dMousePreciseInput(self) -> bool: ... + def TouchPoints(self) -> Aspect_TouchMap: ... + def UpdateMouseButtons(self, thePoint: Graphic3d_Vec2i, theButtons: Aspect_VKeyMouse, theModifiers: Aspect_VKeyFlags, theIsEmulated: bool) -> bool: ... + def UpdateMousePosition(self, thePoint: Graphic3d_Vec2i, theButtons: Aspect_VKeyMouse, theModifiers: Aspect_VKeyFlags, theIsEmulated: bool) -> bool: ... + def UpdateMouseScroll(self, theDelta: Aspect_ScrollDelta) -> bool: ... + def UpdateTouchPoint(self, theId: int, thePnt: Graphic3d_Vec2d) -> None: ... + class Aspect_XRAction(Standard_Transient): def __init__(self, theId: TCollection_AsciiString, theType: Aspect_XRActionType) -> None: ... def Id(self) -> TCollection_AsciiString: ... - def IsValid(self) -> False: ... + def IsValid(self) -> bool: ... def RawHandle(self) -> False: ... def Type(self) -> Aspect_XRActionType: ... @@ -849,14 +908,14 @@ class Aspect_XRActionSet(Standard_Transient): class Aspect_XRAnalogActionData: def __init__(self) -> None: ... - def IsChanged(self) -> False: ... + def IsChanged(self) -> bool: ... class Aspect_XRDigitalActionData: def __init__(self) -> None: ... class Aspect_XRHapticActionData: def __init__(self) -> None: ... - def IsValid(self) -> False: ... + def IsValid(self) -> bool: ... class Aspect_XRPoseActionData: def __init__(self) -> None: ... @@ -872,39 +931,39 @@ class Aspect_XRSession(Standard_Transient): def GetAnalogActionData(self, theAction: Aspect_XRAction) -> Aspect_XRAnalogActionData: ... def GetDigitalActionData(self, theAction: Aspect_XRAction) -> Aspect_XRDigitalActionData: ... def GetPoseActionDataForNextFrame(self, theAction: Aspect_XRAction) -> Aspect_XRPoseActionData: ... - def HasProjectionFrustums(self) -> False: ... - def HasTrackedPose(self, theDevice: int) -> False: ... + def HasProjectionFrustums(self) -> bool: ... + def HasTrackedPose(self, theDevice: int) -> bool: ... def HeadPose(self) -> gp_Trsf: ... def HeadToEyeTransform(self, theEye: Aspect_Eye) -> False: ... def IOD(self) -> float: ... - def IsOpen(self) -> False: ... + def IsOpen(self) -> bool: ... def LeftHandPose(self) -> gp_Trsf: ... @overload def LoadRenderModel(self, theDevice: int, theTexture: Image_Texture) -> Graphic3d_ArrayOfTriangles: ... @overload def LoadRenderModel(self, theDevice: int, theToApplyUnitFactor: bool, theTexture: Image_Texture) -> Graphic3d_ArrayOfTriangles: ... def NamedTrackedDevice(self, theDevice: Aspect_XRTrackedDeviceRole) -> int: ... - def Open(self) -> False: ... + def Open(self) -> bool: ... def ProcessEvents(self) -> None: ... def ProjectionFrustum(self, theEye: Aspect_Eye) -> False: ... def RecommendedViewport(self) -> False: ... def RightHandPose(self) -> gp_Trsf: ... def SetUnitFactor(self, theFactor: float) -> None: ... - def SubmitEye(self, theTexture: None, theGraphicsLib: Aspect_GraphicsLibrary, theColorSpace: Aspect_ColorSpace, theEye: Aspect_Eye) -> False: ... + def SubmitEye(self, theTexture: None, theGraphicsLib: Aspect_GraphicsLibrary, theColorSpace: Aspect_ColorSpace, theEye: Aspect_Eye) -> bool: ... def TrackedPoses(self) -> Aspect_TrackedDevicePoseArray: ... def TrackingOrigin(self) -> False: ... def TriggerHapticVibrationAction(self, theAction: Aspect_XRAction, theParams: Aspect_XRHapticActionData) -> None: ... def UnitFactor(self) -> float: ... - def WaitPoses(self) -> False: ... + def WaitPoses(self) -> bool: ... class Aspect_GradientBackground(Aspect_Background): @overload def __init__(self) -> None: ... @overload - def __init__(self, AColor1: Quantity_Color, AColor2: Quantity_Color, AMethod: Optional[Aspect_GradientFillMethod] = Aspect_GFM_HOR) -> None: ... + def __init__(self, theColor1: Quantity_Color, theColor2: Quantity_Color, theMethod: Optional[Aspect_GradientFillMethod] = Aspect_GradientFillMethod_Horizontal) -> None: ... def BgGradientFillMethod(self) -> Aspect_GradientFillMethod: ... - def Colors(self, AColor1: Quantity_Color, AColor2: Quantity_Color) -> None: ... - def SetColors(self, AColor1: Quantity_Color, AColor2: Quantity_Color, AMethod: Optional[Aspect_GradientFillMethod] = Aspect_GFM_HOR) -> None: ... + def Colors(self, theColor1: Quantity_Color, theColor2: Quantity_Color) -> None: ... + def SetColors(self, theColor1: Quantity_Color, theColor2: Quantity_Color, theMethod: Optional[Aspect_GradientFillMethod] = Aspect_GradientFillMethod_Horizontal) -> None: ... class Aspect_OpenVRSession(Aspect_XRSession): def __init__(self) -> None: ... @@ -913,16 +972,16 @@ class Aspect_OpenVRSession(Aspect_XRSession): def GetAnalogActionData(self, theAction: Aspect_XRAction) -> Aspect_XRAnalogActionData: ... def GetDigitalActionData(self, theAction: Aspect_XRAction) -> Aspect_XRDigitalActionData: ... def GetPoseActionDataForNextFrame(self, theAction: Aspect_XRAction) -> Aspect_XRPoseActionData: ... - def HasProjectionFrustums(self) -> False: ... + def HasProjectionFrustums(self) -> bool: ... @staticmethod - def IsHmdPresent() -> False: ... - def IsOpen(self) -> False: ... + def IsHmdPresent() -> bool: ... + def IsOpen(self) -> bool: ... def NamedTrackedDevice(self, theDevice: Aspect_XRTrackedDeviceRole) -> int: ... - def Open(self) -> False: ... + def Open(self) -> bool: ... def ProcessEvents(self) -> None: ... def RecommendedViewport(self) -> False: ... - def SubmitEye(self, theTexture: None, theGraphicsLib: Aspect_GraphicsLibrary, theColorSpace: Aspect_ColorSpace, theEye: Aspect_Eye) -> False: ... - def WaitPoses(self) -> False: ... + def SubmitEye(self, theTexture: None, theGraphicsLib: Aspect_GraphicsLibrary, theColorSpace: Aspect_ColorSpace, theEye: Aspect_Eye) -> bool: ... + def WaitPoses(self) -> bool: ... #classnotwrapped class Aspect_CircularGrid: ... diff --git a/src/SWIG_files/wrapper/BOPAlgo.i b/src/SWIG_files/wrapper/BOPAlgo.i index f164b96bf..903bfcd05 100644 --- a/src/SWIG_files/wrapper/BOPAlgo.i +++ b/src/SWIG_files/wrapper/BOPAlgo.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BOPALGODOCSTRING "BOPAlgo module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bopalgo.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_bopalgo.html" %enddef %module (package="OCC.Core", docstring=BOPALGODOCSTRING) BOPAlgo @@ -45,6 +45,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bopalgo.html" #include #include #include +#include #include #include #include @@ -79,6 +80,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bopalgo.html" %import TopoDS.i %import TopTools.i %import Message.i +%import TColStd.i %import IntTools.i %import BOPDS.i %import Bnd.i @@ -125,7 +127,7 @@ enum BOPAlgo_GlueEnum { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BOPAlgo_CheckStatus(IntEnum): @@ -698,21 +700,6 @@ None ") SetParallelMode; static void SetParallelMode(const Standard_Boolean theNewMode); - /****************** SetProgressIndicator ******************/ - /**** md5 signature: 57981193097658933e1f62427ed993d3 ****/ - %feature("compactdefaultargs") SetProgressIndicator; - %feature("autodoc", "Set the progress indicator object. - -Parameters ----------- -theProgress: Message_ProgressScope - -Returns -------- -None -") SetProgressIndicator; - void SetProgressIndicator(const Message_ProgressScope & theProgress); - /****************** SetRunParallel ******************/ /**** md5 signature: bf7fbc3e9b126cd865579ef58026ce14 ****/ %feature("compactdefaultargs") SetRunParallel; @@ -763,6 +750,88 @@ bool } }; +/************************ +* class BOPAlgo_PISteps * +************************/ +class BOPAlgo_PISteps { + public: + /****************** BOPAlgo_PISteps ******************/ + /**** md5 signature: 678f847738ab187532af2fc55a728601 ****/ + %feature("compactdefaultargs") BOPAlgo_PISteps; + %feature("autodoc", "Constructor. + +Parameters +---------- +theNbOp: int + +Returns +------- +None +") BOPAlgo_PISteps; + BOPAlgo_PISteps(const Standard_Integer theNbOp); + + /****************** ChangeSteps ******************/ + /**** md5 signature: 6afaf1bdd0c07a7da0643b663ae7e1bf ****/ + %feature("compactdefaultargs") ChangeSteps; + %feature("autodoc", "Returns modifiable steps. + +Returns +------- +TColStd_Array1OfReal +") ChangeSteps; + TColStd_Array1OfReal & ChangeSteps(); + + /****************** GetStep ******************/ + /**** md5 signature: 085c03e320fb55492a498c74030ef52d ****/ + %feature("compactdefaultargs") GetStep; + %feature("autodoc", "Returns the step assigned to the operation. + +Parameters +---------- +theOperation: int + +Returns +------- +float +") GetStep; + Standard_Real GetStep(const Standard_Integer theOperation); + + /****************** SetStep ******************/ + /**** md5 signature: 0ecefcccd3c3f72bac80ecf106cf7705 ****/ + %feature("compactdefaultargs") SetStep; + %feature("autodoc", "Assign the value thestep to theoperation. + +Parameters +---------- +theOperation: int +theStep: float + +Returns +------- +None +") SetStep; + void SetStep(const Standard_Integer theOperation, const Standard_Real theStep); + + /****************** Steps ******************/ + /**** md5 signature: 5fc38fb11ebee5e2c132b891668077b8 ****/ + %feature("compactdefaultargs") Steps; + %feature("autodoc", "Returns the steps. + +Returns +------- +TColStd_Array1OfReal +") Steps; + const TColStd_Array1OfReal & Steps(); + +}; + + +%extend BOPAlgo_PISteps { + %pythoncode { + __repr__ = _dumps_object + } +}; + /********************************* * class BOPAlgo_SectionAttribute * *********************************/ @@ -889,7 +958,7 @@ bool class BOPAlgo_Tools { public: /****************** ClassifyFaces ******************/ - /**** md5 signature: 7a3a4e079fbca663eebea4065ac21345 ****/ + /**** md5 signature: aecd30a1f788074add579e534de83f3d ****/ %feature("compactdefaultargs") ClassifyFaces; %feature("autodoc", "Classifies the faces relatively solids . the in faces for solids are stored into output data map . //! the map contains internal faces of the solids, to avoid their additional classification. //! firstly, it checks the intersection of bounding boxes of the shapes. if the box is not stored in the map, it builds the box. if the bounding boxes of solid and face are interfering the classification is performed. //! it is assumed that all faces and solids are already intersected and do not have any geometrically coinciding parts without topological sharing of these parts. @@ -904,12 +973,14 @@ theShapeBoxMap: TopTools_DataMapOfShapeBox,optional default value is TopTools_DataMapOfShapeBox() theSolidsIF: TopTools_DataMapOfShapeListOfShape,optional default value is TopTools_DataMapOfShapeListOfShape() +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() Returns ------- None ") ClassifyFaces; - static void ClassifyFaces(const TopTools_ListOfShape & theFaces, const TopTools_ListOfShape & theSolids, const Standard_Boolean theRunParallel, opencascade::handle & theContext, TopTools_IndexedDataMapOfShapeListOfShape & theInParts, const TopTools_DataMapOfShapeBox & theShapeBoxMap = TopTools_DataMapOfShapeBox(), const TopTools_DataMapOfShapeListOfShape & theSolidsIF = TopTools_DataMapOfShapeListOfShape()); + static void ClassifyFaces(const TopTools_ListOfShape & theFaces, const TopTools_ListOfShape & theSolids, const Standard_Boolean theRunParallel, opencascade::handle & theContext, TopTools_IndexedDataMapOfShapeListOfShape & theInParts, const TopTools_DataMapOfShapeBox & theShapeBoxMap = TopTools_DataMapOfShapeBox(), const TopTools_DataMapOfShapeListOfShape & theSolidsIF = TopTools_DataMapOfShapeListOfShape(), const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** ComputeToleranceOfCB ******************/ /**** md5 signature: e685c89cf11769ed8a1377be0947b846 ****/ @@ -951,7 +1022,7 @@ int /****************** FillInternals ******************/ /**** md5 signature: 114b79f8adcd1665a2acbeeb894b98bb ****/ %feature("compactdefaultargs") FillInternals; - %feature("autodoc", "Classifies the given parts relatively the given solids and fills the solids with the parts classified as internal. //! @param thesolids - the solids to put internals to @param theparts - the parts to classify relatively solids @param theimages - possible images of the parts that has to be classified @param thecontext - cashed geometrical tools to speed-up classifications. + %feature("autodoc", "Classifies the given parts relatively the given solids and fills the solids with the parts classified as internal. //! @param thesolids - the solids to put internals to @param theparts - the parts to classify relatively solids @param theimages - possible images of the parts that has to be classified @param thecontext - cached geometrical tools to speed-up classifications. Parameters ---------- @@ -1218,15 +1289,20 @@ TopTools_ListOfShape class BOPAlgo_Algo : public BOPAlgo_Options { public: /****************** Perform ******************/ - /**** md5 signature: e23b98e5ba6fc1b2692a5d6fc76fd990 ****/ + /**** md5 signature: 398f71859219956837273801c6ed1f07 ****/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. + %feature("autodoc", "The main method to implement the operation providing the range allows to enable progress indicator user break functionalities. + +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() Returns ------- None ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); }; @@ -2162,15 +2238,20 @@ BOPAlgo_Operation BOPAlgo_Operation OperationType(); /****************** Perform ******************/ - /**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/ + /**** md5 signature: 237808a6b51056c9f8e292d343f26d7d ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs analysis. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Perform; - void Perform(); + void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); %feature("autodoc","1"); @@ -2522,6 +2603,40 @@ TopoDS_Shape } }; +/***************************** +* class BOPAlgo_ParallelAlgo * +*****************************/ +%nodefaultctor BOPAlgo_ParallelAlgo; +class BOPAlgo_ParallelAlgo : public BOPAlgo_Algo { + public: + /****************** SetProgressRange ******************/ + /**** md5 signature: e46fe49a703ffe9531bdc8614884d302 ****/ + %feature("compactdefaultargs") SetProgressRange; + %feature("autodoc", "Sets the range for a single run. + +Parameters +---------- +theRange: Message_ProgressRange + +Returns +------- +None +") SetProgressRange; + void SetProgressRange(const Message_ProgressRange & theRange); + +}; + + +%extend BOPAlgo_ParallelAlgo { + %pythoncode { + __repr__ = _dumps_object + + @methodnotwrapped + def Perform(self): + pass + } +}; + /*************************** * class BOPAlgo_PaveFiller * ***************************/ @@ -2647,15 +2762,20 @@ BOPDS_PDS BOPDS_PDS PDS(); /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /**** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "No available documentation. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** SetArguments ******************/ /**** md5 signature: c8050caf960534f7d5c8a2cd210eb861 ****/ @@ -2792,15 +2912,20 @@ None void AddStartElement(const TopoDS_Shape & theS); /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /**** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs the algorithm. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Shells ******************/ /**** md5 signature: 253534f051afc8c1348ee153669d53c1 ****/ @@ -2907,15 +3032,20 @@ None static void MakeWire(TopTools_ListOfShape & theLE, TopoDS_Wire & theW); /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /**** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "No available documentation. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** SetContext ******************/ /**** md5 signature: e78608a6b667b26dfbb5221975ad17a2 ****/ @@ -2989,6 +3119,7 @@ BOPAlgo_WireEdgeSet ************************/ class BOPAlgo_Builder : public BOPAlgo_BuilderShape { public: + class NbShapes {}; /****************** BOPAlgo_Builder ******************/ /**** md5 signature: 1f86d9941e9ea86a4622ff7ec326d7fc ****/ %feature("compactdefaultargs") BOPAlgo_Builder; @@ -3042,9 +3173,9 @@ TopTools_ListOfShape const TopTools_ListOfShape & Arguments(); /****************** BuildBOP ******************/ - /**** md5 signature: bf05d8cf5f4ff010d1c03062f4eaf238 ****/ + /**** md5 signature: 2e1b9ea27d66f788b2416af1e795c40a ****/ %feature("compactdefaultargs") BuildBOP; - %feature("autodoc", "Builds the result shape according to the given states for the objects and tools. these states can be unambiguously converted into the boolean operation type. thus, it performs the boolean operation on the given groups of shapes. //! the result is built basing on the result of builder operation (gf or any other). the only condition for the builder is that the splits of faces should be created and classified relatively solids. //! the method uses classification approach for choosing the faces which will participate in building the result shape: - all faces from each group having the given state for the opposite group will be taken into result. //! such approach shows better results (in comparison with bopalgo_buildersolid approach) when working with open solids. however, the result may not be always correct on such data (at least, not as expected) as the correct classification of the faces relatively open solids is not always possible and may vary depending on the chosen classification point on the face. //! history is not created for the solids in this method. //! to avoid pollution of the report of builder algorithm, there is a possibility to pass the different report to collect the alerts of the method only. but, if the new report is not given, the builder report will be used. so, even if builder passed without any errors, but some error has been stored into its report in this method, for the following calls the builder report must be cleared. //! the method may set the following errors: - bopalgo_alertbuilderfailed - building operation has not been performed yet or failed; - bopalgo_alertbopnotset - invalid bop type is given (common/fuse/cut/cut21 are supported); - bopalgo_alerttoofewarguments - arguments are not given; - bopalgo_alertunknownshape - the shape is unknown for the operation. //! parameters: @param theobjects - the group of objects for bop; @param theobjstate - state for objects faces to pass into result; @param thetools - the group of tools for bop; @param theobjstate - state for tools faces to pass into result; @param thereport - the alternative report to avoid pollution of the main one. + %feature("autodoc", "Builds the result shape according to the given states for the objects and tools. these states can be unambiguously converted into the boolean operation type. thus, it performs the boolean operation on the given groups of shapes. //! the result is built basing on the result of builder operation (gf or any other). the only condition for the builder is that the splits of faces should be created and classified relatively solids. //! the method uses classification approach for choosing the faces which will participate in building the result shape: - all faces from each group having the given state for the opposite group will be taken into result. //! such approach shows better results (in comparison with bopalgo_buildersolid approach) when working with open solids. however, the result may not be always correct on such data (at least, not as expected) as the correct classification of the faces relatively open solids is not always possible and may vary depending on the chosen classification point on the face. //! history is not created for the solids in this method. //! to avoid pollution of the report of builder algorithm, there is a possibility to pass the different report to collect the alerts of the method only. but, if the new report is not given, the builder report will be used. so, even if builder passed without any errors, but some error has been stored into its report in this method, for the following calls the builder report must be cleared. //! the method may set the following errors: - bopalgo_alertbuilderfailed - building operation has not been performed yet or failed; - bopalgo_alertbopnotset - invalid bop type is given (common/fuse/cut/cut21 are supported); - bopalgo_alerttoofewarguments - arguments are not given; - bopalgo_alertunknownshape - the shape is unknown for the operation. //! parameters: @param theobjects - the group of objects for bop; @param theobjstate - state for objects faces to pass into result; @param thetools - the group of tools for bop; @param thetoolsstate - state for tools faces to pass into result; @param thereport - the alternative report to avoid pollution of the main one. Parameters ---------- @@ -3052,6 +3183,7 @@ theObjects: TopTools_ListOfShape theObjState: TopAbs_State theTools: TopTools_ListOfShape theToolsState: TopAbs_State +theRange: Message_ProgressRange theReport: Message_Report,optional default value is NULL @@ -3059,18 +3191,19 @@ Returns ------- None ") BuildBOP; - virtual void BuildBOP(const TopTools_ListOfShape & theObjects, const TopAbs_State theObjState, const TopTools_ListOfShape & theTools, const TopAbs_State theToolsState, opencascade::handle theReport = NULL); + virtual void BuildBOP(const TopTools_ListOfShape & theObjects, const TopAbs_State theObjState, const TopTools_ListOfShape & theTools, const TopAbs_State theToolsState, const Message_ProgressRange & theRange, opencascade::handle theReport = NULL); /****************** BuildBOP ******************/ - /**** md5 signature: 5f2c4d2c7b32fe57c63ffb4571f06910 ****/ + /**** md5 signature: 18c5ea0ce9eb413167db72fc87c235d6 ****/ %feature("compactdefaultargs") BuildBOP; - %feature("autodoc", "Builds the result of boolean operation of given type basing on the result of builder operation (gf or any other). //! the method converts the given type of operation into the states for the objects and tools required for their face to pass into result and performs the call to the same method, but with states instead of operation type. //! the conversion looks as follows: - common is built from the faces of objects located in any of the tools and vice versa. - fuse is built from the faces out of all given shapes; - cut is built from the faces of the objects out of the tools and faces of the tools located in solids of the objects. //! @param theobjects - the group of objects for bop; @param thetools - the group of tools for bop; @param theoperation - the bop type; @param thereport - the alternative report to avoid pollution of the global one. + %feature("autodoc", "Builds the result of boolean operation of given type basing on the result of builder operation (gf or any other). //! the method converts the given type of operation into the states for the objects and tools required for their face to pass into result and performs the call to the same method, but with states instead of operation type. //! the conversion looks as follows: - common is built from the faces of objects located in any of the tools and vice versa. - fuse is built from the faces out of all given shapes; - cut is built from the faces of the objects out of the tools and faces of the tools located in solids of the objects. //! @param theobjects - the group of objects for bop; @param thetools - the group of tools for bop; @param theoperation - the bop type; @param therange - the parameter to progressindicator @param thereport - the alternative report to avoid pollution of the global one. Parameters ---------- theObjects: TopTools_ListOfShape theTools: TopTools_ListOfShape theOperation: BOPAlgo_Operation +theRange: Message_ProgressRange theReport: Message_Report,optional default value is NULL @@ -3078,7 +3211,7 @@ Returns ------- None ") BuildBOP; - void BuildBOP(const TopTools_ListOfShape & theObjects, const TopTools_ListOfShape & theTools, const BOPAlgo_Operation theOperation, opencascade::handle theReport = NULL); + void BuildBOP(const TopTools_ListOfShape & theObjects, const TopTools_ListOfShape & theTools, const BOPAlgo_Operation theOperation, const Message_ProgressRange & theRange, opencascade::handle theReport = NULL); /****************** CheckInverted ******************/ /**** md5 signature: ce3c18df15bc3282101b99ee82f78b47 ****/ @@ -3180,30 +3313,37 @@ BOPAlgo_PPaveFiller BOPAlgo_PPaveFiller PPaveFiller(); /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /**** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs the operation. the intersection will be performed also. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** PerformWithFiller ******************/ - /**** md5 signature: ad9328f46e269c9c83bdf7ea4e1b2493 ****/ + /**** md5 signature: dcd0b26cc1d80352d6565f05cc10fd51 ****/ %feature("compactdefaultargs") PerformWithFiller; %feature("autodoc", "Performs the operation with the prepared filler. the intersection will not be performed in this case. Parameters ---------- theFiller: BOPAlgo_PaveFiller +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() Returns ------- None ") PerformWithFiller; - virtual void PerformWithFiller(const BOPAlgo_PaveFiller & theFiller); + virtual void PerformWithFiller(const BOPAlgo_PaveFiller & theFiller, const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** SetArguments ******************/ /**** md5 signature: 52d846757af37684f5519c7b7f1b4940 ****/ @@ -3339,15 +3479,20 @@ TopAbs_Orientation TopAbs_Orientation Orientation(); /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /**** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs the algorithm. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** SetFace ******************/ /**** md5 signature: 5b74a256c8032110740067b9210114f8 ****/ @@ -3416,15 +3561,20 @@ TopTools_DataMapOfShapeBox const TopTools_DataMapOfShapeBox & GetBoxesMap(); /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /**** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs the construction of the solids from the given faces. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); }; @@ -3452,15 +3602,20 @@ None BOPAlgo_CheckerSI(); /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /**** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "No available documentation. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** SetLevelOfCheck ******************/ /**** md5 signature: 8b368cd9515ac3e41d12f4691644e2cf ****/ @@ -3566,15 +3721,20 @@ TopoDS_Shape const TopoDS_Shape InputShape(); /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /**** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs the operation. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** SetShape ******************/ /**** md5 signature: 927e2ebe2fb5354dfb3da3c53e512cad ****/ @@ -3757,7 +3917,7 @@ class BOPAlgo_MakerVolume : public BOPAlgo_Builder { /****************** BOPAlgo_MakerVolume ******************/ /**** md5 signature: d0e6199b15a5886e06dc5392486c5729 ****/ %feature("compactdefaultargs") BOPAlgo_MakerVolume; - %feature("autodoc", "Empty contructor. + %feature("autodoc", "Empty constructor. Returns ------- @@ -3768,7 +3928,7 @@ None /****************** BOPAlgo_MakerVolume ******************/ /**** md5 signature: d34685403aab74ebc2da37a1a29c02c6 ****/ %feature("compactdefaultargs") BOPAlgo_MakerVolume; - %feature("autodoc", "Empty contructor. + %feature("autodoc", "Empty constructor. Parameters ---------- @@ -3836,15 +3996,20 @@ bool Standard_Boolean IsIntersect(); /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /**** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs the operation. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** SetAvoidInternalShapes ******************/ /**** md5 signature: d4ee80659b0195413556579790baf956 ****/ @@ -4071,15 +4236,20 @@ BOPAlgo_Operation BOPAlgo_Operation Operation(); /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /**** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "No available documentation. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** SetOperation ******************/ /**** md5 signature: 315e93f5dc046c73744bab20d8a0d13f ****/ @@ -4137,15 +4307,20 @@ None BOPAlgo_Splitter(const opencascade::handle & theAllocator); /****************** Perform ******************/ - /**** md5 signature: d73234ef092f057e6680afbd2a273a2a ****/ + /**** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs the operation. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Perform; - virtual void Perform(); + virtual void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); }; diff --git a/src/SWIG_files/wrapper/BOPAlgo.pyi b/src/SWIG_files/wrapper/BOPAlgo.pyi index 47b326e6f..f5889d6b3 100644 --- a/src/SWIG_files/wrapper/BOPAlgo.pyi +++ b/src/SWIG_files/wrapper/BOPAlgo.pyi @@ -6,6 +6,7 @@ from OCC.Core.NCollection import * from OCC.Core.TopoDS import * from OCC.Core.TopTools import * from OCC.Core.Message import * +from OCC.Core.TColStd import * from OCC.Core.IntTools import * from OCC.Core.BOPDS import * from OCC.Core.Bnd import * @@ -131,11 +132,17 @@ class BOPAlgo_Options: def SetFuzzyValue(self, theFuzz: float) -> None: ... @staticmethod def SetParallelMode(theNewMode: bool) -> None: ... - def SetProgressIndicator(self, theProgress: Message_ProgressScope) -> None: ... def SetRunParallel(self, theFlag: bool) -> None: ... def SetUseOBB(self, theUseOBB: bool) -> None: ... def UseOBB(self) -> bool: ... +class BOPAlgo_PISteps: + def __init__(self, theNbOp: int) -> None: ... + def ChangeSteps(self) -> TColStd_Array1OfReal: ... + def GetStep(self, theOperation: int) -> float: ... + def SetStep(self, theOperation: int, theStep: float) -> None: ... + def Steps(self) -> TColStd_Array1OfReal: ... + class BOPAlgo_SectionAttribute: @overload def __init__(self) -> None: ... @@ -156,7 +163,7 @@ class BOPAlgo_SectionAttribute: class BOPAlgo_Tools: @staticmethod - def ClassifyFaces(theFaces: TopTools_ListOfShape, theSolids: TopTools_ListOfShape, theRunParallel: bool, theContext: IntTools_Context, theInParts: TopTools_IndexedDataMapOfShapeListOfShape, theShapeBoxMap: Optional[TopTools_DataMapOfShapeBox] = TopTools_DataMapOfShapeBox(), theSolidsIF: Optional[TopTools_DataMapOfShapeListOfShape] = TopTools_DataMapOfShapeListOfShape()) -> None: ... + def ClassifyFaces(theFaces: TopTools_ListOfShape, theSolids: TopTools_ListOfShape, theRunParallel: bool, theContext: IntTools_Context, theInParts: TopTools_IndexedDataMapOfShapeListOfShape, theShapeBoxMap: Optional[TopTools_DataMapOfShapeBox] = TopTools_DataMapOfShapeBox(), theSolidsIF: Optional[TopTools_DataMapOfShapeListOfShape] = TopTools_DataMapOfShapeListOfShape(), theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... @staticmethod def ComputeToleranceOfCB(theCB: BOPDS_CommonBlock, theDS: BOPDS_PDS, theContext: IntTools_Context) -> float: ... @staticmethod @@ -190,7 +197,7 @@ class BOPAlgo_WireEdgeSet: def StartElements(self) -> TopTools_ListOfShape: ... class BOPAlgo_Algo(BOPAlgo_Options): - def Perform(self) -> None: ... + def Perform(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... class BOPAlgo_MakeConnected(BOPAlgo_Options): def __init__(self) -> None: ... @@ -269,7 +276,7 @@ class BOPAlgo_ArgumentAnalyzer(BOPAlgo_Algo): def GetMergeVertexMode(self) -> bool: ... def SetMergeVertexMode(self, value: bool) -> None: ... def OperationType(self) -> BOPAlgo_Operation: ... - def Perform(self) -> None: ... + def Perform(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def GetRebuildFaceMode(self) -> bool: ... def SetRebuildFaceMode(self, value: bool) -> None: ... def GetSelfInterMode(self) -> bool: ... @@ -304,6 +311,9 @@ class BOPAlgo_BuilderShape(BOPAlgo_Algo): def SetToFillHistory(self, theHistFlag: bool) -> None: ... def Shape(self) -> TopoDS_Shape: ... +class BOPAlgo_ParallelAlgo(BOPAlgo_Algo): + def SetProgressRange(self, theRange: Message_ProgressRange) -> None: ... + class BOPAlgo_PaveFiller(BOPAlgo_Algo): @overload def __init__(self) -> None: ... @@ -317,7 +327,7 @@ class BOPAlgo_PaveFiller(BOPAlgo_Algo): def IsAvoidBuildPCurve(self) -> bool: ... def NonDestructive(self) -> bool: ... def PDS(self) -> BOPDS_PDS: ... - def Perform(self) -> None: ... + def Perform(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def SetArguments(self, theLS: TopTools_ListOfShape) -> None: ... def SetAvoidBuildPCurve(self, theValue: bool) -> None: ... def SetGlue(self, theGlue: BOPAlgo_GlueEnum) -> None: ... @@ -330,7 +340,7 @@ class BOPAlgo_ShellSplitter(BOPAlgo_Algo): @overload def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... def AddStartElement(self, theS: TopoDS_Shape) -> None: ... - def Perform(self) -> None: ... + def Perform(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def Shells(self) -> TopTools_ListOfShape: ... @staticmethod def SplitBlock(theCB: BOPTools_ConnexityBlock) -> None: ... @@ -344,7 +354,7 @@ class BOPAlgo_WireSplitter(BOPAlgo_Algo): def Context(self) -> IntTools_Context: ... @staticmethod def MakeWire(theLE: TopTools_ListOfShape, theW: TopoDS_Wire) -> None: ... - def Perform(self) -> None: ... + def Perform(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def SetContext(self, theContext: IntTools_Context) -> None: ... def SetWES(self, theWES: BOPAlgo_WireEdgeSet) -> None: ... @staticmethod @@ -359,9 +369,9 @@ class BOPAlgo_Builder(BOPAlgo_BuilderShape): def AddArgument(self, theShape: TopoDS_Shape) -> None: ... def Arguments(self) -> TopTools_ListOfShape: ... @overload - def BuildBOP(self, theObjects: TopTools_ListOfShape, theObjState: TopAbs_State, theTools: TopTools_ListOfShape, theToolsState: TopAbs_State, theReport: Optional[Message_Report] = None) -> None: ... + def BuildBOP(self, theObjects: TopTools_ListOfShape, theObjState: TopAbs_State, theTools: TopTools_ListOfShape, theToolsState: TopAbs_State, theRange: Message_ProgressRange, theReport: Optional[Message_Report] = None) -> None: ... @overload - def BuildBOP(self, theObjects: TopTools_ListOfShape, theTools: TopTools_ListOfShape, theOperation: BOPAlgo_Operation, theReport: Optional[Message_Report] = None) -> None: ... + def BuildBOP(self, theObjects: TopTools_ListOfShape, theTools: TopTools_ListOfShape, theOperation: BOPAlgo_Operation, theRange: Message_ProgressRange, theReport: Optional[Message_Report] = None) -> None: ... def CheckInverted(self) -> bool: ... def Clear(self) -> None: ... def Context(self) -> IntTools_Context: ... @@ -371,8 +381,8 @@ class BOPAlgo_Builder(BOPAlgo_BuilderShape): def Origins(self) -> TopTools_DataMapOfShapeListOfShape: ... def PDS(self) -> BOPDS_PDS: ... def PPaveFiller(self) -> BOPAlgo_PPaveFiller: ... - def Perform(self) -> None: ... - def PerformWithFiller(self, theFiller: BOPAlgo_PaveFiller) -> None: ... + def Perform(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... + def PerformWithFiller(self, theFiller: BOPAlgo_PaveFiller, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def SetArguments(self, theLS: TopTools_ListOfShape) -> None: ... def SetCheckInverted(self, theCheck: bool) -> None: ... def SetGlue(self, theGlue: BOPAlgo_GlueEnum) -> None: ... @@ -386,7 +396,7 @@ class BOPAlgo_BuilderFace(BOPAlgo_BuilderArea): def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... def Face(self) -> TopoDS_Face: ... def Orientation(self) -> TopAbs_Orientation: ... - def Perform(self) -> None: ... + def Perform(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def SetFace(self, theFace: TopoDS_Face) -> None: ... class BOPAlgo_BuilderSolid(BOPAlgo_BuilderArea): @@ -395,11 +405,11 @@ class BOPAlgo_BuilderSolid(BOPAlgo_BuilderArea): @overload def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... def GetBoxesMap(self) -> TopTools_DataMapOfShapeBox: ... - def Perform(self) -> None: ... + def Perform(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... class BOPAlgo_CheckerSI(BOPAlgo_PaveFiller): def __init__(self) -> None: ... - def Perform(self) -> None: ... + def Perform(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def SetLevelOfCheck(self, theLevel: int) -> None: ... class BOPAlgo_RemoveFeatures(BOPAlgo_BuilderShape): @@ -409,7 +419,7 @@ class BOPAlgo_RemoveFeatures(BOPAlgo_BuilderShape): def Clear(self) -> None: ... def FacesToRemove(self) -> TopTools_ListOfShape: ... def InputShape(self) -> TopoDS_Shape: ... - def Perform(self) -> None: ... + def Perform(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def SetShape(self, theShape: TopoDS_Shape) -> None: ... class BOPAlgo_CellsBuilder(BOPAlgo_Builder): @@ -436,7 +446,7 @@ class BOPAlgo_MakerVolume(BOPAlgo_Builder): def Faces(self) -> TopTools_ListOfShape: ... def IsAvoidInternalShapes(self) -> bool: ... def IsIntersect(self) -> bool: ... - def Perform(self) -> None: ... + def Perform(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def SetAvoidInternalShapes(self, theAvoidInternal: bool) -> None: ... def SetIntersect(self, bIntersect: bool) -> None: ... @@ -463,7 +473,7 @@ class BOPAlgo_BOP(BOPAlgo_ToolsProvider): def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... def Clear(self) -> None: ... def Operation(self) -> BOPAlgo_Operation: ... - def Perform(self) -> None: ... + def Perform(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def SetOperation(self, theOperation: BOPAlgo_Operation) -> None: ... class BOPAlgo_Splitter(BOPAlgo_ToolsProvider): @@ -471,7 +481,7 @@ class BOPAlgo_Splitter(BOPAlgo_ToolsProvider): def __init__(self) -> None: ... @overload def __init__(self, theAllocator: NCollection_BaseAllocator) -> None: ... - def Perform(self) -> None: ... + def Perform(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... # harray1 classes # harray2 classes diff --git a/src/SWIG_files/wrapper/BOPDS.i b/src/SWIG_files/wrapper/BOPDS.i index 3a53d3531..cf4870c7b 100644 --- a/src/SWIG_files/wrapper/BOPDS.i +++ b/src/SWIG_files/wrapper/BOPDS.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BOPDSDOCSTRING "BOPDS module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bopds.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_bopds.html" %enddef %module (package="OCC.Core", docstring=BOPDSDOCSTRING) BOPDS @@ -98,7 +98,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -261,7 +261,7 @@ class BOPDS_CommonBlock : public Standard_Transient { /****************** BOPDS_CommonBlock ******************/ /**** md5 signature: 92a8163598663f388a0cc06d557c3d62 ****/ %feature("compactdefaultargs") BOPDS_CommonBlock; - %feature("autodoc", "Empty contructor. + %feature("autodoc", "Empty constructor. Returns ------- @@ -272,7 +272,7 @@ None /****************** BOPDS_CommonBlock ******************/ /**** md5 signature: df854f8c56258e94a4fa5e1297ec0b70 ****/ %feature("compactdefaultargs") BOPDS_CommonBlock; - %feature("autodoc", "Contructor - the allocator to manage the memory. + %feature("autodoc", "Constructor @param theallocator the allocator to manage the memory. Parameters ---------- @@ -767,7 +767,7 @@ class BOPDS_Curve { /****************** BOPDS_Curve ******************/ /**** md5 signature: b72e3545eb213b0dc6aafa98d0055770 ****/ %feature("compactdefaultargs") BOPDS_Curve; - %feature("autodoc", "Empty contructor. + %feature("autodoc", "Empty constructor. Returns ------- @@ -778,7 +778,7 @@ None /****************** BOPDS_Curve ******************/ /**** md5 signature: f93e5d7b27c0f12229424fa02dc011ee ****/ %feature("compactdefaultargs") BOPDS_Curve; - %feature("autodoc", "Contructor - the allocator to manage the memory. + %feature("autodoc", "Constructor @param theallocator the allocator to manage the memory. Parameters ---------- @@ -999,7 +999,7 @@ class BOPDS_DS { /****************** BOPDS_DS ******************/ /**** md5 signature: f9a3d2b6ab77d6d06736fd633088137f ****/ %feature("compactdefaultargs") BOPDS_DS; - %feature("autodoc", "Empty contructor. + %feature("autodoc", "Empty constructor. Returns ------- @@ -1010,7 +1010,7 @@ None /****************** BOPDS_DS ******************/ /**** md5 signature: 7ddac47ec4a184be023ac2ada301162c ****/ %feature("compactdefaultargs") BOPDS_DS; - %feature("autodoc", "Contructor theallocator - the allocator to manage the memory. + %feature("autodoc", "Constructor @param theallocator the allocator to manage the memory. Parameters ---------- @@ -2080,7 +2080,7 @@ class BOPDS_FaceInfo { /****************** BOPDS_FaceInfo ******************/ /**** md5 signature: dbf881bcf2d92c472cd8524dc1a94d79 ****/ %feature("compactdefaultargs") BOPDS_FaceInfo; - %feature("autodoc", "Empty contructor. + %feature("autodoc", "Empty constructor. Returns ------- @@ -2091,7 +2091,7 @@ None /****************** BOPDS_FaceInfo ******************/ /**** md5 signature: 58156401c00b9ebd5196c21ce568756b ****/ %feature("compactdefaultargs") BOPDS_FaceInfo; - %feature("autodoc", "Contructor theallocator - the allocator to manage the memory. + %feature("autodoc", "Constructor @param theallocator the allocator to manage the memory. Parameters ---------- @@ -2289,7 +2289,7 @@ class BOPDS_IndexRange { /****************** BOPDS_IndexRange ******************/ /**** md5 signature: 99ee5feaa0f5f2e8071f8ec605997513 ****/ %feature("compactdefaultargs") BOPDS_IndexRange; - %feature("autodoc", "Empty contructor. + %feature("autodoc", "Empty constructor. Returns ------- @@ -2426,7 +2426,7 @@ class BOPDS_Iterator { /****************** BOPDS_Iterator ******************/ /**** md5 signature: e39e9f80c57e8765bf71893ec4fb5f63 ****/ %feature("compactdefaultargs") BOPDS_Iterator; - %feature("autodoc", "Empty contructor. + %feature("autodoc", "Empty constructor. Returns ------- @@ -2437,7 +2437,7 @@ None /****************** BOPDS_Iterator ******************/ /**** md5 signature: bd9e216d5b71b4ba1d9bd6a1bf309cd2 ****/ %feature("compactdefaultargs") BOPDS_Iterator; - %feature("autodoc", "Contructor theallocator - the allocator to manage the memory. + %feature("autodoc", "Constructor @param theallocator the allocator to manage the memory. Parameters ---------- @@ -2793,7 +2793,7 @@ class BOPDS_Pave { /****************** BOPDS_Pave ******************/ /**** md5 signature: 479b452478ff7c0152e5ce58231932e9 ****/ %feature("compactdefaultargs") BOPDS_Pave; - %feature("autodoc", "Empty contructor. + %feature("autodoc", "Empty constructor. Returns ------- @@ -2940,7 +2940,7 @@ class BOPDS_PaveBlock : public Standard_Transient { /****************** BOPDS_PaveBlock ******************/ /**** md5 signature: 23cb6ec47b2be25244db20ee836f5557 ****/ %feature("compactdefaultargs") BOPDS_PaveBlock; - %feature("autodoc", "Empty contructor. + %feature("autodoc", "Empty constructor. Returns ------- @@ -2951,7 +2951,7 @@ None /****************** BOPDS_PaveBlock ******************/ /**** md5 signature: 4e7cca86dd9c859a976d2a5e52959273 ****/ %feature("compactdefaultargs") BOPDS_PaveBlock; - %feature("autodoc", "Contructor - the allocator to manage the memory. + %feature("autodoc", "Constructor @param theallocator the allocator to manage the memory. Parameters ---------- @@ -3392,7 +3392,7 @@ class BOPDS_Point { /****************** BOPDS_Point ******************/ /**** md5 signature: 006772e0c3a6ee0ca4e888773b24cd13 ****/ %feature("compactdefaultargs") BOPDS_Point; - %feature("autodoc", "Empty contructor. + %feature("autodoc", "Empty constructor. Returns ------- @@ -3521,7 +3521,7 @@ class BOPDS_ShapeInfo { /****************** BOPDS_ShapeInfo ******************/ /**** md5 signature: 8d0a572bef2463ea9fbdd5e7fd05e081 ****/ %feature("compactdefaultargs") BOPDS_ShapeInfo; - %feature("autodoc", "Empty contructor. + %feature("autodoc", "Empty constructor. Returns ------- @@ -3532,7 +3532,7 @@ None /****************** BOPDS_ShapeInfo ******************/ /**** md5 signature: 7dfadbc51e9908962dbc2d4d564f5aee ****/ %feature("compactdefaultargs") BOPDS_ShapeInfo; - %feature("autodoc", "Contructor theallocator - the allocator to manage the memory. + %feature("autodoc", "Constructor @param theallocator the allocator to manage the memory. Parameters ---------- @@ -3624,7 +3624,7 @@ bool /****************** HasFlag ******************/ /**** md5 signature: d05bf372703d8850d2889fd2855f632f ****/ %feature("compactdefaultargs") HasFlag; - %feature("autodoc", "Query returns true if there is flag. returns the the flag theflag. + %feature("autodoc", "Query returns true if there is flag. returns the flag theflag. Parameters ---------- @@ -4651,7 +4651,7 @@ class BOPDS_IteratorSI : public BOPDS_Iterator { /****************** BOPDS_IteratorSI ******************/ /**** md5 signature: c5b0dd22646c1e2457a62b94390f85aa ****/ %feature("compactdefaultargs") BOPDS_IteratorSI; - %feature("autodoc", "Empty contructor. + %feature("autodoc", "Empty constructor. Returns ------- @@ -4662,7 +4662,7 @@ None /****************** BOPDS_IteratorSI ******************/ /**** md5 signature: 802d1e4e61c51785f102169bd02bad90 ****/ %feature("compactdefaultargs") BOPDS_IteratorSI; - %feature("autodoc", "Contructor theallocator - the allocator to manage the memory. + %feature("autodoc", "Constructor @param theallocator the allocator to manage the memory. Parameters ---------- diff --git a/src/SWIG_files/wrapper/BOPTools.i b/src/SWIG_files/wrapper/BOPTools.i index 1d55bbe18..819900934 100644 --- a/src/SWIG_files/wrapper/BOPTools.i +++ b/src/SWIG_files/wrapper/BOPTools.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BOPTOOLSDOCSTRING "BOPTools module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_boptools.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_boptools.html" %enddef %module (package="OCC.Core", docstring=BOPTOOLSDOCSTRING) BOPTools @@ -88,7 +88,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -665,7 +665,7 @@ bool /****************** IsSplitToReverse ******************/ /**** md5 signature: 6dca305aeb7fd21e742843dd4184640f ****/ %feature("compactdefaultargs") IsSplitToReverse; - %feature("autodoc", "Checks if the direction of the split shape is opposite to the direction of the original shape. the method is an overload for (edge,edge) and (face,face) corresponding methods and checks only these types of shapes. for faces the method checks if normal directions are opposite. for edges the method checks if tangent vectors are opposite. //! in case the directions do not coincide, it returns true, meaning that split shape has to be reversed to match the direction of the original shape. //! if requested ( is not null), the method returns the status of the operation: - 0 - no error; - error from (edge,edge) or (face,face) corresponding method - 100 - bad types. in case of any error the method always returns false. //! @param thesplit [in] split shape @param theshape [in] original shape @param thecontext [in] cashed geometrical tools @param theerror [out] error status of the operation. + %feature("autodoc", "Checks if the direction of the split shape is opposite to the direction of the original shape. the method is an overload for (edge,edge) and (face,face) corresponding methods and checks only these types of shapes. for faces the method checks if normal directions are opposite. for edges the method checks if tangent vectors are opposite. //! in case the directions do not coincide, it returns true, meaning that split shape has to be reversed to match the direction of the original shape. //! if requested ( is not null), the method returns the status of the operation: - 0 - no error; - error from (edge,edge) or (face,face) corresponding method - 100 - bad types. in case of any error the method always returns false. //! @param thesplit [in] split shape @param theshape [in] original shape @param thecontext [in] cached geometrical tools @param theerror [out] error status of the operation. Parameters ---------- @@ -684,7 +684,7 @@ bool /****************** IsSplitToReverse ******************/ /**** md5 signature: a442a1278308b2eef20ed84d8ecc93fd ****/ %feature("compactdefaultargs") IsSplitToReverse; - %feature("autodoc", "Checks if the normal direction of the split face is opposite to the normal direction of the original face. the normal directions for both faces are taken in the same point - point inside the split face is projected onto the original face. returns true if the normals do not coincide, meaning the necessity to revert the orientation of the split face to match the direction of the original face. //! if requested ( is not null), the method returns the status of the operation: - 0 - no error; - 1 - unable to find the point inside split face; - 2 - unable to compute the normal for the split face; - 3 - unable to project the point inside the split face on the original face; - 4 - unable to compute the normal for the original face. in case of any error the method always returns false. //! @param thesplit [in] split face @param theshape [in] original face @param thecontext [in] cashed geometrical tools @param theerror [out] error status of the operation. + %feature("autodoc", "Checks if the normal direction of the split face is opposite to the normal direction of the original face. the normal directions for both faces are taken in the same point - point inside the split face is projected onto the original face. returns true if the normals do not coincide, meaning the necessity to revert the orientation of the split face to match the direction of the original face. //! if requested ( is not null), the method returns the status of the operation: - 0 - no error; - 1 - unable to find the point inside split face; - 2 - unable to compute the normal for the split face; - 3 - unable to project the point inside the split face on the original face; - 4 - unable to compute the normal for the original face. in case of any error the method always returns false. //! @param thesplit [in] split face @param theshape [in] original face @param thecontext [in] cached geometrical tools @param theerror [out] error status of the operation. Parameters ---------- @@ -703,7 +703,7 @@ bool /****************** IsSplitToReverse ******************/ /**** md5 signature: db1c9d5e59695f6d3bb15e0065a0cb7c ****/ %feature("compactdefaultargs") IsSplitToReverse; - %feature("autodoc", "Checks if the tangent vector of the split edge is opposite to the tangent vector of the original edge. the tangent vectors for both edges are computed in the same point - point inside the split edge is projected onto the original edge. returns true if the tangent vectors do not coincide, meaning the necessity to revert the orientation of the split edge to match the direction of the original edge. //! if requested ( is not null), the method returns the status of the operation: - 0 - no error; - 1 - degenerated edges are given; - 2 - unable to compute the tangent vector for the split edge; - 3 - unable to project the point inside the split edge on the original edge; - 4 - unable to compute the tangent vector for the original edge; in case of any error the method always returns false. //! @param thesplit [in] split edge @param theshape [in] original edge @param thecontext [in] cashed geometrical tools @param theerror [out] error status of the operation. + %feature("autodoc", "Checks if the tangent vector of the split edge is opposite to the tangent vector of the original edge. the tangent vectors for both edges are computed in the same point - point inside the split edge is projected onto the original edge. returns true if the tangent vectors do not coincide, meaning the necessity to revert the orientation of the split edge to match the direction of the original edge. //! if requested ( is not null), the method returns the status of the operation: - 0 - no error; - 1 - degenerated edges are given; - 2 - unable to compute the tangent vector for the split edge; - 3 - unable to project the point inside the split edge on the original edge; - 4 - unable to compute the tangent vector for the original edge; in case of any error the method always returns false. //! @param thesplit [in] split edge @param theshape [in] original edge @param thecontext [in] cached geometrical tools @param theerror [out] error status of the operation. Parameters ---------- @@ -1365,7 +1365,7 @@ float /****************** IsEdgeIsoline ******************/ /**** md5 signature: f327241ed8b7983321061c77e81b5e58 ****/ %feature("compactdefaultargs") IsEdgeIsoline; - %feature("autodoc", "Checks if curveonsurface of thee on thef matches with isoline of thef surface. sets corresponding values for istheuiso and istheviso variables. attention!!! this method is based on comparation between direction of surface (which thef is based on) iso-lines and the direction of the edge p-curve (on thef) in middle-point of the p-curve. this method should be used carefully (e.g. brep_tool::isclosed(...) together) in order to avoid false classification some p-curves as isoline (e.g. circle on a plane). + %feature("autodoc", "Checks if curveonsurface of thee on thef matches with isoline of thef surface. sets corresponding values for istheuiso and istheviso variables. //! attention!!! this method is based on the comparison between direction of surface (which thef is based on) iso-lines and the direction of the edge p-curve (on thef) in middle-point of the p-curve. //! this method should be used carefully (e.g. brep_tool::isclosed(...) together) in order to avoid false classification some p-curves as isoline (e.g. circle on a plane). Parameters ---------- diff --git a/src/SWIG_files/wrapper/BRep.i b/src/SWIG_files/wrapper/BRep.i index dd749e6d4..a4f0cdd9e 100644 --- a/src/SWIG_files/wrapper/BRep.i +++ b/src/SWIG_files/wrapper/BRep.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPDOCSTRING "BRep module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brep.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brep.html" %enddef %module (package="OCC.Core", docstring=BREPDOCSTRING) BRep @@ -52,6 +52,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brep.html" #include #include #include +#include #include #include #include @@ -76,7 +77,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -342,20 +343,38 @@ None void MakeFace(TopoDS_Face & F, const opencascade::handle & S, const TopLoc_Location & L, const Standard_Real Tol); /****************** MakeFace ******************/ - /**** md5 signature: ca5f5e4b1a5061fcce0c1cd034023ef2 ****/ + /**** md5 signature: 82f593bb6499b901c0087602e0a5b4bc ****/ %feature("compactdefaultargs") MakeFace; - %feature("autodoc", "Makes a face with a triangulation. the triangulation is in the same reference system than the tface. + %feature("autodoc", "Makes a theface with a single triangulation. the triangulation is in the same reference system than the tface. Parameters ---------- -F: TopoDS_Face -T: Poly_Triangulation +theFace: TopoDS_Face +theTriangulation: Poly_Triangulation + +Returns +------- +None +") MakeFace; + void MakeFace(TopoDS_Face & theFace, const opencascade::handle & theTriangulation); + + /****************** MakeFace ******************/ + /**** md5 signature: ca97f699b84f43b2b5cae440dbda0a60 ****/ + %feature("compactdefaultargs") MakeFace; + %feature("autodoc", "Makes a face with a list of triangulations and active one. use null active triangulation to set the first triangulation in list as active. the triangulations is in the same reference system than the tface. + +Parameters +---------- +theFace: TopoDS_Face +theTriangulations: Poly_ListOfTriangulation +theActiveTriangulation: Poly_Triangulation,optional + default value is opencascade::handle() Returns ------- None ") MakeFace; - void MakeFace(TopoDS_Face & F, const opencascade::handle & T); + void MakeFace(TopoDS_Face & theFace, const Poly_ListOfTriangulation & theTriangulations, const opencascade::handle & theActiveTriangulation = opencascade::handle()); /****************** MakeVertex ******************/ /**** md5 signature: 31d0795e1ce56b9f1ec86c08a180b99b ****/ @@ -893,20 +912,22 @@ None void UpdateFace(const TopoDS_Face & F, const opencascade::handle & S, const TopLoc_Location & L, const Standard_Real Tol); /****************** UpdateFace ******************/ - /**** md5 signature: bd0733c6677a8df3f4a16beca4f9c3da ****/ + /**** md5 signature: 46068466603e30f2f620c3de44d08407 ****/ %feature("compactdefaultargs") UpdateFace; - %feature("autodoc", "Changes a face triangulation. //! a null triangulation removes the triangulation. + %feature("autodoc", "Changes a face triangulation. a null thetriangulation removes face triangulations. if thetoreset is true face triangulations will be reset to new list with only one input triangulation that will be active. else if thetriangulation is contained in internal triangulations list it will be made active, else the active triangulation will be replaced to thetriangulation one. Parameters ---------- -F: TopoDS_Face -T: Poly_Triangulation +theFace: TopoDS_Face +theTriangulation: Poly_Triangulation +theToReset: bool,optional + default value is true Returns ------- None ") UpdateFace; - void UpdateFace(const TopoDS_Face & F, const opencascade::handle & T); + void UpdateFace(const TopoDS_Face & theFace, const opencascade::handle & theTriangulation, const Standard_Boolean theToReset = true); /****************** UpdateFace ******************/ /**** md5 signature: cfff4752b2b664eb9ba94b81dbc0aea1 ****/ @@ -2013,6 +2034,17 @@ None ") BRep_TFace; BRep_TFace(); + /****************** ActiveTriangulation ******************/ + /**** md5 signature: 700e23716c69d5b67f3f27b14bf22b4f ****/ + %feature("compactdefaultargs") ActiveTriangulation; + %feature("autodoc", "Returns current active triangulation. + +Returns +------- +opencascade::handle +") ActiveTriangulation; + const opencascade::handle & ActiveTriangulation(); + %feature("autodoc", "1"); %extend{ @@ -2033,9 +2065,9 @@ opencascade::handle virtual opencascade::handle EmptyCopy(); /****************** Location ******************/ - /**** md5 signature: 1006fdd3bdd7eb59ebf6a6359a702a4f ****/ + /**** md5 signature: 57e4db9c8a7a08cffc827dc50be227c9 ****/ %feature("compactdefaultargs") Location; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Returns the face location. Returns ------- @@ -2044,24 +2076,24 @@ TopLoc_Location const TopLoc_Location & Location(); /****************** Location ******************/ - /**** md5 signature: a2c9495044664128886ca4ae6644e853 ****/ + /**** md5 signature: bb857ae8889d5b33371c407b0c54d0cb ****/ %feature("compactdefaultargs") Location; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Sets the location for this face. Parameters ---------- -L: TopLoc_Location +theLocation: TopLoc_Location Returns ------- None ") Location; - void Location(const TopLoc_Location & L); + void Location(const TopLoc_Location & theLocation); /****************** NaturalRestriction ******************/ - /**** md5 signature: 6d92e56f229bd8624f08e276baf74517 ****/ + /**** md5 signature: 73f4cd683852501cbdb851a873e3006e ****/ %feature("compactdefaultargs") NaturalRestriction; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Returns true if the boundary of this face is known to be the parametric space (umin, umax, vmin, vmax). Returns ------- @@ -2070,24 +2102,35 @@ bool Standard_Boolean NaturalRestriction(); /****************** NaturalRestriction ******************/ - /**** md5 signature: ea39b91896c5f026665631b9600bda4a ****/ + /**** md5 signature: 3dc8b4a5fc00fb6b99650b6f24e2c30a ****/ %feature("compactdefaultargs") NaturalRestriction; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Sets the flag that is true if the boundary of this face is known to be the parametric space. Parameters ---------- -N: bool +theRestriction: bool Returns ------- None ") NaturalRestriction; - void NaturalRestriction(const Standard_Boolean N); + void NaturalRestriction(const Standard_Boolean theRestriction); + + /****************** NbTriangulations ******************/ + /**** md5 signature: 19c79cd06fe3039a67f78fa6226f6d24 ****/ + %feature("compactdefaultargs") NbTriangulations; + %feature("autodoc", "Returns number of available face triangulations. + +Returns +------- +int +") NbTriangulations; + Standard_Integer NbTriangulations(); /****************** Surface ******************/ - /**** md5 signature: a469e18cbceeb351572a461f96ff0f4d ****/ + /**** md5 signature: 3aa31a6d63da8a25f018cf96599c0928 ****/ %feature("compactdefaultargs") Surface; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Returns face surface. Returns ------- @@ -2096,24 +2139,24 @@ opencascade::handle const opencascade::handle & Surface(); /****************** Surface ******************/ - /**** md5 signature: a7f333b193d7e7725a80237426d70c9c ****/ + /**** md5 signature: 277744bd75ecf30c3537bd170d0e688b ****/ %feature("compactdefaultargs") Surface; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Sets surface for this face. Parameters ---------- -S: Geom_Surface +theSurface: Geom_Surface Returns ------- None ") Surface; - void Surface(const opencascade::handle & S); + void Surface(const opencascade::handle & theSurface); /****************** Tolerance ******************/ - /**** md5 signature: 9e5775014410d884d1a1adc1cd47930b ****/ + /**** md5 signature: 327dcbe220ae5ba3e0203f32c61c38db ****/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Returns the face tolerance. Returns ------- @@ -2122,45 +2165,79 @@ float Standard_Real Tolerance(); /****************** Tolerance ******************/ - /**** md5 signature: 36bec8dcfdb7e7f4f4edb2eeca6bf06a ****/ + /**** md5 signature: 87220829eafedab2b5ef265dd6be1ecf ****/ %feature("compactdefaultargs") Tolerance; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Sets the tolerance for this face. Parameters ---------- -T: float +theTolerance: float Returns ------- None ") Tolerance; - void Tolerance(const Standard_Real T); + void Tolerance(const Standard_Real theTolerance); /****************** Triangulation ******************/ - /**** md5 signature: a9328d46141e309ce47c8a4aca21186d ****/ + /**** md5 signature: 031b83aac32b0db8569fa3861a62e31f ****/ %feature("compactdefaultargs") Triangulation; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Returns the triangulation of this face according to the mesh purpose. @param themeshpurpose [in] a mesh purpose to find appropriate triangulation (none by default). returns an active triangulation in case of none purpose, the first triangulation appropriate for the input purpose, just the first triangulation if none matching other criteria and input purpose is anyfallback or null handle if there is no any suitable triangulation. + +Parameters +---------- +thePurpose: Poly_MeshPurpose,optional + default value is Poly_MeshPurpose_NONE Returns ------- opencascade::handle ") Triangulation; - const opencascade::handle & Triangulation(); + const opencascade::handle & Triangulation(const Poly_MeshPurpose thePurpose = Poly_MeshPurpose_NONE); /****************** Triangulation ******************/ - /**** md5 signature: bac47dff3e24342527b1de486155ec4f ****/ + /**** md5 signature: ec7f735385ed0e818ad3a3ad3c13b876 ****/ %feature("compactdefaultargs") Triangulation; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Sets input triangulation for this face. @param thetriangulation [in] triangulation to be set @param thetoreset [in] flag to reset triangulations list to new list with only one input triangulation. if thetriangulation is null internal list of triangulations will be cleared and active triangulation will be nullified. if thetoreset is true internal list of triangulations will be reset to new list with only one input triangulation that will be active. else if input triangulation is contained in internal triangulations list it will be made active, else the active triangulation will be replaced to input one. Parameters ---------- -T: Poly_Triangulation +theTriangulation: Poly_Triangulation +theToReset: bool,optional + default value is true Returns ------- None ") Triangulation; - void Triangulation(const opencascade::handle & T); + void Triangulation(const opencascade::handle & theTriangulation, const Standard_Boolean theToReset = true); + + /****************** Triangulations ******************/ + /**** md5 signature: ff9482874654ec6c8f82dbd05f8b62aa ****/ + %feature("compactdefaultargs") Triangulations; + %feature("autodoc", "Returns the list of available face triangulations. + +Returns +------- +Poly_ListOfTriangulation +") Triangulations; + const Poly_ListOfTriangulation & Triangulations(); + + /****************** Triangulations ******************/ + /**** md5 signature: 9aea5c4c84dd41a6b79e5dc9a6ea0806 ****/ + %feature("compactdefaultargs") Triangulations; + %feature("autodoc", "Sets input list of triangulations and currently active triangulation for this face. if list is empty internal list of triangulations will be cleared and active triangulation will be nullified. else this list will be saved and the input active triangulation be saved as active. use null active triangulation to set the first triangulation in list as active. note: the method throws exception if there is any null triangulation in input list or if this list doesn't contain input active triangulation. + +Parameters +---------- +theTriangulations: Poly_ListOfTriangulation +theActiveTriangulation: Poly_Triangulation + +Returns +------- +None +") Triangulations; + void Triangulations(const Poly_ListOfTriangulation & theTriangulations, const opencascade::handle & theActiveTriangulation); }; @@ -3118,20 +3195,38 @@ float static Standard_Real Tolerance(const TopoDS_Vertex & V); /****************** Triangulation ******************/ - /**** md5 signature: a8a3e4132b07c69f1b86da193a9c65d4 ****/ + /**** md5 signature: d68c07d5a1ca2d4b4e577d7fa4cf54e1 ****/ %feature("compactdefaultargs") Triangulation; - %feature("autodoc", "Returns the triangulation of the face. it is a null handle if there is no triangulation. + %feature("autodoc", "Returns the triangulation of the face according to the mesh purpose. @param theface [in] the input face to find triangulation. @param thelocation [out] the face location. @param themeshpurpose [in] a mesh purpose to find appropriate triangulation (none by default). returns an active triangulation in case of none purpose, the first triangulation appropriate for the input purpose, just the first triangulation if none matching other criteria and input purpose is anyfallback or null handle if there is no any suitable triangulation. Parameters ---------- -F: TopoDS_Face -L: TopLoc_Location +theFace: TopoDS_Face +theLocation: TopLoc_Location +theMeshPurpose: Poly_MeshPurpose,optional + default value is Poly_MeshPurpose_NONE Returns ------- opencascade::handle ") Triangulation; - static const opencascade::handle & Triangulation(const TopoDS_Face & F, TopLoc_Location & L); + static const opencascade::handle & Triangulation(const TopoDS_Face & theFace, TopLoc_Location & theLocation, const Poly_MeshPurpose theMeshPurpose = Poly_MeshPurpose_NONE); + + /****************** Triangulations ******************/ + /**** md5 signature: ac6d632b25937da86177ac5f5087cf51 ****/ + %feature("compactdefaultargs") Triangulations; + %feature("autodoc", "Returns all triangulations of the face. @param theface [in] the input face. @param thelocation [out] the face location. returns list of all available face triangulations. + +Parameters +---------- +theFace: TopoDS_Face +theLocation: TopLoc_Location + +Returns +------- +Poly_ListOfTriangulation +") Triangulations; + static const Poly_ListOfTriangulation & Triangulations(const TopoDS_Face & theFace, TopLoc_Location & theLocation); /****************** UVPoints ******************/ /**** md5 signature: 739ea64a3ca04f61d1659b66cfc128ff ****/ diff --git a/src/SWIG_files/wrapper/BRep.pyi b/src/SWIG_files/wrapper/BRep.pyi index cdb562427..b616e09cd 100644 --- a/src/SWIG_files/wrapper/BRep.pyi +++ b/src/SWIG_files/wrapper/BRep.pyi @@ -66,7 +66,9 @@ class BRep_Builder(TopoDS_Builder): @overload def MakeFace(self, F: TopoDS_Face, S: Geom_Surface, L: TopLoc_Location, Tol: float) -> None: ... @overload - def MakeFace(self, F: TopoDS_Face, T: Poly_Triangulation) -> None: ... + def MakeFace(self, theFace: TopoDS_Face, theTriangulation: Poly_Triangulation) -> None: ... + @overload + def MakeFace(self, theFace: TopoDS_Face, theTriangulations: Poly_ListOfTriangulation, theActiveTriangulation: Optional[Poly_Triangulation] = Poly_Triangulation()) -> None: ... @overload def MakeVertex(self, V: TopoDS_Vertex) -> None: ... @overload @@ -125,7 +127,7 @@ class BRep_Builder(TopoDS_Builder): @overload def UpdateFace(self, F: TopoDS_Face, S: Geom_Surface, L: TopLoc_Location, Tol: float) -> None: ... @overload - def UpdateFace(self, F: TopoDS_Face, T: Poly_Triangulation) -> None: ... + def UpdateFace(self, theFace: TopoDS_Face, theTriangulation: Poly_Triangulation, theToReset: Optional[bool] = true) -> None: ... @overload def UpdateFace(self, F: TopoDS_Face, Tol: float) -> None: ... @overload @@ -272,27 +274,33 @@ class BRep_TEdge(TopoDS_TEdge): class BRep_TFace(TopoDS_TFace): def __init__(self) -> None: ... + def ActiveTriangulation(self) -> Poly_Triangulation: ... def EmptyCopy(self) -> TopoDS_TShape: ... @overload def Location(self) -> TopLoc_Location: ... @overload - def Location(self, L: TopLoc_Location) -> None: ... + def Location(self, theLocation: TopLoc_Location) -> None: ... @overload def NaturalRestriction(self) -> bool: ... @overload - def NaturalRestriction(self, N: bool) -> None: ... + def NaturalRestriction(self, theRestriction: bool) -> None: ... + def NbTriangulations(self) -> int: ... @overload def Surface(self) -> Geom_Surface: ... @overload - def Surface(self, S: Geom_Surface) -> None: ... + def Surface(self, theSurface: Geom_Surface) -> None: ... @overload def Tolerance(self) -> float: ... @overload - def Tolerance(self, T: float) -> None: ... + def Tolerance(self, theTolerance: float) -> None: ... @overload - def Triangulation(self) -> Poly_Triangulation: ... + def Triangulation(self, thePurpose: Optional[Poly_MeshPurpose] = Poly_MeshPurpose_NONE) -> Poly_Triangulation: ... + @overload + def Triangulation(self, theTriangulation: Poly_Triangulation, theToReset: Optional[bool] = true) -> None: ... @overload - def Triangulation(self, T: Poly_Triangulation) -> None: ... + def Triangulations(self) -> Poly_ListOfTriangulation: ... + @overload + def Triangulations(self, theTriangulations: Poly_ListOfTriangulation, theActiveTriangulation: Poly_Triangulation) -> None: ... class BRep_TVertex(TopoDS_TVertex): def __init__(self) -> None: ... @@ -445,7 +453,9 @@ class BRep_Tool: @staticmethod def Tolerance(V: TopoDS_Vertex) -> float: ... @staticmethod - def Triangulation(F: TopoDS_Face, L: TopLoc_Location) -> Poly_Triangulation: ... + def Triangulation(theFace: TopoDS_Face, theLocation: TopLoc_Location, theMeshPurpose: Optional[Poly_MeshPurpose] = Poly_MeshPurpose_NONE) -> Poly_Triangulation: ... + @staticmethod + def Triangulations(theFace: TopoDS_Face, theLocation: TopLoc_Location) -> Poly_ListOfTriangulation: ... @overload @staticmethod def UVPoints(E: TopoDS_Edge, S: Geom_Surface, L: TopLoc_Location, PFirst: gp_Pnt2d, PLast: gp_Pnt2d) -> None: ... @@ -677,5 +687,6 @@ BRep_Tool_Tolerance = BRep_Tool.Tolerance BRep_Tool_Tolerance = BRep_Tool.Tolerance BRep_Tool_Tolerance = BRep_Tool.Tolerance BRep_Tool_Triangulation = BRep_Tool.Triangulation +BRep_Tool_Triangulations = BRep_Tool.Triangulations BRep_Tool_UVPoints = BRep_Tool.UVPoints BRep_Tool_UVPoints = BRep_Tool.UVPoints diff --git a/src/SWIG_files/wrapper/BRepAdaptor.i b/src/SWIG_files/wrapper/BRepAdaptor.i index c5dd297b8..ffb16cbc1 100644 --- a/src/SWIG_files/wrapper/BRepAdaptor.i +++ b/src/SWIG_files/wrapper/BRepAdaptor.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPADAPTORDOCSTRING "BRepAdaptor module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepadaptor.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepadaptor.html" %enddef %module (package="OCC.Core", docstring=BREPADAPTORDOCSTRING) BRepAdaptor @@ -37,6 +37,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepadaptor.html" %{ +#include +#include #include //Dependencies @@ -50,10 +52,10 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepadaptor.html" #include #include #include -#include #include #include #include +#include #include #include #include @@ -69,7 +71,6 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepadaptor.html" %import TColStd.i %import GeomAdaptor.i %import Geom2dAdaptor.i -%import Adaptor2d.i %pythoncode { from enum import IntEnum @@ -79,16 +80,16 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ /* handles */ -%wrap_handle(BRepAdaptor_HCompCurve) -%wrap_handle(BRepAdaptor_HCurve) -%wrap_handle(BRepAdaptor_HCurve2d) -%wrap_handle(BRepAdaptor_HSurface) +%wrap_handle(BRepAdaptor_CompCurve) +%wrap_handle(BRepAdaptor_Curve) +%wrap_handle(BRepAdaptor_Curve2d) +%wrap_handle(BRepAdaptor_Surface) %wrap_handle(BRepAdaptor_HArray1OfCurve) /* end handles declaration */ @@ -170,7 +171,7 @@ None /****************** BRepAdaptor_CompCurve ******************/ /**** md5 signature: d6d730d5ed59cc103614b39691bdbfd1 ****/ %feature("compactdefaultargs") BRepAdaptor_CompCurve; - %feature("autodoc", "Creates a curve to acces to the geometry of edge . + %feature("autodoc", "Creates a curve to access the geometry of edge . Parameters ---------- @@ -425,7 +426,7 @@ None /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -568,7 +569,7 @@ float Standard_Real Resolution(const Standard_Real R3d); /****************** Trim ******************/ - /**** md5 signature: 113944489c8ce9efcb5cb2d44fff51d7 ****/ + /**** md5 signature: 40a46ffe7379c6d919968b501b8343a5 ****/ %feature("compactdefaultargs") Trim; %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -580,9 +581,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: d7f310c73762cbaa285ace0a141bc7bf ****/ @@ -613,6 +614,8 @@ TopoDS_Wire }; +%make_alias(BRepAdaptor_CompCurve) + %extend BRepAdaptor_CompCurve { %pythoncode { __repr__ = _dumps_object @@ -638,7 +641,7 @@ None /****************** BRepAdaptor_Curve ******************/ /**** md5 signature: 740e451b59f60726263aab98ec1f1316 ****/ %feature("compactdefaultargs") BRepAdaptor_Curve; - %feature("autodoc", "Creates a curve to acces to the geometry of edge . + %feature("autodoc", "Creates a curve to access the geometry of edge . Parameters ---------- @@ -653,7 +656,7 @@ None /****************** BRepAdaptor_Curve ******************/ /**** md5 signature: c4ad88c445ddb172d9a61b5a673cf024 ****/ %feature("compactdefaultargs") BRepAdaptor_Curve; - %feature("autodoc", "Creates a curve to acces to the geometry of edge . the geometry will be computed using the parametric curve of on the face . an error is raised if the edge does not have a pcurve on the face. + %feature("autodoc", "Creates a curve to access the geometry of edge . the geometry will be computed using the parametric curve of on the face . an error is raised if the edge does not have a pcurve on the face. Parameters ---------- @@ -669,7 +672,7 @@ None /****************** BSpline ******************/ /**** md5 signature: 3ccc0d851302bffb5de6344e3eb3e58d ****/ %feature("compactdefaultargs") BSpline; - %feature("autodoc", "Warning : this will make a copy of the bspline curve since it applies to it mytsrf . be carefull when using this method. + %feature("autodoc", "Warning: this will make a copy of the bspline curve since it applies to it mytsrf. be careful when using this method. Returns ------- @@ -680,7 +683,7 @@ opencascade::handle /****************** Bezier ******************/ /**** md5 signature: 092280fc6ee0e7104fbbe3460d73e83c ****/ %feature("compactdefaultargs") Bezier; - %feature("autodoc", "Warning : this will make a copy of the bezier curve since it applies to it mytsrf . be carefull when using this method. + %feature("autodoc", "Warning: this will make a copy of the bezier curve since it applies to it mytsrf. be careful when using this method. Returns ------- @@ -887,7 +890,7 @@ gp_Hypr /****************** Initialize ******************/ /**** md5 signature: b0b8cb0790e5e63c5a8b3b133b757731 ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Sets the curve to acces to the geometry of edge . + %feature("autodoc", "Sets the curve to access the geometry of edge . Parameters ---------- @@ -902,7 +905,7 @@ None /****************** Initialize ******************/ /**** md5 signature: cf258179577adbc75b4efbc5847934f6 ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Sets the curve to acces to the geometry of edge . the geometry will be computed using the parametric curve of on the face . an error is raised if the edge does not have a pcurve on the face. + %feature("autodoc", "Sets the curve to access the geometry of edge . the geometry will be computed using the parametric curve of on the face . an error is raised if the edge does not have a pcurve on the face. Parameters ---------- @@ -918,7 +921,7 @@ None /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -1116,7 +1119,7 @@ float Standard_Real Tolerance(); /****************** Trim ******************/ - /**** md5 signature: 113944489c8ce9efcb5cb2d44fff51d7 ****/ + /**** md5 signature: 40a46ffe7379c6d919968b501b8343a5 ****/ %feature("compactdefaultargs") Trim; %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -1128,9 +1131,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Trsf ******************/ /**** md5 signature: 97ab79d36bbfac916eee88e8b5acb351 ****/ @@ -1161,6 +1164,8 @@ gp_Pnt }; +%make_alias(BRepAdaptor_Curve) + %extend BRepAdaptor_Curve { %pythoncode { __repr__ = _dumps_object @@ -1240,345 +1245,9 @@ None }; -%extend BRepAdaptor_Curve2d { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/******************************* -* class BRepAdaptor_HCompCurve * -*******************************/ -class BRepAdaptor_HCompCurve : public Adaptor3d_HCurve { - public: - /****************** BRepAdaptor_HCompCurve ******************/ - /**** md5 signature: ee2332085191c287653cc1dc3c443d67 ****/ - %feature("compactdefaultargs") BRepAdaptor_HCompCurve; - %feature("autodoc", "Creates an empty genhcurve. - -Returns -------- -None -") BRepAdaptor_HCompCurve; - BRepAdaptor_HCompCurve(); - - /****************** BRepAdaptor_HCompCurve ******************/ - /**** md5 signature: 529069a7142997396ae63cdbe29595c4 ****/ - %feature("compactdefaultargs") BRepAdaptor_HCompCurve; - %feature("autodoc", "Creates a genhcurve from a curve. - -Parameters ----------- -C: BRepAdaptor_CompCurve - -Returns -------- -None -") BRepAdaptor_HCompCurve; - BRepAdaptor_HCompCurve(const BRepAdaptor_CompCurve & C); - - /****************** ChangeCurve ******************/ - /**** md5 signature: 5584aafa803567f0b14765f59d1e9df7 ****/ - %feature("compactdefaultargs") ChangeCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -BRepAdaptor_CompCurve -") ChangeCurve; - BRepAdaptor_CompCurve & ChangeCurve(); - - /****************** Curve ******************/ - /**** md5 signature: a89f0959dbb9c3c030843720c3636148 ****/ - %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") Curve; - const Adaptor3d_Curve & Curve(); - - /****************** GetCurve ******************/ - /**** md5 signature: 73b397b3522011e6948956523664e20c ****/ - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") GetCurve; - Adaptor3d_Curve & GetCurve(); - - /****************** Set ******************/ - /**** md5 signature: 293e0d7a041d2ce7fad35d23e78b19a5 ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve. - -Parameters ----------- -C: BRepAdaptor_CompCurve - -Returns -------- -None -") Set; - void Set(const BRepAdaptor_CompCurve & C); - -}; - - -%make_alias(BRepAdaptor_HCompCurve) - -%extend BRepAdaptor_HCompCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/*************************** -* class BRepAdaptor_HCurve * -***************************/ -class BRepAdaptor_HCurve : public Adaptor3d_HCurve { - public: - /****************** BRepAdaptor_HCurve ******************/ - /**** md5 signature: c2c284c5ce4093000fb8547d17b56caa ****/ - %feature("compactdefaultargs") BRepAdaptor_HCurve; - %feature("autodoc", "Creates an empty genhcurve. - -Returns -------- -None -") BRepAdaptor_HCurve; - BRepAdaptor_HCurve(); - - /****************** BRepAdaptor_HCurve ******************/ - /**** md5 signature: e646efb1776bc9066f0b18779c8630da ****/ - %feature("compactdefaultargs") BRepAdaptor_HCurve; - %feature("autodoc", "Creates a genhcurve from a curve. - -Parameters ----------- -C: BRepAdaptor_Curve - -Returns -------- -None -") BRepAdaptor_HCurve; - BRepAdaptor_HCurve(const BRepAdaptor_Curve & C); - - /****************** ChangeCurve ******************/ - /**** md5 signature: ec3c49a6c008b42a2a45ef58ef5939e3 ****/ - %feature("compactdefaultargs") ChangeCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -BRepAdaptor_Curve -") ChangeCurve; - BRepAdaptor_Curve & ChangeCurve(); - - /****************** Curve ******************/ - /**** md5 signature: a89f0959dbb9c3c030843720c3636148 ****/ - %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") Curve; - const Adaptor3d_Curve & Curve(); - - /****************** GetCurve ******************/ - /**** md5 signature: 73b397b3522011e6948956523664e20c ****/ - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") GetCurve; - Adaptor3d_Curve & GetCurve(); - - /****************** Set ******************/ - /**** md5 signature: 6d7ab21b172ab8d3910d6bddd09a65b7 ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve. - -Parameters ----------- -C: BRepAdaptor_Curve - -Returns -------- -None -") Set; - void Set(const BRepAdaptor_Curve & C); - -}; - - -%make_alias(BRepAdaptor_HCurve) - -%extend BRepAdaptor_HCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/***************************** -* class BRepAdaptor_HCurve2d * -*****************************/ -class BRepAdaptor_HCurve2d : public Adaptor2d_HCurve2d { - public: - /****************** BRepAdaptor_HCurve2d ******************/ - /**** md5 signature: c87733446815b91c488e07d5c4adb51a ****/ - %feature("compactdefaultargs") BRepAdaptor_HCurve2d; - %feature("autodoc", "Creates an empty genhcurve2d. - -Returns -------- -None -") BRepAdaptor_HCurve2d; - BRepAdaptor_HCurve2d(); - - /****************** BRepAdaptor_HCurve2d ******************/ - /**** md5 signature: b630f3a90244c1bfeb089666571296b9 ****/ - %feature("compactdefaultargs") BRepAdaptor_HCurve2d; - %feature("autodoc", "Creates a genhcurve2d from a curve. - -Parameters ----------- -C: BRepAdaptor_Curve2d - -Returns -------- -None -") BRepAdaptor_HCurve2d; - BRepAdaptor_HCurve2d(const BRepAdaptor_Curve2d & C); - - /****************** ChangeCurve2d ******************/ - /**** md5 signature: 5eaafe0a2840f766190f2993e7e4d917 ****/ - %feature("compactdefaultargs") ChangeCurve2d; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -BRepAdaptor_Curve2d -") ChangeCurve2d; - BRepAdaptor_Curve2d & ChangeCurve2d(); - - /****************** Curve2d ******************/ - /**** md5 signature: 87546edb35f2000a54f99255bb8c94db ****/ - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", "Returns the curve used to create the genhcurve2d. this is redefined from hcurve2d, cannot be inline. - -Returns -------- -Adaptor2d_Curve2d -") Curve2d; - const Adaptor2d_Curve2d & Curve2d(); - - /****************** Set ******************/ - /**** md5 signature: c9606a59ae51084ae5fc17beeb0843ff ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve2d. - -Parameters ----------- -C: BRepAdaptor_Curve2d - -Returns -------- -None -") Set; - void Set(const BRepAdaptor_Curve2d & C); - -}; - - -%make_alias(BRepAdaptor_HCurve2d) - -%extend BRepAdaptor_HCurve2d { - %pythoncode { - __repr__ = _dumps_object - } -}; +%make_alias(BRepAdaptor_Curve2d) -/***************************** -* class BRepAdaptor_HSurface * -*****************************/ -class BRepAdaptor_HSurface : public Adaptor3d_HSurface { - public: - /****************** BRepAdaptor_HSurface ******************/ - /**** md5 signature: 47d131914c3d836b6ee8dfca74879c7c ****/ - %feature("compactdefaultargs") BRepAdaptor_HSurface; - %feature("autodoc", "Creates an empty genhsurface. - -Returns -------- -None -") BRepAdaptor_HSurface; - BRepAdaptor_HSurface(); - - /****************** BRepAdaptor_HSurface ******************/ - /**** md5 signature: 99cc409cc8049c0bbcbb1e8a795e84c0 ****/ - %feature("compactdefaultargs") BRepAdaptor_HSurface; - %feature("autodoc", "Creates a genhsurface from a surface. - -Parameters ----------- -S: BRepAdaptor_Surface - -Returns -------- -None -") BRepAdaptor_HSurface; - BRepAdaptor_HSurface(const BRepAdaptor_Surface & S); - - /****************** ChangeSurface ******************/ - /**** md5 signature: 26725220266e2a65b2ae7cf9cd23eaf2 ****/ - %feature("compactdefaultargs") ChangeSurface; - %feature("autodoc", "Returns the surface used to create the genhsurface. - -Returns -------- -BRepAdaptor_Surface -") ChangeSurface; - BRepAdaptor_Surface & ChangeSurface(); - - /****************** Set ******************/ - /**** md5 signature: fcf34872ec48434410d7179500550649 ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhsurface. - -Parameters ----------- -S: BRepAdaptor_Surface - -Returns -------- -None -") Set; - void Set(const BRepAdaptor_Surface & S); - - /****************** Surface ******************/ - /**** md5 signature: 87b43b57a8dc79c19df787e8ef796cad ****/ - %feature("compactdefaultargs") Surface; - %feature("autodoc", "Returns a reference to the surface inside the hsurface. this is redefined from hsurface, cannot be inline. - -Returns -------- -Adaptor3d_Surface -") Surface; - const Adaptor3d_Surface & Surface(); - -}; - - -%make_alias(BRepAdaptor_HSurface) - -%extend BRepAdaptor_HSurface { +%extend BRepAdaptor_Curve2d { %pythoncode { __repr__ = _dumps_object } @@ -1631,7 +1300,7 @@ gp_Ax1 /****************** BSpline ******************/ /**** md5 signature: 7edfedec29b3e090d1dbb1c560f9218f ****/ %feature("compactdefaultargs") BSpline; - %feature("autodoc", "Warning : this will make a copy of the bspline surface since it applies to it the mytsrf transformation be carefull when using this method. + %feature("autodoc", "Warning : this will make a copy of the bspline surface since it applies to it the mytsrf transformation be careful when using this method. Returns ------- @@ -1640,26 +1309,26 @@ opencascade::handle opencascade::handle BSpline(); /****************** BasisCurve ******************/ - /**** md5 signature: 649d212d15fc34b20cfbf05abf61b226 ****/ + /**** md5 signature: 3da13dd15bd6f8a74a4a076b13266260 ****/ %feature("compactdefaultargs") BasisCurve; - %feature("autodoc", "Only for surfaceofextrusion and surfaceofrevolution warning: this will make a copy of the underlying curve since it applies to it the transformation mytrsf. be carefull when using this method. + %feature("autodoc", "Only for surfaceofextrusion and surfaceofrevolution warning: this will make a copy of the underlying curve since it applies to it the transformation mytrsf. be careful when using this method. Returns ------- -opencascade::handle +opencascade::handle ") BasisCurve; - opencascade::handle BasisCurve(); + opencascade::handle BasisCurve(); /****************** BasisSurface ******************/ - /**** md5 signature: 421ea038c6d9bcc3b023d9c1239bea84 ****/ + /**** md5 signature: de63a8a43356a45f5d395e828ec0014c ****/ %feature("compactdefaultargs") BasisSurface; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") BasisSurface; - opencascade::handle BasisSurface(); + opencascade::handle BasisSurface(); /****************** Bezier ******************/ /**** md5 signature: 98b7293dc91af28a1a57c0bfbd1e467a ****/ @@ -1830,7 +1499,7 @@ TopoDS_Face const TopoDS_Face Face(); /****************** FirstUParameter ******************/ - /**** md5 signature: 62341804d7e1ffc3de87fae2bf43b512 ****/ + /**** md5 signature: 9f6a318ef39f30d9051cc243f6edc9ac ****/ %feature("compactdefaultargs") FirstUParameter; %feature("autodoc", "No available documentation. @@ -1838,10 +1507,10 @@ Returns ------- float ") FirstUParameter; - Standard_Real FirstUParameter(); + virtual Standard_Real FirstUParameter(); /****************** FirstVParameter ******************/ - /**** md5 signature: 982af8f353fd309c87f6c3698af95089 ****/ + /**** md5 signature: 026c8b687e22be56263a275efcb1a191 ****/ %feature("compactdefaultargs") FirstVParameter; %feature("autodoc", "No available documentation. @@ -1849,10 +1518,10 @@ Returns ------- float ") FirstVParameter; - Standard_Real FirstVParameter(); + virtual Standard_Real FirstVParameter(); /****************** GetType ******************/ - /**** md5 signature: 96aa962fbb94c2c631f870283212b1d3 ****/ + /**** md5 signature: 936170b269276a5a12605a71a86272c0 ****/ %feature("compactdefaultargs") GetType; %feature("autodoc", "Returns the type of the surface : plane, cylinder, cone, sphere, torus, beziersurface, bsplinesurface, surfaceofrevolution, surfaceofextrusion, othersurface. @@ -1860,7 +1529,7 @@ Returns ------- GeomAbs_SurfaceType ") GetType; - GeomAbs_SurfaceType GetType(); + virtual GeomAbs_SurfaceType GetType(); /****************** Initialize ******************/ /**** md5 signature: f3aeecb0e2fbd866889f168f070cf082 ****/ @@ -1880,7 +1549,7 @@ None void Initialize(const TopoDS_Face & F, const Standard_Boolean Restriction = Standard_True); /****************** IsUClosed ******************/ - /**** md5 signature: d1e8bae29b90dc447f4693c94ad31c37 ****/ + /**** md5 signature: 3889881a8bccaf01bdc63482d847fec7 ****/ %feature("compactdefaultargs") IsUClosed; %feature("autodoc", "No available documentation. @@ -1888,10 +1557,10 @@ Returns ------- bool ") IsUClosed; - Standard_Boolean IsUClosed(); + virtual Standard_Boolean IsUClosed(); /****************** IsUPeriodic ******************/ - /**** md5 signature: 91acb028d6850ac4bbf00dc198b558b7 ****/ + /**** md5 signature: baaa80f0fba4fab1ff0458c41067535b ****/ %feature("compactdefaultargs") IsUPeriodic; %feature("autodoc", "No available documentation. @@ -1899,10 +1568,10 @@ Returns ------- bool ") IsUPeriodic; - Standard_Boolean IsUPeriodic(); + virtual Standard_Boolean IsUPeriodic(); /****************** IsURational ******************/ - /**** md5 signature: 503a5a81658ea54283ba1b83fd4c4159 ****/ + /**** md5 signature: 972bde55bb1931ba89cfd38a75b346b4 ****/ %feature("compactdefaultargs") IsURational; %feature("autodoc", "No available documentation. @@ -1910,10 +1579,10 @@ Returns ------- bool ") IsURational; - Standard_Boolean IsURational(); + virtual Standard_Boolean IsURational(); /****************** IsVClosed ******************/ - /**** md5 signature: aa0eae8155ddef3e9f1d0cc573955bb6 ****/ + /**** md5 signature: f5d8b2178f14695d158c648b5d67e50b ****/ %feature("compactdefaultargs") IsVClosed; %feature("autodoc", "No available documentation. @@ -1921,10 +1590,10 @@ Returns ------- bool ") IsVClosed; - Standard_Boolean IsVClosed(); + virtual Standard_Boolean IsVClosed(); /****************** IsVPeriodic ******************/ - /**** md5 signature: 88e9b94f2ab4a3d73c3fe787315e4448 ****/ + /**** md5 signature: a7b7752f1716f49329b3486241deda0e ****/ %feature("compactdefaultargs") IsVPeriodic; %feature("autodoc", "No available documentation. @@ -1932,10 +1601,10 @@ Returns ------- bool ") IsVPeriodic; - Standard_Boolean IsVPeriodic(); + virtual Standard_Boolean IsVPeriodic(); /****************** IsVRational ******************/ - /**** md5 signature: 43ab877f92028162dd9780a1e61ecdd7 ****/ + /**** md5 signature: bfc5bd774a4b38bf6259615a711f8ed2 ****/ %feature("compactdefaultargs") IsVRational; %feature("autodoc", "No available documentation. @@ -1943,10 +1612,10 @@ Returns ------- bool ") IsVRational; - Standard_Boolean IsVRational(); + virtual Standard_Boolean IsVRational(); /****************** LastUParameter ******************/ - /**** md5 signature: 1d079dee0cfc1756347bcb2471c5c822 ****/ + /**** md5 signature: 3133997e2ee3ea09c0b46a884e833ca4 ****/ %feature("compactdefaultargs") LastUParameter; %feature("autodoc", "No available documentation. @@ -1954,10 +1623,10 @@ Returns ------- float ") LastUParameter; - Standard_Real LastUParameter(); + virtual Standard_Real LastUParameter(); /****************** LastVParameter ******************/ - /**** md5 signature: 2b4acdfbc345aaeedbb1d34eef2873f2 ****/ + /**** md5 signature: f1f64233932dd0768276d78ffb537717 ****/ %feature("compactdefaultargs") LastVParameter; %feature("autodoc", "No available documentation. @@ -1965,25 +1634,25 @@ Returns ------- float ") LastVParameter; - Standard_Real LastVParameter(); + virtual Standard_Real LastVParameter(); /****************** NbUIntervals ******************/ - /**** md5 signature: 36290e0c805f559fce0d4de0d4d51789 ****/ + /**** md5 signature: ae4875076949dd10d5b3e8aa53673562 ****/ %feature("compactdefaultargs") NbUIntervals; %feature("autodoc", "If necessary, breaks the surface in u intervals of continuity . and returns the number of intervals. Parameters ---------- -S: GeomAbs_Shape +theSh: GeomAbs_Shape Returns ------- int ") NbUIntervals; - Standard_Integer NbUIntervals(const GeomAbs_Shape S); + virtual Standard_Integer NbUIntervals(const GeomAbs_Shape theSh); /****************** NbUKnots ******************/ - /**** md5 signature: b3d8ce13e5341877d4ffaaf0b52ec603 ****/ + /**** md5 signature: 9c52bcf67cce67b26f246c3aa4ea551f ****/ %feature("compactdefaultargs") NbUKnots; %feature("autodoc", "No available documentation. @@ -1991,10 +1660,10 @@ Returns ------- int ") NbUKnots; - Standard_Integer NbUKnots(); + virtual Standard_Integer NbUKnots(); /****************** NbUPoles ******************/ - /**** md5 signature: 5c5f4e3c3fe024076b4fb29a46558ec0 ****/ + /**** md5 signature: 8d31152e70dd85bb21fb36dbd5b33693 ****/ %feature("compactdefaultargs") NbUPoles; %feature("autodoc", "No available documentation. @@ -2002,25 +1671,25 @@ Returns ------- int ") NbUPoles; - Standard_Integer NbUPoles(); + virtual Standard_Integer NbUPoles(); /****************** NbVIntervals ******************/ - /**** md5 signature: 1386a357acacae70889de04788135ce2 ****/ + /**** md5 signature: f8d85deebab1e39694985284c6a9f17e ****/ %feature("compactdefaultargs") NbVIntervals; %feature("autodoc", "If necessary, breaks the surface in v intervals of continuity . and returns the number of intervals. Parameters ---------- -S: GeomAbs_Shape +theSh: GeomAbs_Shape Returns ------- int ") NbVIntervals; - Standard_Integer NbVIntervals(const GeomAbs_Shape S); + virtual Standard_Integer NbVIntervals(const GeomAbs_Shape theSh); /****************** NbVKnots ******************/ - /**** md5 signature: b1cd06ae6e3ff5f29ab4140934f12d0a ****/ + /**** md5 signature: 6aef7952062b9c9994e4e5162b5eecc2 ****/ %feature("compactdefaultargs") NbVKnots; %feature("autodoc", "No available documentation. @@ -2028,10 +1697,10 @@ Returns ------- int ") NbVKnots; - Standard_Integer NbVKnots(); + virtual Standard_Integer NbVKnots(); /****************** NbVPoles ******************/ - /**** md5 signature: d1321a0d34d7aaceadde41cd3444173f ****/ + /**** md5 signature: c198f9b4e351d69009dae4cc79544fc2 ****/ %feature("compactdefaultargs") NbVPoles; %feature("autodoc", "No available documentation. @@ -2039,7 +1708,7 @@ Returns ------- int ") NbVPoles; - Standard_Integer NbVPoles(); + virtual Standard_Integer NbVPoles(); /****************** OffsetValue ******************/ /**** md5 signature: ae23f5f41fc62b65137ff41b8ee27c47 ****/ @@ -2119,7 +1788,7 @@ gp_Trsf const gp_Trsf Trsf(); /****************** UContinuity ******************/ - /**** md5 signature: 734a4ef77d0d03bc93d92e10bda465e4 ****/ + /**** md5 signature: 3d5af3bf8bc22c7a70f14bdb9e75696a ****/ %feature("compactdefaultargs") UContinuity; %feature("autodoc", "No available documentation. @@ -2127,10 +1796,10 @@ Returns ------- GeomAbs_Shape ") UContinuity; - GeomAbs_Shape UContinuity(); + virtual GeomAbs_Shape UContinuity(); /****************** UDegree ******************/ - /**** md5 signature: fe5d6f101c0706d20343b36865ccf566 ****/ + /**** md5 signature: 2acc7b7f865332e05b9779cd0a953da6 ****/ %feature("compactdefaultargs") UDegree; %feature("autodoc", "No available documentation. @@ -2138,7 +1807,7 @@ Returns ------- int ") UDegree; - Standard_Integer UDegree(); + virtual Standard_Integer UDegree(); /****************** UIntervals ******************/ /**** md5 signature: 5a653f364681c4a5c1065b7e92c5d659 ****/ @@ -2157,7 +1826,7 @@ None void UIntervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); /****************** UPeriod ******************/ - /**** md5 signature: a3dec1a81b623affa1d3ea1e9e49c97e ****/ + /**** md5 signature: 9816370c908f909f6185bf5b607b6ed4 ****/ %feature("compactdefaultargs") UPeriod; %feature("autodoc", "No available documentation. @@ -2165,25 +1834,25 @@ Returns ------- float ") UPeriod; - Standard_Real UPeriod(); + virtual Standard_Real UPeriod(); /****************** UResolution ******************/ - /**** md5 signature: 449c7efbd4cbc4136589973c1bc1500b ****/ + /**** md5 signature: c908970ed85794b4b55fe21095a41df4 ****/ %feature("compactdefaultargs") UResolution; %feature("autodoc", "Returns the parametric u resolution corresponding to the real space resolution . Parameters ---------- -R3d: float +theR3d: float Returns ------- float ") UResolution; - Standard_Real UResolution(const Standard_Real R3d); + virtual Standard_Real UResolution(const Standard_Real theR3d); /****************** UTrim ******************/ - /**** md5 signature: 2f1effe4b247d770d76c6bb7e909f894 ****/ + /**** md5 signature: 3604326125cf753b2a6722a946fb54be ****/ %feature("compactdefaultargs") UTrim; %feature("autodoc", "Returns a surface trimmed in the u direction equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -2195,12 +1864,12 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") UTrim; - opencascade::handle UTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle UTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** VContinuity ******************/ - /**** md5 signature: 147ea173efc6a600ed241c35c98936ea ****/ + /**** md5 signature: a992dce85d001ed1cf99e1672e6d07ff ****/ %feature("compactdefaultargs") VContinuity; %feature("autodoc", "No available documentation. @@ -2208,10 +1877,10 @@ Returns ------- GeomAbs_Shape ") VContinuity; - GeomAbs_Shape VContinuity(); + virtual GeomAbs_Shape VContinuity(); /****************** VDegree ******************/ - /**** md5 signature: b7875d48d80bf8a6fde9c47500038fd4 ****/ + /**** md5 signature: 40f217d7a0d71a97880e9ed212ed6f4e ****/ %feature("compactdefaultargs") VDegree; %feature("autodoc", "No available documentation. @@ -2219,7 +1888,7 @@ Returns ------- int ") VDegree; - Standard_Integer VDegree(); + virtual Standard_Integer VDegree(); /****************** VIntervals ******************/ /**** md5 signature: bf8bef8286fec18f81beea299dd5cb6d ****/ @@ -2238,7 +1907,7 @@ None void VIntervals(TColStd_Array1OfReal & T, const GeomAbs_Shape S); /****************** VPeriod ******************/ - /**** md5 signature: e6f079a3e4e62dbf708e1ce56dfd23b6 ****/ + /**** md5 signature: 72036cc062bfffc50fc8cd70671f4f03 ****/ %feature("compactdefaultargs") VPeriod; %feature("autodoc", "No available documentation. @@ -2246,25 +1915,25 @@ Returns ------- float ") VPeriod; - Standard_Real VPeriod(); + virtual Standard_Real VPeriod(); /****************** VResolution ******************/ - /**** md5 signature: a2dfdb6521f339dcde6811097088d560 ****/ + /**** md5 signature: 6834713e8a40b99362514d586f78d876 ****/ %feature("compactdefaultargs") VResolution; %feature("autodoc", "Returns the parametric v resolution corresponding to the real space resolution . Parameters ---------- -R3d: float +theR3d: float Returns ------- float ") VResolution; - Standard_Real VResolution(const Standard_Real R3d); + virtual Standard_Real VResolution(const Standard_Real theR3d); /****************** VTrim ******************/ - /**** md5 signature: acb52a48cbc4aa80908911477b02f7f4 ****/ + /**** md5 signature: d094345261a4439c6edc98b200ea4e3d ****/ %feature("compactdefaultargs") VTrim; %feature("autodoc", "Returns a surface trimmed in the v direction between parameters and . is used to test for 3d points confusion. if >= . @@ -2276,9 +1945,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") VTrim; - opencascade::handle VTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle VTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: bc01a119296408176c75cc0dfb0636ae ****/ @@ -2299,6 +1968,8 @@ gp_Pnt }; +%make_alias(BRepAdaptor_Surface) + %extend BRepAdaptor_Surface { %pythoncode { __repr__ = _dumps_object diff --git a/src/SWIG_files/wrapper/BRepAdaptor.pyi b/src/SWIG_files/wrapper/BRepAdaptor.pyi index 6c969eac5..a26d177b5 100644 --- a/src/SWIG_files/wrapper/BRepAdaptor.pyi +++ b/src/SWIG_files/wrapper/BRepAdaptor.pyi @@ -11,7 +11,6 @@ from OCC.Core.GeomAbs import * from OCC.Core.TColStd import * from OCC.Core.GeomAdaptor import * from OCC.Core.Geom2dAdaptor import * -from OCC.Core.Adaptor2d import * class BRepAdaptor_Array1OfCurve: @@ -76,7 +75,7 @@ class BRepAdaptor_CompCurve(Adaptor3d_Curve): def Parabola(self) -> gp_Parab: ... def Period(self) -> float: ... def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HCurve: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Curve: ... def Value(self, U: float) -> gp_Pnt: ... def Wire(self) -> TopoDS_Wire: ... @@ -125,7 +124,7 @@ class BRepAdaptor_Curve(Adaptor3d_Curve): def Reset(self) -> None: ... def Resolution(self, R3d: float) -> float: ... def Tolerance(self) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HCurve: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Curve: ... def Trsf(self) -> gp_Trsf: ... def Value(self, U: float) -> gp_Pnt: ... @@ -138,44 +137,6 @@ class BRepAdaptor_Curve2d(Geom2dAdaptor_Curve): def Face(self) -> TopoDS_Face: ... def Initialize(self, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... -class BRepAdaptor_HCompCurve(Adaptor3d_HCurve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: BRepAdaptor_CompCurve) -> None: ... - def ChangeCurve(self) -> BRepAdaptor_CompCurve: ... - def Curve(self) -> Adaptor3d_Curve: ... - def GetCurve(self) -> Adaptor3d_Curve: ... - def Set(self, C: BRepAdaptor_CompCurve) -> None: ... - -class BRepAdaptor_HCurve(Adaptor3d_HCurve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: BRepAdaptor_Curve) -> None: ... - def ChangeCurve(self) -> BRepAdaptor_Curve: ... - def Curve(self) -> Adaptor3d_Curve: ... - def GetCurve(self) -> Adaptor3d_Curve: ... - def Set(self, C: BRepAdaptor_Curve) -> None: ... - -class BRepAdaptor_HCurve2d(Adaptor2d_HCurve2d): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: BRepAdaptor_Curve2d) -> None: ... - def ChangeCurve2d(self) -> BRepAdaptor_Curve2d: ... - def Curve2d(self) -> Adaptor2d_Curve2d: ... - def Set(self, C: BRepAdaptor_Curve2d) -> None: ... - -class BRepAdaptor_HSurface(Adaptor3d_HSurface): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: BRepAdaptor_Surface) -> None: ... - def ChangeSurface(self) -> BRepAdaptor_Surface: ... - def Set(self, S: BRepAdaptor_Surface) -> None: ... - def Surface(self) -> Adaptor3d_Surface: ... - class BRepAdaptor_Surface(Adaptor3d_Surface): @overload def __init__(self) -> None: ... @@ -183,8 +144,8 @@ class BRepAdaptor_Surface(Adaptor3d_Surface): def __init__(self, F: TopoDS_Face, R: Optional[bool] = True) -> None: ... def AxeOfRevolution(self) -> gp_Ax1: ... def BSpline(self) -> Geom_BSplineSurface: ... - def BasisCurve(self) -> Adaptor3d_HCurve: ... - def BasisSurface(self) -> Adaptor3d_HSurface: ... + def BasisCurve(self) -> Adaptor3d_Curve: ... + def BasisSurface(self) -> Adaptor3d_Surface: ... def Bezier(self) -> Geom_BezierSurface: ... def ChangeSurface(self) -> GeomAdaptor_Surface: ... def Cone(self) -> gp_Cone: ... @@ -208,10 +169,10 @@ class BRepAdaptor_Surface(Adaptor3d_Surface): def IsVRational(self) -> bool: ... def LastUParameter(self) -> float: ... def LastVParameter(self) -> float: ... - def NbUIntervals(self, S: GeomAbs_Shape) -> int: ... + def NbUIntervals(self, theSh: GeomAbs_Shape) -> int: ... def NbUKnots(self) -> int: ... def NbUPoles(self) -> int: ... - def NbVIntervals(self, S: GeomAbs_Shape) -> int: ... + def NbVIntervals(self, theSh: GeomAbs_Shape) -> int: ... def NbVKnots(self) -> int: ... def NbVPoles(self) -> int: ... def OffsetValue(self) -> float: ... @@ -225,14 +186,14 @@ class BRepAdaptor_Surface(Adaptor3d_Surface): def UDegree(self) -> int: ... def UIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... def UPeriod(self) -> float: ... - def UResolution(self, R3d: float) -> float: ... - def UTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... + def UResolution(self, theR3d: float) -> float: ... + def UTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Surface: ... def VContinuity(self) -> GeomAbs_Shape: ... def VDegree(self) -> int: ... def VIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... def VPeriod(self) -> float: ... - def VResolution(self, R3d: float) -> float: ... - def VTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... + def VResolution(self, theR3d: float) -> float: ... + def VTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Surface: ... def Value(self, U: float, V: float) -> gp_Pnt: ... # harray1 classes diff --git a/src/SWIG_files/wrapper/BRepAlgo.i b/src/SWIG_files/wrapper/BRepAlgo.i index a649eaa8a..ce7614b69 100644 --- a/src/SWIG_files/wrapper/BRepAlgo.i +++ b/src/SWIG_files/wrapper/BRepAlgo.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPALGODOCSTRING "BRepAlgo module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgo.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepalgo.html" %enddef %module (package="OCC.Core", docstring=BREPALGODOCSTRING) BRepAlgo @@ -45,12 +45,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgo.html" #include #include #include -#include -#include #include #include -#include -#include #include #include #include @@ -70,6 +66,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgo.html" #include #include #include +#include #include #include #include @@ -80,12 +77,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgo.html" %import TopoDS.i %import GeomAbs.i %import TopTools.i -%import BRepBuilderAPI.i -%import TopOpeBRepBuild.i %import TopAbs.i %import Adaptor3d.i -%import gp.i -%import Geom.i %pythoncode { from enum import IntEnum @@ -93,21 +86,10 @@ from OCC.Core.Exception import * }; /* public enums */ -enum BRepAlgo_CheckStatus { - BRepAlgo_OK = 0, - BRepAlgo_NOK = 1, -}; - /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { - -class BRepAlgo_CheckStatus(IntEnum): - BRepAlgo_OK = 0 - BRepAlgo_NOK = 1 -BRepAlgo_OK = BRepAlgo_CheckStatus.BRepAlgo_OK -BRepAlgo_NOK = BRepAlgo_CheckStatus.BRepAlgo_NOK }; /* end python proxy for enums */ @@ -163,7 +145,7 @@ TopoDS_Edge /****************** IsTopologicallyValid ******************/ /**** md5 signature: 862e9687e6641e5b5520e1bc35a7dd50 ****/ %feature("compactdefaultargs") IsTopologicallyValid; - %feature("autodoc", "Checks if the shape is 'correct'. if not, returns , else returns . this method differs from the previous one in the fact that no geometric contols (intersection of wires, pcurve validity) are performed. + %feature("autodoc", "Checks if the shape is 'correct'. if not, returns false, else returns true. this method differs from the previous one in the fact that no geometric controls (intersection of wires, pcurve validity) are performed. Parameters ---------- @@ -371,35 +353,35 @@ bool Standard_Boolean HasDescendant(const TopoDS_Shape & S); /****************** Remove ******************/ - /**** md5 signature: 05a88c75d9ea5ff51b2f8c0a39e09679 ****/ + /**** md5 signature: add61cba503919d35888054f3de3699f ****/ %feature("compactdefaultargs") Remove; - %feature("autodoc", "Remove from me. + %feature("autodoc", "Remove thes from me. Parameters ---------- -S: TopoDS_Shape +theS: TopoDS_Shape Returns ------- None ") Remove; - void Remove(const TopoDS_Shape & S); + void Remove(const TopoDS_Shape & theS); /****************** Replace ******************/ - /**** md5 signature: aa831f4803287da25b19255611f1b870 ****/ + /**** md5 signature: 7efbf7d2833396fcda557293d6dcc3ee ****/ %feature("compactdefaultargs") Replace; - %feature("autodoc", "Replace by . disapear from . + %feature("autodoc", "Replace theolds by thenews. theolds disappear from this. Parameters ---------- -OldS: TopoDS_Shape -NewS: TopoDS_Shape +theOldS: TopoDS_Shape +theNewS: TopoDS_Shape Returns ------- None ") Replace; - void Replace(const TopoDS_Shape & OldS, const TopoDS_Shape & NewS); + void Replace(const TopoDS_Shape & theOldS, const TopoDS_Shape & theNewS); }; @@ -412,111 +394,6 @@ None } }; -/********************************** -* class BRepAlgo_BooleanOperation * -**********************************/ -%nodefaultctor BRepAlgo_BooleanOperation; -class BRepAlgo_BooleanOperation : public BRepBuilderAPI_MakeShape { - public: - /****************** Builder ******************/ - /**** md5 signature: c97c63149316e999abd03e780cc959bf ****/ - %feature("compactdefaultargs") Builder; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") Builder; - opencascade::handle Builder(); - - /****************** IsDeleted ******************/ - /**** md5 signature: 28be7c17a3b2776f59567554f488bbf5 ****/ - %feature("compactdefaultargs") IsDeleted; - %feature("autodoc", "No available documentation. - -Parameters ----------- -S: TopoDS_Shape - -Returns -------- -bool -") IsDeleted; - virtual Standard_Boolean IsDeleted(const TopoDS_Shape & S); - - /****************** Modified ******************/ - /**** md5 signature: 73ccfe97b4ed94547a190332224ffe23 ****/ - %feature("compactdefaultargs") Modified; - %feature("autodoc", "Returns the list of shapes modified from the shape . - -Parameters ----------- -S: TopoDS_Shape - -Returns -------- -TopTools_ListOfShape -") Modified; - virtual const TopTools_ListOfShape & Modified(const TopoDS_Shape & S); - - /****************** Perform ******************/ - /**** md5 signature: 6eb14a53eba47750cd8130b167bd0170 ****/ - %feature("compactdefaultargs") Perform; - %feature("autodoc", "No available documentation. - -Parameters ----------- -St1: TopAbs_State -St2: TopAbs_State - -Returns -------- -None -") Perform; - void Perform(const TopAbs_State St1, const TopAbs_State St2); - - /****************** PerformDS ******************/ - /**** md5 signature: e01b11b18525c743543ad58a2f802249 ****/ - %feature("compactdefaultargs") PerformDS; - %feature("autodoc", "No available documentation. - -Returns -------- -None -") PerformDS; - void PerformDS(); - - /****************** Shape1 ******************/ - /**** md5 signature: 07a3db9d6b637af56fb1391aee4b7641 ****/ - %feature("compactdefaultargs") Shape1; - %feature("autodoc", "Returns the first shape involved in this boolean operation. - -Returns -------- -TopoDS_Shape -") Shape1; - const TopoDS_Shape Shape1(); - - /****************** Shape2 ******************/ - /**** md5 signature: 3655a6c56b55e5313d1b146d7ee7458a ****/ - %feature("compactdefaultargs") Shape2; - %feature("autodoc", "Returns the second shape involved in this boolean operation. - -Returns -------- -TopoDS_Shape -") Shape2; - const TopoDS_Shape Shape2(); - -}; - - -%extend BRepAlgo_BooleanOperation { - %pythoncode { - __repr__ = _dumps_object - } -}; - /******************************** * class BRepAlgo_FaceRestrictor * ********************************/ @@ -573,7 +450,7 @@ TopoDS_Face /****************** Init ******************/ /**** md5 signature: 8a340284dcc52534c4ed6303f8706321 ****/ %feature("compactdefaultargs") Init; - %feature("autodoc", "The surface of will be the the surface of each new faces built. is used to update pcurves on edges if necessary. see add(). + %feature("autodoc", "The surface of will be the surface of each new faces built. is used to update pcurves on edges if necessary. see add(). Parameters ---------- @@ -1384,7 +1261,7 @@ None /****************** SetParams ******************/ /**** md5 signature: 145439fe62b19bd0fd3e24e9c7dd4c4d ****/ %feature("compactdefaultargs") SetParams; - %feature("autodoc", "Set the parameters used for computation tol3d is the requiered tolerance between the 3d projected curve and its 2d representation internalcontinuity is the order of constraints used for approximation. maxdeg and maxseg are the maximum degree and the maximum number of segment for bspline resulting of an approximation. + %feature("autodoc", "Set the parameters used for computation tol3d is the required tolerance between the 3d projected curve and its 2d representation internalcontinuity is the order of constraints used for approximation. maxdeg and maxseg are the maximum degree and the maximum number of segment for bspline resulting of an approximation. Parameters ---------- @@ -1409,408 +1286,6 @@ None } }; -/********************** -* class BRepAlgo_Tool * -**********************/ -class BRepAlgo_Tool { - public: - /****************** Deboucle3D ******************/ - /**** md5 signature: 604726f64f42702b8591f042f704509e ****/ - %feature("compactdefaultargs") Deboucle3D; - %feature("autodoc", "Remove the non valid part of an offsetshape 1 - remove all the free boundary and the faces connex to such edges. 2 - remove all the shapes not valid in the result (according to the side of offseting) in this verion only the first point is implemented. - -Parameters ----------- -S: TopoDS_Shape -Boundary: TopTools_MapOfShape - -Returns -------- -TopoDS_Shape -") Deboucle3D; - static TopoDS_Shape Deboucle3D(const TopoDS_Shape & S, const TopTools_MapOfShape & Boundary); - -}; - - -%extend BRepAlgo_Tool { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/************************ -* class BRepAlgo_Common * -************************/ -class BRepAlgo_Common : public BRepAlgo_BooleanOperation { - public: - /****************** BRepAlgo_Common ******************/ - /**** md5 signature: c303f23f715db05d4b283d942e0ed480 ****/ - %feature("compactdefaultargs") BRepAlgo_Common; - %feature("autodoc", "Constructs the common part of shapes s1 and s2. - -Parameters ----------- -S1: TopoDS_Shape -S2: TopoDS_Shape - -Returns -------- -None -") BRepAlgo_Common; - BRepAlgo_Common(const TopoDS_Shape & S1, const TopoDS_Shape & S2); - -}; - - -%extend BRepAlgo_Common { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/********************* -* class BRepAlgo_Cut * -*********************/ -class BRepAlgo_Cut : public BRepAlgo_BooleanOperation { - public: - /****************** BRepAlgo_Cut ******************/ - /**** md5 signature: f90348e962c1c16c754ac1427051f107 ****/ - %feature("compactdefaultargs") BRepAlgo_Cut; - %feature("autodoc", "Cuts the shape s2 from the shape s1. - -Parameters ----------- -S1: TopoDS_Shape -S2: TopoDS_Shape - -Returns -------- -None -") BRepAlgo_Cut; - BRepAlgo_Cut(const TopoDS_Shape & S1, const TopoDS_Shape & S2); - -}; - - -%extend BRepAlgo_Cut { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/********************** -* class BRepAlgo_Fuse * -**********************/ -class BRepAlgo_Fuse : public BRepAlgo_BooleanOperation { - public: - /****************** BRepAlgo_Fuse ******************/ - /**** md5 signature: f117438a19e4ceb14492964fd0e05965 ****/ - %feature("compactdefaultargs") BRepAlgo_Fuse; - %feature("autodoc", "Fuse s1 and s2. - -Parameters ----------- -S1: TopoDS_Shape -S2: TopoDS_Shape - -Returns -------- -None -") BRepAlgo_Fuse; - BRepAlgo_Fuse(const TopoDS_Shape & S1, const TopoDS_Shape & S2); - -}; - - -%extend BRepAlgo_Fuse { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/************************* -* class BRepAlgo_Section * -*************************/ -class BRepAlgo_Section : public BRepAlgo_BooleanOperation { - public: - /****************** BRepAlgo_Section ******************/ - /**** md5 signature: 3b0b603cdaa19c3fa8b14a4fc6430eae ****/ - %feature("compactdefaultargs") BRepAlgo_Section; - %feature("autodoc", "No available documentation. - -Parameters ----------- -Sh1: TopoDS_Shape -Sh2: TopoDS_Shape -PerformNow: bool,optional - default value is Standard_True - -Returns -------- -None -") BRepAlgo_Section; - BRepAlgo_Section(const TopoDS_Shape & Sh1, const TopoDS_Shape & Sh2, const Standard_Boolean PerformNow = Standard_True); - - /****************** BRepAlgo_Section ******************/ - /**** md5 signature: 2eec517a00968b44883cf7812c34cb07 ****/ - %feature("compactdefaultargs") BRepAlgo_Section; - %feature("autodoc", "No available documentation. - -Parameters ----------- -Sh: TopoDS_Shape -Pl: gp_Pln -PerformNow: bool,optional - default value is Standard_True - -Returns -------- -None -") BRepAlgo_Section; - BRepAlgo_Section(const TopoDS_Shape & Sh, const gp_Pln & Pl, const Standard_Boolean PerformNow = Standard_True); - - /****************** BRepAlgo_Section ******************/ - /**** md5 signature: 51e4d1698105486e7345243a65fcf053 ****/ - %feature("compactdefaultargs") BRepAlgo_Section; - %feature("autodoc", "No available documentation. - -Parameters ----------- -Sh: TopoDS_Shape -Sf: Geom_Surface -PerformNow: bool,optional - default value is Standard_True - -Returns -------- -None -") BRepAlgo_Section; - BRepAlgo_Section(const TopoDS_Shape & Sh, const opencascade::handle & Sf, const Standard_Boolean PerformNow = Standard_True); - - /****************** BRepAlgo_Section ******************/ - /**** md5 signature: bf125371c0f12c703b776422977b8fc4 ****/ - %feature("compactdefaultargs") BRepAlgo_Section; - %feature("autodoc", "No available documentation. - -Parameters ----------- -Sf: Geom_Surface -Sh: TopoDS_Shape -PerformNow: bool,optional - default value is Standard_True - -Returns -------- -None -") BRepAlgo_Section; - BRepAlgo_Section(const opencascade::handle & Sf, const TopoDS_Shape & Sh, const Standard_Boolean PerformNow = Standard_True); - - /****************** BRepAlgo_Section ******************/ - /**** md5 signature: cba6ed73b7e463d63e15fef3e258420c ****/ - %feature("compactdefaultargs") BRepAlgo_Section; - %feature("autodoc", "This and the above algorithms construct a framework for computing the section lines of - the two shapes sh1 and sh2, or - the shape sh and the plane pl, or - the shape sh and the surface sf, or - the surface sf and the shape sh, or - the two surfaces sf1 and sf2, and builds the result if performnow equals true, its default value. if performnow equals false, the intersection will be computed later by the function build. the constructed shape will be returned by the function shape. this is a compound object composed of edges. these intersection edges may be built: - on new intersection lines, or - on coincident portions of edges in the two intersected shapes. these intersection edges are independent: they are not chained or grouped in wires. if no intersection edge exists, the result is an empty compound object. note that other objects than topods_shape shapes involved in these syntaxes are converted into faces or shells before performing the computation of the intersection. a shape resulting from this conversion can be retrieved with the function shape1 or shape2. parametric 2d curves on intersection edges no parametric 2d curve (pcurve) is defined for each elementary edge of the result. to attach such parametric curves to the constructed edges you may use a constructor with the performnow flag equal to false; then you use: - the function computepcurveon1 to ask for the additional computation of a pcurve in the parametric space of the first shape, - the function computepcurveon2 to ask for the additional computation of a pcurve in the parametric space of the second shape, - in the end, the function build to construct the result. note that as a result, pcurves will only be added on edges built on new intersection lines. approximation of intersection edges the underlying 3d geometry attached to each elementary edge of the result is: - analytic where possible, provided the corresponding geometry corresponds to a type of analytic curve defined in the geom package; for example, the intersection of a cylindrical shape with a plane gives an ellipse or a circle; - or elsewhere, given as a succession of points grouped together in a bspline curve of degree 1. if you prefer to have an attached 3d geometry which is a bspline approximation of the computed set of points on computed elementary intersection edges whose underlying geometry is not analytic, you may use a constructor with the performnow flag equal to false. then you use: - the function approximation to ask for this computation option, and - the function build to construct the result. note that as a result, approximations will only be computed on edges built on new intersection lines. example you may also combine these computation options. in the following example: - each elementary edge of the computed intersection, built on a new intersection line, which does not correspond to an analytic geom curve, will be approximated by a bspline curve whose degree is not greater than 8. - each elementary edge built on a new intersection line, will have: - a pcurve in the parametric space of the shape s1, - no pcurve in the parametric space of the shape s2. // topods_shape s1 = ... , s2 = ... ; standard_boolean performnow = standard_false; brepalgo_section s ( s1, s2, performnow ); s.computepcurveon1 (standard_true); s.approximation (standard_true); s.build(); topods_shape r = s.shape();. - -Parameters ----------- -Sf1: Geom_Surface -Sf2: Geom_Surface -PerformNow: bool,optional - default value is Standard_True - -Returns -------- -None -") BRepAlgo_Section; - BRepAlgo_Section(const opencascade::handle & Sf1, const opencascade::handle & Sf2, const Standard_Boolean PerformNow = Standard_True); - - /****************** Approximation ******************/ - /**** md5 signature: f599ca30fa002b2a3dc329decde6ce74 ****/ - %feature("compactdefaultargs") Approximation; - %feature("autodoc", "Defines an option for computation of further intersections. this computation will be performed by the function build in this framework. by default, the underlying 3d geometry attached to each elementary edge of the result of a computed intersection is: - analytic where possible, provided the corresponding geometry corresponds to a type of analytic curve defined in the geom package; for example the intersection of a cylindrical shape with a plane gives an ellipse or a circle; - or elsewhere, given as a succession of points grouped together in a bspline curve of degree 1. if approx equals true, when further computations are performed in this framework with the function build, these edges will have an attached 3d geometry which is a bspline approximation of the computed set of points. note that as a result, approximations will be computed on edges built only on new intersection lines. - -Parameters ----------- -B: bool - -Returns -------- -None -") Approximation; - void Approximation(const Standard_Boolean B); - - /****************** Build ******************/ - /**** md5 signature: fbc5fbed76b24de64a843e82da1c1005 ****/ - %feature("compactdefaultargs") Build; - %feature("autodoc", "Performs the computation of the section lines between the two parts defined at the time of construction of this framework or reinitialized with the init1 and init2 functions. the constructed shape will be returned by the function shape. this is a compound object composed of edges. these intersection edges may be built: - on new intersection lines, or - on coincident portions of edges in the two intersected shapes. these intersection edges are independent: they are not chained or grouped into wires. if no intersection edge exists, the result is an empty compound object. the shapes involved in the construction of the section lines can be retrieved with the function shape1 or shape2. note that other objects than topods_shape shapes given as arguments at the construction time of this framework, or to the init1 or init2 function, are converted into faces or shells before performing the computation of the intersection. parametric 2d curves on intersection edges no parametric 2d curve (pcurve) is defined for the elementary edges of the result. to attach parametric curves like this to the constructed edges you have to use: - the function computepcurveon1 to ask for the additional computation of a pcurve in the parametric space of the first shape, - the function computepcurveon2 to ask for the additional computation of a pcurve in the parametric space of the second shape. this must be done before calling this function. note that as a result, pcurves are added on edges built on new intersection lines only. approximation of intersection edges the underlying 3d geometry attached to each elementary edge of the result is: - analytic where possible provided the corresponding geometry corresponds to a type of analytic curve defined in the geom package; for example, the intersection of a cylindrical shape with a plane gives an ellipse or a circle; or - elsewhere, given as a succession of points grouped together in a bspline curve of degree 1. if, on computed elementary intersection edges whose underlying geometry is not analytic, you prefer to have an attached 3d geometry which is a bspline approximation of the computed set of points, you have to use the function approximation to ask for this computation option before calling this function. you may also have combined these computation options: look at the example given above to illustrate the use of the constructors. - -Returns -------- -None -") Build; - void Build(); - - /****************** ComputePCurveOn1 ******************/ - /**** md5 signature: e4a8add7cd0d8f532479132026321808 ****/ - %feature("compactdefaultargs") ComputePCurveOn1; - %feature("autodoc", "Indicates if the pcurve must be (or not) performed on first part. - -Parameters ----------- -B: bool - -Returns -------- -None -") ComputePCurveOn1; - void ComputePCurveOn1(const Standard_Boolean B); - - /****************** ComputePCurveOn2 ******************/ - /**** md5 signature: 69d49dff388a83191da02eb8e1945b69 ****/ - %feature("compactdefaultargs") ComputePCurveOn2; - %feature("autodoc", "Define options for the computation of further intersections which will be performed by the function build in this framework. by default, no parametric 2d curve (pcurve) is defined for the elementary edges of the result. if computepcurve1 equals true, further computations performed in this framework with the function build will attach an additional pcurve in the parametric space of the first shape to the constructed edges. if computepcurve2 equals true, the additional pcurve will be attached to the constructed edges in the parametric space of the second shape. these two functions may be used together. note that as a result, pcurves will only be added onto edges built on new intersection lines. - -Parameters ----------- -B: bool - -Returns -------- -None -") ComputePCurveOn2; - void ComputePCurveOn2(const Standard_Boolean B); - - /****************** HasAncestorFaceOn1 ******************/ - /**** md5 signature: 36605047037cbfa30f9efcc59b149e44 ****/ - %feature("compactdefaultargs") HasAncestorFaceOn1; - %feature("autodoc", "Identifies the ancestor faces of the new intersection edge e resulting from the last computation performed in this framework, that is, the faces of the two original shapes on which the edge e lies: - hasancestorfaceon1 gives the ancestor face in the first shape, and these functions return: - true if an ancestor face f is found, or - false if not. an ancestor face is identifiable for the edge e if the three following conditions are satisfied: - the first part on which this algorithm performed its last computation is a shape, that is, it was not given as a surface or a plane at the time of construction of this algorithm or at a later time by the init1 function, - e is one of the elementary edges built by the last computation of this section algorithm, - the edge e is built on an intersection curve. in other words, e is a new edge built on the intersection curve, not on edges belonging to the intersecting shapes. to use these functions properly, you have to test the returned boolean value before using the ancestor face: f is significant only if the returned boolean value equals true. - -Parameters ----------- -E: TopoDS_Shape -F: TopoDS_Shape - -Returns -------- -bool -") HasAncestorFaceOn1; - Standard_Boolean HasAncestorFaceOn1(const TopoDS_Shape & E, TopoDS_Shape & F); - - /****************** HasAncestorFaceOn2 ******************/ - /**** md5 signature: 0642a4fb4df5a635412bd18e5f65e916 ****/ - %feature("compactdefaultargs") HasAncestorFaceOn2; - %feature("autodoc", "Identifies the ancestor faces of the new intersection edge e resulting from the last computation performed in this framework, that is, the faces of the two original shapes on which the edge e lies: - hasancestorfaceon2 gives the ancestor face in the second shape. these functions return: - true if an ancestor face f is found, or - false if not. an ancestor face is identifiable for the edge e if the three following conditions are satisfied: - the first part on which this algorithm performed its last computation is a shape, that is, it was not given as a surface or a plane at the time of construction of this algorithm or at a later time by the init1 function, - e is one of the elementary edges built by the last computation of this section algorithm, - the edge e is built on an intersection curve. in other words, e is a new edge built on the intersection curve, not on edges belonging to the intersecting shapes. to use these functions properly, you have to test the returned boolean value before using the ancestor face: f is significant only if the returned boolean value equals true. - -Parameters ----------- -E: TopoDS_Shape -F: TopoDS_Shape - -Returns -------- -bool -") HasAncestorFaceOn2; - Standard_Boolean HasAncestorFaceOn2(const TopoDS_Shape & E, TopoDS_Shape & F); - - /****************** Init1 ******************/ - /**** md5 signature: 7fa686f55d72920afc50e65b8a84a805 ****/ - %feature("compactdefaultargs") Init1; - %feature("autodoc", "Initializes the first part. - -Parameters ----------- -S1: TopoDS_Shape - -Returns -------- -None -") Init1; - void Init1(const TopoDS_Shape & S1); - - /****************** Init1 ******************/ - /**** md5 signature: 1e834e5b66aacf2f588a792cb0edcd57 ****/ - %feature("compactdefaultargs") Init1; - %feature("autodoc", "Initializes the first part. - -Parameters ----------- -Pl: gp_Pln - -Returns -------- -None -") Init1; - void Init1(const gp_Pln & Pl); - - /****************** Init1 ******************/ - /**** md5 signature: a94f1a0649d28cfd679dcbe46833b484 ****/ - %feature("compactdefaultargs") Init1; - %feature("autodoc", "Initializes the first part. - -Parameters ----------- -Sf: Geom_Surface - -Returns -------- -None -") Init1; - void Init1(const opencascade::handle & Sf); - - /****************** Init2 ******************/ - /**** md5 signature: 8a35dc2983e205023df1fac2afbf3b01 ****/ - %feature("compactdefaultargs") Init2; - %feature("autodoc", "Initialize second part. - -Parameters ----------- -S2: TopoDS_Shape - -Returns -------- -None -") Init2; - void Init2(const TopoDS_Shape & S2); - - /****************** Init2 ******************/ - /**** md5 signature: 1fb6fdb5216fde3b15724409206adcfe ****/ - %feature("compactdefaultargs") Init2; - %feature("autodoc", "Initializes the second part. - -Parameters ----------- -Pl: gp_Pln - -Returns -------- -None -") Init2; - void Init2(const gp_Pln & Pl); - - /****************** Init2 ******************/ - /**** md5 signature: 86865e03b7bd5eecac0d55746d523771 ****/ - %feature("compactdefaultargs") Init2; - %feature("autodoc", "This and the above algorithms reinitialize the first and the second parts on which this algorithm is going to perform the intersection computation. this is done with either: the surface sf, the plane pl or the shape sh. you use the function build to construct the result. - -Parameters ----------- -Sf: Geom_Surface - -Returns -------- -None -") Init2; - void Init2(const opencascade::handle & Sf); - -}; - - -%extend BRepAlgo_Section { - %pythoncode { - __repr__ = _dumps_object - } -}; - /* harray1 classes */ /* harray2 classes */ /* hsequence classes */ diff --git a/src/SWIG_files/wrapper/BRepAlgo.pyi b/src/SWIG_files/wrapper/BRepAlgo.pyi index 5dc2a0a9f..fbce07c3e 100644 --- a/src/SWIG_files/wrapper/BRepAlgo.pyi +++ b/src/SWIG_files/wrapper/BRepAlgo.pyi @@ -6,21 +6,10 @@ from OCC.Core.NCollection import * from OCC.Core.TopoDS import * from OCC.Core.GeomAbs import * from OCC.Core.TopTools import * -from OCC.Core.BRepBuilderAPI import * -from OCC.Core.TopOpeBRepBuild import * from OCC.Core.TopAbs import * from OCC.Core.Adaptor3d import * -from OCC.Core.gp import * -from OCC.Core.Geom import * -class BRepAlgo_CheckStatus(IntEnum): - BRepAlgo_OK: int = ... - BRepAlgo_NOK: int = ... - -BRepAlgo_OK = BRepAlgo_CheckStatus.BRepAlgo_OK -BRepAlgo_NOK = BRepAlgo_CheckStatus.BRepAlgo_NOK - class brepalgo: @staticmethod def ConcatenateWire(Wire: TopoDS_Wire, Option: GeomAbs_Shape, AngularTolerance: Optional[float] = 1.0e-4) -> TopoDS_Wire: ... @@ -48,17 +37,8 @@ class BRepAlgo_AsDes(Standard_Transient): def HasAscendant(self, S: TopoDS_Shape) -> bool: ... def HasCommonDescendant(self, S1: TopoDS_Shape, S2: TopoDS_Shape, LC: TopTools_ListOfShape) -> bool: ... def HasDescendant(self, S: TopoDS_Shape) -> bool: ... - def Remove(self, S: TopoDS_Shape) -> None: ... - def Replace(self, OldS: TopoDS_Shape, NewS: TopoDS_Shape) -> None: ... - -class BRepAlgo_BooleanOperation(BRepBuilderAPI_MakeShape): - def Builder(self) -> TopOpeBRepBuild_HBuilder: ... - def IsDeleted(self, S: TopoDS_Shape) -> bool: ... - def Modified(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - def Perform(self, St1: TopAbs_State, St2: TopAbs_State) -> None: ... - def PerformDS(self) -> None: ... - def Shape1(self) -> TopoDS_Shape: ... - def Shape2(self) -> TopoDS_Shape: ... + def Remove(self, theS: TopoDS_Shape) -> None: ... + def Replace(self, theOldS: TopoDS_Shape, theNewS: TopoDS_Shape) -> None: ... class BRepAlgo_FaceRestrictor: def __init__(self) -> None: ... @@ -134,49 +114,6 @@ class BRepAlgo_NormalProjection: def SetMaxDistance(self, MaxDist: float) -> None: ... def SetParams(self, Tol3D: float, Tol2D: float, InternalContinuity: GeomAbs_Shape, MaxDegree: int, MaxSeg: int) -> None: ... -class BRepAlgo_Tool: - @staticmethod - def Deboucle3D(S: TopoDS_Shape, Boundary: TopTools_MapOfShape) -> TopoDS_Shape: ... - -class BRepAlgo_Common(BRepAlgo_BooleanOperation): - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape) -> None: ... - -class BRepAlgo_Cut(BRepAlgo_BooleanOperation): - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape) -> None: ... - -class BRepAlgo_Fuse(BRepAlgo_BooleanOperation): - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape) -> None: ... - -class BRepAlgo_Section(BRepAlgo_BooleanOperation): - @overload - def __init__(self, Sh1: TopoDS_Shape, Sh2: TopoDS_Shape, PerformNow: Optional[bool] = True) -> None: ... - @overload - def __init__(self, Sh: TopoDS_Shape, Pl: gp_Pln, PerformNow: Optional[bool] = True) -> None: ... - @overload - def __init__(self, Sh: TopoDS_Shape, Sf: Geom_Surface, PerformNow: Optional[bool] = True) -> None: ... - @overload - def __init__(self, Sf: Geom_Surface, Sh: TopoDS_Shape, PerformNow: Optional[bool] = True) -> None: ... - @overload - def __init__(self, Sf1: Geom_Surface, Sf2: Geom_Surface, PerformNow: Optional[bool] = True) -> None: ... - def Approximation(self, B: bool) -> None: ... - def Build(self) -> None: ... - def ComputePCurveOn1(self, B: bool) -> None: ... - def ComputePCurveOn2(self, B: bool) -> None: ... - def HasAncestorFaceOn1(self, E: TopoDS_Shape, F: TopoDS_Shape) -> bool: ... - def HasAncestorFaceOn2(self, E: TopoDS_Shape, F: TopoDS_Shape) -> bool: ... - @overload - def Init1(self, S1: TopoDS_Shape) -> None: ... - @overload - def Init1(self, Pl: gp_Pln) -> None: ... - @overload - def Init1(self, Sf: Geom_Surface) -> None: ... - @overload - def Init2(self, S2: TopoDS_Shape) -> None: ... - @overload - def Init2(self, Pl: gp_Pln) -> None: ... - @overload - def Init2(self, Sf: Geom_Surface) -> None: ... - # harray1 classes # harray2 classes # hsequence classes @@ -186,4 +123,3 @@ brepalgo_ConcatenateWireC0 = brepalgo.ConcatenateWireC0 brepalgo_IsTopologicallyValid = brepalgo.IsTopologicallyValid brepalgo_IsValid = brepalgo.IsValid brepalgo_IsValid = brepalgo.IsValid -BRepAlgo_Tool_Deboucle3D = BRepAlgo_Tool.Deboucle3D diff --git a/src/SWIG_files/wrapper/BRepAlgoAPI.i b/src/SWIG_files/wrapper/BRepAlgoAPI.i index 073fe11d2..72d3a2b22 100644 --- a/src/SWIG_files/wrapper/BRepAlgoAPI.i +++ b/src/SWIG_files/wrapper/BRepAlgoAPI.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPALGOAPIDOCSTRING "BRepAlgoAPI module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgoapi.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepalgoapi.html" %enddef %module (package="OCC.Core", docstring=BREPALGOAPIDOCSTRING) BRepAlgoAPI @@ -44,6 +44,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgoapi.html" #include #include #include +#include #include #include #include @@ -77,6 +78,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepalgoapi.html" %import NCollection.i %import BOPAlgo.i %import TopoDS.i +%import Message.i %import BRepBuilderAPI.i %import TopTools.i %import BRepTools.i @@ -93,7 +95,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -124,9 +126,9 @@ None BRepAlgoAPI_Check(); /****************** BRepAlgoAPI_Check ******************/ - /**** md5 signature: 0d046774211ccfb7a57473b281d4869c ****/ + /**** md5 signature: 4c7f74c0b1475c6354942a65d5c7e394 ****/ %feature("compactdefaultargs") BRepAlgoAPI_Check; - %feature("autodoc", "Constructor for checking single shape. //! @param thes [in] - the shape to check; @param btestse [in] - flag which specifies whether to check the shape on small edges or not; by default it is set to true; @param btestsi [in] - flag which specifies whether to check the shape on self-interference or not; by default it is set to true;. + %feature("autodoc", "Constructor for checking single shape. //! @param thes [in] - the shape to check; @param btestse [in] - flag which specifies whether to check the shape on small edges or not; by default it is set to true; @param btestsi [in] - flag which specifies whether to check the shape on self-interference or not; by default it is set to true; @param therange [in] - parameter to use progress indicator. Parameters ---------- @@ -135,17 +137,19 @@ bTestSE: bool,optional default value is Standard_True bTestSI: bool,optional default value is Standard_True +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() Returns ------- None ") BRepAlgoAPI_Check; - BRepAlgoAPI_Check(const TopoDS_Shape & theS, const Standard_Boolean bTestSE = Standard_True, const Standard_Boolean bTestSI = Standard_True); + BRepAlgoAPI_Check(const TopoDS_Shape & theS, const Standard_Boolean bTestSE = Standard_True, const Standard_Boolean bTestSI = Standard_True, const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** BRepAlgoAPI_Check ******************/ - /**** md5 signature: 6068a5b505f5a3d60d502aaacd5e7d72 ****/ + /**** md5 signature: 6d8665f00fc74c35f58fdcae0bcdc4ea ****/ %feature("compactdefaultargs") BRepAlgoAPI_Check; - %feature("autodoc", "Constructor for checking the couple of shapes. additionally to the validity checks of each given shape, the types of the given shapes will be checked on validity for boolean operation of given type. //! @param thes1 [in] - the first shape to check; @param thes2 [in] - the second shape to check; @param theop [in] - the type of boolean operation for which the validity of given shapes should be checked. @param btestse [in] - flag which specifies whether to check the shape on small edges or not; by default it is set to true; @param btestsi [in] - flag which specifies whether to check the shape on self-interference or not; by default it is set to true;. + %feature("autodoc", "Constructor for checking the couple of shapes. additionally to the validity checks of each given shape, the types of the given shapes will be checked on validity for boolean operation of given type. //! @param thes1 [in] - the first shape to check; @param thes2 [in] - the second shape to check; @param theop [in] - the type of boolean operation for which the validity of given shapes should be checked. @param btestse [in] - flag which specifies whether to check the shape on small edges or not; by default it is set to true; @param btestsi [in] - flag which specifies whether to check the shape on self-interference or not; by default it is set to true; @param therange [in] - parameter to use progress indicator. Parameters ---------- @@ -157,12 +161,14 @@ bTestSE: bool,optional default value is Standard_True bTestSI: bool,optional default value is Standard_True +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() Returns ------- None ") BRepAlgoAPI_Check; - BRepAlgoAPI_Check(const TopoDS_Shape & theS1, const TopoDS_Shape & theS2, const BOPAlgo_Operation theOp = BOPAlgo_UNKNOWN, const Standard_Boolean bTestSE = Standard_True, const Standard_Boolean bTestSI = Standard_True); + BRepAlgoAPI_Check(const TopoDS_Shape & theS1, const TopoDS_Shape & theS2, const BOPAlgo_Operation theOp = BOPAlgo_UNKNOWN, const Standard_Boolean bTestSE = Standard_True, const Standard_Boolean bTestSI = Standard_True, const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** IsValid ******************/ /**** md5 signature: c1993b3b31d320b598a9a9b27c56914e ****/ @@ -176,15 +182,20 @@ bool Standard_Boolean IsValid(); /****************** Perform ******************/ - /**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/ + /**** md5 signature: 237808a6b51056c9f8e292d343f26d7d ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs the check. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Perform; - void Perform(); + void Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Result ******************/ /**** md5 signature: 7cf3309b46dab6da497e78cfc1a9af75 ****/ @@ -317,15 +328,20 @@ TopTools_ListOfShape const TopTools_ListOfShape & Arguments(); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Performs the algorithm. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Builder ******************/ /**** md5 signature: 8b185d6cf1a66c51174428861a33b6c7 ****/ @@ -644,15 +660,20 @@ None void AddFacesToRemove(const TopTools_ListOfShape & theFaces); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Performs the operation. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** FacesToRemove ******************/ /**** md5 signature: 947971dfb74df8135dc7f7ce60eaaa90 ****/ @@ -847,15 +868,20 @@ None BRepAlgoAPI_BooleanOperation(const BOPAlgo_PaveFiller & thePF); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Performs the boolean operation. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Operation ******************/ /**** md5 signature: 3fe7ad033306b813a524bc39f03a5e6e ****/ @@ -972,15 +998,20 @@ None BRepAlgoAPI_Splitter(const BOPAlgo_PaveFiller & thePF); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Performs the split operation. performs the intersection of the argument shapes (both objects and tools) and splits objects by the tools. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** SetTools ******************/ /**** md5 signature: 3be2cbb7f8439cb12462b3704230f424 ****/ @@ -1049,7 +1080,7 @@ None BRepAlgoAPI_Common(const BOPAlgo_PaveFiller & PF); /****************** BRepAlgoAPI_Common ******************/ - /**** md5 signature: 65c64c29f7cf2b9ce8fc226b39f512dd ****/ + /**** md5 signature: 281aea6470a4b9efa44abd92f03bd429 ****/ %feature("compactdefaultargs") BRepAlgoAPI_Common; %feature("autodoc", "Constructor with two shapes -argument -tool - the type of the operation obsolete. @@ -1057,15 +1088,17 @@ Parameters ---------- S1: TopoDS_Shape S2: TopoDS_Shape +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() Returns ------- None ") BRepAlgoAPI_Common; - BRepAlgoAPI_Common(const TopoDS_Shape & S1, const TopoDS_Shape & S2); + BRepAlgoAPI_Common(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** BRepAlgoAPI_Common ******************/ - /**** md5 signature: 234cc5b6a4b65f1836f72b85b4853c82 ****/ + /**** md5 signature: 435fb55f2697ff39118c51724120f6f5 ****/ %feature("compactdefaultargs") BRepAlgoAPI_Common; %feature("autodoc", "Constructor with two shapes -argument -tool - the type of the operation - pavefiller object that is carried out obsolete. @@ -1074,12 +1107,14 @@ Parameters S1: TopoDS_Shape S2: TopoDS_Shape PF: BOPAlgo_PaveFiller +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() Returns ------- None ") BRepAlgoAPI_Common; - BRepAlgoAPI_Common(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const BOPAlgo_PaveFiller & PF); + BRepAlgoAPI_Common(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const BOPAlgo_PaveFiller & PF, const Message_ProgressRange & theRange = Message_ProgressRange()); }; @@ -1122,7 +1157,7 @@ None BRepAlgoAPI_Cut(const BOPAlgo_PaveFiller & PF); /****************** BRepAlgoAPI_Cut ******************/ - /**** md5 signature: 11f9a02b23a31e70aa286dbffb024431 ****/ + /**** md5 signature: aa1da534b9c66c537779d74c3ab72d96 ****/ %feature("compactdefaultargs") BRepAlgoAPI_Cut; %feature("autodoc", "Constructor with two shapes -argument -tool - the type of the operation obsolete. @@ -1130,15 +1165,17 @@ Parameters ---------- S1: TopoDS_Shape S2: TopoDS_Shape +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() Returns ------- None ") BRepAlgoAPI_Cut; - BRepAlgoAPI_Cut(const TopoDS_Shape & S1, const TopoDS_Shape & S2); + BRepAlgoAPI_Cut(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** BRepAlgoAPI_Cut ******************/ - /**** md5 signature: e0df31a6859bf1c0dc245660c66fab53 ****/ + /**** md5 signature: ac4b1606254f036b586cca6028e78c28 ****/ %feature("compactdefaultargs") BRepAlgoAPI_Cut; %feature("autodoc", "Constructor with two shapes -argument -tool - the type of the operation - pavefiller object that is carried out obsolete. @@ -1149,12 +1186,14 @@ S2: TopoDS_Shape aDSF: BOPAlgo_PaveFiller bFWD: bool,optional default value is Standard_True +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() Returns ------- None ") BRepAlgoAPI_Cut; - BRepAlgoAPI_Cut(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const BOPAlgo_PaveFiller & aDSF, const Standard_Boolean bFWD = Standard_True); + BRepAlgoAPI_Cut(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const BOPAlgo_PaveFiller & aDSF, const Standard_Boolean bFWD = Standard_True, const Message_ProgressRange & theRange = Message_ProgressRange()); }; @@ -1197,7 +1236,7 @@ None BRepAlgoAPI_Fuse(const BOPAlgo_PaveFiller & PF); /****************** BRepAlgoAPI_Fuse ******************/ - /**** md5 signature: 879433be8fed9f569be5cc5a6a1e1325 ****/ + /**** md5 signature: 997b51870f06f995a1de922a1d169097 ****/ %feature("compactdefaultargs") BRepAlgoAPI_Fuse; %feature("autodoc", "Constructor with two shapes -argument -tool - the type of the operation obsolete. @@ -1205,15 +1244,17 @@ Parameters ---------- S1: TopoDS_Shape S2: TopoDS_Shape +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() Returns ------- None ") BRepAlgoAPI_Fuse; - BRepAlgoAPI_Fuse(const TopoDS_Shape & S1, const TopoDS_Shape & S2); + BRepAlgoAPI_Fuse(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** BRepAlgoAPI_Fuse ******************/ - /**** md5 signature: 0a16e33ccaa30501e91551c57e5f2810 ****/ + /**** md5 signature: 0619d132bb7d5cd901bfe7d534a8a34b ****/ %feature("compactdefaultargs") BRepAlgoAPI_Fuse; %feature("autodoc", "Constructor with two shapes -argument -tool - the type of the operation - pavefiller object that is carried out obsolete. @@ -1222,12 +1263,14 @@ Parameters S1: TopoDS_Shape S2: TopoDS_Shape aDSF: BOPAlgo_PaveFiller +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() Returns ------- None ") BRepAlgoAPI_Fuse; - BRepAlgoAPI_Fuse(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const BOPAlgo_PaveFiller & aDSF); + BRepAlgoAPI_Fuse(const TopoDS_Shape & S1, const TopoDS_Shape & S2, const BOPAlgo_PaveFiller & aDSF, const Message_ProgressRange & theRange = Message_ProgressRange()); }; @@ -1272,7 +1315,7 @@ None /****************** BRepAlgoAPI_Section ******************/ /**** md5 signature: cb5bfbec844bcec9b0cb0f6e222e3512 ****/ %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", "Constructor with two shapes -argument -tool - the flag: if =true - the algorithm is performed immediatly obsolete. + %feature("autodoc", "Constructor with two shapes -argument -tool - the flag: if =true - the algorithm is performed immediately obsolete. Parameters ---------- @@ -1290,7 +1333,7 @@ None /****************** BRepAlgoAPI_Section ******************/ /**** md5 signature: 6f2f6902a99b64288c481b6cad474b59 ****/ %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", "Constructor with two shapes -argument -tool - pavefiller object that is carried out - the flag: if =true - the algorithm is performed immediatly obsolete. + %feature("autodoc", "Constructor with two shapes -argument -tool - pavefiller object that is carried out - the flag: if =true - the algorithm is performed immediately obsolete. Parameters ---------- @@ -1309,7 +1352,7 @@ None /****************** BRepAlgoAPI_Section ******************/ /**** md5 signature: 30e774e5a1508f5dd6195bbba8028bdd ****/ %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", "Constructor with two shapes - argument - tool - the flag: if =true - the algorithm is performed immediatly obsolete. + %feature("autodoc", "Constructor with two shapes - argument - tool - the flag: if =true - the algorithm is performed immediately obsolete. Parameters ---------- @@ -1327,7 +1370,7 @@ None /****************** BRepAlgoAPI_Section ******************/ /**** md5 signature: c287bb4bc888ac88d0cb0da777c82aa7 ****/ %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", "Constructor with two shapes - argument - tool - the flag: if =true - the algorithm is performed immediatly obsolete. + %feature("autodoc", "Constructor with two shapes - argument - tool - the flag: if =true - the algorithm is performed immediately obsolete. Parameters ---------- @@ -1345,7 +1388,7 @@ None /****************** BRepAlgoAPI_Section ******************/ /**** md5 signature: 672281bf6f9f679b4d466fb17e60f6c9 ****/ %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", "Constructor with two shapes - argument - tool - the flag: if =true - the algorithm is performed immediatly obsolete. + %feature("autodoc", "Constructor with two shapes - argument - tool - the flag: if =true - the algorithm is performed immediately obsolete. Parameters ---------- @@ -1363,7 +1406,7 @@ None /****************** BRepAlgoAPI_Section ******************/ /**** md5 signature: b272770396cfbca61affc5a095f04dbc ****/ %feature("compactdefaultargs") BRepAlgoAPI_Section; - %feature("autodoc", "Constructor with two shapes - argument - tool - the flag: if =true - the algorithm is performed immediatly obsolete. + %feature("autodoc", "Constructor with two shapes - argument - tool - the flag: if =true - the algorithm is performed immediately obsolete. Parameters ---------- @@ -1394,15 +1437,20 @@ None void Approximation(const Standard_Boolean B); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Performs the algorithm filling interference data structure (if it is necessary) building the result of the operation. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** ComputePCurveOn1 ******************/ /**** md5 signature: e4a8add7cd0d8f532479132026321808 ****/ diff --git a/src/SWIG_files/wrapper/BRepAlgoAPI.pyi b/src/SWIG_files/wrapper/BRepAlgoAPI.pyi index 077e2b1f9..7a1d9f251 100644 --- a/src/SWIG_files/wrapper/BRepAlgoAPI.pyi +++ b/src/SWIG_files/wrapper/BRepAlgoAPI.pyi @@ -5,6 +5,7 @@ from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.BOPAlgo import * from OCC.Core.TopoDS import * +from OCC.Core.Message import * from OCC.Core.BRepBuilderAPI import * from OCC.Core.TopTools import * from OCC.Core.BRepTools import * @@ -16,11 +17,11 @@ class BRepAlgoAPI_Check(BOPAlgo_Options): @overload def __init__(self) -> None: ... @overload - def __init__(self, theS: TopoDS_Shape, bTestSE: Optional[bool] = True, bTestSI: Optional[bool] = True) -> None: ... + def __init__(self, theS: TopoDS_Shape, bTestSE: Optional[bool] = True, bTestSI: Optional[bool] = True, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... @overload - def __init__(self, theS1: TopoDS_Shape, theS2: TopoDS_Shape, theOp: Optional[BOPAlgo_Operation] = BOPAlgo_UNKNOWN, bTestSE: Optional[bool] = True, bTestSI: Optional[bool] = True) -> None: ... + def __init__(self, theS1: TopoDS_Shape, theS2: TopoDS_Shape, theOp: Optional[BOPAlgo_Operation] = BOPAlgo_UNKNOWN, bTestSE: Optional[bool] = True, bTestSI: Optional[bool] = True, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def IsValid(self) -> bool: ... - def Perform(self) -> None: ... + def Perform(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def Result(self) -> BOPAlgo_ListOfCheckResult: ... @overload def SetData(self, theS: TopoDS_Shape, bTestSE: Optional[bool] = True, bTestSI: Optional[bool] = True) -> None: ... @@ -36,7 +37,7 @@ class BRepAlgoAPI_BuilderAlgo(BRepAlgoAPI_Algo): @overload def __init__(self, thePF: BOPAlgo_PaveFiller) -> None: ... def Arguments(self) -> TopTools_ListOfShape: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def Builder(self) -> BOPAlgo_PBuilder: ... def CheckInverted(self) -> bool: ... def DSFiller(self) -> BOPAlgo_PPaveFiller: ... @@ -62,7 +63,7 @@ class BRepAlgoAPI_Defeaturing(BRepAlgoAPI_Algo): def __init__(self) -> None: ... def AddFaceToRemove(self, theFace: TopoDS_Shape) -> None: ... def AddFacesToRemove(self, theFaces: TopTools_ListOfShape) -> None: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def FacesToRemove(self) -> TopTools_ListOfShape: ... def Generated(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... def HasDeleted(self) -> bool: ... @@ -81,7 +82,7 @@ class BRepAlgoAPI_BooleanOperation(BRepAlgoAPI_BuilderAlgo): def __init__(self) -> None: ... @overload def __init__(self, thePF: BOPAlgo_PaveFiller) -> None: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def Operation(self) -> BOPAlgo_Operation: ... def SetOperation(self, theBOP: BOPAlgo_Operation) -> None: ... def SetTools(self, theLS: TopTools_ListOfShape) -> None: ... @@ -94,7 +95,7 @@ class BRepAlgoAPI_Splitter(BRepAlgoAPI_BuilderAlgo): def __init__(self) -> None: ... @overload def __init__(self, thePF: BOPAlgo_PaveFiller) -> None: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def SetTools(self, theLS: TopTools_ListOfShape) -> None: ... def Tools(self) -> TopTools_ListOfShape: ... @@ -104,9 +105,9 @@ class BRepAlgoAPI_Common(BRepAlgoAPI_BooleanOperation): @overload def __init__(self, PF: BOPAlgo_PaveFiller) -> None: ... @overload - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape) -> None: ... + def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... @overload - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, PF: BOPAlgo_PaveFiller) -> None: ... + def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, PF: BOPAlgo_PaveFiller, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... class BRepAlgoAPI_Cut(BRepAlgoAPI_BooleanOperation): @overload @@ -114,9 +115,9 @@ class BRepAlgoAPI_Cut(BRepAlgoAPI_BooleanOperation): @overload def __init__(self, PF: BOPAlgo_PaveFiller) -> None: ... @overload - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape) -> None: ... + def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... @overload - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, aDSF: BOPAlgo_PaveFiller, bFWD: Optional[bool] = True) -> None: ... + def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, aDSF: BOPAlgo_PaveFiller, bFWD: Optional[bool] = True, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... class BRepAlgoAPI_Fuse(BRepAlgoAPI_BooleanOperation): @overload @@ -124,9 +125,9 @@ class BRepAlgoAPI_Fuse(BRepAlgoAPI_BooleanOperation): @overload def __init__(self, PF: BOPAlgo_PaveFiller) -> None: ... @overload - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape) -> None: ... + def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... @overload - def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, aDSF: BOPAlgo_PaveFiller) -> None: ... + def __init__(self, S1: TopoDS_Shape, S2: TopoDS_Shape, aDSF: BOPAlgo_PaveFiller, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... class BRepAlgoAPI_Section(BRepAlgoAPI_BooleanOperation): @overload @@ -146,7 +147,7 @@ class BRepAlgoAPI_Section(BRepAlgoAPI_BooleanOperation): @overload def __init__(self, Sf1: Geom_Surface, Sf2: Geom_Surface, PerformNow: Optional[bool] = True) -> None: ... def Approximation(self, B: bool) -> None: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def ComputePCurveOn1(self, B: bool) -> None: ... def ComputePCurveOn2(self, B: bool) -> None: ... def HasAncestorFaceOn1(self, E: TopoDS_Shape, F: TopoDS_Shape) -> bool: ... diff --git a/src/SWIG_files/wrapper/BRepApprox.i b/src/SWIG_files/wrapper/BRepApprox.i index 5f7ee4c93..f4a4c5d9c 100644 --- a/src/SWIG_files/wrapper/BRepApprox.i +++ b/src/SWIG_files/wrapper/BRepApprox.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPAPPROXDOCSTRING "BRepApprox module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepapprox.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepapprox.html" %enddef %module (package="OCC.Core", docstring=BREPAPPROXDOCSTRING) BRepApprox @@ -43,11 +43,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepapprox.html" #include #include #include +#include #include #include #include #include -#include #include #include #include @@ -62,6 +62,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepapprox.html" #include #include #include +#include +#include #include #include #include @@ -70,11 +72,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepapprox.html" %import Standard.i %import NCollection.i %import Approx.i +%import math.i %import AppParCurves.i %import Geom.i %import Geom2d.i %import IntSurf.i -%import math.i %import TColStd.i %import BRepAdaptor.i %import IntImp.i @@ -90,7 +92,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -144,6 +146,25 @@ int ") NbMultiCurves; Standard_Integer NbMultiCurves(); + /****************** Parameters ******************/ + /**** md5 signature: 81d60914d3a71865160546b151d21f82 ****/ + %feature("compactdefaultargs") Parameters; + %feature("autodoc", "No available documentation. + +Parameters +---------- +Line: BRepApprox_TheMultiLineOfApprox +firstP: int +lastP: int +Par: Approx_ParametrizationType +TheParameters: math_Vector + +Returns +------- +None +") Parameters; + static void Parameters(const BRepApprox_TheMultiLineOfApprox & Line, const Standard_Integer firstP, const Standard_Integer lastP, const Approx_ParametrizationType Par, math_Vector & TheParameters); + /****************** SetParameters ******************/ /**** md5 signature: 224b0c0bb8f1208adc055cd27769623b ****/ %feature("compactdefaultargs") SetParameters; @@ -3285,7 +3306,7 @@ None /****************** SetPeriodic ******************/ /**** md5 signature: 3109823bbe448d62437b44b39b4d9b19 ****/ %feature("compactdefaultargs") SetPeriodic; - %feature("autodoc", "Sets periodic flag. if theperiodic = standard_true, algorith tries to build periodic multicurve using corresponding c1 boundary condition for first and last multipoints. multiline must be closed. + %feature("autodoc", "Sets periodic flag. if theperiodic = standard_true, algorithm tries to build periodic multicurve using corresponding c1 boundary condition for first and last multipoints. multiline must be closed. Parameters ---------- diff --git a/src/SWIG_files/wrapper/BRepApprox.pyi b/src/SWIG_files/wrapper/BRepApprox.pyi index 56863edef..6ee1613a4 100644 --- a/src/SWIG_files/wrapper/BRepApprox.pyi +++ b/src/SWIG_files/wrapper/BRepApprox.pyi @@ -4,11 +4,11 @@ from typing import overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.Approx import * +from OCC.Core.math import * from OCC.Core.AppParCurves import * from OCC.Core.Geom import * from OCC.Core.Geom2d import * from OCC.Core.IntSurf import * -from OCC.Core.math import * from OCC.Core.TColStd import * from OCC.Core.BRepAdaptor import * from OCC.Core.IntImp import * @@ -21,6 +21,8 @@ class BRepApprox_Approx: def __init__(self) -> None: ... def IsDone(self) -> bool: ... def NbMultiCurves(self) -> int: ... + @staticmethod + def Parameters(Line: BRepApprox_TheMultiLineOfApprox, firstP: int, lastP: int, Par: Approx_ParametrizationType, TheParameters: math_Vector) -> None: ... def SetParameters(self, Tol3d: float, Tol2d: float, DegMin: int, DegMax: int, NbIterMax: int, NbPntMax: Optional[int] = 30, ApproxWithTangency: Optional[bool] = True, Parametrization: Optional[Approx_ParametrizationType] = Approx_ChordLength) -> None: ... def TolReached2d(self) -> float: ... def TolReached3d(self) -> float: ... @@ -443,6 +445,7 @@ class BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox(math_FunctionSetWith # harray2 classes # hsequence classes +BRepApprox_Approx_Parameters = BRepApprox_Approx.Parameters BRepApprox_TheMultiLineToolOfApprox_Curvature = BRepApprox_TheMultiLineToolOfApprox.Curvature BRepApprox_TheMultiLineToolOfApprox_Curvature = BRepApprox_TheMultiLineToolOfApprox.Curvature BRepApprox_TheMultiLineToolOfApprox_Curvature = BRepApprox_TheMultiLineToolOfApprox.Curvature diff --git a/src/SWIG_files/wrapper/BRepBlend.i b/src/SWIG_files/wrapper/BRepBlend.i index d63bc86f3..9bd3ce81a 100644 --- a/src/SWIG_files/wrapper/BRepBlend.i +++ b/src/SWIG_files/wrapper/BRepBlend.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPBLENDDOCSTRING "BRepBlend module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepblend.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepblend.html" %enddef %module (package="OCC.Core", docstring=BREPBLENDDOCSTRING) BRepBlend @@ -104,7 +104,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -166,7 +166,7 @@ class BRepBlend_AppFuncRoot : public Approx_SweepFunction { /****************** BarycentreOfSurf ******************/ /**** md5 signature: a691940df52b45c198f3414d0790e091 ****/ %feature("compactdefaultargs") BarycentreOfSurf; - %feature("autodoc", "Get the barycentre of surface. an very poor estimation is sufficent. this information is usefull to perform well conditionned rational approximation. + %feature("autodoc", "Get the barycentre of surface. an very poor estimation is sufficient. this information is useful to perform well conditioned rational approximation. Returns ------- @@ -246,7 +246,7 @@ bool /****************** GetMinimalWeight ******************/ /**** md5 signature: 36fb20110448cba55b750bc7db93d222 ****/ %feature("compactdefaultargs") GetMinimalWeight; - %feature("autodoc", "Compute the minimal value of weight for each poles of all sections. this information is usefull to perform well conditionned rational approximation. + %feature("autodoc", "Compute the minimal value of weight for each poles of all sections. this information is useful to perform well conditioned rational approximation. Parameters ---------- @@ -279,7 +279,7 @@ None /****************** Intervals ******************/ /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -321,7 +321,7 @@ None /****************** MaximalSection ******************/ /**** md5 signature: b8f0d759fcd21b95d400b3aae3c12cfc ****/ %feature("compactdefaultargs") MaximalSection; - %feature("autodoc", "Returns the length of the maximum section. this information is usefull to perform well conditionned rational approximation. + %feature("autodoc", "Returns the length of the maximum section. this information is useful to perform well conditioned rational approximation. Returns ------- @@ -952,7 +952,7 @@ class BRepBlend_AppSurface : public AppBlend_Approx { /****************** BRepBlend_AppSurface ******************/ /**** md5 signature: 4c9fa38ef52401b9399050fa7e75f465 ****/ %feature("compactdefaultargs") BRepBlend_AppSurface; - %feature("autodoc", "Approximation of the new surface (and eventually the 2d curves on the support surfaces). normaly the 2d curve are approximated with an tolerance given by the resolution on support surfaces, but if this tolerance is too large tol2d is used. + %feature("autodoc", "Approximation of the new surface (and eventually the 2d curves on the support surfaces). normally the 2d curve are approximated with an tolerance given by the resolution on support surfaces, but if this tolerance is too large tol2d is used. Parameters ---------- @@ -1094,7 +1094,7 @@ float /****************** MaxErrorOnSurf ******************/ /**** md5 signature: e42290da593c42adaac24f68c51ecbda ****/ %feature("compactdefaultargs") MaxErrorOnSurf; - %feature("autodoc", "Returns the maximum error in the suface approximation. + %feature("autodoc", "Returns the maximum error in the surface approximation. Returns ------- @@ -1274,21 +1274,21 @@ int class BRepBlend_CSWalking { public: /****************** BRepBlend_CSWalking ******************/ - /**** md5 signature: e134d88e0a8d54d9b285cd0fdf218776 ****/ + /**** md5 signature: a74a5d5cdd7c84c7c5635410477bc4fe ****/ %feature("compactdefaultargs") BRepBlend_CSWalking; %feature("autodoc", "No available documentation. Parameters ---------- -Curv: Adaptor3d_HCurve -Surf: Adaptor3d_HSurface +Curv: Adaptor3d_Curve +Surf: Adaptor3d_Surface Domain: Adaptor3d_TopolTool Returns ------- None ") BRepBlend_CSWalking; - BRepBlend_CSWalking(const opencascade::handle & Curv, const opencascade::handle & Surf, const opencascade::handle & Domain); + BRepBlend_CSWalking(const opencascade::handle & Curv, const opencascade::handle & Surf, const opencascade::handle & Domain); /****************** Complete ******************/ /**** md5 signature: 8a1bdd17921ba51464cb2900597d7f15 ****/ @@ -1367,20 +1367,20 @@ None class BRepBlend_CurvPointRadInv : public Blend_CurvPointFuncInv { public: /****************** BRepBlend_CurvPointRadInv ******************/ - /**** md5 signature: e46ba43122269d3ee289beea00e78af7 ****/ + /**** md5 signature: 07adfa2c83f449c99a58faec4122a065 ****/ %feature("compactdefaultargs") BRepBlend_CurvPointRadInv; %feature("autodoc", "No available documentation. Parameters ---------- -C1: Adaptor3d_HCurve -C2: Adaptor3d_HCurve +C1: Adaptor3d_Curve +C2: Adaptor3d_Curve Returns ------- None ") BRepBlend_CurvPointRadInv; - BRepBlend_CurvPointRadInv(const opencascade::handle & C1, const opencascade::handle & C2); + BRepBlend_CurvPointRadInv(const opencascade::handle & C1, const opencascade::handle & C2); /****************** Derivatives ******************/ /**** md5 signature: 80ee5f16e62731c095910ad60228848b ****/ @@ -1603,13 +1603,13 @@ None BRepBlend_Extremity(const gp_Pnt & P, const Standard_Real W, const Standard_Real Param, const Standard_Real Tol); /****************** AddArc ******************/ - /**** md5 signature: 76f766390f6d0b768f744948ab0c4ddb ****/ + /**** md5 signature: 1bd1958509e7b4b472a6df84023e3729 ****/ %feature("compactdefaultargs") AddArc; %feature("autodoc", "Sets the values of a point which is on the arc a, at parameter param. Parameters ---------- -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Param: float TLine: IntSurf_Transition TArc: IntSurf_Transition @@ -1618,7 +1618,7 @@ Returns ------- None ") AddArc; - void AddArc(const opencascade::handle & A, const Standard_Real Param, const IntSurf_Transition & TLine, const IntSurf_Transition & TArc); + void AddArc(const opencascade::handle & A, const Standard_Real Param, const IntSurf_Transition & TLine, const IntSurf_Transition & TArc); /****************** HasTangent ******************/ /**** md5 signature: 8ce1fe7a81869f6f1baf5bc37a4f78bd ****/ @@ -2128,13 +2128,13 @@ None BRepBlend_PointOnRst(); /****************** BRepBlend_PointOnRst ******************/ - /**** md5 signature: 1f640570b26a68373b999a68490ca37f ****/ + /**** md5 signature: 8111ef27057565050ebf55e9c0cf6987 ****/ %feature("compactdefaultargs") BRepBlend_PointOnRst; %feature("autodoc", "Creates the pointonrst on the arc a, at parameter param, with the transition tline on the walking line, and tarc on the arc a. Parameters ---------- -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Param: float TLine: IntSurf_Transition TArc: IntSurf_Transition @@ -2143,18 +2143,18 @@ Returns ------- None ") BRepBlend_PointOnRst; - BRepBlend_PointOnRst(const opencascade::handle & A, const Standard_Real Param, const IntSurf_Transition & TLine, const IntSurf_Transition & TArc); + BRepBlend_PointOnRst(const opencascade::handle & A, const Standard_Real Param, const IntSurf_Transition & TLine, const IntSurf_Transition & TArc); /****************** Arc ******************/ - /**** md5 signature: b2e2a2b000ebbda9cef9186aeead5385 ****/ + /**** md5 signature: de8e47510fc50811ee5a3e0bc98029e6 ****/ %feature("compactdefaultargs") Arc; %feature("autodoc", "Returns the arc of restriction containing the vertex. Returns ------- -opencascade::handle +opencascade::handle ") Arc; - const opencascade::handle & Arc(); + const opencascade::handle & Arc(); /****************** ParameterOnArc ******************/ /**** md5 signature: 53d2051734836b1f3c7d9edd7c3c1884 ****/ @@ -2168,13 +2168,13 @@ float Standard_Real ParameterOnArc(); /****************** SetArc ******************/ - /**** md5 signature: ef419e28df8105759150b9a6c4afee00 ****/ + /**** md5 signature: ceabf78102f113c25de4b4f678682f05 ****/ %feature("compactdefaultargs") SetArc; %feature("autodoc", "Sets the values of a point which is on the arc a, at parameter param. Parameters ---------- -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Param: float TLine: IntSurf_Transition TArc: IntSurf_Transition @@ -2183,7 +2183,7 @@ Returns ------- None ") SetArc; - void SetArc(const opencascade::handle & A, const Standard_Real Param, const IntSurf_Transition & TLine, const IntSurf_Transition & TArc); + void SetArc(const opencascade::handle & A, const Standard_Real Param, const IntSurf_Transition & TLine, const IntSurf_Transition & TArc); /****************** TransitionOnArc ******************/ /**** md5 signature: adc9ee508ec8cbe59ce8b05248cd454a ****/ @@ -2222,23 +2222,23 @@ IntSurf_Transition class BRepBlend_RstRstConstRad : public Blend_RstRstFunction { public: /****************** BRepBlend_RstRstConstRad ******************/ - /**** md5 signature: 1b83fa703abda9bd2fe3a9caa52745e6 ****/ + /**** md5 signature: 074ead157514803251d86880fa21933a ****/ %feature("compactdefaultargs") BRepBlend_RstRstConstRad; %feature("autodoc", "No available documentation. Parameters ---------- -Surf1: Adaptor3d_HSurface -Rst1: Adaptor2d_HCurve2d -Surf2: Adaptor3d_HSurface -Rst2: Adaptor2d_HCurve2d -CGuide: Adaptor3d_HCurve +Surf1: Adaptor3d_Surface +Rst1: Adaptor2d_Curve2d +Surf2: Adaptor3d_Surface +Rst2: Adaptor2d_Curve2d +CGuide: Adaptor3d_Curve Returns ------- None ") BRepBlend_RstRstConstRad; - BRepBlend_RstRstConstRad(const opencascade::handle & Surf1, const opencascade::handle & Rst1, const opencascade::handle & Surf2, const opencascade::handle & Rst2, const opencascade::handle & CGuide); + BRepBlend_RstRstConstRad(const opencascade::handle & Surf1, const opencascade::handle & Rst1, const opencascade::handle & Surf2, const opencascade::handle & Rst2, const opencascade::handle & CGuide); /****************** CenterCircleRst1Rst2 ******************/ /**** md5 signature: 78a3b5ae21381e7c60ec45458e50cd49 ****/ @@ -2313,7 +2313,7 @@ None /****************** GetMinimalDistance ******************/ /**** md5 signature: b7112b2680da59932f7cc20412f85fda ****/ %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", "Returns the minimal distance beetween two extremitys of calculed sections. + %feature("autodoc", "Returns the minimal distance between two extremities of calculated sections. Returns ------- @@ -2402,7 +2402,7 @@ None /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -2686,22 +2686,22 @@ bool Standard_Boolean Section(const Blend_Point & P, TColgp_Array1OfPnt & Poles, TColgp_Array1OfVec & DPoles, TColgp_Array1OfVec & D2Poles, TColgp_Array1OfPnt2d & Poles2d, TColgp_Array1OfVec2d & DPoles2d, TColgp_Array1OfVec2d & D2Poles2d, TColStd_Array1OfReal & Weigths, TColStd_Array1OfReal & DWeigths, TColStd_Array1OfReal & D2Weigths); /****************** Set ******************/ - /**** md5 signature: 8feefe3a830da630caff2fb979f4ebff ****/ + /**** md5 signature: 1d39a94f99a01338cb8afa4a49c68510 ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "No available documentation. Parameters ---------- -SurfRef1: Adaptor3d_HSurface -RstRef1: Adaptor2d_HCurve2d -SurfRef2: Adaptor3d_HSurface -RstRef2: Adaptor2d_HCurve2d +SurfRef1: Adaptor3d_Surface +RstRef1: Adaptor2d_Curve2d +SurfRef2: Adaptor3d_Surface +RstRef2: Adaptor2d_Curve2d Returns ------- None ") Set; - void Set(const opencascade::handle & SurfRef1, const opencascade::handle & RstRef1, const opencascade::handle & SurfRef2, const opencascade::handle & RstRef2); + void Set(const opencascade::handle & SurfRef1, const opencascade::handle & RstRef1, const opencascade::handle & SurfRef2, const opencascade::handle & RstRef2); /****************** Set ******************/ /**** md5 signature: a955f35e9076d1c844b9a2aa89b226bf ****/ @@ -2857,24 +2857,24 @@ bool class BRepBlend_RstRstEvolRad : public Blend_RstRstFunction { public: /****************** BRepBlend_RstRstEvolRad ******************/ - /**** md5 signature: 8606df301777879e7316e5ef9599f728 ****/ + /**** md5 signature: d79d517ef0e965cc32a0fc12487d3855 ****/ %feature("compactdefaultargs") BRepBlend_RstRstEvolRad; %feature("autodoc", "No available documentation. Parameters ---------- -Surf1: Adaptor3d_HSurface -Rst1: Adaptor2d_HCurve2d -Surf2: Adaptor3d_HSurface -Rst2: Adaptor2d_HCurve2d -CGuide: Adaptor3d_HCurve +Surf1: Adaptor3d_Surface +Rst1: Adaptor2d_Curve2d +Surf2: Adaptor3d_Surface +Rst2: Adaptor2d_Curve2d +CGuide: Adaptor3d_Curve Evol: Law_Function Returns ------- None ") BRepBlend_RstRstEvolRad; - BRepBlend_RstRstEvolRad(const opencascade::handle & Surf1, const opencascade::handle & Rst1, const opencascade::handle & Surf2, const opencascade::handle & Rst2, const opencascade::handle & CGuide, const opencascade::handle & Evol); + BRepBlend_RstRstEvolRad(const opencascade::handle & Surf1, const opencascade::handle & Rst1, const opencascade::handle & Surf2, const opencascade::handle & Rst2, const opencascade::handle & CGuide, const opencascade::handle & Evol); /****************** CenterCircleRst1Rst2 ******************/ /**** md5 signature: 78a3b5ae21381e7c60ec45458e50cd49 ****/ @@ -2949,7 +2949,7 @@ None /****************** GetMinimalDistance ******************/ /**** md5 signature: b7112b2680da59932f7cc20412f85fda ****/ %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", "Returns the minimal distance beetween two extremitys of calculed sections. + %feature("autodoc", "Returns the minimal distance between two extremities of calculated sections. Returns ------- @@ -3038,7 +3038,7 @@ None /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -3322,22 +3322,22 @@ bool Standard_Boolean Section(const Blend_Point & P, TColgp_Array1OfPnt & Poles, TColgp_Array1OfVec & DPoles, TColgp_Array1OfVec & D2Poles, TColgp_Array1OfPnt2d & Poles2d, TColgp_Array1OfVec2d & DPoles2d, TColgp_Array1OfVec2d & D2Poles2d, TColStd_Array1OfReal & Weigths, TColStd_Array1OfReal & DWeigths, TColStd_Array1OfReal & D2Weigths); /****************** Set ******************/ - /**** md5 signature: 8feefe3a830da630caff2fb979f4ebff ****/ + /**** md5 signature: 1d39a94f99a01338cb8afa4a49c68510 ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "No available documentation. Parameters ---------- -SurfRef1: Adaptor3d_HSurface -RstRef1: Adaptor2d_HCurve2d -SurfRef2: Adaptor3d_HSurface -RstRef2: Adaptor2d_HCurve2d +SurfRef1: Adaptor3d_Surface +RstRef1: Adaptor2d_Curve2d +SurfRef2: Adaptor3d_Surface +RstRef2: Adaptor2d_Curve2d Returns ------- None ") Set; - void Set(const opencascade::handle & SurfRef1, const opencascade::handle & RstRef1, const opencascade::handle & SurfRef2, const opencascade::handle & RstRef2); + void Set(const opencascade::handle & SurfRef1, const opencascade::handle & RstRef1, const opencascade::handle & SurfRef2, const opencascade::handle & RstRef2); /****************** Set ******************/ /**** md5 signature: a955f35e9076d1c844b9a2aa89b226bf ****/ @@ -3492,24 +3492,24 @@ bool class BRepBlend_RstRstLineBuilder { public: /****************** BRepBlend_RstRstLineBuilder ******************/ - /**** md5 signature: 4298cff32af6f187e303261f177d3486 ****/ + /**** md5 signature: 0fa89a48d67b7f761c8ed2cee361f92f ****/ %feature("compactdefaultargs") BRepBlend_RstRstLineBuilder; %feature("autodoc", "No available documentation. Parameters ---------- -Surf1: Adaptor3d_HSurface -Rst1: Adaptor2d_HCurve2d +Surf1: Adaptor3d_Surface +Rst1: Adaptor2d_Curve2d Domain1: Adaptor3d_TopolTool -Surf2: Adaptor3d_HSurface -Rst2: Adaptor2d_HCurve2d +Surf2: Adaptor3d_Surface +Rst2: Adaptor2d_Curve2d Domain2: Adaptor3d_TopolTool Returns ------- None ") BRepBlend_RstRstLineBuilder; - BRepBlend_RstRstLineBuilder(const opencascade::handle & Surf1, const opencascade::handle & Rst1, const opencascade::handle & Domain1, const opencascade::handle & Surf2, const opencascade::handle & Rst2, const opencascade::handle & Domain2); + BRepBlend_RstRstLineBuilder(const opencascade::handle & Surf1, const opencascade::handle & Rst1, const opencascade::handle & Domain1, const opencascade::handle & Surf2, const opencascade::handle & Rst2, const opencascade::handle & Domain2); /****************** Complete ******************/ /**** md5 signature: 826dcd81a620ed85f35c4d4dbd7bd8a7 ****/ @@ -3669,21 +3669,21 @@ Psol: float class BRepBlend_SurfCurvConstRadInv : public Blend_SurfCurvFuncInv { public: /****************** BRepBlend_SurfCurvConstRadInv ******************/ - /**** md5 signature: dd8173527764ca4c24a4c7f33ba4d87a ****/ + /**** md5 signature: 413667a5e3be555bb1567d000f5c37ac ****/ %feature("compactdefaultargs") BRepBlend_SurfCurvConstRadInv; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -C: Adaptor3d_HCurve -Cg: Adaptor3d_HCurve +S: Adaptor3d_Surface +C: Adaptor3d_Curve +Cg: Adaptor3d_Curve Returns ------- None ") BRepBlend_SurfCurvConstRadInv; - BRepBlend_SurfCurvConstRadInv(const opencascade::handle & S, const opencascade::handle & C, const opencascade::handle & Cg); + BRepBlend_SurfCurvConstRadInv(const opencascade::handle & S, const opencascade::handle & C, const opencascade::handle & Cg); /****************** Derivatives ******************/ /**** md5 signature: 80ee5f16e62731c095910ad60228848b ****/ @@ -3777,19 +3777,19 @@ None void Set(const Standard_Real R, const Standard_Integer Choix); /****************** Set ******************/ - /**** md5 signature: 7f8b456aa3e7d8d6579c1f7d3144efc8 ****/ + /**** md5 signature: 1568bac490950a9b21e695223201919a ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "Set the restriction on which a solution has to be found. Parameters ---------- -Rst: Adaptor2d_HCurve2d +Rst: Adaptor2d_Curve2d Returns ------- None ") Set; - void Set(const opencascade::handle & Rst); + void Set(const opencascade::handle & Rst); /****************** Value ******************/ /**** md5 signature: 31f6ba581b8fae503400d98976418349 ****/ @@ -3839,22 +3839,22 @@ bool class BRepBlend_SurfCurvEvolRadInv : public Blend_SurfCurvFuncInv { public: /****************** BRepBlend_SurfCurvEvolRadInv ******************/ - /**** md5 signature: cdd2af0c9686051d434c5a2bc65db59b ****/ + /**** md5 signature: f4c992f2047ba724a04cb63a1497cb15 ****/ %feature("compactdefaultargs") BRepBlend_SurfCurvEvolRadInv; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -C: Adaptor3d_HCurve -Cg: Adaptor3d_HCurve +S: Adaptor3d_Surface +C: Adaptor3d_Curve +Cg: Adaptor3d_Curve Evol: Law_Function Returns ------- None ") BRepBlend_SurfCurvEvolRadInv; - BRepBlend_SurfCurvEvolRadInv(const opencascade::handle & S, const opencascade::handle & C, const opencascade::handle & Cg, const opencascade::handle & Evol); + BRepBlend_SurfCurvEvolRadInv(const opencascade::handle & S, const opencascade::handle & C, const opencascade::handle & Cg, const opencascade::handle & Evol); /****************** Derivatives ******************/ /**** md5 signature: 80ee5f16e62731c095910ad60228848b ****/ @@ -3947,19 +3947,19 @@ None void Set(const Standard_Integer Choix); /****************** Set ******************/ - /**** md5 signature: 7f8b456aa3e7d8d6579c1f7d3144efc8 ****/ + /**** md5 signature: 1568bac490950a9b21e695223201919a ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "Set the restriction on which a solution has to be found. Parameters ---------- -Rst: Adaptor2d_HCurve2d +Rst: Adaptor2d_Curve2d Returns ------- None ") Set; - void Set(const opencascade::handle & Rst); + void Set(const opencascade::handle & Rst); /****************** Value ******************/ /**** md5 signature: 31f6ba581b8fae503400d98976418349 ****/ @@ -4009,20 +4009,20 @@ bool class BRepBlend_SurfPointConstRadInv : public Blend_SurfPointFuncInv { public: /****************** BRepBlend_SurfPointConstRadInv ******************/ - /**** md5 signature: a92478616365f23e2ac95b28299eff0e ****/ + /**** md5 signature: 993f0d82d4c56cde29f6ef73aee3531d ****/ %feature("compactdefaultargs") BRepBlend_SurfPointConstRadInv; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S: Adaptor3d_Surface +C: Adaptor3d_Curve Returns ------- None ") BRepBlend_SurfPointConstRadInv; - BRepBlend_SurfPointConstRadInv(const opencascade::handle & S, const opencascade::handle & C); + BRepBlend_SurfPointConstRadInv(const opencascade::handle & S, const opencascade::handle & C); /****************** Derivatives ******************/ /**** md5 signature: 80ee5f16e62731c095910ad60228848b ****/ @@ -4178,21 +4178,21 @@ bool class BRepBlend_SurfPointEvolRadInv : public Blend_SurfPointFuncInv { public: /****************** BRepBlend_SurfPointEvolRadInv ******************/ - /**** md5 signature: e1a872f2bf36c0f7fa4261ef950f62f3 ****/ + /**** md5 signature: f3eea577ae1852a9a7135e6772c85ac4 ****/ %feature("compactdefaultargs") BRepBlend_SurfPointEvolRadInv; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S: Adaptor3d_Surface +C: Adaptor3d_Curve Evol: Law_Function Returns ------- None ") BRepBlend_SurfPointEvolRadInv; - BRepBlend_SurfPointEvolRadInv(const opencascade::handle & S, const opencascade::handle & C, const opencascade::handle & Evol); + BRepBlend_SurfPointEvolRadInv(const opencascade::handle & S, const opencascade::handle & C, const opencascade::handle & Evol); /****************** Derivatives ******************/ /**** md5 signature: 80ee5f16e62731c095910ad60228848b ****/ @@ -4347,22 +4347,22 @@ bool class BRepBlend_SurfRstConstRad : public Blend_SurfRstFunction { public: /****************** BRepBlend_SurfRstConstRad ******************/ - /**** md5 signature: 43cb2559b69d5e498ec597fa336346ec ****/ + /**** md5 signature: 61178a969de9578c5b02b8a945a3f459 ****/ %feature("compactdefaultargs") BRepBlend_SurfRstConstRad; %feature("autodoc", "No available documentation. Parameters ---------- -Surf: Adaptor3d_HSurface -SurfRst: Adaptor3d_HSurface -Rst: Adaptor2d_HCurve2d -CGuide: Adaptor3d_HCurve +Surf: Adaptor3d_Surface +SurfRst: Adaptor3d_Surface +Rst: Adaptor2d_Curve2d +CGuide: Adaptor3d_Curve Returns ------- None ") BRepBlend_SurfRstConstRad; - BRepBlend_SurfRstConstRad(const opencascade::handle & Surf, const opencascade::handle & SurfRst, const opencascade::handle & Rst, const opencascade::handle & CGuide); + BRepBlend_SurfRstConstRad(const opencascade::handle & Surf, const opencascade::handle & SurfRst, const opencascade::handle & Rst, const opencascade::handle & CGuide); /****************** Decroch ******************/ /**** md5 signature: 7b97fab9290fe599257ab8ce84870242 ****/ @@ -4416,7 +4416,7 @@ None /****************** GetMinimalDistance ******************/ /**** md5 signature: b7112b2680da59932f7cc20412f85fda ****/ %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", "Returns the minimal distance beetween two extremitys of calculed sections. + %feature("autodoc", "Returns the minimal distance between two extremities of calculated sections. Returns ------- @@ -4505,7 +4505,7 @@ None /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -4779,20 +4779,20 @@ None void Section(const Blend_Point & P, TColgp_Array1OfPnt & Poles, TColgp_Array1OfPnt2d & Poles2d, TColStd_Array1OfReal & Weigths); /****************** Set ******************/ - /**** md5 signature: 45827773e540a48ed043070ebdcad334 ****/ + /**** md5 signature: 51edc1a46f9014e3188bd66241af17c6 ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "No available documentation. Parameters ---------- -SurfRef: Adaptor3d_HSurface -RstRef: Adaptor2d_HCurve2d +SurfRef: Adaptor3d_Surface +RstRef: Adaptor2d_Curve2d Returns ------- None ") Set; - void Set(const opencascade::handle & SurfRef, const opencascade::handle & RstRef); + void Set(const opencascade::handle & SurfRef, const opencascade::handle & RstRef); /****************** Set ******************/ /**** md5 signature: a955f35e9076d1c844b9a2aa89b226bf ****/ @@ -4948,23 +4948,23 @@ bool class BRepBlend_SurfRstEvolRad : public Blend_SurfRstFunction { public: /****************** BRepBlend_SurfRstEvolRad ******************/ - /**** md5 signature: a900f3bd8b402a53ff306bb2d36fda91 ****/ + /**** md5 signature: 06cb46291f703c140349a3b88ec0c690 ****/ %feature("compactdefaultargs") BRepBlend_SurfRstEvolRad; %feature("autodoc", "No available documentation. Parameters ---------- -Surf: Adaptor3d_HSurface -SurfRst: Adaptor3d_HSurface -Rst: Adaptor2d_HCurve2d -CGuide: Adaptor3d_HCurve +Surf: Adaptor3d_Surface +SurfRst: Adaptor3d_Surface +Rst: Adaptor2d_Curve2d +CGuide: Adaptor3d_Curve Evol: Law_Function Returns ------- None ") BRepBlend_SurfRstEvolRad; - BRepBlend_SurfRstEvolRad(const opencascade::handle & Surf, const opencascade::handle & SurfRst, const opencascade::handle & Rst, const opencascade::handle & CGuide, const opencascade::handle & Evol); + BRepBlend_SurfRstEvolRad(const opencascade::handle & Surf, const opencascade::handle & SurfRst, const opencascade::handle & Rst, const opencascade::handle & CGuide, const opencascade::handle & Evol); /****************** Decroch ******************/ /**** md5 signature: 7b97fab9290fe599257ab8ce84870242 ****/ @@ -5018,7 +5018,7 @@ None /****************** GetMinimalDistance ******************/ /**** md5 signature: b7112b2680da59932f7cc20412f85fda ****/ %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", "Returns the minimal distance beetween two extremitys of calculed sections. + %feature("autodoc", "Returns the minimal distance between two extremities of calculated sections. Returns ------- @@ -5107,7 +5107,7 @@ None /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -5381,20 +5381,20 @@ None void Section(const Blend_Point & P, TColgp_Array1OfPnt & Poles, TColgp_Array1OfPnt2d & Poles2d, TColStd_Array1OfReal & Weigths); /****************** Set ******************/ - /**** md5 signature: 45827773e540a48ed043070ebdcad334 ****/ + /**** md5 signature: 51edc1a46f9014e3188bd66241af17c6 ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "No available documentation. Parameters ---------- -SurfRef: Adaptor3d_HSurface -RstRef: Adaptor2d_HCurve2d +SurfRef: Adaptor3d_Surface +RstRef: Adaptor2d_Curve2d Returns ------- None ") Set; - void Set(const opencascade::handle & SurfRef, const opencascade::handle & RstRef); + void Set(const opencascade::handle & SurfRef, const opencascade::handle & RstRef); /****************** Set ******************/ /**** md5 signature: a955f35e9076d1c844b9a2aa89b226bf ****/ @@ -5549,23 +5549,23 @@ bool class BRepBlend_SurfRstLineBuilder { public: /****************** BRepBlend_SurfRstLineBuilder ******************/ - /**** md5 signature: 98ef58092f384b62e54eded9c9002be2 ****/ + /**** md5 signature: d6a0ad1ce9ef95abcda88a808971a42f ****/ %feature("compactdefaultargs") BRepBlend_SurfRstLineBuilder; %feature("autodoc", "No available documentation. Parameters ---------- -Surf1: Adaptor3d_HSurface +Surf1: Adaptor3d_Surface Domain1: Adaptor3d_TopolTool -Surf2: Adaptor3d_HSurface -Rst: Adaptor2d_HCurve2d +Surf2: Adaptor3d_Surface +Rst: Adaptor2d_Curve2d Domain2: Adaptor3d_TopolTool Returns ------- None ") BRepBlend_SurfRstLineBuilder; - BRepBlend_SurfRstLineBuilder(const opencascade::handle & Surf1, const opencascade::handle & Domain1, const opencascade::handle & Surf2, const opencascade::handle & Rst, const opencascade::handle & Domain2); + BRepBlend_SurfRstLineBuilder(const opencascade::handle & Surf1, const opencascade::handle & Domain1, const opencascade::handle & Surf2, const opencascade::handle & Rst, const opencascade::handle & Domain2); /****************** ArcToRecadre ******************/ /**** md5 signature: f9d5cffa9a03b0a3c58f32741f4a8c9a ****/ @@ -5717,23 +5717,23 @@ Psol: float class BRepBlend_Walking { public: /****************** BRepBlend_Walking ******************/ - /**** md5 signature: 248726a17ab5bcfae0913cbe25564d9d ****/ + /**** md5 signature: 3e60e6b4956db8469ccd4414f4eddcf1 ****/ %feature("compactdefaultargs") BRepBlend_Walking; %feature("autodoc", "No available documentation. Parameters ---------- -Surf1: Adaptor3d_HSurface -Surf2: Adaptor3d_HSurface +Surf1: Adaptor3d_Surface +Surf2: Adaptor3d_Surface Domain1: Adaptor3d_TopolTool Domain2: Adaptor3d_TopolTool -HGuide: ChFiDS_HElSpine +HGuide: ChFiDS_ElSpine Returns ------- None ") BRepBlend_Walking; - BRepBlend_Walking(const opencascade::handle & Surf1, const opencascade::handle & Surf2, const opencascade::handle & Domain1, const opencascade::handle & Domain2, const opencascade::handle & HGuide); + BRepBlend_Walking(const opencascade::handle & Surf1, const opencascade::handle & Surf2, const opencascade::handle & Domain1, const opencascade::handle & Domain2, const opencascade::handle & HGuide); /****************** AddSingularPoint ******************/ /**** md5 signature: 0ea0295b6724aa8af8ca3b784b4bc60a ****/ diff --git a/src/SWIG_files/wrapper/BRepBlend.pyi b/src/SWIG_files/wrapper/BRepBlend.pyi index f953181f2..361d9d798 100644 --- a/src/SWIG_files/wrapper/BRepBlend.pyi +++ b/src/SWIG_files/wrapper/BRepBlend.pyi @@ -150,14 +150,14 @@ class BRepBlend_AppSurface(AppBlend_Approx): def VDegree(self) -> int: ... class BRepBlend_CSWalking: - def __init__(self, Curv: Adaptor3d_HCurve, Surf: Adaptor3d_HSurface, Domain: Adaptor3d_TopolTool) -> None: ... + def __init__(self, Curv: Adaptor3d_Curve, Surf: Adaptor3d_Surface, Domain: Adaptor3d_TopolTool) -> None: ... def Complete(self, F: Blend_CSFunction, Pmin: float) -> bool: ... def IsDone(self) -> bool: ... def Line(self) -> BRepBlend_Line: ... def Perform(self, F: Blend_CSFunction, Pdep: float, Pmax: float, MaxStep: float, TolGuide: float, Soldep: math_Vector, Tolesp: float, Fleche: float, Appro: Optional[bool] = False) -> None: ... class BRepBlend_CurvPointRadInv(Blend_CurvPointFuncInv): - def __init__(self, C1: Adaptor3d_HCurve, C2: Adaptor3d_HCurve) -> None: ... + def __init__(self, C1: Adaptor3d_Curve, C2: Adaptor3d_Curve) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... @@ -179,7 +179,7 @@ class BRepBlend_Extremity: def __init__(self, P: gp_Pnt, U: float, V: float, Param: float, Tol: float, Vtx: Adaptor3d_HVertex) -> None: ... @overload def __init__(self, P: gp_Pnt, W: float, Param: float, Tol: float) -> None: ... - def AddArc(self, A: Adaptor2d_HCurve2d, Param: float, TLine: IntSurf_Transition, TArc: IntSurf_Transition) -> None: ... + def AddArc(self, A: Adaptor2d_Curve2d, Param: float, TLine: IntSurf_Transition, TArc: IntSurf_Transition) -> None: ... def HasTangent(self) -> bool: ... def IsVertex(self) -> bool: ... def NbPointOnRst(self) -> int: ... @@ -227,15 +227,15 @@ class BRepBlend_PointOnRst: @overload def __init__(self) -> None: ... @overload - def __init__(self, A: Adaptor2d_HCurve2d, Param: float, TLine: IntSurf_Transition, TArc: IntSurf_Transition) -> None: ... - def Arc(self) -> Adaptor2d_HCurve2d: ... + def __init__(self, A: Adaptor2d_Curve2d, Param: float, TLine: IntSurf_Transition, TArc: IntSurf_Transition) -> None: ... + def Arc(self) -> Adaptor2d_Curve2d: ... def ParameterOnArc(self) -> float: ... - def SetArc(self, A: Adaptor2d_HCurve2d, Param: float, TLine: IntSurf_Transition, TArc: IntSurf_Transition) -> None: ... + def SetArc(self, A: Adaptor2d_Curve2d, Param: float, TLine: IntSurf_Transition, TArc: IntSurf_Transition) -> None: ... def TransitionOnArc(self) -> IntSurf_Transition: ... def TransitionOnLine(self) -> IntSurf_Transition: ... class BRepBlend_RstRstConstRad(Blend_RstRstFunction): - def __init__(self, Surf1: Adaptor3d_HSurface, Rst1: Adaptor2d_HCurve2d, Surf2: Adaptor3d_HSurface, Rst2: Adaptor2d_HCurve2d, CGuide: Adaptor3d_HCurve) -> None: ... + def __init__(self, Surf1: Adaptor3d_Surface, Rst1: Adaptor2d_Curve2d, Surf2: Adaptor3d_Surface, Rst2: Adaptor2d_Curve2d, CGuide: Adaptor3d_Curve) -> None: ... def CenterCircleRst1Rst2(self, PtRst1: gp_Pnt, PtRst2: gp_Pnt, np: gp_Vec, Center: gp_Pnt, VdMed: gp_Vec) -> bool: ... def Decroch(self, Sol: math_Vector, NRst1: gp_Vec, TgRst1: gp_Vec, NRst2: gp_Vec, TgRst2: gp_Vec) -> Blend_DecrochStatus: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... @@ -273,7 +273,7 @@ class BRepBlend_RstRstConstRad(Blend_RstRstFunction): @overload def Section(self, P: Blend_Point, Poles: TColgp_Array1OfPnt, DPoles: TColgp_Array1OfVec, D2Poles: TColgp_Array1OfVec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d, D2Poles2d: TColgp_Array1OfVec2d, Weigths: TColStd_Array1OfReal, DWeigths: TColStd_Array1OfReal, D2Weigths: TColStd_Array1OfReal) -> bool: ... @overload - def Set(self, SurfRef1: Adaptor3d_HSurface, RstRef1: Adaptor2d_HCurve2d, SurfRef2: Adaptor3d_HSurface, RstRef2: Adaptor2d_HCurve2d) -> None: ... + def Set(self, SurfRef1: Adaptor3d_Surface, RstRef1: Adaptor2d_Curve2d, SurfRef2: Adaptor3d_Surface, RstRef2: Adaptor2d_Curve2d) -> None: ... @overload def Set(self, Param: float) -> None: ... @overload @@ -290,7 +290,7 @@ class BRepBlend_RstRstConstRad(Blend_RstRstFunction): def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BRepBlend_RstRstEvolRad(Blend_RstRstFunction): - def __init__(self, Surf1: Adaptor3d_HSurface, Rst1: Adaptor2d_HCurve2d, Surf2: Adaptor3d_HSurface, Rst2: Adaptor2d_HCurve2d, CGuide: Adaptor3d_HCurve, Evol: Law_Function) -> None: ... + def __init__(self, Surf1: Adaptor3d_Surface, Rst1: Adaptor2d_Curve2d, Surf2: Adaptor3d_Surface, Rst2: Adaptor2d_Curve2d, CGuide: Adaptor3d_Curve, Evol: Law_Function) -> None: ... def CenterCircleRst1Rst2(self, PtRst1: gp_Pnt, PtRst2: gp_Pnt, np: gp_Vec, Center: gp_Pnt, VdMed: gp_Vec) -> bool: ... def Decroch(self, Sol: math_Vector, NRst1: gp_Vec, TgRst1: gp_Vec, NRst2: gp_Vec, TgRst2: gp_Vec) -> Blend_DecrochStatus: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... @@ -328,7 +328,7 @@ class BRepBlend_RstRstEvolRad(Blend_RstRstFunction): @overload def Section(self, P: Blend_Point, Poles: TColgp_Array1OfPnt, DPoles: TColgp_Array1OfVec, D2Poles: TColgp_Array1OfVec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d, D2Poles2d: TColgp_Array1OfVec2d, Weigths: TColStd_Array1OfReal, DWeigths: TColStd_Array1OfReal, D2Weigths: TColStd_Array1OfReal) -> bool: ... @overload - def Set(self, SurfRef1: Adaptor3d_HSurface, RstRef1: Adaptor2d_HCurve2d, SurfRef2: Adaptor3d_HSurface, RstRef2: Adaptor2d_HCurve2d) -> None: ... + def Set(self, SurfRef1: Adaptor3d_Surface, RstRef1: Adaptor2d_Curve2d, SurfRef2: Adaptor3d_Surface, RstRef2: Adaptor2d_Curve2d) -> None: ... @overload def Set(self, Param: float) -> None: ... @overload @@ -345,7 +345,7 @@ class BRepBlend_RstRstEvolRad(Blend_RstRstFunction): def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BRepBlend_RstRstLineBuilder: - def __init__(self, Surf1: Adaptor3d_HSurface, Rst1: Adaptor2d_HCurve2d, Domain1: Adaptor3d_TopolTool, Surf2: Adaptor3d_HSurface, Rst2: Adaptor2d_HCurve2d, Domain2: Adaptor3d_TopolTool) -> None: ... + def __init__(self, Surf1: Adaptor3d_Surface, Rst1: Adaptor2d_Curve2d, Domain1: Adaptor3d_TopolTool, Surf2: Adaptor3d_Surface, Rst2: Adaptor2d_Curve2d, Domain2: Adaptor3d_TopolTool) -> None: ... def Complete(self, Func: Blend_RstRstFunction, Finv1: Blend_SurfCurvFuncInv, FinvP1: Blend_CurvPointFuncInv, Finv2: Blend_SurfCurvFuncInv, FinvP2: Blend_CurvPointFuncInv, Pmin: float) -> bool: ... def Decroch1End(self) -> bool: ... def Decroch1Start(self) -> bool: ... @@ -357,7 +357,7 @@ class BRepBlend_RstRstLineBuilder: def PerformFirstSection(self, Func: Blend_RstRstFunction, Finv1: Blend_SurfCurvFuncInv, FinvP1: Blend_CurvPointFuncInv, Finv2: Blend_SurfCurvFuncInv, FinvP2: Blend_CurvPointFuncInv, Pdep: float, Pmax: float, Soldep: math_Vector, Tolesp: float, TolGuide: float, RecRst1: bool, RecP1: bool, RecRst2: bool, RecP2: bool, ParSol: math_Vector) -> Tuple[bool, float]: ... class BRepBlend_SurfCurvConstRadInv(Blend_SurfCurvFuncInv): - def __init__(self, S: Adaptor3d_HSurface, C: Adaptor3d_HCurve, Cg: Adaptor3d_HCurve) -> None: ... + def __init__(self, S: Adaptor3d_Surface, C: Adaptor3d_Curve, Cg: Adaptor3d_Curve) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... @@ -366,12 +366,12 @@ class BRepBlend_SurfCurvConstRadInv(Blend_SurfCurvFuncInv): @overload def Set(self, R: float, Choix: int) -> None: ... @overload - def Set(self, Rst: Adaptor2d_HCurve2d) -> None: ... + def Set(self, Rst: Adaptor2d_Curve2d) -> None: ... def Value(self, X: math_Vector, F: math_Vector) -> bool: ... def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BRepBlend_SurfCurvEvolRadInv(Blend_SurfCurvFuncInv): - def __init__(self, S: Adaptor3d_HSurface, C: Adaptor3d_HCurve, Cg: Adaptor3d_HCurve, Evol: Law_Function) -> None: ... + def __init__(self, S: Adaptor3d_Surface, C: Adaptor3d_Curve, Cg: Adaptor3d_Curve, Evol: Law_Function) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... @@ -380,12 +380,12 @@ class BRepBlend_SurfCurvEvolRadInv(Blend_SurfCurvFuncInv): @overload def Set(self, Choix: int) -> None: ... @overload - def Set(self, Rst: Adaptor2d_HCurve2d) -> None: ... + def Set(self, Rst: Adaptor2d_Curve2d) -> None: ... def Value(self, X: math_Vector, F: math_Vector) -> bool: ... def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BRepBlend_SurfPointConstRadInv(Blend_SurfPointFuncInv): - def __init__(self, S: Adaptor3d_HSurface, C: Adaptor3d_HCurve) -> None: ... + def __init__(self, S: Adaptor3d_Surface, C: Adaptor3d_Curve) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... @@ -399,7 +399,7 @@ class BRepBlend_SurfPointConstRadInv(Blend_SurfPointFuncInv): def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BRepBlend_SurfPointEvolRadInv(Blend_SurfPointFuncInv): - def __init__(self, S: Adaptor3d_HSurface, C: Adaptor3d_HCurve, Evol: Law_Function) -> None: ... + def __init__(self, S: Adaptor3d_Surface, C: Adaptor3d_Curve, Evol: Law_Function) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... @@ -413,7 +413,7 @@ class BRepBlend_SurfPointEvolRadInv(Blend_SurfPointFuncInv): def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BRepBlend_SurfRstConstRad(Blend_SurfRstFunction): - def __init__(self, Surf: Adaptor3d_HSurface, SurfRst: Adaptor3d_HSurface, Rst: Adaptor2d_HCurve2d, CGuide: Adaptor3d_HCurve) -> None: ... + def __init__(self, Surf: Adaptor3d_Surface, SurfRst: Adaptor3d_Surface, Rst: Adaptor2d_Curve2d, CGuide: Adaptor3d_Curve) -> None: ... def Decroch(self, Sol: math_Vector, NS: gp_Vec, TgS: gp_Vec) -> bool: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... @@ -449,7 +449,7 @@ class BRepBlend_SurfRstConstRad(Blend_SurfRstFunction): @overload def Section(self, P: Blend_Point, Poles: TColgp_Array1OfPnt, Poles2d: TColgp_Array1OfPnt2d, Weigths: TColStd_Array1OfReal) -> None: ... @overload - def Set(self, SurfRef: Adaptor3d_HSurface, RstRef: Adaptor2d_HCurve2d) -> None: ... + def Set(self, SurfRef: Adaptor3d_Surface, RstRef: Adaptor2d_Curve2d) -> None: ... @overload def Set(self, Param: float) -> None: ... @overload @@ -466,7 +466,7 @@ class BRepBlend_SurfRstConstRad(Blend_SurfRstFunction): def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BRepBlend_SurfRstEvolRad(Blend_SurfRstFunction): - def __init__(self, Surf: Adaptor3d_HSurface, SurfRst: Adaptor3d_HSurface, Rst: Adaptor2d_HCurve2d, CGuide: Adaptor3d_HCurve, Evol: Law_Function) -> None: ... + def __init__(self, Surf: Adaptor3d_Surface, SurfRst: Adaptor3d_Surface, Rst: Adaptor2d_Curve2d, CGuide: Adaptor3d_Curve, Evol: Law_Function) -> None: ... def Decroch(self, Sol: math_Vector, NS: gp_Vec, TgS: gp_Vec) -> bool: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... @@ -502,7 +502,7 @@ class BRepBlend_SurfRstEvolRad(Blend_SurfRstFunction): @overload def Section(self, P: Blend_Point, Poles: TColgp_Array1OfPnt, Poles2d: TColgp_Array1OfPnt2d, Weigths: TColStd_Array1OfReal) -> None: ... @overload - def Set(self, SurfRef: Adaptor3d_HSurface, RstRef: Adaptor2d_HCurve2d) -> None: ... + def Set(self, SurfRef: Adaptor3d_Surface, RstRef: Adaptor2d_Curve2d) -> None: ... @overload def Set(self, Param: float) -> None: ... @overload @@ -519,7 +519,7 @@ class BRepBlend_SurfRstEvolRad(Blend_SurfRstFunction): def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BRepBlend_SurfRstLineBuilder: - def __init__(self, Surf1: Adaptor3d_HSurface, Domain1: Adaptor3d_TopolTool, Surf2: Adaptor3d_HSurface, Rst: Adaptor2d_HCurve2d, Domain2: Adaptor3d_TopolTool) -> None: ... + def __init__(self, Surf1: Adaptor3d_Surface, Domain1: Adaptor3d_TopolTool, Surf2: Adaptor3d_Surface, Rst: Adaptor2d_Curve2d, Domain2: Adaptor3d_TopolTool) -> None: ... def ArcToRecadre(self, Sol: math_Vector, PrevIndex: int, pt2d: gp_Pnt2d, lastpt2d: gp_Pnt2d) -> Tuple[int, float]: ... def Complete(self, Func: Blend_SurfRstFunction, Finv: Blend_FuncInv, FinvP: Blend_SurfPointFuncInv, FinvC: Blend_SurfCurvFuncInv, Pmin: float) -> bool: ... def DecrochEnd(self) -> bool: ... @@ -530,7 +530,7 @@ class BRepBlend_SurfRstLineBuilder: def PerformFirstSection(self, Func: Blend_SurfRstFunction, Finv: Blend_FuncInv, FinvP: Blend_SurfPointFuncInv, FinvC: Blend_SurfCurvFuncInv, Pdep: float, Pmax: float, Soldep: math_Vector, Tolesp: float, TolGuide: float, RecRst: bool, RecP: bool, RecS: bool, ParSol: math_Vector) -> Tuple[bool, float]: ... class BRepBlend_Walking: - def __init__(self, Surf1: Adaptor3d_HSurface, Surf2: Adaptor3d_HSurface, Domain1: Adaptor3d_TopolTool, Domain2: Adaptor3d_TopolTool, HGuide: ChFiDS_HElSpine) -> None: ... + def __init__(self, Surf1: Adaptor3d_Surface, Surf2: Adaptor3d_Surface, Domain1: Adaptor3d_TopolTool, Domain2: Adaptor3d_TopolTool, HGuide: ChFiDS_ElSpine) -> None: ... def AddSingularPoint(self, P: Blend_Point) -> None: ... def Check(self, C: bool) -> None: ... def Check2d(self, C: bool) -> None: ... diff --git a/src/SWIG_files/wrapper/BRepBndLib.i b/src/SWIG_files/wrapper/BRepBndLib.i index 3bee86fa4..91bf6078d 100644 --- a/src/SWIG_files/wrapper/BRepBndLib.i +++ b/src/SWIG_files/wrapper/BRepBndLib.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPBNDLIBDOCSTRING "BRepBndLib module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepbndlib.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepbndlib.html" %enddef %module (package="OCC.Core", docstring=BREPBNDLIBDOCSTRING) BRepBndLib @@ -64,7 +64,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -143,7 +143,7 @@ None /****************** AddOptimal ******************/ /**** md5 signature: bd6c1029fd07d68da48862cc70fd6a39 ****/ %feature("compactdefaultargs") AddOptimal; - %feature("autodoc", "Adds the shape s to the bounding box b. this algorith builds precise bounding box, which differs from exact geometry boundaries of shape only on shape entities tolerances algorithm is the same as for method add(..), but uses more precise methods for building boxes for geometry objects. if useshapetolerance = true, bounding box is enlardged by shape tolerances and these tolerances are used for numerical methods of bounding box size calculations, otherwise bounding box is built according to sizes of uderlined geometrical entities, numerical calculation use tolerance precision::confusion(). + %feature("autodoc", "Adds the shape s to the bounding box b. this algorithm builds precise bounding box, which differs from exact geometry boundaries of shape only on shape entities tolerances algorithm is the same as for method add(..), but uses more precise methods for building boxes for geometry objects. if useshapetolerance = true, bounding box is enlardged by shape tolerances and these tolerances are used for numerical methods of bounding box size calculations, otherwise bounding box is built according to sizes of uderlined geometrical entities, numerical calculation use tolerance precision::confusion(). Parameters ---------- diff --git a/src/SWIG_files/wrapper/BRepBuilderAPI.i b/src/SWIG_files/wrapper/BRepBuilderAPI.i index c202fed60..90916d20a 100644 --- a/src/SWIG_files/wrapper/BRepBuilderAPI.i +++ b/src/SWIG_files/wrapper/BRepBuilderAPI.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPBUILDERAPIDOCSTRING "BRepBuilderAPI module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepbuilderapi.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepbuilderapi.html" %enddef %module (package="OCC.Core", docstring=BREPBUILDERAPIDOCSTRING) BRepBuilderAPI @@ -133,7 +133,7 @@ enum BRepBuilderAPI_ShellError { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BRepBuilderAPI_ShapeModification(IntEnum): @@ -470,7 +470,7 @@ enum FS_Statuses { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class FS_Statuses(IntEnum): @@ -732,7 +732,7 @@ None /****************** ContigousEdge ******************/ /**** md5 signature: 528f0ebefe61a096548f88451970603d ****/ %feature("compactdefaultargs") ContigousEdge; - %feature("autodoc", "Gives each contigous edge. + %feature("autodoc", "Gives each contiguous edge. Parameters ---------- @@ -747,7 +747,7 @@ TopoDS_Edge /****************** ContigousEdgeCouple ******************/ /**** md5 signature: 783b24657c04ecf4547ffd8cfddcc368 ****/ %feature("compactdefaultargs") ContigousEdgeCouple; - %feature("autodoc", "Gives the sections (edge) belonging to a contigous edge. + %feature("autodoc", "Gives the sections (edge) belonging to a contiguous edge. Parameters ---------- @@ -792,7 +792,7 @@ TopoDS_Face /****************** Dump ******************/ /**** md5 signature: 15b4b2e195645aebb43170ff7f15952a ****/ %feature("compactdefaultargs") Dump; - %feature("autodoc", "Print the informations. + %feature("autodoc", "Print the information. Returns ------- @@ -1028,7 +1028,7 @@ TopoDS_Edge /****************** NbContigousEdges ******************/ /**** md5 signature: c293fac1d421e2d1f7207054b4a45923 ****/ %feature("compactdefaultargs") NbContigousEdges; - %feature("autodoc", "Gives the number of contigous edges (edge shared by two faces). + %feature("autodoc", "Gives the number of contiguous edges (edge shared by two faces). Returns ------- @@ -1083,7 +1083,7 @@ int /****************** NonManifoldMode ******************/ /**** md5 signature: 34f87de0adb2c358ab80ad641118c76e ****/ %feature("compactdefaultargs") NonManifoldMode; - %feature("autodoc", "Gets mode for non-manifold sewing. //! internal fuctions ---. + %feature("autodoc", "Gets mode for non-manifold sewing. //! internal functions ---. Returns ------- @@ -1514,15 +1514,20 @@ None class BRepBuilderAPI_MakeShape : public BRepBuilderAPI_Command { public: /****************** Build ******************/ - /**** md5 signature: 66e0ade7e3cfb9cd9bdff795cda9b98c ****/ + /**** md5 signature: d39f8b7cbf799a16c2e10ed4575e82fe ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "This is called by shape(). it does nothing but may be redefined. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Generated ******************/ /**** md5 signature: ec0cc02a1efd6cf2ce3c0b78f26c1d07 ****/ @@ -3117,7 +3122,7 @@ None /****************** BRepBuilderAPI_MakeFace ******************/ /**** md5 signature: ac0ecdd4e8a721d62679f96f7f91809d ****/ %feature("compactdefaultargs") BRepBuilderAPI_MakeFace; - %feature("autodoc", "Load a face. usefull to add wires. + %feature("autodoc", "Load a face. useful to add wires. Parameters ---------- @@ -4026,7 +4031,7 @@ None /****************** BRepBuilderAPI_MakeSolid ******************/ /**** md5 signature: d269b933200bdc54c7639ac73cae0e58 ****/ %feature("compactdefaultargs") BRepBuilderAPI_MakeSolid; - %feature("autodoc", "Make a solid from a solid. usefull for adding later. + %feature("autodoc", "Make a solid from a solid. useful for adding later. Parameters ---------- @@ -4240,7 +4245,7 @@ None /****************** BRepBuilderAPI_MakeWire ******************/ /**** md5 signature: 307db2e099310281146759f5119b202b ****/ %feature("compactdefaultargs") BRepBuilderAPI_MakeWire; - %feature("autodoc", "Make a wire from a wire. usefull for adding later. + %feature("autodoc", "Make a wire from a wire. useful for adding later. Parameters ---------- diff --git a/src/SWIG_files/wrapper/BRepBuilderAPI.pyi b/src/SWIG_files/wrapper/BRepBuilderAPI.pyi index 7d33b177e..e56b77a76 100644 --- a/src/SWIG_files/wrapper/BRepBuilderAPI.pyi +++ b/src/SWIG_files/wrapper/BRepBuilderAPI.pyi @@ -215,7 +215,7 @@ class BRepBuilderAPI_BndBoxTreeSelector(): def SetCurrent(self, theBox: Bnd_Box) -> None: ... class BRepBuilderAPI_MakeShape(BRepBuilderAPI_Command): - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def Generated(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... def IsDeleted(self, S: TopoDS_Shape) -> bool: ... def Modified(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... diff --git a/src/SWIG_files/wrapper/BRepCheck.i b/src/SWIG_files/wrapper/BRepCheck.i index 58ec8f371..c8f14f9de 100644 --- a/src/SWIG_files/wrapper/BRepCheck.i +++ b/src/SWIG_files/wrapper/BRepCheck.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPCHECKDOCSTRING "BRepCheck module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepcheck.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepcheck.html" %enddef %module (package="OCC.Core", docstring=BREPCHECKDOCSTRING) BRepCheck @@ -110,7 +110,7 @@ enum BRepCheck_Status { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BRepCheck_Status(IntEnum): @@ -202,8 +202,7 @@ BRepCheck_CheckFail = BRepCheck_Status.BRepCheck_CheckFail /* end handles declaration */ /* templates */ -%template(BRepCheck_DataMapOfShapeListOfStatus) NCollection_DataMap; -%template(BRepCheck_DataMapOfShapeResult) NCollection_DataMap,TopTools_OrientedShapeMapHasher>; +%template(BRepCheck_IndexedDataMapOfShapeResult) NCollection_IndexedDataMap,TopTools_OrientedShapeMapHasher>; %template(BRepCheck_ListIteratorOfListOfStatus) NCollection_TListIterator; %template(BRepCheck_ListOfStatus) NCollection_List; @@ -216,10 +215,10 @@ BRepCheck_CheckFail = BRepCheck_Status.BRepCheck_CheckFail /* end templates declaration */ /* typedefs */ -typedef NCollection_DataMap::Iterator BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus; -typedef NCollection_DataMap, TopTools_OrientedShapeMapHasher>::Iterator BRepCheck_DataMapIteratorOfDataMapOfShapeResult; -typedef NCollection_DataMap BRepCheck_DataMapOfShapeListOfStatus; -typedef NCollection_DataMap, TopTools_OrientedShapeMapHasher> BRepCheck_DataMapOfShapeResult; +typedef NCollection_DataMap), TopTools_ShapeMapHasher>::Iterator BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus; +typedef NCollection_DataMap), TopTools_ShapeMapHasher> BRepCheck_DataMapOfShapeListOfStatus; +typedef NCollection_Shared BRepCheck_HListOfStatus; +typedef NCollection_IndexedDataMap, TopTools_OrientedShapeMapHasher> BRepCheck_IndexedDataMapOfShapeResult; typedef NCollection_List::Iterator BRepCheck_ListIteratorOfListOfStatus; typedef NCollection_List BRepCheck_ListOfStatus; /* end typedefs declaration */ @@ -262,19 +261,19 @@ float static Standard_Real PrecCurve(const Adaptor3d_Curve & aAC3D); /****************** PrecSurface ******************/ - /**** md5 signature: 1ee0cf2b6eac4a6cd14cb86720323439 ****/ + /**** md5 signature: 6f4c623dddf91472dbeeff8461bbbbf9 ****/ %feature("compactdefaultargs") PrecSurface; %feature("autodoc", "Returns the resolution on the surface. Parameters ---------- -aAHSurf: Adaptor3d_HSurface +aAHSurf: Adaptor3d_Surface Returns ------- float ") PrecSurface; - static Standard_Real PrecSurface(const opencascade::handle & aAHSurf); + static Standard_Real PrecSurface(const opencascade::handle & aAHSurf); /****************** SelfIntersection ******************/ /**** md5 signature: bb04b20d19bd60ec83e4525199c06c3b ****/ @@ -309,7 +308,7 @@ bool class BRepCheck_Analyzer { public: /****************** BRepCheck_Analyzer ******************/ - /**** md5 signature: 1ea01ba3f32c876f168d8f18b7120753 ****/ + /**** md5 signature: 863e07daa9878e246ad0df9e39cb12c7 ****/ %feature("compactdefaultargs") BRepCheck_Analyzer; %feature("autodoc", "Constructs a shape validation object defined by the shape s. is the shape to control. if false only topological informaions are checked. the geometricals controls are for a vertex : brepcheck_invalidtolerancevalue nyi for an edge : brepcheck_invalidcurveonclosedsurface, brepcheck_invalidcurveonsurface, brepcheck_invalidsameparameterflag, brepcheck_invalidtolerancevalue nyi for a face : brepcheck_unorientableshape, brepcheck_intersectingwires, brepcheck_invalidtolerancevalue nyi for a wire : brepcheck_selfintersectingwire. @@ -318,15 +317,17 @@ Parameters S: TopoDS_Shape GeomControls: bool,optional default value is Standard_True +theIsParallel: bool,optional + default value is Standard_False Returns ------- None ") BRepCheck_Analyzer; - BRepCheck_Analyzer(const TopoDS_Shape & S, const Standard_Boolean GeomControls = Standard_True); + BRepCheck_Analyzer(const TopoDS_Shape & S, const Standard_Boolean GeomControls = Standard_True, const Standard_Boolean theIsParallel = Standard_False); /****************** Init ******************/ - /**** md5 signature: 5196c4939ad07fcdde4186169aa9d21c ****/ + /**** md5 signature: c4f36359b7ff320b0be9eb21e30c20b6 ****/ %feature("compactdefaultargs") Init; %feature("autodoc", " is the shape to control. if false only topological informaions are checked. the geometricals controls are for a vertex : brepcheck_invalidtolerance nyi for an edge : brepcheck_invalidcurveonclosedsurface, brepcheck_invalidcurveonsurface, brepcheck_invalidsameparameterflag, brepcheck_invalidtolerance nyi for a face : brepcheck_unorientableshape, brepcheck_intersectingwires, brepcheck_invalidtolerance nyi for a wire : brepcheck_selfintersectingwire. @@ -335,12 +336,14 @@ Parameters S: TopoDS_Shape GeomControls: bool,optional default value is Standard_True +theIsParallel: bool,optional + default value is Standard_False Returns ------- None ") Init; - void Init(const TopoDS_Shape & S, const Standard_Boolean GeomControls = Standard_True); + void Init(const TopoDS_Shape & S, const Standard_Boolean GeomControls = Standard_True, const Standard_Boolean theIsParallel = Standard_False); /****************** IsValid ******************/ /**** md5 signature: 067e002b3bd9e0362264cfada4f4eeac ****/ @@ -358,7 +361,7 @@ bool Standard_Boolean IsValid(const TopoDS_Shape & S); /****************** IsValid ******************/ - /**** md5 signature: 2809e700423e4fe6ecd395953f3a2406 ****/ + /**** md5 signature: 7d115ff85bb657b98ab8790006673845 ****/ %feature("compactdefaultargs") IsValid; %feature("autodoc", "Returns true if no defect is detected on the shape s or any of its subshapes. returns true if the shape s is valid. this function checks whether a given shape is valid by checking that: - the topology is correct - parameterization of edges in particular is correct. for the topology to be correct, the following conditions must be satisfied: - edges should have at least two vertices if they are not degenerate edges. the vertices should be within the range of the bounding edges at the tolerance specified in the vertex, - edges should share at least one face. the representation of the edges should be within the tolerance criterion assigned to them. - wires defining a face should not self-intersect and should be closed, - there should be one wire which contains all other wires inside a face, - wires should be correctly oriented with respect to each of the edges, - faces should be correctly oriented, in particular with respect to adjacent faces if these faces define a solid, - shells defining a solid should be closed. there should be one enclosing shell if the shape is a solid; to check parameterization of edge, there are 2 approaches depending on the edge?s contextual situation. - if the edge is either single, or it is in the context of a wire or a compound, its parameterization is defined by the parameterization of its 3d curve and is considered as valid. - if the edge is in the context of a face, it should have sameparameter and samerange flags set to standard_true. to check these flags, you should call the function brep_tool::sameparameter and brep_tool::samerange for an edge. if at least one of these flags is set to standard_false, the edge is considered as invalid without any additional check. if the edge is contained by a face, and it has sameparameter and samerange flags set to standard_true, isvalid checks whether representation of the edge on face, in context of which the edge is considered, has the same parameterization up to the tolerance value coded on the edge. for a given parameter t on the edge having c as a 3d curve and one pcurve p on a surface s (base surface of the reference face), this checks that |c(t) - s(p(t))| is less than or equal to tolerance, where tolerance is the tolerance value coded on the edge. @@ -369,19 +372,19 @@ bool Standard_Boolean IsValid(); /****************** Result ******************/ - /**** md5 signature: 7fd5f89db753d52aa955dc54a91f1dca ****/ + /**** md5 signature: 4d39ddda3bce0424b01a6b2fbba14ad2 ****/ %feature("compactdefaultargs") Result; %feature("autodoc", "No available documentation. Parameters ---------- -SubS: TopoDS_Shape +theSubS: TopoDS_Shape Returns ------- opencascade::handle ") Result; - const opencascade::handle & Result(const TopoDS_Shape & SubS); + const opencascade::handle & Result(const TopoDS_Shape & theSubS); }; @@ -410,7 +413,7 @@ None virtual void Blind(); /****************** ContextualShape ******************/ - /**** md5 signature: a584ebc1dedd342131b091fe5e1e437d ****/ + /**** md5 signature: eb8bd6cde885ea4f72b149425281ff43 ****/ %feature("compactdefaultargs") ContextualShape; %feature("autodoc", "No available documentation. @@ -462,7 +465,7 @@ None void InitContextIterator(); /****************** IsBlind ******************/ - /**** md5 signature: ff5e40e27b44b4cdc0af878d02e09a0e ****/ + /**** md5 signature: 7bdfbaa9abb88d00524ebffdd69f140b ****/ %feature("compactdefaultargs") IsBlind; %feature("autodoc", "No available documentation. @@ -473,7 +476,7 @@ bool Standard_Boolean IsBlind(); /****************** IsMinimum ******************/ - /**** md5 signature: 6488fc4883a388bc6a5f73438abeaae1 ****/ + /**** md5 signature: a6bf8651a71b5ace0b26012ddb26bfd5 ****/ %feature("compactdefaultargs") IsMinimum; %feature("autodoc", "No available documentation. @@ -483,6 +486,21 @@ bool ") IsMinimum; Standard_Boolean IsMinimum(); + /****************** IsStatusOnShape ******************/ + /**** md5 signature: 7a9b88e66fff4774274cebabd6b916eb ****/ + %feature("compactdefaultargs") IsStatusOnShape; + %feature("autodoc", "No available documentation. + +Parameters +---------- +theShape: TopoDS_Shape + +Returns +------- +bool +") IsStatusOnShape; + Standard_Boolean IsStatusOnShape(const TopoDS_Shape & theShape); + /****************** Minimum ******************/ /**** md5 signature: 567db75783723918a8acfdd7121b3ae4 ****/ %feature("compactdefaultargs") Minimum; @@ -495,7 +513,7 @@ None virtual void Minimum(); /****************** MoreShapeInContext ******************/ - /**** md5 signature: abe30661c8b45664c5aa94279afd2fd5 ****/ + /**** md5 signature: aaff979dbb1ba3d73332a5aa219d6b33 ****/ %feature("compactdefaultargs") MoreShapeInContext; %feature("autodoc", "No available documentation. @@ -531,8 +549,23 @@ None ") SetFailStatus; void SetFailStatus(const TopoDS_Shape & S); + /****************** SetParallel ******************/ + /**** md5 signature: 75181e0ac6329b778751501d9f3f15d9 ****/ + %feature("compactdefaultargs") SetParallel; + %feature("autodoc", "No available documentation. + +Parameters +---------- +theIsParallel: bool + +Returns +------- +None +") SetParallel; + void SetParallel(Standard_Boolean theIsParallel); + /****************** Status ******************/ - /**** md5 signature: 2b35975a0de3dfdf852d1653c75a7cab ****/ + /**** md5 signature: 64167c852e0650aecc4792387cb6ad32 ****/ %feature("compactdefaultargs") Status; %feature("autodoc", "No available documentation. @@ -543,30 +576,30 @@ BRepCheck_ListOfStatus const BRepCheck_ListOfStatus & Status(); /****************** StatusOnShape ******************/ - /**** md5 signature: ea055126ff7476811793b92dafd7757d ****/ + /**** md5 signature: 9d703d3594f470498bdec69da88c13b2 ****/ %feature("compactdefaultargs") StatusOnShape; - %feature("autodoc", "If not already done, performs the incontext control and returns the list of status. - -Parameters ----------- -S: TopoDS_Shape + %feature("autodoc", "No available documentation. Returns ------- BRepCheck_ListOfStatus ") StatusOnShape; - const BRepCheck_ListOfStatus & StatusOnShape(const TopoDS_Shape & S); + const BRepCheck_ListOfStatus & StatusOnShape(); /****************** StatusOnShape ******************/ - /**** md5 signature: b9a7334597b91c919b966f5d1e8d799f ****/ + /**** md5 signature: c188dfc8bfd0a5dda5145143d5c9b549 ****/ %feature("compactdefaultargs") StatusOnShape; %feature("autodoc", "No available documentation. +Parameters +---------- +theShape: TopoDS_Shape + Returns ------- BRepCheck_ListOfStatus ") StatusOnShape; - const BRepCheck_ListOfStatus & StatusOnShape(); + const BRepCheck_ListOfStatus & StatusOnShape(const TopoDS_Shape & theShape); }; @@ -1211,7 +1244,7 @@ None /****************** Closed ******************/ /**** md5 signature: 13c91693b79f0b3874479828b766a2ec ****/ %feature("compactdefaultargs") Closed; - %feature("autodoc", "Checks if the oriented edges of the wire give a closed wire. if the wire is closed, returns brepcheck_noerror. warning : if the first and last edge are infinite, the wire will be considered as a closed one. if is set to standard_true, registers the status in the list. may return (and registers): **brepcheck_notconnected, if wire is not topologically closed **brepcheck_redundantedge, if an edge is in wire more than 3 times or in case of 2 occurences if not with forward and reversed orientation. **brepcheck_noerror. + %feature("autodoc", "Checks if the oriented edges of the wire give a closed wire. if the wire is closed, returns brepcheck_noerror. warning : if the first and last edge are infinite, the wire will be considered as a closed one. if is set to standard_true, registers the status in the list. may return (and registers): **brepcheck_notconnected, if wire is not topologically closed **brepcheck_redundantedge, if an edge is in wire more than 3 times or in case of 2 occurrences if not with forward and reversed orientation. **brepcheck_noerror. Parameters ---------- diff --git a/src/SWIG_files/wrapper/BRepCheck.pyi b/src/SWIG_files/wrapper/BRepCheck.pyi index 1c92aae8c..c3d858e93 100644 --- a/src/SWIG_files/wrapper/BRepCheck.pyi +++ b/src/SWIG_files/wrapper/BRepCheck.pyi @@ -7,6 +7,10 @@ from OCC.Core.Adaptor3d import * from OCC.Core.TopoDS import * from OCC.Core.TopTools import * +#the following typedef cannot be wrapped as is +BRepCheck_HListOfStatus = NewType('BRepCheck_HListOfStatus', Any) +#the following typedef cannot be wrapped as is +BRepCheck_IndexedDataMapOfShapeResult = NewType('BRepCheck_IndexedDataMapOfShapeResult', Any) class BRepCheck_ListOfStatus: def __init__(self) -> None: ... @@ -105,18 +109,18 @@ class brepcheck: @staticmethod def PrecCurve(aAC3D: Adaptor3d_Curve) -> float: ... @staticmethod - def PrecSurface(aAHSurf: Adaptor3d_HSurface) -> float: ... + def PrecSurface(aAHSurf: Adaptor3d_Surface) -> float: ... @staticmethod def SelfIntersection(W: TopoDS_Wire, F: TopoDS_Face, E1: TopoDS_Edge, E2: TopoDS_Edge) -> bool: ... class BRepCheck_Analyzer: - def __init__(self, S: TopoDS_Shape, GeomControls: Optional[bool] = True) -> None: ... - def Init(self, S: TopoDS_Shape, GeomControls: Optional[bool] = True) -> None: ... + def __init__(self, S: TopoDS_Shape, GeomControls: Optional[bool] = True, theIsParallel: Optional[bool] = False) -> None: ... + def Init(self, S: TopoDS_Shape, GeomControls: Optional[bool] = True, theIsParallel: Optional[bool] = False) -> None: ... @overload def IsValid(self, S: TopoDS_Shape) -> bool: ... @overload def IsValid(self) -> bool: ... - def Result(self, SubS: TopoDS_Shape) -> BRepCheck_Result: ... + def Result(self, theSubS: TopoDS_Shape) -> BRepCheck_Result: ... class BRepCheck_Result(Standard_Transient): def Blind(self) -> None: ... @@ -126,15 +130,17 @@ class BRepCheck_Result(Standard_Transient): def InitContextIterator(self) -> None: ... def IsBlind(self) -> bool: ... def IsMinimum(self) -> bool: ... + def IsStatusOnShape(self, theShape: TopoDS_Shape) -> bool: ... def Minimum(self) -> None: ... def MoreShapeInContext(self) -> bool: ... def NextShapeInContext(self) -> None: ... def SetFailStatus(self, S: TopoDS_Shape) -> None: ... + def SetParallel(self, theIsParallel: bool) -> None: ... def Status(self) -> BRepCheck_ListOfStatus: ... @overload - def StatusOnShape(self, S: TopoDS_Shape) -> BRepCheck_ListOfStatus: ... - @overload def StatusOnShape(self) -> BRepCheck_ListOfStatus: ... + @overload + def StatusOnShape(self, theShape: TopoDS_Shape) -> BRepCheck_ListOfStatus: ... class BRepCheck_Edge(BRepCheck_Result): def __init__(self, E: TopoDS_Edge) -> None: ... diff --git a/src/SWIG_files/wrapper/BRepClass.i b/src/SWIG_files/wrapper/BRepClass.i index 3be8a5279..f9e381e69 100644 --- a/src/SWIG_files/wrapper/BRepClass.i +++ b/src/SWIG_files/wrapper/BRepClass.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPCLASSDOCSTRING "BRepClass module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepclass.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepclass.html" %enddef %module (package="OCC.Core", docstring=BREPCLASSDOCSTRING) BRepClass @@ -43,6 +43,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepclass.html" #include #include #include +#include #include #include #include @@ -64,6 +65,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepclass.html" %import Standard.i %import NCollection.i %import TopoDS.i +%import TopTools.i %import TopAbs.i %import gp.i %import IntRes2d.i @@ -77,7 +79,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -126,7 +128,7 @@ None /****************** Edge ******************/ /**** md5 signature: 7927ca64a27bc7479e2b4d4ab87dbb48 ****/ %feature("compactdefaultargs") Edge; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Returns the current edge . Returns ------- @@ -148,7 +150,7 @@ TopoDS_Edge /****************** Face ******************/ /**** md5 signature: 6e8f5f8b51d0684fdc076a3f5ea16883 ****/ %feature("compactdefaultargs") Face; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Returns the face for the current edge. Returns ------- @@ -167,6 +169,84 @@ TopoDS_Face ") Face; const TopoDS_Face Face(); + /****************** MaxTolerance ******************/ + /**** md5 signature: 34f00536788c474152c6e8ed59dfb31e ****/ + %feature("compactdefaultargs") MaxTolerance; + %feature("autodoc", "Returns the maximum tolerance. + +Returns +------- +float +") MaxTolerance; + Standard_Real MaxTolerance(); + + /****************** NextEdge ******************/ + /**** md5 signature: 46e9b5528185041e80eced3cd59f29f3 ****/ + %feature("compactdefaultargs") NextEdge; + %feature("autodoc", "Returns the next edge. + +Returns +------- +TopoDS_Edge +") NextEdge; + const TopoDS_Edge NextEdge(); + + /****************** SetMaxTolerance ******************/ + /**** md5 signature: d9b5f48764b511c321401dad8b37d561 ****/ + %feature("compactdefaultargs") SetMaxTolerance; + %feature("autodoc", "Sets the maximum tolerance at which to start checking in the intersector. + +Parameters +---------- +theValue: float + +Returns +------- +None +") SetMaxTolerance; + void SetMaxTolerance(const Standard_Real theValue); + + /****************** SetNextEdge ******************/ + /**** md5 signature: c50a2707391a16a921afeeeda217e8ca ****/ + %feature("compactdefaultargs") SetNextEdge; + %feature("autodoc", "Finds and sets the next edge for the current. + +Parameters +---------- +theMapVE: TopTools_IndexedDataMapOfShapeListOfShape + +Returns +------- +None +") SetNextEdge; + void SetNextEdge(const TopTools_IndexedDataMapOfShapeListOfShape & theMapVE); + + /****************** SetUseBndBox ******************/ + /**** md5 signature: a345a208e442f23a048168731ab1417e ****/ + %feature("compactdefaultargs") SetUseBndBox; + %feature("autodoc", "Sets the status of whether we are using boxes or not. + +Parameters +---------- +theValue: bool + +Returns +------- +None +") SetUseBndBox; + void SetUseBndBox(const Standard_Boolean theValue); + + /****************** UseBndBox ******************/ + /**** md5 signature: 02b68d127830fd41ee322e70833ed230 ****/ + %feature("compactdefaultargs") UseBndBox; + %feature("autodoc", "Returns true if we are using boxes in the intersector. + +Returns +------- +bool +") UseBndBox; + Standard_Boolean UseBndBox(); + }; @@ -486,6 +566,17 @@ None ") InitWires; void InitWires(); + /****************** MaxTolerance ******************/ + /**** md5 signature: 34f00536788c474152c6e8ed59dfb31e ****/ + %feature("compactdefaultargs") MaxTolerance; + %feature("autodoc", "Returns the maximum tolerance. + +Returns +------- +float +") MaxTolerance; + Standard_Real MaxTolerance(); + /****************** MoreEdges ******************/ /**** md5 signature: ae9c44c48922d7def77564a0d6f2c592 ****/ %feature("compactdefaultargs") MoreEdges; @@ -609,6 +700,47 @@ Par: float ") Segment; Standard_Boolean Segment(const gp_Pnt2d & P, gp_Lin2d & L, Standard_Real &OutValue); + /****************** SetMaxTolerance ******************/ + /**** md5 signature: d9b5f48764b511c321401dad8b37d561 ****/ + %feature("compactdefaultargs") SetMaxTolerance; + %feature("autodoc", "Sets the maximum tolerance at which to start checking in the intersector. + +Parameters +---------- +theValue: float + +Returns +------- +None +") SetMaxTolerance; + void SetMaxTolerance(const Standard_Real theValue); + + /****************** SetUseBndBox ******************/ + /**** md5 signature: a345a208e442f23a048168731ab1417e ****/ + %feature("compactdefaultargs") SetUseBndBox; + %feature("autodoc", "Sets the status of whether we are using boxes or not. + +Parameters +---------- +theValue: bool + +Returns +------- +None +") SetUseBndBox; + void SetUseBndBox(const Standard_Boolean theValue); + + /****************** UseBndBox ******************/ + /**** md5 signature: 02b68d127830fd41ee322e70833ed230 ****/ + %feature("compactdefaultargs") UseBndBox; + %feature("autodoc", "Returns true if we are using boxes in the intersector. + +Returns +------- +bool +") UseBndBox; + Standard_Boolean UseBndBox(); + }; @@ -826,72 +958,88 @@ None BRepClass_FaceClassifier(BRepClass_FaceExplorer & F, const gp_Pnt2d & P, const Standard_Real Tol); /****************** BRepClass_FaceClassifier ******************/ - /**** md5 signature: 66903fd3767dd144ed0e3a25b29cb078 ****/ + /**** md5 signature: ba4f6fe23b613f1af759144923fac8b6 ****/ %feature("compactdefaultargs") BRepClass_FaceClassifier; - %feature("autodoc", "Creates an algorithm to classify the point p with tolerance on the face . + %feature("autodoc", "Creates an algorithm to classify the point p with tolerance on the face . recommended to use bnd_box if the number of edges > 10 and the geometry is mostly spline. Parameters ---------- -F: TopoDS_Face -P: gp_Pnt2d -Tol: float +theF: TopoDS_Face +theP: gp_Pnt2d +theTol: float +theUseBndBox: bool,optional + default value is Standard_False +theGapCheckTol: float,optional + default value is 0.1 Returns ------- None ") BRepClass_FaceClassifier; - BRepClass_FaceClassifier(const TopoDS_Face & F, const gp_Pnt2d & P, const Standard_Real Tol); + BRepClass_FaceClassifier(const TopoDS_Face & theF, const gp_Pnt2d & theP, const Standard_Real theTol, const Standard_Boolean theUseBndBox = Standard_False, const Standard_Real theGapCheckTol = 0.1); /****************** BRepClass_FaceClassifier ******************/ - /**** md5 signature: ed0c6349f82f0afdf68beb1a375112db ****/ + /**** md5 signature: 8cd88928fae7d28c32ff4af3cafa3435 ****/ %feature("compactdefaultargs") BRepClass_FaceClassifier; - %feature("autodoc", "Creates an algorithm to classify the point p with tolerance on the face . + %feature("autodoc", "Creates an algorithm to classify the point p with tolerance on the face . recommended to use bnd_box if the number of edges > 10 and the geometry is mostly spline. Parameters ---------- -F: TopoDS_Face -P: gp_Pnt -Tol: float +theF: TopoDS_Face +theP: gp_Pnt +theTol: float +theUseBndBox: bool,optional + default value is Standard_False +theGapCheckTol: float,optional + default value is 0.1 Returns ------- None ") BRepClass_FaceClassifier; - BRepClass_FaceClassifier(const TopoDS_Face & F, const gp_Pnt & P, const Standard_Real Tol); + BRepClass_FaceClassifier(const TopoDS_Face & theF, const gp_Pnt & theP, const Standard_Real theTol, const Standard_Boolean theUseBndBox = Standard_False, const Standard_Real theGapCheckTol = 0.1); /****************** Perform ******************/ - /**** md5 signature: 9e3c267a5919cb2c1592840d20d26604 ****/ + /**** md5 signature: 3ced0bf5a7958aa636c9d28b2159163d ****/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Classify the point p with tolerance on the face described by . + %feature("autodoc", "Classify the point p with tolerance on the face described by . recommended to use bnd_box if the number of edges > 10 and the geometry is mostly spline. Parameters ---------- -F: TopoDS_Face -P: gp_Pnt2d -Tol: float +theF: TopoDS_Face +theP: gp_Pnt2d +theTol: float +theUseBndBox: bool,optional + default value is Standard_False +theGapCheckTol: float,optional + default value is 0.1 Returns ------- None ") Perform; - void Perform(const TopoDS_Face & F, const gp_Pnt2d & P, const Standard_Real Tol); + void Perform(const TopoDS_Face & theF, const gp_Pnt2d & theP, const Standard_Real theTol, const Standard_Boolean theUseBndBox = Standard_False, const Standard_Real theGapCheckTol = 0.1); /****************** Perform ******************/ - /**** md5 signature: 76ed91a10bd09a942fede5c41a7caa8b ****/ + /**** md5 signature: 5d29b2c64e703bbc79782bcb18b7f6fa ****/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Classify the point p with tolerance on the face described by . + %feature("autodoc", "Classify the point p with tolerance on the face described by . recommended to use bnd_box if the number of edges > 10 and the geometry is mostly spline. Parameters ---------- -F: TopoDS_Face -P: gp_Pnt -Tol: float +theF: TopoDS_Face +theP: gp_Pnt +theTol: float +theUseBndBox: bool,optional + default value is Standard_False +theGapCheckTol: float,optional + default value is 0.1 Returns ------- None ") Perform; - void Perform(const TopoDS_Face & F, const gp_Pnt & P, const Standard_Real Tol); + void Perform(const TopoDS_Face & theF, const gp_Pnt & theP, const Standard_Real theTol, const Standard_Boolean theUseBndBox = Standard_False, const Standard_Real theGapCheckTol = 0.1); }; diff --git a/src/SWIG_files/wrapper/BRepClass.pyi b/src/SWIG_files/wrapper/BRepClass.pyi index 7542375c5..1214f965b 100644 --- a/src/SWIG_files/wrapper/BRepClass.pyi +++ b/src/SWIG_files/wrapper/BRepClass.pyi @@ -4,6 +4,7 @@ from typing import overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.TopoDS import * +from OCC.Core.TopTools import * from OCC.Core.TopAbs import * from OCC.Core.gp import * from OCC.Core.IntRes2d import * @@ -23,6 +24,12 @@ class BRepClass_Edge: def Face(self) -> TopoDS_Face: ... @overload def Face(self) -> TopoDS_Face: ... + def MaxTolerance(self) -> float: ... + def NextEdge(self) -> TopoDS_Edge: ... + def SetMaxTolerance(self, theValue: float) -> None: ... + def SetNextEdge(self, theMapVE: TopTools_IndexedDataMapOfShapeListOfShape) -> None: ... + def SetUseBndBox(self, theValue: bool) -> None: ... + def UseBndBox(self) -> bool: ... class BRepClass_FClass2dOfFClassifier: def __init__(self) -> None: ... @@ -53,6 +60,7 @@ class BRepClass_FaceExplorer: def CurrentEdge(self, E: BRepClass_Edge) -> TopAbs_Orientation: ... def InitEdges(self) -> None: ... def InitWires(self) -> None: ... + def MaxTolerance(self) -> float: ... def MoreEdges(self) -> bool: ... def MoreWires(self) -> bool: ... def NextEdge(self) -> None: ... @@ -62,6 +70,9 @@ class BRepClass_FaceExplorer: def RejectEdge(self, L: gp_Lin2d, Par: float) -> bool: ... def RejectWire(self, L: gp_Lin2d, Par: float) -> bool: ... def Segment(self, P: gp_Pnt2d, L: gp_Lin2d) -> Tuple[bool, float]: ... + def SetMaxTolerance(self, theValue: float) -> None: ... + def SetUseBndBox(self, theValue: bool) -> None: ... + def UseBndBox(self) -> bool: ... class BRepClass_FacePassiveClassifier: def __init__(self) -> None: ... @@ -84,13 +95,13 @@ class BRepClass_FaceClassifier(BRepClass_FClassifier): @overload def __init__(self, F: BRepClass_FaceExplorer, P: gp_Pnt2d, Tol: float) -> None: ... @overload - def __init__(self, F: TopoDS_Face, P: gp_Pnt2d, Tol: float) -> None: ... + def __init__(self, theF: TopoDS_Face, theP: gp_Pnt2d, theTol: float, theUseBndBox: Optional[bool] = False, theGapCheckTol: Optional[float] = 0.1) -> None: ... @overload - def __init__(self, F: TopoDS_Face, P: gp_Pnt, Tol: float) -> None: ... + def __init__(self, theF: TopoDS_Face, theP: gp_Pnt, theTol: float, theUseBndBox: Optional[bool] = False, theGapCheckTol: Optional[float] = 0.1) -> None: ... @overload - def Perform(self, F: TopoDS_Face, P: gp_Pnt2d, Tol: float) -> None: ... + def Perform(self, theF: TopoDS_Face, theP: gp_Pnt2d, theTol: float, theUseBndBox: Optional[bool] = False, theGapCheckTol: Optional[float] = 0.1) -> None: ... @overload - def Perform(self, F: TopoDS_Face, P: gp_Pnt, Tol: float) -> None: ... + def Perform(self, theF: TopoDS_Face, theP: gp_Pnt, theTol: float, theUseBndBox: Optional[bool] = False, theGapCheckTol: Optional[float] = 0.1) -> None: ... # harray1 classes # harray2 classes diff --git a/src/SWIG_files/wrapper/BRepClass3d.i b/src/SWIG_files/wrapper/BRepClass3d.i index 0cb54d501..ef2ca57bd 100644 --- a/src/SWIG_files/wrapper/BRepClass3d.i +++ b/src/SWIG_files/wrapper/BRepClass3d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPCLASS3DDOCSTRING "BRepClass3d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepclass3d.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepclass3d.html" %enddef %module (package="OCC.Core", docstring=BREPCLASS3DDOCSTRING) BRepClass3d @@ -84,7 +84,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -214,7 +214,7 @@ gp_Pnt /****************** State ******************/ /**** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ****/ %feature("compactdefaultargs") State; - %feature("autodoc", "Returns the state of the point on the face. the values can be either topabs_in ( the point is in the face) or topabs_on ( the point is on a boudary of the face). + %feature("autodoc", "Returns the state of the point on the face. the values can be either topabs_in ( the point is in the face) or topabs_on ( the point is on a boundary of the face). Returns ------- @@ -766,7 +766,7 @@ Index: int Standard_Boolean PointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Integer &OutValue); /****************** PointInTheFace ******************/ - /**** md5 signature: 2409cfffa35ee7af69816ed64caca69e ****/ + /**** md5 signature: 986766809c3fdf601631ad22531992f8 ****/ %feature("compactdefaultargs") PointInTheFace; %feature("autodoc", "No available documentation. @@ -774,7 +774,7 @@ Parameters ---------- F: TopoDS_Face P: gp_Pnt -surf: BRepAdaptor_HSurface +surf: BRepAdaptor_Surface u1: float v1: float u2: float @@ -787,10 +787,10 @@ v: float Param: float Index: int ") PointInTheFace; - Standard_Boolean PointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Integer &OutValue, const opencascade::handle & surf, const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2); + Standard_Boolean PointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Integer &OutValue, const opencascade::handle & surf, const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2); /****************** PointInTheFace ******************/ - /**** md5 signature: ab70975c9887205d9944a58eab4d39a9 ****/ + /**** md5 signature: 69801e47f45d76167828452cfb2f933a ****/ %feature("compactdefaultargs") PointInTheFace; %feature("autodoc", " gives point index to search from and returns point index of succeseful search. @@ -798,7 +798,7 @@ Parameters ---------- F: TopoDS_Face P: gp_Pnt -surf: BRepAdaptor_HSurface +surf: BRepAdaptor_Surface u1: float v1: float u2: float @@ -813,7 +813,7 @@ v: float Param: float Index: int ") PointInTheFace; - Standard_Boolean PointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Integer &OutValue, const opencascade::handle & surf, const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Vec & theVecD1U, gp_Vec & theVecD1V); + Standard_Boolean PointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Integer &OutValue, const opencascade::handle & surf, const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Vec & theVecD1U, gp_Vec & theVecD1V); /****************** Reject ******************/ /**** md5 signature: 51de68ac10b383926f08d5ff11ad46ef ****/ diff --git a/src/SWIG_files/wrapper/BRepClass3d.pyi b/src/SWIG_files/wrapper/BRepClass3d.pyi index 21b16ff1f..776d0676f 100644 --- a/src/SWIG_files/wrapper/BRepClass3d.pyi +++ b/src/SWIG_files/wrapper/BRepClass3d.pyi @@ -88,9 +88,9 @@ class BRepClass3d_SolidExplorer: @overload def PointInTheFace(self, F: TopoDS_Face, P: gp_Pnt) -> Tuple[bool, float, float, float, int]: ... @overload - def PointInTheFace(self, F: TopoDS_Face, P: gp_Pnt, surf: BRepAdaptor_HSurface, u1: float, v1: float, u2: float, v2: float) -> Tuple[bool, float, float, float, int]: ... + def PointInTheFace(self, F: TopoDS_Face, P: gp_Pnt, surf: BRepAdaptor_Surface, u1: float, v1: float, u2: float, v2: float) -> Tuple[bool, float, float, float, int]: ... @overload - def PointInTheFace(self, F: TopoDS_Face, P: gp_Pnt, surf: BRepAdaptor_HSurface, u1: float, v1: float, u2: float, v2: float, theVecD1U: gp_Vec, theVecD1V: gp_Vec) -> Tuple[bool, float, float, float, int]: ... + def PointInTheFace(self, F: TopoDS_Face, P: gp_Pnt, surf: BRepAdaptor_Surface, u1: float, v1: float, u2: float, v2: float, theVecD1U: gp_Vec, theVecD1V: gp_Vec) -> Tuple[bool, float, float, float, int]: ... def Reject(self, P: gp_Pnt) -> bool: ... def RejectFace(self, L: gp_Lin) -> bool: ... def RejectShell(self, L: gp_Lin) -> bool: ... diff --git a/src/SWIG_files/wrapper/BRepExtrema.i b/src/SWIG_files/wrapper/BRepExtrema.i index f28905322..21a020a1e 100644 --- a/src/SWIG_files/wrapper/BRepExtrema.i +++ b/src/SWIG_files/wrapper/BRepExtrema.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPEXTREMADOCSTRING "BRepExtrema module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepextrema.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepextrema.html" %enddef %module (package="OCC.Core", docstring=BREPEXTREMADOCSTRING) BRepExtrema @@ -44,6 +44,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepextrema.html" #include #include #include +#include #include #include #include @@ -63,6 +64,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepextrema.html" %import NCollection.i %import TopoDS.i %import Extrema.i +%import Message.i %import gp.i %import Bnd.i %import BVH.i @@ -81,7 +83,7 @@ enum BRepExtrema_SupportType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BRepExtrema_SupportType(IntEnum): @@ -137,7 +139,7 @@ class BRepExtrema_DistShapeShape { /****************** BRepExtrema_DistShapeShape ******************/ /**** md5 signature: 7db35b07b02f16eafa8b496ba9a55793 ****/ %feature("compactdefaultargs") BRepExtrema_DistShapeShape; - %feature("autodoc", "Create empty tool . + %feature("autodoc", "Create empty tool. Returns ------- @@ -146,9 +148,9 @@ None BRepExtrema_DistShapeShape(); /****************** BRepExtrema_DistShapeShape ******************/ - /**** md5 signature: 077a447023b0bc9e038ed147df6b3dd8 ****/ + /**** md5 signature: fb63ccf57bfd5b8006463aca52b50b43 ****/ %feature("compactdefaultargs") BRepExtrema_DistShapeShape; - %feature("autodoc", "Computation of the minimum distance (value and pair of points) using default deflection default value is precision::confusion(). . + %feature("autodoc", "Create tool and computation of the minimum distance (value and pair of points) using default deflection in single thread mode. default deflection value is precision::confusion(). @param shape1 - the first shape for distance computation @param shape2 - the second shape for distance computation @param f and @param a are not used in computation and are obsolete. @param therange - the progress indicator of algorithm. Parameters ---------- @@ -158,17 +160,19 @@ F: Extrema_ExtFlag,optional default value is Extrema_ExtFlag_MINMAX A: Extrema_ExtAlgo,optional default value is Extrema_ExtAlgo_Grad +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() Returns ------- None ") BRepExtrema_DistShapeShape; - BRepExtrema_DistShapeShape(const TopoDS_Shape & Shape1, const TopoDS_Shape & Shape2, const Extrema_ExtFlag F = Extrema_ExtFlag_MINMAX, const Extrema_ExtAlgo A = Extrema_ExtAlgo_Grad); + BRepExtrema_DistShapeShape(const TopoDS_Shape & Shape1, const TopoDS_Shape & Shape2, const Extrema_ExtFlag F = Extrema_ExtFlag_MINMAX, const Extrema_ExtAlgo A = Extrema_ExtAlgo_Grad, const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** BRepExtrema_DistShapeShape ******************/ - /**** md5 signature: 4e55c9dd50c0ab7ef0e4ed04d008da6a ****/ + /**** md5 signature: 23775d8af1aa9dd27bd9eeda417a5eb6 ****/ %feature("compactdefaultargs") BRepExtrema_DistShapeShape; - %feature("autodoc", "Create tool and load both shapes into it . + %feature("autodoc", "Create tool and computation of the minimum distance (value and pair of points) in single thread mode. default deflection value is precision::confusion(). @param shape1 - the first shape for distance computation @param shape2 - the second shape for distance computation @param thedeflection - the presition of distance computation @param f and @param a are not used in computation and are obsolete. @param therange - the progress indicator of algorithm. Parameters ---------- @@ -179,12 +183,14 @@ F: Extrema_ExtFlag,optional default value is Extrema_ExtFlag_MINMAX A: Extrema_ExtAlgo,optional default value is Extrema_ExtAlgo_Grad +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() Returns ------- None ") BRepExtrema_DistShapeShape; - BRepExtrema_DistShapeShape(const TopoDS_Shape & Shape1, const TopoDS_Shape & Shape2, const Standard_Real theDeflection, const Extrema_ExtFlag F = Extrema_ExtFlag_MINMAX, const Extrema_ExtAlgo A = Extrema_ExtAlgo_Grad); + BRepExtrema_DistShapeShape(const TopoDS_Shape & Shape1, const TopoDS_Shape & Shape2, const Standard_Real theDeflection, const Extrema_ExtFlag F = Extrema_ExtFlag_MINMAX, const Extrema_ExtAlgo A = Extrema_ExtAlgo_Grad, const Message_ProgressRange & theRange = Message_ProgressRange()); %feature("autodoc", "1"); @@ -216,6 +222,17 @@ bool ") IsDone; Standard_Boolean IsDone(); + /****************** IsMultiThread ******************/ + /**** md5 signature: 08be58fd82e87eae912617f53af96d42 ****/ + %feature("compactdefaultargs") IsMultiThread; + %feature("autodoc", "Returns standard_true then computation will be performed in parallel default value is standard_false. + +Returns +------- +bool +") IsMultiThread; + Standard_Boolean IsMultiThread(); + /****************** LoadS1 ******************/ /**** md5 signature: 7408ca5426be01fa3948ad765f9b1d2b ****/ %feature("compactdefaultargs") LoadS1; @@ -260,7 +277,7 @@ int /****************** ParOnEdgeS1 ******************/ /**** md5 signature: afb7f68aca62bff04cd6998990b30f1f ****/ %feature("compactdefaultargs") ParOnEdgeS1; - %feature("autodoc", "Gives the corresponding parameter t if the nth solution is situated on an egde of the first shape . + %feature("autodoc", "Gives the corresponding parameter t if the nth solution is situated on an edge of the first shape . Parameters ---------- @@ -275,7 +292,7 @@ t: float /****************** ParOnEdgeS2 ******************/ /**** md5 signature: 4d4566624bf7e1ee75387e3cf5ccea3f ****/ %feature("compactdefaultargs") ParOnEdgeS2; - %feature("autodoc", "Gives the corresponding parameter t if the nth solution is situated on an egde of the first shape . + %feature("autodoc", "Gives the corresponding parameter t if the nth solution is situated on an edge of the first shape . Parameters ---------- @@ -320,15 +337,20 @@ v: float void ParOnFaceS2(const Standard_Integer N, Standard_Real &OutValue, Standard_Real &OutValue); /****************** Perform ******************/ - /**** md5 signature: dc83e5133003c9f9c7b166df8b5a4192 ****/ + /**** md5 signature: 5319bf8ef7123f90bd8ce53457a93026 ****/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Computation of the minimum distance (value and couple of points). parameter thedeflection is used to specify a maximum deviation of extreme distances from the minimum one. returns isdone status. . + %feature("autodoc", "Computation of the minimum distance (value and couple of points). parameter thedeflection is used to specify a maximum deviation of extreme distances from the minimum one. returns isdone status. therange - the progress indicator of algorithm. + +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() Returns ------- bool ") Perform; - Standard_Boolean Perform(); + Standard_Boolean Perform(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** PointOnShape1 ******************/ /**** md5 signature: aa31e70d94110b0eb2d311dc4396c549 ****/ @@ -363,7 +385,7 @@ gp_Pnt /****************** SetAlgo ******************/ /**** md5 signature: cad6f54c64a4b69da22bb042d2e4fe8a ****/ %feature("compactdefaultargs") SetAlgo; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Sets unused parameter obsolete . Parameters ---------- @@ -378,7 +400,7 @@ None /****************** SetDeflection ******************/ /**** md5 signature: ef17e8202a75f8963ebbbf02897eb710 ****/ %feature("compactdefaultargs") SetDeflection; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Sets deflection to computation of the minimum distance . Parameters ---------- @@ -393,7 +415,7 @@ None /****************** SetFlag ******************/ /**** md5 signature: 7ce767aa4373b85a8cea83f409a2ebfb ****/ %feature("compactdefaultargs") SetFlag; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Sets unused parameter obsolete . Parameters ---------- @@ -405,6 +427,21 @@ None ") SetFlag; void SetFlag(const Extrema_ExtFlag F); + /****************** SetMultiThread ******************/ + /**** md5 signature: 3237c51f1bfac929cf9e320d71541b3b ****/ + %feature("compactdefaultargs") SetMultiThread; + %feature("autodoc", "If ismultithread == standard_true then computation will be performed in parallel. + +Parameters +---------- +theIsMultiThread: bool + +Returns +------- +None +") SetMultiThread; + void SetMultiThread(Standard_Boolean theIsMultiThread); + /****************** SupportOnShape1 ******************/ /**** md5 signature: ec03df7c72ee60180aae731839ed29e5 ****/ %feature("compactdefaultargs") SupportOnShape1; @@ -634,7 +671,7 @@ enum FilterResult { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class FilterResult(IntEnum): @@ -2163,7 +2200,7 @@ class BRepExtrema_SelfIntersection : public BRepExtrema_ElementFilter { /****************** BRepExtrema_SelfIntersection ******************/ /**** md5 signature: 784f69b5e04a39d4d2d873ee9d2c141b ****/ %feature("compactdefaultargs") BRepExtrema_SelfIntersection; - %feature("autodoc", "Creates unitialized self-intersection tool. + %feature("autodoc", "Creates uninitialized self-intersection tool. Parameters ---------- diff --git a/src/SWIG_files/wrapper/BRepExtrema.pyi b/src/SWIG_files/wrapper/BRepExtrema.pyi index ff261fc8c..afc369453 100644 --- a/src/SWIG_files/wrapper/BRepExtrema.pyi +++ b/src/SWIG_files/wrapper/BRepExtrema.pyi @@ -5,6 +5,7 @@ from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.TopoDS import * from OCC.Core.Extrema import * +from OCC.Core.Message import * from OCC.Core.gp import * from OCC.Core.Bnd import * from OCC.Core.BVH import * @@ -40,11 +41,12 @@ class BRepExtrema_DistShapeShape: @overload def __init__(self) -> None: ... @overload - def __init__(self, Shape1: TopoDS_Shape, Shape2: TopoDS_Shape, F: Optional[Extrema_ExtFlag] = Extrema_ExtFlag_MINMAX, A: Optional[Extrema_ExtAlgo] = Extrema_ExtAlgo_Grad) -> None: ... + def __init__(self, Shape1: TopoDS_Shape, Shape2: TopoDS_Shape, F: Optional[Extrema_ExtFlag] = Extrema_ExtFlag_MINMAX, A: Optional[Extrema_ExtAlgo] = Extrema_ExtAlgo_Grad, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... @overload - def __init__(self, Shape1: TopoDS_Shape, Shape2: TopoDS_Shape, theDeflection: float, F: Optional[Extrema_ExtFlag] = Extrema_ExtFlag_MINMAX, A: Optional[Extrema_ExtAlgo] = Extrema_ExtAlgo_Grad) -> None: ... + def __init__(self, Shape1: TopoDS_Shape, Shape2: TopoDS_Shape, theDeflection: float, F: Optional[Extrema_ExtFlag] = Extrema_ExtFlag_MINMAX, A: Optional[Extrema_ExtAlgo] = Extrema_ExtAlgo_Grad, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def InnerSolution(self) -> bool: ... def IsDone(self) -> bool: ... + def IsMultiThread(self) -> bool: ... def LoadS1(self, Shape1: TopoDS_Shape) -> None: ... def LoadS2(self, Shape1: TopoDS_Shape) -> None: ... def NbSolution(self) -> int: ... @@ -52,12 +54,13 @@ class BRepExtrema_DistShapeShape: def ParOnEdgeS2(self, N: int) -> float: ... def ParOnFaceS1(self, N: int) -> Tuple[float, float]: ... def ParOnFaceS2(self, N: int) -> Tuple[float, float]: ... - def Perform(self) -> bool: ... + def Perform(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> bool: ... def PointOnShape1(self, N: int) -> gp_Pnt: ... def PointOnShape2(self, N: int) -> gp_Pnt: ... def SetAlgo(self, A: Extrema_ExtAlgo) -> None: ... def SetDeflection(self, theDeflection: float) -> None: ... def SetFlag(self, F: Extrema_ExtFlag) -> None: ... + def SetMultiThread(self, theIsMultiThread: bool) -> None: ... def SupportOnShape1(self, N: int) -> TopoDS_Shape: ... def SupportOnShape2(self, N: int) -> TopoDS_Shape: ... def SupportTypeShape1(self, N: int) -> BRepExtrema_SupportType: ... diff --git a/src/SWIG_files/wrapper/BRepFeat.i b/src/SWIG_files/wrapper/BRepFeat.i index e3f4c281c..ec0fe0db4 100644 --- a/src/SWIG_files/wrapper/BRepFeat.i +++ b/src/SWIG_files/wrapper/BRepFeat.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPFEATDOCSTRING "BRepFeat module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfeat.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepfeat.html" %enddef %module (package="OCC.Core", docstring=BREPFEATDOCSTRING) BRepFeat @@ -49,6 +49,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfeat.html" #include #include #include +#include #include #include #include @@ -86,6 +87,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfeat.html" %import TopAbs.i %import BOPAlgo.i %import TopTools.i +%import Message.i %import BRepBuilderAPI.i %import TColGeom.i %import LocOpe.i @@ -143,7 +145,7 @@ enum BRepFeat_PerfSelection { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BRepFeat_Status(IntEnum): @@ -441,7 +443,7 @@ None /****************** Init ******************/ /**** md5 signature: e8c5d8680206212eeeecebd0f84dc5c5 ****/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initialyzes the object of local boolean operation. + %feature("autodoc", "Initializes the object of local boolean operation. Parameters ---------- @@ -456,7 +458,7 @@ None /****************** Init ******************/ /**** md5 signature: 740bc54164d5b82a500c1564e244a758 ****/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initialyzes the arguments of local boolean operation. + %feature("autodoc", "Initializes the arguments of local boolean operation. Parameters ---------- @@ -487,7 +489,7 @@ None /****************** KeepParts ******************/ /**** md5 signature: 87c4cd5b43d1f9a01b576ee02f68e27d ****/ %feature("compactdefaultargs") KeepParts; - %feature("autodoc", "Initialyzes parts of the tool for second step of algorithm. collects shapes and all sub-shapes into myshapes map. + %feature("autodoc", "Initializes parts of the tool for second step of algorithm. collects shapes and all sub-shapes into myshapes map. Parameters ---------- @@ -515,15 +517,20 @@ None void PartsOfTool(TopTools_ListOfShape & theLT); /****************** PerformResult ******************/ - /**** md5 signature: 3e3cbe6224ffbb0eb5a7338673569f7a ****/ + /**** md5 signature: ad968597e719efbcf84e11e3ce8b1439 ****/ %feature("compactdefaultargs") PerformResult; %feature("autodoc", "Main function to build the result of the local operation required. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") PerformResult; - void PerformResult(); + void PerformResult(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** RebuildEdge ******************/ /**** md5 signature: d7d24342c4440d5e9583f009a4320033 ****/ @@ -888,15 +895,20 @@ None void Bind(const TopoDS_Edge & Enew, const TopoDS_Edge & Ebase); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "This is called by shape(). it does nothing but may be redefined. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** GluedShape ******************/ /**** md5 signature: cc05062c19ffec36edea50e2f74757fb ****/ @@ -1170,7 +1182,7 @@ None /****************** Add ******************/ /**** md5 signature: a2f8855eb9d20716f921d30ba939fd6a ****/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Add splitting edges or wires for whole initial shape withot additional specification edge->face, edge->edge this method puts edge on the corresponding faces from initial shape. + %feature("autodoc", "Add splitting edges or wires for whole initial shape without additional specification edge->face, edge->edge this method puts edge on the corresponding faces from initial shape. Parameters ---------- @@ -1247,15 +1259,20 @@ None void Add(const TopoDS_Edge & E, const TopoDS_Edge & EOn); /****************** Build ******************/ - /**** md5 signature: fbc5fbed76b24de64a843e82da1c1005 ****/ + /**** md5 signature: 6845a51502d14bd916482d98b6487bc6 ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Builds the cut and the resulting faces and edges as well. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - void Build(); + void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** DirectLeft ******************/ /**** md5 signature: 3439933aeda7f1a1ec21dfaafbe0ab1a ****/ diff --git a/src/SWIG_files/wrapper/BRepFeat.pyi b/src/SWIG_files/wrapper/BRepFeat.pyi index eb20aa9b6..21e1f91bc 100644 --- a/src/SWIG_files/wrapper/BRepFeat.pyi +++ b/src/SWIG_files/wrapper/BRepFeat.pyi @@ -10,6 +10,7 @@ from OCC.Core.TColgp import * from OCC.Core.TopAbs import * from OCC.Core.BOPAlgo import * from OCC.Core.TopTools import * +from OCC.Core.Message import * from OCC.Core.BRepBuilderAPI import * from OCC.Core.TColGeom import * from OCC.Core.LocOpe import * @@ -127,7 +128,7 @@ class BRepFeat_Builder(BOPAlgo_BOP): def KeepPart(self, theS: TopoDS_Shape) -> None: ... def KeepParts(self, theIm: TopTools_ListOfShape) -> None: ... def PartsOfTool(self, theLT: TopTools_ListOfShape) -> None: ... - def PerformResult(self) -> None: ... + def PerformResult(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def RebuildEdge(self, theE: TopoDS_Shape, theF: TopoDS_Face, theME: TopTools_MapOfShape, aLEIm: TopTools_ListOfShape) -> None: ... def RebuildFaces(self) -> None: ... @overload @@ -164,7 +165,7 @@ class BRepFeat_Gluer(BRepBuilderAPI_MakeShape): def Bind(self, Fnew: TopoDS_Face, Fbase: TopoDS_Face) -> None: ... @overload def Bind(self, Enew: TopoDS_Edge, Ebase: TopoDS_Edge) -> None: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def GluedShape(self) -> TopoDS_Shape: ... def Init(self, Snew: TopoDS_Shape, Sbase: TopoDS_Shape) -> None: ... def IsDeleted(self, F: TopoDS_Shape) -> bool: ... @@ -201,7 +202,7 @@ class BRepFeat_SplitShape(BRepBuilderAPI_MakeShape): def Add(self, Comp: TopoDS_Compound, F: TopoDS_Face) -> None: ... @overload def Add(self, E: TopoDS_Edge, EOn: TopoDS_Edge) -> None: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def DirectLeft(self) -> TopTools_ListOfShape: ... def Init(self, S: TopoDS_Shape) -> None: ... def IsDeleted(self, S: TopoDS_Shape) -> bool: ... diff --git a/src/SWIG_files/wrapper/BRepFill.i b/src/SWIG_files/wrapper/BRepFill.i index 136756522..a936870c4 100644 --- a/src/SWIG_files/wrapper/BRepFill.i +++ b/src/SWIG_files/wrapper/BRepFill.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPFILLDOCSTRING "BRepFill module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfill.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepfill.html" %enddef %module (package="OCC.Core", docstring=BREPFILLDOCSTRING) BRepFill @@ -119,7 +119,7 @@ enum BRepFill_TransitionStyle { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BRepFill_TypeOfContact(IntEnum): @@ -941,13 +941,13 @@ AppParCurves_MultiCurve class BRepFill_CurveConstraint : public GeomPlate_CurveConstraint { public: /****************** BRepFill_CurveConstraint ******************/ - /**** md5 signature: 41b1e4fc4bc3dc66765ae224c896d95e ****/ + /**** md5 signature: a983adec650994ee74e57f6aa9893167 ****/ %feature("compactdefaultargs") BRepFill_CurveConstraint; %feature("autodoc", "Create a constraint order is the order of the constraint. the possible values for order are -1,0,1,2. order i means constraints gi npt is the number of points associated with the constraint. toldist is the maximum error to satisfy for g0 constraints tolang is the maximum error to satisfy for g1 constraints tolcurv is the maximum error to satisfy for g2 constraints these errors can be replaced by laws of criterion. Parameters ---------- -Boundary: Adaptor3d_HCurveOnSurface +Boundary: Adaptor3d_CurveOnSurface Order: int NPt: int,optional default value is 10 @@ -962,16 +962,16 @@ Returns ------- None ") BRepFill_CurveConstraint; - BRepFill_CurveConstraint(const opencascade::handle & Boundary, const Standard_Integer Order, const Standard_Integer NPt = 10, const Standard_Real TolDist = 0.0001, const Standard_Real TolAng = 0.01, const Standard_Real TolCurv = 0.1); + BRepFill_CurveConstraint(const opencascade::handle & Boundary, const Standard_Integer Order, const Standard_Integer NPt = 10, const Standard_Real TolDist = 0.0001, const Standard_Real TolAng = 0.01, const Standard_Real TolCurv = 0.1); /****************** BRepFill_CurveConstraint ******************/ - /**** md5 signature: f26a009e0334615d92ee293a276af65f ****/ + /**** md5 signature: ccfa90de10a25cb726928f2c424e790e ****/ %feature("compactdefaultargs") BRepFill_CurveConstraint; %feature("autodoc", "No available documentation. Parameters ---------- -Boundary: Adaptor3d_HCurve +Boundary: Adaptor3d_Curve Tang: int NPt: int,optional default value is 10 @@ -982,7 +982,7 @@ Returns ------- None ") BRepFill_CurveConstraint; - BRepFill_CurveConstraint(const opencascade::handle & Boundary, const Standard_Integer Tang, const Standard_Integer NPt = 10, const Standard_Real TolDist = 0.0001); + BRepFill_CurveConstraint(const opencascade::handle & Boundary, const Standard_Integer Tang, const Standard_Integer NPt = 10, const Standard_Real TolDist = 0.0001); }; @@ -1731,7 +1731,7 @@ None /****************** SetResolParam ******************/ /**** md5 signature: 96cad4665171fb74735ecc8d46155136 ****/ %feature("compactdefaultargs") SetResolParam; - %feature("autodoc", "Sets the parameters used for resolution. the default values of these parameters have been chosen for a good ratio quality/performance. degree: it is the order of energy criterion to minimize for computing the deformation of the surface. the default value is 3 the recommanded value is i+2 where i is the maximum order of the constraints. nbptsoncur: it is the average number of points for discretisation of the edges. nbiter: it is the maximum number of iterations of the process. for each iteration the number of discretisation points is increased. anisotropie:. + %feature("autodoc", "Sets the parameters used for resolution. the default values of these parameters have been chosen for a good ratio quality/performance. degree: it is the order of energy criterion to minimize for computing the deformation of the surface. the default value is 3 the recommended value is i+2 where i is the maximum order of the constraints. nbptsoncur: it is the average number of points for discretisation of the edges. nbiter: it is the maximum number of iterations of the process. for each iteration the number of discretisation points is increased. anisotropie:. Parameters ---------- @@ -1887,7 +1887,7 @@ Last: float /****************** D0 ******************/ /**** md5 signature: 52c2d023fe81655193d586ee297b1241 ****/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Apply the law to a shape, for a given curnilinear abscissa. + %feature("autodoc", "Apply the law to a shape, for a given curvilinear abscissa. Parameters ---------- @@ -1966,7 +1966,7 @@ bool /****************** IsG1 ******************/ /**** md5 signature: 9963a7e0ee81d49de56ba09e373c171d ****/ %feature("compactdefaultargs") IsG1; - %feature("autodoc", "Compute the law's continuity beetween 2 edges of the path the result can be : -1 : case not connex 0 : it is connex (g0) 1 : it is tangent (g1). + %feature("autodoc", "Compute the law's continuity between 2 edges of the path the result can be : -1 : case not connex 0 : it is connex (g0) 1 : it is tangent (g1). Parameters ---------- @@ -2027,7 +2027,7 @@ int /****************** Parameter ******************/ /**** md5 signature: fd5a6bab737a1d219166f125eb34b581 ****/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", "Find the index law and the parmaeter, for a given curnilinear abscissa. + %feature("autodoc", "Find the index law and the parameter, for a given curvilinear abscissa. Parameters ---------- @@ -2078,7 +2078,7 @@ None /****************** TransformInG0Law ******************/ /**** md5 signature: 5f05797761b737e39ec06f0e5f8a1a0d ****/ %feature("compactdefaultargs") TransformInG0Law; - %feature("autodoc", "Apply a linear transformation on each law, to have continuity of the global law beetween the edges. + %feature("autodoc", "Apply a linear transformation on each law, to have continuity of the global law between the edges. Returns ------- @@ -2476,7 +2476,7 @@ TopTools_ListOfShape /****************** Init ******************/ /**** md5 signature: 04028fd0677eb2fad3b6134f24c0b959 ****/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initialize the evaluation of offseting. + %feature("autodoc", "Initialize the evaluation of offsetting. Parameters ---------- @@ -2801,7 +2801,7 @@ class BRepFill_PipeShell : public Standard_Transient { /****************** BRepFill_PipeShell ******************/ /**** md5 signature: f13911b618ee59949258d0ea58994931 ****/ %feature("compactdefaultargs") BRepFill_PipeShell; - %feature("autodoc", "Set an sweep's mode if no mode are setted, the mode use in makepipe is used. + %feature("autodoc", "Set an sweep's mode if no mode are set, the mode used in makepipe is used. Parameters ---------- @@ -2816,7 +2816,7 @@ None /****************** Add ******************/ /**** md5 signature: 4646415ed2583fb1eb7c020fef17efa7 ****/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Set an section. the corespondance with the spine, will be automaticaly performed. + %feature("autodoc", "Set an section. the correspondence with the spine, will be automatically performed. Parameters ---------- @@ -2835,7 +2835,7 @@ None /****************** Add ******************/ /**** md5 signature: ea9d6839d1fe733dcb8684defcce8b79 ****/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Set an section. the corespondance with the spine, is given by . + %feature("autodoc", "Set an section. the correspondence with the spine, is given by location. Parameters ---------- @@ -3024,7 +3024,7 @@ None /****************** Set ******************/ /**** md5 signature: 3a5512d0c00b3142b199e2c762d5e552 ****/ %feature("compactdefaultargs") Set; - %feature("autodoc", "Set support to the spine to define the binormal at the spine, like the normal the surfaces. warning: to be effective, each edge of the must have an representaion on one face of. + %feature("autodoc", "Set support to the spine to define the binormal at the spine, like the normal the surfaces. warning: to be effective, each edge of the must have an representation on one face of. Parameters ---------- @@ -3069,7 +3069,7 @@ None /****************** SetForceApproxC1 ******************/ /**** md5 signature: ef99bf0713e14fbe9531aef549b5c75b ****/ %feature("compactdefaultargs") SetForceApproxC1; - %feature("autodoc", "Set the flag that indicates attempt to approximate a c1-continuous surface if a swept surface proved to be c0. give section to sweep. possibilities are : - give one or sevral profile - give one profile and an homotetic law. - automatic compute of correspondance beetween profile, and section on the sweeped shape - correspondance beetween profile, and section on the sweeped shape defined by a vertex of the spine. + %feature("autodoc", "Set the flag that indicates attempt to approximate a c1-continuous surface if a swept surface proved to be c0. give section to sweep. possibilities are : - give one or sevral profile - give one profile and an homotetic law. - automatic compute of correspondence between profile, and section on the sweeped shape - correspondence between profile, and section on the sweeped shape defined by a vertex of the spine. Parameters ---------- @@ -3707,7 +3707,7 @@ None /****************** Build ******************/ /**** md5 signature: 8948957dd26d744dcb6a952ff83fd290 ****/ %feature("compactdefaultargs") Build; - %feature("autodoc", "Build the sweep surface transition define transition strategy approx define approximation strategy - geomfill_section : the composed function location x section is directly approximed. - geomfill_location : the location law is approximed, and the sweepsurface is bulid algebric composition of approximed location law and section law this option is ok, if section.surface() methode is effective. continuity : the continuity in v waiting on the surface degmax : the maximum degree in v requiered on the surface segmax : the maximum number of span in v requiered on the surface. + %feature("autodoc", "Build the sweep surface transition define transition strategy approx define approximation strategy - geomfill_section : the composed function location x section is directly approximated. - geomfill_location : the location law is approximated, and the sweepsurface is bulid algebric composition of approximated location law and section law this option is ok, if section.surface() methode is effective. continuity : the continuity in v waiting on the surface degmax : the maximum degree in v required on the surface segmax : the maximum number of span in v required on the surface. Parameters ---------- @@ -3827,7 +3827,7 @@ None /****************** SetTolerance ******************/ /**** md5 signature: 0c0c29e014b1ba349cc5155f8793397a ****/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "Set approximation tolerance tol3d : tolerance to surface approximation tol2d : tolerance used to perform curve approximation normaly the 2d curve are approximated with a tolerance given by the resolution on support surfaces, but if this tolerance is too large tol2d is used. tolangular : tolerance (in radian) to control the angle beetween tangents on the section law and tangent of iso-v on approximed surface. + %feature("autodoc", "Set approximation tolerance tol3d : tolerance to surface approximation tol2d : tolerance used to perform curve approximation normally the 2d curve are approximated with a tolerance given by the resolution on support surfaces, but if this tolerance is too large tol2d is used. tolangular : tolerance (in radian) to control the angle between tangents on the section law and tangent of iso-v on approximated surface. Parameters ---------- @@ -4372,7 +4372,7 @@ None /****************** ConcatenedLaw ******************/ /**** md5 signature: 4495106cbf0901c13e169216aea3ff82 ****/ %feature("compactdefaultargs") ConcatenedLaw; - %feature("autodoc", "Give the law build on a concatened section. + %feature("autodoc", "Give the law build on a concatenated section. Returns ------- @@ -4537,7 +4537,7 @@ None /****************** ConcatenedLaw ******************/ /**** md5 signature: 4495106cbf0901c13e169216aea3ff82 ****/ %feature("compactdefaultargs") ConcatenedLaw; - %feature("autodoc", "Give the law build on a concaneted section. + %feature("autodoc", "Give the law build on a concatenated section. Returns ------- diff --git a/src/SWIG_files/wrapper/BRepFill.pyi b/src/SWIG_files/wrapper/BRepFill.pyi index 20fb06451..04a6cfd04 100644 --- a/src/SWIG_files/wrapper/BRepFill.pyi +++ b/src/SWIG_files/wrapper/BRepFill.pyi @@ -168,9 +168,9 @@ class BRepFill_ComputeCLine: class BRepFill_CurveConstraint(GeomPlate_CurveConstraint): @overload - def __init__(self, Boundary: Adaptor3d_HCurveOnSurface, Order: int, NPt: Optional[int] = 10, TolDist: Optional[float] = 0.0001, TolAng: Optional[float] = 0.01, TolCurv: Optional[float] = 0.1) -> None: ... + def __init__(self, Boundary: Adaptor3d_CurveOnSurface, Order: int, NPt: Optional[int] = 10, TolDist: Optional[float] = 0.0001, TolAng: Optional[float] = 0.01, TolCurv: Optional[float] = 0.1) -> None: ... @overload - def __init__(self, Boundary: Adaptor3d_HCurve, Tang: int, NPt: Optional[int] = 10, TolDist: Optional[float] = 0.0001) -> None: ... + def __init__(self, Boundary: Adaptor3d_Curve, Tang: int, NPt: Optional[int] = 10, TolDist: Optional[float] = 0.0001) -> None: ... class BRepFill_Draft: def __init__(self, Shape: TopoDS_Shape, Dir: gp_Dir, Angle: float) -> None: ... diff --git a/src/SWIG_files/wrapper/BRepFilletAPI.i b/src/SWIG_files/wrapper/BRepFilletAPI.i index cf47509d7..bb583b9bf 100644 --- a/src/SWIG_files/wrapper/BRepFilletAPI.i +++ b/src/SWIG_files/wrapper/BRepFilletAPI.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPFILLETAPIDOCSTRING "BRepFilletAPI module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfilletapi.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepfilletapi.html" %enddef %module (package="OCC.Core", docstring=BREPFILLETAPIDOCSTRING) BRepFilletAPI @@ -45,6 +45,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfilletapi.htm #include #include #include +#include #include #include #include @@ -87,6 +88,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepfilletapi.htm %import BRepBuilderAPI.i %import TopoDS.i %import ChFiDS.i +%import Message.i %import TopTools.i %import ChFi2d.i %import TopOpeBRepBuild.i @@ -104,7 +106,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -498,15 +500,20 @@ TopoDS_Edge const TopoDS_Edge BasisEdge(const TopoDS_Edge & E); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Update the result and set the done flag. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** ChamferEdges ******************/ /**** md5 signature: 66edbe74780ce3ab689192aa27e7b595 ****/ @@ -578,7 +585,7 @@ None /****************** Init ******************/ /**** md5 signature: 7b460233038b2f415eaddf1e321fc705 ****/ %feature("compactdefaultargs") Init; - %feature("autodoc", "This initialize method allow to init the builder from a face and another face which derive from . this is usefull to modify a fillet or a chamfer already created on . + %feature("autodoc", "This initialize method allow to init the builder from a face refface and another face modface which derive from refface. this is useful to modify a fillet or a chamfer already created on modface. Parameters ---------- @@ -876,15 +883,20 @@ None void AddDA(const Standard_Real Dis, const Standard_Real Angle, const TopoDS_Edge & E, const TopoDS_Face & F); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Builds the chamfers on all the contours in the internal data structure of this algorithm and constructs the resulting shape. use the function isdone to verify that the chamfered shape is built. use the function shape to retrieve the chamfered shape. warning the construction of chamfers implements highly complex construction algorithms. consequently, there may be instances where the algorithm fails, for example if the data defining the parameters of the chamfer is not compatible with the geometry of the initial shape. there is no initial analysis of errors and these only become evident at the construction stage. additionally, in the current software release, the following cases are not handled: - the end point of the contour is the point of intersection of 4 or more edges of the shape, or - the intersection of the chamfer with a face which limits the contour is not fully contained in this face. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Builder ******************/ /**** md5 signature: c97c63149316e999abd03e780cc959bf ****/ @@ -1068,7 +1080,7 @@ bool /****************** IsSymetric ******************/ /**** md5 signature: e834faba1d738c1f857cbe69bcf685bd ****/ %feature("compactdefaultargs") IsSymetric; - %feature("autodoc", "Return true if chamfer symetric false else. + %feature("autodoc", "Return true if chamfer symmetric false else. Parameters ---------- @@ -1476,15 +1488,20 @@ TopoDS_Shape TopoDS_Shape BadShape(); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Builds the fillets on all the contours in the internal data structure of this algorithm and constructs the resulting shape. use the function isdone to verify that the filleted shape is built. use the function shape to retrieve the filleted shape. warning the construction of fillets implements highly complex construction algorithms. consequently, there may be instances where the algorithm fails, for example if the data defining the radius of the fillet is not compatible with the geometry of the initial shape. there is no initial analysis of errors and they only become evident at the construction stage. additionally, in the current software release, the following cases are not handled: - the end point of the contour is the point of intersection of 4 or more edges of the shape, or - the intersection of the fillet with a face which limits the contour is not fully contained in this face. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Builder ******************/ /**** md5 signature: c97c63149316e999abd03e780cc959bf ****/ diff --git a/src/SWIG_files/wrapper/BRepFilletAPI.pyi b/src/SWIG_files/wrapper/BRepFilletAPI.pyi index 89e37795a..cd98dc0d5 100644 --- a/src/SWIG_files/wrapper/BRepFilletAPI.pyi +++ b/src/SWIG_files/wrapper/BRepFilletAPI.pyi @@ -6,6 +6,7 @@ from OCC.Core.NCollection import * from OCC.Core.BRepBuilderAPI import * from OCC.Core.TopoDS import * from OCC.Core.ChFiDS import * +from OCC.Core.Message import * from OCC.Core.TopTools import * from OCC.Core.ChFi2d import * from OCC.Core.TopOpeBRepBuild import * @@ -47,7 +48,7 @@ class BRepFilletAPI_MakeFillet2d(BRepBuilderAPI_MakeShape): def AddChamfer(self, E: TopoDS_Edge, V: TopoDS_Vertex, D: float, Ang: float) -> TopoDS_Edge: ... def AddFillet(self, V: TopoDS_Vertex, Radius: float) -> TopoDS_Edge: ... def BasisEdge(self, E: TopoDS_Edge) -> TopoDS_Edge: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def ChamferEdges(self) -> TopTools_SequenceOfShape: ... def DescendantEdge(self, E: TopoDS_Edge) -> TopoDS_Edge: ... def FilletEdges(self) -> TopTools_SequenceOfShape: ... @@ -81,7 +82,7 @@ class BRepFilletAPI_MakeChamfer(BRepFilletAPI_LocalOperation): @overload def Add(self, Dis1: float, Dis2: float, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... def AddDA(self, Dis: float, Angle: float, E: TopoDS_Edge, F: TopoDS_Face) -> None: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def Builder(self) -> TopOpeBRepBuild_HBuilder: ... def Closed(self, IC: int) -> bool: ... def ClosedAndTangent(self, IC: int) -> bool: ... @@ -127,7 +128,7 @@ class BRepFilletAPI_MakeFillet(BRepFilletAPI_LocalOperation): @overload def Add(self, UandR: TColgp_Array1OfPnt2d, E: TopoDS_Edge) -> None: ... def BadShape(self) -> TopoDS_Shape: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def Builder(self) -> TopOpeBRepBuild_HBuilder: ... def Closed(self, IC: int) -> bool: ... def ClosedAndTangent(self, IC: int) -> bool: ... diff --git a/src/SWIG_files/wrapper/BRepGProp.i b/src/SWIG_files/wrapper/BRepGProp.i index f8673ac48..b7758d38e 100644 --- a/src/SWIG_files/wrapper/BRepGProp.i +++ b/src/SWIG_files/wrapper/BRepGProp.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPGPROPDOCSTRING "BRepGProp module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepgprop.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepgprop.html" %enddef %module (package="OCC.Core", docstring=BREPGPROPDOCSTRING) BRepGProp @@ -84,7 +84,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -147,7 +147,7 @@ None /****************** SurfaceProperties ******************/ /**** md5 signature: 98c472661263186b1d30e4379dd9db78 ****/ %feature("compactdefaultargs") SurfaceProperties; - %feature("autodoc", "Updates with the shape , that contains its pricipal properties. the surface properties of all the faces in are computed. adaptive 2d gauss integration is used. parameter eps sets maximal relative error of computed mass (area) for each face. error is calculated as abs((m(i+1)-m(i))/m(i+1)), m(i+1) and m(i) are values for two successive steps of adaptive integration. method returns estimation of relative error reached for whole shape. warning: if eps > 0.001 algorithm performs non-adaptive integration. skipshared is a special flag, which allows taking in calculation shared topological entities or not for ex., if skipshared = true, faces, shared by two or more shells, are taken into calculation only once. + %feature("autodoc", "Updates with the shape , that contains its principal properties. the surface properties of all the faces in are computed. adaptive 2d gauss integration is used. parameter eps sets maximal relative error of computed mass (area) for each face. error is calculated as abs((m(i+1)-m(i))/m(i+1)), m(i+1) and m(i) are values for two successive steps of adaptive integration. method returns estimation of relative error reached for whole shape. warning: if eps > 0.001 algorithm performs non-adaptive integration. skipshared is a special flag, which allows taking in calculation shared topological entities or not for ex., if skipshared = true, faces, shared by two or more shells, are taken into calculation only once. Parameters ---------- @@ -188,7 +188,7 @@ None /****************** VolumeProperties ******************/ /**** md5 signature: 04af0768aae13f233016a52d30fcfdbb ****/ %feature("compactdefaultargs") VolumeProperties; - %feature("autodoc", "Updates with the shape , that contains its pricipal properties. the volume properties of all the forward and reversed faces in are computed. if onlyclosed is true then computed faces must belong to closed shells. adaptive 2d gauss integration is used. parameter eps sets maximal relative error of computed mass (volume) for each face. error is calculated as abs((m(i+1)-m(i))/m(i+1)), m(i+1) and m(i) are values for two successive steps of adaptive integration. method returns estimation of relative error reached for whole shape. warning: if eps > 0.001 algorithm performs non-adaptive integration. skipshared is a special flag, which allows taking in calculation shared topological entities or not. for ex., if skipshared = true, the volumes formed by the equal (the same tshape, location and orientation) faces are taken into calculation only once. + %feature("autodoc", "Updates with the shape , that contains its principal properties. the volume properties of all the forward and reversed faces in are computed. if onlyclosed is true then computed faces must belong to closed shells. adaptive 2d gauss integration is used. parameter eps sets maximal relative error of computed mass (volume) for each face. error is calculated as abs((m(i+1)-m(i))/m(i+1)), m(i+1) and m(i) are values for two successive steps of adaptive integration. method returns estimation of relative error reached for whole shape. warning: if eps > 0.001 algorithm performs non-adaptive integration. skipshared is a special flag, which allows taking in calculation shared topological entities or not. for ex., if skipshared = true, the volumes formed by the equal (the same tshape, location and orientation) faces are taken into calculation only once. Parameters ---------- @@ -209,7 +209,7 @@ float /****************** VolumePropertiesGK ******************/ /**** md5 signature: 350eb5f7ad614101e55a9b0c0afcdb22 ****/ %feature("compactdefaultargs") VolumePropertiesGK; - %feature("autodoc", "Updates with the shape , that contains its pricipal properties. the volume properties of all the forward and reversed faces in are computed. if onlyclosed is true then computed faces must belong to closed shells. adaptive 2d gauss integration is used. parameter isusespan says if it is necessary to define spans on a face. this option has an effect only for bspline faces. parameter eps sets maximal relative error of computed property for each face. error is delivered by the adaptive gauss-kronrod method of integral computation that is used for properties computation. method returns estimation of relative error reached for whole shape. returns negative value if the computation is failed. skipshared is a special flag, which allows taking in calculation shared topological entities or not. for ex., if skipshared = true, the volumes formed by the equal (the same tshape, location and orientation) faces are taken into calculation only once. + %feature("autodoc", "Updates with the shape , that contains its principal properties. the volume properties of all the forward and reversed faces in are computed. if onlyclosed is true then computed faces must belong to closed shells. adaptive 2d gauss integration is used. parameter isusespan says if it is necessary to define spans on a face. this option has an effect only for bspline faces. parameter eps sets maximal relative error of computed property for each face. error is delivered by the adaptive gauss-kronrod method of integral computation that is used for properties computation. method returns estimation of relative error reached for whole shape. returns negative value if the computation is failed. skipshared is a special flag, which allows taking in calculation shared topological entities or not. for ex., if skipshared = true, the volumes formed by the equal (the same tshape, location and orientation) faces are taken into calculation only once. Parameters ---------- @@ -498,7 +498,7 @@ int /****************** Intervals ******************/ /**** md5 signature: f429463d75cd548af36c429f480bc438 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -961,7 +961,7 @@ enum BRepGProp_GaussType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BRepGProp_GaussType(IntEnum): @@ -1263,16 +1263,16 @@ None class BRepGProp_TFunction : public math_Function { public: /****************** BRepGProp_TFunction ******************/ - /**** md5 signature: 6fb8eac28a2b05c26eb62cc235a75bda ****/ + /**** md5 signature: 660069516fa3db7a124db5fda3b09b0e ****/ %feature("compactdefaultargs") BRepGProp_TFunction; - %feature("autodoc", "Constructor. initializes the function with the face, the location point, the flag isbypoint, the coefficients thecoeff that have different meaning depending on the value of isbypoint. the last two parameters are theumin - the lower bound of the inner integral. this value is fixed for any integral. and the value of tolerance of inner integral computation. if isbypoint is equal to standard_true, the number of the coefficients is equal to 3 and they represent x, y and z coordinates (thecoeff[0], thecoeff[1] and thecoeff[2] correspondingly) of the shift if the inertia is computed with respect to the point different then the location. if isbypoint is equal to standard_false, the number of the coefficients is 4 and they represent the compbination of plane parameters and shift values. + %feature("autodoc", "Constructor. initializes the function with the face, the location point, the flag isbypoint, the coefficients thecoeff that have different meaning depending on the value of isbypoint. the last two parameters are theumin - the lower bound of the inner integral. this value is fixed for any integral. and the value of tolerance of inner integral computation. if isbypoint is equal to standard_true, the number of the coefficients is equal to 3 and they represent x, y and z coordinates (thecoeff[0], thecoeff[1] and thecoeff[2] correspondingly) of the shift if the inertia is computed with respect to the point different then the location. if isbypoint is equal to standard_false, the number of the coefficients is 4 and they represent the combination of plane parameters and shift values. Parameters ---------- theSurface: BRepGProp_Face theVertex: gp_Pnt IsByPoint: bool -theCoeffs: Standard_Address +theCoeffs: float * theUMin: float theTolerance: float @@ -1280,7 +1280,7 @@ Returns ------- None ") BRepGProp_TFunction; - BRepGProp_TFunction(const BRepGProp_Face & theSurface, const gp_Pnt & theVertex, const Standard_Boolean IsByPoint, const Standard_Address theCoeffs, const Standard_Real theUMin, const Standard_Real theTolerance); + BRepGProp_TFunction(const BRepGProp_Face & theSurface, const gp_Pnt & theVertex, const Standard_Boolean IsByPoint, const Standard_Real * theCoeffs, const Standard_Real theUMin, const Standard_Real theTolerance); /****************** AbsolutError ******************/ /**** md5 signature: 12eadedd827c6f2cfdee466e4014e7d9 ****/ @@ -1401,7 +1401,7 @@ F: float class BRepGProp_UFunction : public math_Function { public: /****************** BRepGProp_UFunction ******************/ - /**** md5 signature: b338266c4100743d61bda90c43090930 ****/ + /**** md5 signature: f53c91a3d00c6205c8aeda4203c886d7 ****/ %feature("compactdefaultargs") BRepGProp_UFunction; %feature("autodoc", "Constructor. initializes the function with the face, the location point, the flag isbypoint and the coefficients thecoeff that have different meaning depending on the value of isbypoint. if isbypoint is equal to standard_true, the number of the coefficients is equal to 3 and they represent x, y and z coordinates (thecoeff[0], thecoeff[1] and thecoeff[2] correspondingly) of the shift, if the inertia is computed with respect to the point different then the location. if isbypoint is equal to standard_false, the number of the coefficients is 4 and they represent the combination of plane parameters and shift values. @@ -1410,13 +1410,13 @@ Parameters theSurface: BRepGProp_Face theVertex: gp_Pnt IsByPoint: bool -theCoeffs: Standard_Address +theCoeffs: float * Returns ------- None ") BRepGProp_UFunction; - BRepGProp_UFunction(const BRepGProp_Face & theSurface, const gp_Pnt & theVertex, const Standard_Boolean IsByPoint, const Standard_Address theCoeffs); + BRepGProp_UFunction(const BRepGProp_Face & theSurface, const gp_Pnt & theVertex, const Standard_Boolean IsByPoint, const Standard_Real * theCoeffs); /****************** SetVParam ******************/ /**** md5 signature: 65557cc70db507c03b9e102c112375ed ****/ @@ -1491,7 +1491,7 @@ None /****************** BRepGProp_Vinert ******************/ /**** md5 signature: 1414a74187b929e713ff870c0e037149 ****/ %feature("compactdefaultargs") BRepGProp_Vinert; - %feature("autodoc", "Computes the global properties of a region of 3d space delimited with the surface and the point vlocation. s can be closed the method is quick and its precision is enough for many cases of analytical surfaces. non-adaptive 2d gauss integration with predefined numbers of gauss points is used. numbers of points depend on types of surfaces and curves. errror of the computation is not calculated. + %feature("autodoc", "Computes the global properties of a region of 3d space delimited with the surface and the point vlocation. s can be closed the method is quick and its precision is enough for many cases of analytical surfaces. non-adaptive 2d gauss integration with predefined numbers of gauss points is used. numbers of points depend on types of surfaces and curves. error of the computation is not calculated. Parameters ---------- @@ -1594,7 +1594,7 @@ None /****************** BRepGProp_Vinert ******************/ /**** md5 signature: bd59787cdd3504146a2e59074662acc7 ****/ %feature("compactdefaultargs") BRepGProp_Vinert; - %feature("autodoc", "Computes the global properties of a region of 3d space delimited with the surface and the point vlocation. s can be closed the method is quick and its precision is enough for many cases of analytical surfaces. non-adaptive 2d gauss integration with predefined numbers of gauss points is used. numbers of points depend on types of surfaces and curves. errror of the computation is not calculated. + %feature("autodoc", "Computes the global properties of a region of 3d space delimited with the surface and the point vlocation. s can be closed the method is quick and its precision is enough for many cases of analytical surfaces. non-adaptive 2d gauss integration with predefined numbers of gauss points is used. numbers of points depend on types of surfaces and curves. error of the computation is not calculated. Parameters ---------- diff --git a/src/SWIG_files/wrapper/BRepGProp.pyi b/src/SWIG_files/wrapper/BRepGProp.pyi index 57e47054a..484ef476b 100644 --- a/src/SWIG_files/wrapper/BRepGProp.pyi +++ b/src/SWIG_files/wrapper/BRepGProp.pyi @@ -91,7 +91,7 @@ class BRepGProp_Face: @overload def Load(self, F: TopoDS_Face) -> None: ... @overload - def Load(self, E: TopoDS_Edge) -> False: ... + def Load(self, E: TopoDS_Edge) -> bool: ... @overload def Load(self, IsFirstParam: bool, theIsoType: GeomAbs_IsoType) -> None: ... def NaturalRestriction(self) -> bool: ... @@ -138,7 +138,7 @@ class BRepGProp_Sinert(GProp_GProps): def SetLocation(self, SLocation: gp_Pnt) -> None: ... class BRepGProp_TFunction(math_Function): - def __init__(self, theSurface: BRepGProp_Face, theVertex: gp_Pnt, IsByPoint: bool, theCoeffs: None, theUMin: float, theTolerance: float) -> None: ... + def __init__(self, theSurface: BRepGProp_Face, theVertex: gp_Pnt, IsByPoint: bool, theCoeffs: float, theUMin: float, theTolerance: float) -> None: ... def AbsolutError(self) -> float: ... def ErrorReached(self) -> float: ... def GetStateNumber(self) -> int: ... @@ -149,7 +149,7 @@ class BRepGProp_TFunction(math_Function): def Value(self, X: float) -> Tuple[bool, float]: ... class BRepGProp_UFunction(math_Function): - def __init__(self, theSurface: BRepGProp_Face, theVertex: gp_Pnt, IsByPoint: bool, theCoeffs: None) -> None: ... + def __init__(self, theSurface: BRepGProp_Face, theVertex: gp_Pnt, IsByPoint: bool, theCoeffs: float) -> None: ... def SetVParam(self, theVParam: float) -> None: ... def SetValueType(self, theType: GProp_ValueType) -> None: ... def Value(self, X: float) -> Tuple[bool, float]: ... diff --git a/src/SWIG_files/wrapper/BRepIntCurveSurface.i b/src/SWIG_files/wrapper/BRepIntCurveSurface.i index 4929ec57e..bf216e0b3 100644 --- a/src/SWIG_files/wrapper/BRepIntCurveSurface.i +++ b/src/SWIG_files/wrapper/BRepIntCurveSurface.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPINTCURVESURFACEDOCSTRING "BRepIntCurveSurface module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepintcurvesurface.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepintcurvesurface.html" %enddef %module (package="OCC.Core", docstring=BREPINTCURVESURFACEDOCSTRING) BRepIntCurveSurface @@ -76,7 +76,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/BRepLProp.i b/src/SWIG_files/wrapper/BRepLProp.i index 840a20c2e..1046bff87 100644 --- a/src/SWIG_files/wrapper/BRepLProp.i +++ b/src/SWIG_files/wrapper/BRepLProp.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPLPROPDOCSTRING "BRepLProp module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_breplprop.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_breplprop.html" %enddef %module (package="OCC.Core", docstring=BREPLPROPDOCSTRING) BRepLProp @@ -73,7 +73,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -116,7 +116,7 @@ GeomAbs_Shape /****************** Continuity ******************/ /**** md5 signature: 6e2749f77e1b8216030c4a38b7461152 ****/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "The same as preciding but using the standard tolerances from package precision. + %feature("autodoc", "The same as preceding but using the standard tolerances from package precision. Parameters ---------- diff --git a/src/SWIG_files/wrapper/BRepLib.i b/src/SWIG_files/wrapper/BRepLib.i index 1b15e4f12..3c6dd2062 100644 --- a/src/SWIG_files/wrapper/BRepLib.i +++ b/src/SWIG_files/wrapper/BRepLib.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPLIBDOCSTRING "BRepLib module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_breplib.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_breplib.html" %enddef %module (package="OCC.Core", docstring=BREPLIBDOCSTRING) BRepLib @@ -123,7 +123,7 @@ enum BRepLib_FaceError { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BRepLib_EdgeError(IntEnum): @@ -329,6 +329,24 @@ bool ") CheckSameRange; static Standard_Boolean CheckSameRange(const TopoDS_Edge & E, const Standard_Real Confusion = 1.0e-12); + /****************** ContinuityOfFaces ******************/ + /**** md5 signature: 2405b9a750027ac7614f072b1358fffc ****/ + %feature("compactdefaultargs") ContinuityOfFaces; + %feature("autodoc", "Returns the order of continuity between two faces connected by an edge. + +Parameters +---------- +theEdge: TopoDS_Edge +theFace1: TopoDS_Face +theFace2: TopoDS_Face +theAngleTol: float + +Returns +------- +GeomAbs_Shape +") ContinuityOfFaces; + static GeomAbs_Shape ContinuityOfFaces(const TopoDS_Edge & theEdge, const TopoDS_Face & theFace1, const TopoDS_Face & theFace2, const Standard_Real theAngleTol); + /****************** EncodeRegularity ******************/ /**** md5 signature: 19c910eb7197237b12eb01c92eebe9e5 ****/ %feature("compactdefaultargs") EncodeRegularity; @@ -367,7 +385,7 @@ None /****************** EncodeRegularity ******************/ /**** md5 signature: 172eaf1d13de1fe1ad03867f4f67dce0 ****/ %feature("compactdefaultargs") EncodeRegularity; - %feature("autodoc", "Encodes the regularity beetween and by warning: is an angular tolerance, expressed in rad. warning: if the edge's regularity is coded before, nothing is done. + %feature("autodoc", "Encodes the regularity between and by warning: is an angular tolerance, expressed in rad. warning: if the edge's regularity is coded before, nothing is done. Parameters ---------- @@ -651,10 +669,25 @@ None ") SortFaces; static void SortFaces(const TopoDS_Shape & S, TopTools_ListOfShape & LF); + /****************** UpdateDeflection ******************/ + /**** md5 signature: 76d35fdabbd1c46be0db3f1ad51bcdc9 ****/ + %feature("compactdefaultargs") UpdateDeflection; + %feature("autodoc", "Updates value of deflection in poly_triangulation of faces by the maximum deviation measured on existing triangulation. + +Parameters +---------- +S: TopoDS_Shape + +Returns +------- +None +") UpdateDeflection; + static void UpdateDeflection(const TopoDS_Shape & S); + /****************** UpdateEdgeTol ******************/ /**** md5 signature: 38bb8b704b359479ae8f63fd5e383848 ****/ %feature("compactdefaultargs") UpdateEdgeTol; - %feature("autodoc", "Checks if the edge has a tolerance smaller than -- -- -- -- maxtolerancetocheck if so it will compute the radius of -- the cylindrical pipe surface that mintolerancerequest is the minimum tolerance before it is usefull to start testing. usually it should be arround 10e-5 contains all -- the curve represenation of the edge returns true if the edge tolerance had to be updated. + %feature("autodoc", "Checks if the edge has a tolerance smaller than -- -- -- -- maxtolerancetocheck if so it will compute the radius of -- the cylindrical pipe surface that mintolerancerequest is the minimum tolerance before it is useful to start testing. usually it should be around 10e-5 contains all -- the curve representation of the edge returns true if the edge tolerance had to be updated. Parameters ---------- @@ -671,7 +704,7 @@ bool /****************** UpdateEdgeTolerance ******************/ /**** md5 signature: a900570e66aa87edd638ebad627eb240 ****/ %feature("compactdefaultargs") UpdateEdgeTolerance; - %feature("autodoc", "-- checks all the edges of the shape whose -- -- -- tolerance is smaller than maxtolerancetocheck -- returns true if at least one edge was updated -- mintolerancerequest is the minimum tolerance before -- it -- is usefull to start testing. usually it should be arround -- 10e-5-- //! warning :the method is very slow as it checks all. use only in interfaces or processing assimilate batch. + %feature("autodoc", "-- checks all the edges of the shape whose -- -- -- tolerance is smaller than maxtolerancetocheck -- returns true if at least one edge was updated -- mintolerancerequest is the minimum tolerance before -- it -- is useful to start testing. usually it should be around -- 10e-5-- //! warning :the method is very slow as it checks all. use only in interfaces or processing assimilate batch. Parameters ---------- @@ -756,7 +789,7 @@ class BRepLib_CheckCurveOnSurface { /****************** BRepLib_CheckCurveOnSurface ******************/ /**** md5 signature: 588c2b7becc8474a44af769cd1861cc0 ****/ %feature("compactdefaultargs") BRepLib_CheckCurveOnSurface; - %feature("autodoc", "Default contructor. + %feature("autodoc", "Default constructor. Returns ------- @@ -767,7 +800,7 @@ None /****************** BRepLib_CheckCurveOnSurface ******************/ /**** md5 signature: 4463fa8016612b07a0638ab8e597c79a ****/ %feature("compactdefaultargs") BRepLib_CheckCurveOnSurface; - %feature("autodoc", "Contructor. + %feature("autodoc", "Constructor. Parameters ---------- @@ -780,17 +813,6 @@ None ") BRepLib_CheckCurveOnSurface; BRepLib_CheckCurveOnSurface(const TopoDS_Edge & theEdge, const TopoDS_Face & theFace); - /****************** Curve ******************/ - /**** md5 signature: 62a16889fb975efa1b2de012099c169b ****/ - %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns source 3d-curve. - -Returns -------- -opencascade::handle -") Curve; - const opencascade::handle & Curve(); - /****************** ErrorStatus ******************/ /**** md5 signature: 23ccaf4f25108c0b871675cdf964cbf6 ****/ %feature("compactdefaultargs") ErrorStatus; @@ -851,69 +873,21 @@ float ") MaxParameter; Standard_Real MaxParameter(); - /****************** PCurve ******************/ - /**** md5 signature: 02216b6aba2c78f7fc310936f46a0781 ****/ - %feature("compactdefaultargs") PCurve; - %feature("autodoc", "Returns mine 2d-curve. - -Returns -------- -opencascade::handle -") PCurve; - const opencascade::handle & PCurve(); - - /****************** PCurve2 ******************/ - /**** md5 signature: 59fdc85af76719d116ff8e4e51299a26 ****/ - %feature("compactdefaultargs") PCurve2; - %feature("autodoc", "Returns 2nd 2d-curve (if it exists, e.g. for seam-edge). - -Returns -------- -opencascade::handle -") PCurve2; - const opencascade::handle & PCurve2(); - /****************** Perform ******************/ - /**** md5 signature: be005fa96430b01dfd3d5c428d6ad6e3 ****/ + /**** md5 signature: 7c48e222647f30c71b37ef8e0a2cdb24 ****/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs the calculation if isthemultytheaddisabled == true then computation will be made without any parallelization. + %feature("autodoc", "Performs the calculation if ismultithread == standard_true then computation will be performed in parallel. Parameters ---------- -isTheMultyTheradDisabled: bool,optional +isMultiThread: bool,optional default value is Standard_False Returns ------- None ") Perform; - void Perform(const Standard_Boolean isTheMultyTheradDisabled = Standard_False); - - /****************** Range ******************/ - /**** md5 signature: d6d291eeedf26e22d25b030eceff7dfa ****/ - %feature("compactdefaultargs") Range; - %feature("autodoc", "Returns first and last parameter of the curves (2d- and 3d-curves are considered to have same range). - -Parameters ----------- - -Returns -------- -theFirst: float -theLast: float -") Range; - void Range(Standard_Real &OutValue, Standard_Real &OutValue); - - /****************** Surface ******************/ - /**** md5 signature: 3aa31a6d63da8a25f018cf96599c0928 ****/ - %feature("compactdefaultargs") Surface; - %feature("autodoc", "Returns source surface. - -Returns -------- -opencascade::handle -") Surface; - const opencascade::handle & Surface(); + void Perform(const Standard_Boolean isMultiThread = Standard_False); }; @@ -980,7 +954,7 @@ None /****************** BRepLib_FindSurface ******************/ /**** md5 signature: b8cba8dda11d30fdcb78d4560e9a7962 ****/ %feature("compactdefaultargs") BRepLib_FindSurface; - %feature("autodoc", "Computes the surface from the edges of with the given tolerance. if is true, the computed surface will be a plane. if it is not possible to find a plane, the flag notdone will be set. if is true, then s sould be a wire and the existing surface, on which wire s is not closed in 2d, will be ignored. + %feature("autodoc", "Computes the surface from the edges of with the given tolerance. if is true, the computed surface will be a plane. if it is not possible to find a plane, the flag notdone will be set. if is true, then s should be a wire and the existing surface, on which wire s is not closed in 2d, will be ignored. Parameters ---------- @@ -1023,7 +997,7 @@ bool /****************** Init ******************/ /**** md5 signature: ffdff77a564b351561b3277d0ad3c0f6 ****/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Computes the surface from the edges of with the given tolerance. if is true, the computed surface will be a plane. if it is not possible to find a plane, the flag notdone will be set. if is true, then s sould be a wire and the existing surface, on which wire s is not closed in 2d, will be ignored. + %feature("autodoc", "Computes the surface from the edges of with the given tolerance. if is true, the computed surface will be a plane. if it is not possible to find a plane, the flag notdone will be set. if is true, then s should be a wire and the existing surface, on which wire s is not closed in 2d, will be ignored. Parameters ---------- @@ -1234,6 +1208,129 @@ TopoDS_Shape } }; +/***************************** +* class BRepLib_ValidateEdge * +*****************************/ +class BRepLib_ValidateEdge { + public: + /****************** BRepLib_ValidateEdge ******************/ + /**** md5 signature: 743d4b813a0a60f0a8f03719aecc2eb8 ****/ + %feature("compactdefaultargs") BRepLib_ValidateEdge; + %feature("autodoc", "Initialization constructor. + +Parameters +---------- +theReferenceCurve: Adaptor3d_Curve +theOtherCurve: Adaptor3d_CurveOnSurface +theSameParameter: bool + +Returns +------- +None +") BRepLib_ValidateEdge; + BRepLib_ValidateEdge(const opencascade::handle theReferenceCurve, const opencascade::handle theOtherCurve, Standard_Boolean theSameParameter); + + /****************** CheckTolerance ******************/ + /**** md5 signature: 5785e5be76b0b006dcca89fcac000a5f ****/ + %feature("compactdefaultargs") CheckTolerance; + %feature("autodoc", "Returns true if computed distance is less than . + +Parameters +---------- +theToleranceToCheck: float + +Returns +------- +bool +") CheckTolerance; + Standard_Boolean CheckTolerance(Standard_Real theToleranceToCheck); + + /****************** GetMaxDistance ******************/ + /**** md5 signature: 4732d2c21b2f300e493e252dd95feaf9 ****/ + %feature("compactdefaultargs") GetMaxDistance; + %feature("autodoc", "Returns max distance. + +Returns +------- +float +") GetMaxDistance; + Standard_Real GetMaxDistance(); + + /****************** IsDone ******************/ + /**** md5 signature: e82277147f75ca02ef6500d3c84de9e6 ****/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "Returns true if the distance has been found for all points. + +Returns +------- +bool +") IsDone; + Standard_Boolean IsDone(); + + /****************** Process ******************/ + /**** md5 signature: f69ec5068362d1fb1c1da24f6f943a3d ****/ + %feature("compactdefaultargs") Process; + %feature("autodoc", "Computes the max distance for the 3d curve and curve on surface . if the setexitiftoleranceexceeded() function was called before contains first greater than setexitiftoleranceexceeded() parameter value. + +Returns +------- +None +") Process; + void Process(); + + /****************** SetControlPointsNumber ******************/ + /**** md5 signature: 23357e0c62202a31f8a5a8da5865b56d ****/ + %feature("compactdefaultargs") SetControlPointsNumber; + %feature("autodoc", "Set control points number (if you need a value other than 22). + +Parameters +---------- +theControlPointsNumber: int + +Returns +------- +None +") SetControlPointsNumber; + void SetControlPointsNumber(Standard_Integer theControlPointsNumber); + + /****************** SetExitIfToleranceExceeded ******************/ + /**** md5 signature: e317acb89ec96fb57ad5d8a365a0c932 ****/ + %feature("compactdefaultargs") SetExitIfToleranceExceeded; + %feature("autodoc", "Sets the maximal allowed distance in the process() function. if the distance greater than thetoleranceforchecking the process() function stops. use this for best performance in case of checking of tolerance. + +Parameters +---------- +theToleranceForChecking: float + +Returns +------- +None +") SetExitIfToleranceExceeded; + void SetExitIfToleranceExceeded(Standard_Real theToleranceForChecking); + + /****************** UpdateTolerance ******************/ + /**** md5 signature: 041719f1b7cceef57cb2fd1857736488 ****/ + %feature("compactdefaultargs") UpdateTolerance; + %feature("autodoc", "Increase if max distance is greater than . + +Parameters +---------- + +Returns +------- +theToleranceToUpdate: float +") UpdateTolerance; + void UpdateTolerance(Standard_Real &OutValue); + +}; + + +%extend BRepLib_ValidateEdge { + %pythoncode { + __repr__ = _dumps_object + } +}; + /************************** * class BRepLib_MakeShape * **************************/ @@ -2863,7 +2960,7 @@ None /****************** BRepLib_MakeFace ******************/ /**** md5 signature: 5ce188b7df2a0fe70e449d0f77eb834b ****/ %feature("compactdefaultargs") BRepLib_MakeFace; - %feature("autodoc", "Load a face. usefull to add wires. + %feature("autodoc", "Load a face. useful to add wires. Parameters ---------- @@ -3495,7 +3592,7 @@ None /****************** Added ******************/ /**** md5 signature: ae76eff202ef54dd186494f9fb9a5cb0 ****/ %feature("compactdefaultargs") Added; - %feature("autodoc", "Returns true if the last vertex or point was succesfully added. + %feature("autodoc", "Returns true if the last vertex or point was successfully added. Returns ------- @@ -3755,7 +3852,7 @@ None /****************** BRepLib_MakeSolid ******************/ /**** md5 signature: d194d2606b4ba8b1988d6dbd38da4766 ****/ %feature("compactdefaultargs") BRepLib_MakeSolid; - %feature("autodoc", "Make a solid from a solid. usefull for adding later. + %feature("autodoc", "Make a solid from a solid. useful for adding later. Parameters ---------- @@ -3959,7 +4056,7 @@ None /****************** BRepLib_MakeWire ******************/ /**** md5 signature: ac5c38632b4fb819b03eb4dc3b435233 ****/ %feature("compactdefaultargs") BRepLib_MakeWire; - %feature("autodoc", "Make a wire from a wire. usefull for adding later. + %feature("autodoc", "Make a wire from a wire. useful for adding later. Parameters ---------- diff --git a/src/SWIG_files/wrapper/BRepLib.pyi b/src/SWIG_files/wrapper/BRepLib.pyi index 7ee820603..74e267eb5 100644 --- a/src/SWIG_files/wrapper/BRepLib.pyi +++ b/src/SWIG_files/wrapper/BRepLib.pyi @@ -96,6 +96,8 @@ class breplib: def BuildPCurveForEdgeOnPlane(theE: TopoDS_Edge, theF: TopoDS_Face, aC2D: Geom2d_Curve) -> bool: ... @staticmethod def CheckSameRange(E: TopoDS_Edge, Confusion: Optional[float] = 1.0e-12) -> bool: ... + @staticmethod + def ContinuityOfFaces(theEdge: TopoDS_Edge, theFace1: TopoDS_Face, theFace2: TopoDS_Face, theAngleTol: float) -> GeomAbs_Shape: ... @overload @staticmethod def EncodeRegularity(S: TopoDS_Shape, TolAng: Optional[float] = 1.0e-10) -> None: ... @@ -148,6 +150,8 @@ class breplib: @staticmethod def SortFaces(S: TopoDS_Shape, LF: TopTools_ListOfShape) -> None: ... @staticmethod + def UpdateDeflection(S: TopoDS_Shape) -> None: ... + @staticmethod def UpdateEdgeTol(E: TopoDS_Edge, MinToleranceRequest: float, MaxToleranceToCheck: float) -> bool: ... @staticmethod def UpdateEdgeTolerance(S: TopoDS_Shape, MinToleranceRequest: float, MaxToleranceToCheck: float) -> bool: ... @@ -165,17 +169,12 @@ class BRepLib_CheckCurveOnSurface: def __init__(self) -> None: ... @overload def __init__(self, theEdge: TopoDS_Edge, theFace: TopoDS_Face) -> None: ... - def Curve(self) -> Geom_Curve: ... def ErrorStatus(self) -> int: ... def Init(self, theEdge: TopoDS_Edge, theFace: TopoDS_Face) -> None: ... def IsDone(self) -> bool: ... def MaxDistance(self) -> float: ... def MaxParameter(self) -> float: ... - def PCurve(self) -> Geom2d_Curve: ... - def PCurve2(self) -> Geom2d_Curve: ... - def Perform(self, isTheMultyTheradDisabled: Optional[bool] = False) -> None: ... - def Range(self) -> Tuple[float, float]: ... - def Surface(self) -> Geom_Surface: ... + def Perform(self, isMultiThread: Optional[bool] = False) -> None: ... class BRepLib_Command: def Check(self) -> None: ... @@ -205,6 +204,16 @@ class BRepLib_FuseEdges: def SetConcatBSpl(self, theConcatBSpl: Optional[bool] = True) -> None: ... def Shape(self) -> TopoDS_Shape: ... +class BRepLib_ValidateEdge: + def __init__(self, theReferenceCurve: Adaptor3d_Curve, theOtherCurve: Adaptor3d_CurveOnSurface, theSameParameter: bool) -> None: ... + def CheckTolerance(self, theToleranceToCheck: float) -> bool: ... + def GetMaxDistance(self) -> float: ... + def IsDone(self) -> bool: ... + def Process(self) -> None: ... + def SetControlPointsNumber(self, theControlPointsNumber: int) -> None: ... + def SetExitIfToleranceExceeded(self, theToleranceForChecking: float) -> None: ... + def UpdateTolerance(self) -> float: ... + class BRepLib_MakeShape(BRepLib_Command): def Build(self) -> None: ... def DescendantFaces(self, F: TopoDS_Face) -> TopTools_ListOfShape: ... @@ -544,6 +553,7 @@ breplib_BuildCurves3d = breplib.BuildCurves3d breplib_BuildPCurveForEdgeOnPlane = breplib.BuildPCurveForEdgeOnPlane breplib_BuildPCurveForEdgeOnPlane = breplib.BuildPCurveForEdgeOnPlane breplib_CheckSameRange = breplib.CheckSameRange +breplib_ContinuityOfFaces = breplib.ContinuityOfFaces breplib_EncodeRegularity = breplib.EncodeRegularity breplib_EncodeRegularity = breplib.EncodeRegularity breplib_EncodeRegularity = breplib.EncodeRegularity @@ -563,6 +573,7 @@ breplib_SameParameter = breplib.SameParameter breplib_SameParameter = breplib.SameParameter breplib_SameRange = breplib.SameRange breplib_SortFaces = breplib.SortFaces +breplib_UpdateDeflection = breplib.UpdateDeflection breplib_UpdateEdgeTol = breplib.UpdateEdgeTol breplib_UpdateEdgeTolerance = breplib.UpdateEdgeTolerance breplib_UpdateInnerTolerances = breplib.UpdateInnerTolerances diff --git a/src/SWIG_files/wrapper/BRepMAT2d.i b/src/SWIG_files/wrapper/BRepMAT2d.i index afafe2e4d..93f7d50cd 100644 --- a/src/SWIG_files/wrapper/BRepMAT2d.i +++ b/src/SWIG_files/wrapper/BRepMAT2d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPMAT2DDOCSTRING "BRepMAT2d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepmat2d.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepmat2d.html" %enddef %module (package="OCC.Core", docstring=BREPMAT2DDOCSTRING) BRepMAT2d @@ -77,7 +77,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/BRepMesh.i b/src/SWIG_files/wrapper/BRepMesh.i index 5616a9688..975b8d15a 100644 --- a/src/SWIG_files/wrapper/BRepMesh.i +++ b/src/SWIG_files/wrapper/BRepMesh.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPMESHDOCSTRING "BRepMesh module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepmesh.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepmesh.html" %enddef %module (package="OCC.Core", docstring=BREPMESHDOCSTRING) BRepMesh @@ -59,6 +59,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepmesh.html" #include #include #include +#include #include #include #include @@ -91,6 +92,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepmesh.html" %import Geom2d.i %import Geom.i %import IMeshData.i +%import TColgp.i %pythoncode { from enum import IntEnum @@ -117,7 +119,7 @@ enum BRepMesh_DegreeOfFreedom { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BRepMesh_FactoryError(IntEnum): @@ -532,7 +534,7 @@ None /****************** IsEmpty ******************/ /**** md5 signature: d529c07ce9e12eea3222188c82b0e80b ****/ %feature("compactdefaultargs") IsEmpty; - %feature("autodoc", "Retruns true if cell filter contains no circle. + %feature("autodoc", "Returns true if cell filter contains no circle. Returns ------- @@ -959,7 +961,7 @@ None /****************** ElementsConnectedTo ******************/ /**** md5 signature: 6a0793321d2308e1d5fc176a3a016706 ****/ %feature("compactdefaultargs") ElementsConnectedTo; - %feature("autodoc", "Returns indices of elements conected to the link with the given index. @param thelinkindex index of link whose data should be retrieved. returns indices of elements conected to the link. + %feature("autodoc", "Returns indices of elements connected to the link with the given index. @param thelinkindex index of link whose data should be retrieved. returns indices of elements connected to the link. Parameters ---------- @@ -2086,7 +2088,7 @@ enum IntFlag { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class IntFlag(IntEnum): @@ -2108,7 +2110,7 @@ Same = IntFlag.Same /****************** BRepMesh_GeomTool ******************/ /**** md5 signature: ec04b4c4c9e0ee7dd6affaf9f42c0597 ****/ %feature("compactdefaultargs") BRepMesh_GeomTool; - %feature("autodoc", "Constructor. initiates discretization of the given geometric curve. @param thecurve curve to be discretized. @param thefirstparam first parameter of the curve. @param thelastparam last parameter of the curve. @param thelindeflection linear deflection. @param theangdeflection angular deflection. @param theminpointsnb minimum nuber of points to be produced. + %feature("autodoc", "Constructor. initiates discretization of the given geometric curve. @param thecurve curve to be discretized. @param thefirstparam first parameter of the curve. @param thelastparam last parameter of the curve. @param thelindeflection linear deflection. @param theangdeflection angular deflection. @param theminpointsnb minimum number of points to be produced. Parameters ---------- @@ -2129,13 +2131,13 @@ None BRepMesh_GeomTool(const BRepAdaptor_Curve & theCurve, const Standard_Real theFirstParam, const Standard_Real theLastParam, const Standard_Real theLinDeflection, const Standard_Real theAngDeflection, const Standard_Integer theMinPointsNb = 2, const Standard_Real theMinSize = Precision::Confusion()); /****************** BRepMesh_GeomTool ******************/ - /**** md5 signature: eef7ffc2e58c998ab628e4b864e7b3f9 ****/ + /**** md5 signature: d38bb75f11ee9f3b3aa475e4ac404495 ****/ %feature("compactdefaultargs") BRepMesh_GeomTool; - %feature("autodoc", "Constructor. initiates discretization of geometric curve corresponding to iso curve of the given surface. @param thesurface surface the iso curve to be taken from. @param theisotype type of iso curve to be used, u or v. @param theparamiso parameter on the surface specifying the iso curve. @param thefirstparam first parameter of the curve. @param thelastparam last parameter of the curve. @param thelindeflection linear deflection. @param theangdeflection angular deflection. @param theminpointsnb minimum nuber of points to be produced. + %feature("autodoc", "Constructor. initiates discretization of geometric curve corresponding to iso curve of the given surface. @param thesurface surface the iso curve to be taken from. @param theisotype type of iso curve to be used, u or v. @param theparamiso parameter on the surface specifying the iso curve. @param thefirstparam first parameter of the curve. @param thelastparam last parameter of the curve. @param thelindeflection linear deflection. @param theangdeflection angular deflection. @param theminpointsnb minimum number of points to be produced. Parameters ---------- -theSurface: BRepAdaptor_HSurface +theSurface: BRepAdaptor_Surface theIsoType: GeomAbs_IsoType theParamIso: float theFirstParam: float @@ -2151,7 +2153,7 @@ Returns ------- None ") BRepMesh_GeomTool; - BRepMesh_GeomTool(const opencascade::handle & theSurface, const GeomAbs_IsoType theIsoType, const Standard_Real theParamIso, const Standard_Real theFirstParam, const Standard_Real theLastParam, const Standard_Real theLinDeflection, const Standard_Real theAngDeflection, const Standard_Integer theMinPointsNb = 2, const Standard_Real theMinSize = Precision::Confusion()); + BRepMesh_GeomTool(const opencascade::handle & theSurface, const GeomAbs_IsoType theIsoType, const Standard_Real theParamIso, const Standard_Real theFirstParam, const Standard_Real theLastParam, const Standard_Real theLinDeflection, const Standard_Real theAngDeflection, const Standard_Integer theMinPointsNb = 2, const Standard_Real theMinSize = Precision::Confusion()); /****************** AddPoint ******************/ /**** md5 signature: 23339736f9d509a41c0708ffbbc4a1c0 ****/ @@ -2172,13 +2174,13 @@ int Standard_Integer AddPoint(const gp_Pnt & thePoint, const Standard_Real theParam, const Standard_Boolean theIsReplace = Standard_True); /****************** CellsCount ******************/ - /**** md5 signature: f555c3d8b5193267318e0d2960295c4f ****/ + /**** md5 signature: fe52990183566da293fd7fa3dff8d5e3 ****/ %feature("compactdefaultargs") CellsCount; %feature("autodoc", "No available documentation. Parameters ---------- -theSurface: Handle ( Adaptor3d_HSurface ) +theSurface: Handle ( Adaptor3d_Surface ) theVerticesNb: int theDeflection: float theRangeSplitter: BRepMesh_DefaultRangeSplitter * @@ -2187,7 +2189,7 @@ Returns ------- std::pair ") CellsCount; - static std::pair CellsCount(const Handle ( Adaptor3d_HSurface ) & theSurface, const Standard_Integer theVerticesNb, const Standard_Real theDeflection, const BRepMesh_DefaultRangeSplitter * theRangeSplitter); + static std::pair CellsCount(const Handle ( Adaptor3d_Surface ) & theSurface, const Standard_Integer theVerticesNb, const Standard_Real theDeflection, const BRepMesh_DefaultRangeSplitter * theRangeSplitter); /****************** NbPoints ******************/ /**** md5 signature: e92014a2f157c195ed77b7745c7eae3f ****/ @@ -2236,14 +2238,14 @@ theParam: float Standard_Boolean Value(const Standard_Integer theIndex, const Standard_Real theIsoParam, Standard_Real &OutValue, gp_Pnt & thePoint, gp_Pnt2d & theUV); /****************** Value ******************/ - /**** md5 signature: 5137ed8c7896582006a26573c7605c34 ****/ + /**** md5 signature: fbc0396de3fa600b97894c7f57e3dffd ****/ %feature("compactdefaultargs") Value; %feature("autodoc", "Gets parameters of discretization point with the given index. @param theindex index of discretization point. @param thesurface surface the curve is lying onto. @param theparam[out] parameter of the point on the curve. @param thepoint[out] discretization point. @param theuv[out] discretization point in parametric space of the surface. returns true on success, false elsewhere. Parameters ---------- theIndex: int -theSurface: BRepAdaptor_HSurface +theSurface: BRepAdaptor_Surface thePoint: gp_Pnt theUV: gp_Pnt2d @@ -2251,7 +2253,7 @@ Returns ------- theParam: float ") Value; - Standard_Boolean Value(const Standard_Integer theIndex, const opencascade::handle & theSurface, Standard_Real &OutValue, gp_Pnt & thePoint, gp_Pnt2d & theUV); + Standard_Boolean Value(const Standard_Integer theIndex, const opencascade::handle & theSurface, Standard_Real &OutValue, gp_Pnt & thePoint, gp_Pnt2d & theUV); }; @@ -2356,7 +2358,7 @@ None /****************** AddLink ******************/ /**** md5 signature: d24cd13523eaaf65a058f4a062b08f96 ****/ %feature("compactdefaultargs") AddLink; - %feature("autodoc", "Adds new link to mesh. updates link index and link orientaion parameters. + %feature("autodoc", "Adds new link to mesh. updates link index and link orientation parameters. Parameters ---------- @@ -2671,7 +2673,7 @@ int /****************** IsEqual ******************/ /**** md5 signature: 1a1e5601f44f2e973a1227eedc8ed008 ****/ %feature("compactdefaultargs") IsEqual; - %feature("autodoc", "Checks this and other edge for equality. @param theother edge to be checked against this one. @retrun true if edges have the same orientation, false if not. + %feature("autodoc", "Checks this and other edge for equality. @param theother edge to be checked against this one. returns true if edges have the same orientation, false if not. Parameters ---------- @@ -2762,7 +2764,7 @@ None /****************** Extent ******************/ /**** md5 signature: 19453f219e568f9c5109a0fd06459e95 ****/ %feature("compactdefaultargs") Extent; - %feature("autodoc", "Returns number of initialized indeces. + %feature("autodoc", "Returns number of initialized indices. Returns ------- @@ -3572,6 +3574,83 @@ None } }; +/****************************** +* class BRepMesh_Triangulator * +******************************/ +class BRepMesh_Triangulator { + public: + /****************** BRepMesh_Triangulator ******************/ + /**** md5 signature: acefc005fa22073e6e50e1f3d9e880a2 ****/ + %feature("compactdefaultargs") BRepMesh_Triangulator; + %feature("autodoc", "Constructor. initialized tool by the given parameters. + +Parameters +---------- +theXYZs: NCollection_Vector +theWires: NCollection_List +theNorm: gp_Dir + +Returns +------- +None +") BRepMesh_Triangulator; + BRepMesh_Triangulator(const NCollection_Vector & theXYZs, const NCollection_List & theWires, const gp_Dir & theNorm); + + /****************** Perform ******************/ + /**** md5 signature: c533ed821316fe1176fce590cecfd805 ****/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "Performs triangulation of source wires and stores triangles the output list. + +Parameters +---------- +thePolyTriangles: NCollection_List + +Returns +------- +bool +") Perform; + Standard_Boolean Perform(NCollection_List & thePolyTriangles); + + /****************** SetMessenger ******************/ + /**** md5 signature: 64d8b30fe8bddfb6111cbf1a0e26e584 ****/ + %feature("compactdefaultargs") SetMessenger; + %feature("autodoc", "Set messenger for output information without this message::defaultmessenger() will be used. + +Parameters +---------- +theMess: Message_Messenger + +Returns +------- +None +") SetMessenger; + void SetMessenger(const opencascade::handle & theMess); + + /****************** ToPolyTriangulation ******************/ + /**** md5 signature: f294791c79f89b5907206362dfc74a77 ****/ + %feature("compactdefaultargs") ToPolyTriangulation; + %feature("autodoc", "Performs conversion of the given list of triangles to poly_triangulation. + +Parameters +---------- +theNodes: TColgp_Array1OfPnt +thePolyTriangles: NCollection_List + +Returns +------- +opencascade::handle +") ToPolyTriangulation; + static opencascade::handle ToPolyTriangulation(const TColgp_Array1OfPnt & theNodes, const NCollection_List & thePolyTriangles); + +}; + + +%extend BRepMesh_Triangulator { + %pythoncode { + __repr__ = _dumps_object + } +}; + /************************ * class BRepMesh_Vertex * ************************/ @@ -4275,7 +4354,7 @@ bool /****************** IsSameOrientation ******************/ /**** md5 signature: 89af0bb4a997d047c8d1bc9628fad9dd ****/ %feature("compactdefaultargs") IsSameOrientation; - %feature("autodoc", "Checks if the given edge and this one have the same orientation. @param theother edge to be checked against this one. etrun true if edges have the same orientation, false if not. + %feature("autodoc", "Checks if the given edge and this one have the same orientation. @param theother edge to be checked against this one. eturn true if edges have the same orientation, false if not. Parameters ---------- @@ -4468,7 +4547,7 @@ IMeshTools_Parameters /****************** Perform ******************/ /**** md5 signature: 0c284a2ff880da6562c1121fb4e216b7 ****/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs meshing ot the shape. + %feature("autodoc", "Performs meshing of the shape. Parameters ---------- diff --git a/src/SWIG_files/wrapper/BRepMesh.pyi b/src/SWIG_files/wrapper/BRepMesh.pyi index 74a070bbc..75a63dfa0 100644 --- a/src/SWIG_files/wrapper/BRepMesh.pyi +++ b/src/SWIG_files/wrapper/BRepMesh.pyi @@ -19,6 +19,7 @@ from OCC.Core.TopLoc import * from OCC.Core.Geom2d import * from OCC.Core.Geom import * from OCC.Core.IMeshData import * +from OCC.Core.TColgp import * class BRepMesh_FactoryError(IntEnum): @@ -191,17 +192,17 @@ class BRepMesh_GeomTool: @overload def __init__(self, theCurve: BRepAdaptor_Curve, theFirstParam: float, theLastParam: float, theLinDeflection: float, theAngDeflection: float, theMinPointsNb: Optional[int] = 2, theMinSize: Optional[float] = precision_Confusion()) -> None: ... @overload - def __init__(self, theSurface: BRepAdaptor_HSurface, theIsoType: GeomAbs_IsoType, theParamIso: float, theFirstParam: float, theLastParam: float, theLinDeflection: float, theAngDeflection: float, theMinPointsNb: Optional[int] = 2, theMinSize: Optional[float] = precision_Confusion()) -> None: ... + def __init__(self, theSurface: BRepAdaptor_Surface, theIsoType: GeomAbs_IsoType, theParamIso: float, theFirstParam: float, theLastParam: float, theLinDeflection: float, theAngDeflection: float, theMinPointsNb: Optional[int] = 2, theMinSize: Optional[float] = precision_Confusion()) -> None: ... def AddPoint(self, thePoint: gp_Pnt, theParam: float, theIsReplace: Optional[bool] = True) -> int: ... @staticmethod - def CellsCount(theSurface: Adaptor3d_HSurface, theVerticesNb: int, theDeflection: float, theRangeSplitter: BRepMesh_DefaultRangeSplitter) -> False: ... + def CellsCount(theSurface: Adaptor3d_Surface, theVerticesNb: int, theDeflection: float, theRangeSplitter: BRepMesh_DefaultRangeSplitter) -> False: ... def NbPoints(self) -> int: ... @staticmethod def SquareDeflectionOfSegment(theFirstPoint: gp_Pnt, theLastPoint: gp_Pnt, theMidPoint: gp_Pnt) -> float: ... @overload def Value(self, theIndex: int, theIsoParam: float, thePoint: gp_Pnt, theUV: gp_Pnt2d) -> Tuple[bool, float]: ... @overload - def Value(self, theIndex: int, theSurface: BRepAdaptor_HSurface, thePoint: gp_Pnt, theUV: gp_Pnt2d) -> Tuple[bool, float]: ... + def Value(self, theIndex: int, theSurface: BRepAdaptor_Surface, thePoint: gp_Pnt, theUV: gp_Pnt2d) -> Tuple[bool, float]: ... class BRepMesh_MeshAlgoFactory(IMeshTools_MeshAlgoFactory): def __init__(self) -> None: ... @@ -326,6 +327,9 @@ class BRepMesh_Triangle: def Movability(self) -> BRepMesh_DegreeOfFreedom: ... def SetMovability(self, theMovability: BRepMesh_DegreeOfFreedom) -> None: ... +class BRepMesh_Triangulator: + def SetMessenger(self, theMess: Message_Messenger) -> None: ... + class BRepMesh_Vertex: @overload def __init__(self) -> None: ... @@ -487,6 +491,7 @@ BRepMesh_ShapeTool_UpdateEdge = BRepMesh_ShapeTool.UpdateEdge BRepMesh_ShapeTool_UpdateEdge = BRepMesh_ShapeTool.UpdateEdge BRepMesh_ShapeTool_UpdateEdge = BRepMesh_ShapeTool.UpdateEdge BRepMesh_ShapeTool_UseLocation = BRepMesh_ShapeTool.UseLocation +BRepMesh_Triangulator_ToPolyTriangulation = BRepMesh_Triangulator.ToPolyTriangulation BRepMesh_VertexInspector_IsEqual = BRepMesh_VertexInspector.IsEqual BRepMesh_IncrementalMesh_Discret = BRepMesh_IncrementalMesh.Discret BRepMesh_IncrementalMesh_IsParallelDefault = BRepMesh_IncrementalMesh.IsParallelDefault diff --git a/src/SWIG_files/wrapper/BRepMeshData.i b/src/SWIG_files/wrapper/BRepMeshData.i index 1bcc3440e..db805f175 100644 --- a/src/SWIG_files/wrapper/BRepMeshData.i +++ b/src/SWIG_files/wrapper/BRepMeshData.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPMESHDATADOCSTRING "BRepMeshData module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepmeshdata.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepmeshdata.html" %enddef %module (package="OCC.Core", docstring=BREPMESHDATADOCSTRING) BRepMeshData @@ -74,7 +74,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -288,7 +288,7 @@ class BRepMeshData_Edge : public IMeshData_Edge { /****************** AddPCurve ******************/ /**** md5 signature: b0e75fdb233dd95364fad0411000ec96 ****/ %feature("compactdefaultargs") AddPCurve; - %feature("autodoc", "Adds disrete pcurve for the specifed discrete face. + %feature("autodoc", "Adds discrete pcurve for the specified discrete face. Parameters ---------- diff --git a/src/SWIG_files/wrapper/BRepOffset.i b/src/SWIG_files/wrapper/BRepOffset.i index f17e41fbf..d6800998e 100644 --- a/src/SWIG_files/wrapper/BRepOffset.i +++ b/src/SWIG_files/wrapper/BRepOffset.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPOFFSETDOCSTRING "BRepOffset module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepoffset.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepoffset.html" %enddef %module (package="OCC.Core", docstring=BREPOFFSETDOCSTRING) BRepOffset @@ -46,6 +46,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepoffset.html" #include #include #include +#include #include #include #include @@ -103,6 +104,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepoffset.html" %import TopoDS.i %import TopTools.i %import ChFiDS.i +%import Message.i %import BRepAlgo.i %import TopAbs.i %import GeomAbs.i @@ -128,6 +130,7 @@ enum BRepOffset_Error { BRepOffset_CannotTrimEdges = 6, BRepOffset_CannotFuseVertices = 7, BRepOffset_CannotExtentEdge = 8, + BRepOffset_UserBreak = 9, }; enum BRepOffsetSimple_Status { @@ -154,7 +157,7 @@ enum BRepOffset_Status { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BRepOffset_Error(IntEnum): @@ -167,6 +170,7 @@ class BRepOffset_Error(IntEnum): BRepOffset_CannotTrimEdges = 6 BRepOffset_CannotFuseVertices = 7 BRepOffset_CannotExtentEdge = 8 + BRepOffset_UserBreak = 9 BRepOffset_NoError = BRepOffset_Error.BRepOffset_NoError BRepOffset_UnknownError = BRepOffset_Error.BRepOffset_UnknownError BRepOffset_BadNormalsOnGeometry = BRepOffset_Error.BRepOffset_BadNormalsOnGeometry @@ -176,6 +180,7 @@ BRepOffset_NotConnectedShell = BRepOffset_Error.BRepOffset_NotConnectedShell BRepOffset_CannotTrimEdges = BRepOffset_Error.BRepOffset_CannotTrimEdges BRepOffset_CannotFuseVertices = BRepOffset_Error.BRepOffset_CannotFuseVertices BRepOffset_CannotExtentEdge = BRepOffset_Error.BRepOffset_CannotExtentEdge +BRepOffset_UserBreak = BRepOffset_Error.BRepOffset_UserBreak class BRepOffsetSimple_Status(IntEnum): BRepOffsetSimple_OK = 0 @@ -554,7 +559,7 @@ TopTools_ListOfShape const TopTools_ListOfShape & NewFaces(); /****************** Perform ******************/ - /**** md5 signature: c355917b7e1bcc75a618007be133da6b ****/ + /**** md5 signature: 15379b06ecba8382979b6910520f10b4 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs the analysis. @@ -562,12 +567,14 @@ Parameters ---------- theS: TopoDS_Shape theAngle: float +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() Returns ------- None ") Perform; - void Perform(const TopoDS_Shape & theS, const Standard_Real theAngle); + void Perform(const TopoDS_Shape & theS, const Standard_Real theAngle, const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** SetFaceOffsetMap ******************/ /**** md5 signature: c0dee5c14e1fc5e4f89a0d54179182fd ****/ @@ -646,7 +653,7 @@ BRepOffset_ListOfInterval class BRepOffset_Inter2d { public: /****************** Compute ******************/ - /**** md5 signature: bde03ec66a797cb4685832503e894f02 ****/ + /**** md5 signature: 8676c4f6ddf0fb8dbe22fb366209c8f2 ****/ %feature("compactdefaultargs") Compute; %feature("autodoc", "Computes the intersections between the edges stored is asdes as descendants of . intersections is computed between two edges if one of them is bound in newedges. when all faces of the shape are treated the intersection vertices have to be fused using the fusevertices method. thedmvv contains the vertices that should be fused. @@ -658,15 +665,16 @@ NewEdges: TopTools_IndexedMapOfShape Tol: float theEdgeIntEdges: TopTools_DataMapOfShapeListOfShape theDMVV: TopTools_IndexedDataMapOfShapeListOfShape +theRange: Message_ProgressRange Returns ------- None ") Compute; - static void Compute(const opencascade::handle & AsDes, const TopoDS_Face & F, const TopTools_IndexedMapOfShape & NewEdges, const Standard_Real Tol, const TopTools_DataMapOfShapeListOfShape & theEdgeIntEdges, TopTools_IndexedDataMapOfShapeListOfShape & theDMVV); + static void Compute(const opencascade::handle & AsDes, const TopoDS_Face & F, const TopTools_IndexedMapOfShape & NewEdges, const Standard_Real Tol, const TopTools_DataMapOfShapeListOfShape & theEdgeIntEdges, TopTools_IndexedDataMapOfShapeListOfShape & theDMVV, const Message_ProgressRange & theRange); /****************** ConnexIntByInt ******************/ - /**** md5 signature: 9542f85ef2c6d8783402b4d5f6bb0b58 ****/ + /**** md5 signature: 1d06e218233c0cb963048a32785e6a20 ****/ %feature("compactdefaultargs") ConnexIntByInt; %feature("autodoc", "Computes the intersection between the offset edges of the . all intersection vertices will be stored in asdes2d. when all faces of the shape are treated the intersection vertices have to be fused using the fusevertices method. thedmvv contains the vertices that should be fused. @@ -685,15 +693,16 @@ FacesWithVerts: TopTools_IndexedMapOfShape theImageVV: BRepAlgo_Image theEdgeIntEdges: TopTools_DataMapOfShapeListOfShape theDMVV: TopTools_IndexedDataMapOfShapeListOfShape +theRange: Message_ProgressRange Returns ------- bool ") ConnexIntByInt; - static Standard_Boolean ConnexIntByInt(const TopoDS_Face & FI, BRepOffset_Offset & OFI, TopTools_DataMapOfShapeShape & MES, const TopTools_DataMapOfShapeShape & Build, const opencascade::handle & theAsDes, const opencascade::handle & AsDes2d, const Standard_Real Offset, const Standard_Real Tol, const BRepOffset_Analyse & Analyse, TopTools_IndexedMapOfShape & FacesWithVerts, BRepAlgo_Image & theImageVV, TopTools_DataMapOfShapeListOfShape & theEdgeIntEdges, TopTools_IndexedDataMapOfShapeListOfShape & theDMVV); + static Standard_Boolean ConnexIntByInt(const TopoDS_Face & FI, BRepOffset_Offset & OFI, TopTools_DataMapOfShapeShape & MES, const TopTools_DataMapOfShapeShape & Build, const opencascade::handle & theAsDes, const opencascade::handle & AsDes2d, const Standard_Real Offset, const Standard_Real Tol, const BRepOffset_Analyse & Analyse, TopTools_IndexedMapOfShape & FacesWithVerts, BRepAlgo_Image & theImageVV, TopTools_DataMapOfShapeListOfShape & theEdgeIntEdges, TopTools_IndexedDataMapOfShapeListOfShape & theDMVV, const Message_ProgressRange & theRange); /****************** ConnexIntByIntInVert ******************/ - /**** md5 signature: ea838c391bea9387e57a224561f2be12 ****/ + /**** md5 signature: 29b216d0fc2dd04c81eddf2b9ff0af69 ****/ %feature("compactdefaultargs") ConnexIntByIntInVert; %feature("autodoc", "Computes the intersection between the offset edges generated from vertices and stored into asdes as descendants of the . all intersection vertices will be stored in asdes2d. when all faces of the shape are treated the intersection vertices have to be fused using the fusevertices method. thedmvv contains the vertices that should be fused. @@ -708,12 +717,13 @@ AsDes2d: BRepAlgo_AsDes Tol: float Analyse: BRepOffset_Analyse theDMVV: TopTools_IndexedDataMapOfShapeListOfShape +theRange: Message_ProgressRange Returns ------- None ") ConnexIntByIntInVert; - static void ConnexIntByIntInVert(const TopoDS_Face & FI, BRepOffset_Offset & OFI, TopTools_DataMapOfShapeShape & MES, const TopTools_DataMapOfShapeShape & Build, const opencascade::handle & AsDes, const opencascade::handle & AsDes2d, const Standard_Real Tol, const BRepOffset_Analyse & Analyse, TopTools_IndexedDataMapOfShapeListOfShape & theDMVV); + static void ConnexIntByIntInVert(const TopoDS_Face & FI, BRepOffset_Offset & OFI, TopTools_DataMapOfShapeShape & MES, const TopTools_DataMapOfShapeShape & Build, const opencascade::handle & AsDes, const opencascade::handle & AsDes2d, const Standard_Real Tol, const BRepOffset_Analyse & Analyse, TopTools_IndexedDataMapOfShapeListOfShape & theDMVV, const Message_ProgressRange & theRange); /****************** ExtentEdge ******************/ /**** md5 signature: b18af25b66d4abbae97b9437f24da597 ****/ @@ -764,13 +774,13 @@ bool class BRepOffset_Inter3d { public: /****************** BRepOffset_Inter3d ******************/ - /**** md5 signature: 9fd66aef3ebdcf13bcde09e6d645c2ee ****/ + /**** md5 signature: a50e9a2c6e0d91514a6703132cf5226e ****/ %feature("compactdefaultargs") BRepOffset_Inter3d; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Constructor. Parameters ---------- -AsDes: BRepAlgo_AsDes +AsDes: Handle ( BRepAlgo_AsDes ) Side: TopAbs_State Tol: float @@ -778,36 +788,10 @@ Returns ------- None ") BRepOffset_Inter3d; - BRepOffset_Inter3d(const opencascade::handle & AsDes, const TopAbs_State Side, const Standard_Real Tol); - - /****************** AddCommonEdges ******************/ - /**** md5 signature: 3a1075fa148914bfe74048a60d117c64 ****/ - %feature("compactdefaultargs") AddCommonEdges; - %feature("autodoc", "No available documentation. - -Parameters ----------- -SetOfFaces: TopTools_ListOfShape - -Returns -------- -None -") AddCommonEdges; - void AddCommonEdges(const TopTools_ListOfShape & SetOfFaces); - - /****************** AsDes ******************/ - /**** md5 signature: 6803275846107842748239bc71773529 ****/ - %feature("compactdefaultargs") AsDes; - %feature("autodoc", "No available documentation. - -Returns -------- -opencascade::handle -") AsDes; - opencascade::handle AsDes(); + BRepOffset_Inter3d(const Handle ( BRepAlgo_AsDes ) & AsDes, const TopAbs_State Side, const Standard_Real Tol); /****************** CompletInt ******************/ - /**** md5 signature: 2133be53edd37d3e3641e3d39b4f050d ****/ + /**** md5 signature: 3d14748ac531a357f6f40197c38eda01 ****/ %feature("compactdefaultargs") CompletInt; %feature("autodoc", "No available documentation. @@ -815,17 +799,18 @@ Parameters ---------- SetOfFaces: TopTools_ListOfShape InitOffsetFace: BRepAlgo_Image +theRange: Message_ProgressRange Returns ------- None ") CompletInt; - void CompletInt(const TopTools_ListOfShape & SetOfFaces, const BRepAlgo_Image & InitOffsetFace); + void CompletInt(const TopTools_ListOfShape & SetOfFaces, const BRepAlgo_Image & InitOffsetFace, const Message_ProgressRange & theRange); /****************** ConnexIntByArc ******************/ - /**** md5 signature: 48b7695a5a1df82b4be43f9aeb6a0fce ****/ + /**** md5 signature: 04b429aa49d7537664fab974813577f7 ****/ %feature("compactdefaultargs") ConnexIntByArc; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Computes connections of the offset faces that have to be connected by arcs. Parameters ---------- @@ -833,17 +818,18 @@ SetOfFaces: TopTools_ListOfShape ShapeInit: TopoDS_Shape Analyse: BRepOffset_Analyse InitOffsetFace: BRepAlgo_Image +theRange: Message_ProgressRange Returns ------- None ") ConnexIntByArc; - void ConnexIntByArc(const TopTools_ListOfShape & SetOfFaces, const TopoDS_Shape & ShapeInit, const BRepOffset_Analyse & Analyse, const BRepAlgo_Image & InitOffsetFace); + void ConnexIntByArc(const TopTools_ListOfShape & SetOfFaces, const TopoDS_Shape & ShapeInit, const BRepOffset_Analyse & Analyse, const BRepAlgo_Image & InitOffsetFace, const Message_ProgressRange & theRange); /****************** ConnexIntByInt ******************/ - /**** md5 signature: 8e70f0e8b2d959b5b32aeb39f7f9d09f ****/ + /**** md5 signature: 0076ca9fe52ebefcccba69f1a02c3046 ****/ %feature("compactdefaultargs") ConnexIntByInt; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Computes intersection of the offset faces that have to be connected by sharp edges, i.e. it computes intersection between extended offset faces. Parameters ---------- @@ -853,6 +839,7 @@ A: BRepOffset_Analyse MES: TopTools_DataMapOfShapeShape Build: TopTools_DataMapOfShapeShape Failed: TopTools_ListOfShape +theRange: Message_ProgressRange bIsPlanar: bool,optional default value is Standard_False @@ -860,12 +847,12 @@ Returns ------- None ") ConnexIntByInt; - void ConnexIntByInt(const TopoDS_Shape & SI, const BRepOffset_DataMapOfShapeOffset & MapSF, const BRepOffset_Analyse & A, TopTools_DataMapOfShapeShape & MES, TopTools_DataMapOfShapeShape & Build, TopTools_ListOfShape & Failed, const Standard_Boolean bIsPlanar = Standard_False); + void ConnexIntByInt(const TopoDS_Shape & SI, const BRepOffset_DataMapOfShapeOffset & MapSF, const BRepOffset_Analyse & A, TopTools_DataMapOfShapeShape & MES, TopTools_DataMapOfShapeShape & Build, TopTools_ListOfShape & Failed, const Message_ProgressRange & theRange, const Standard_Boolean bIsPlanar = Standard_False); /****************** ContextIntByArc ******************/ - /**** md5 signature: bce31c968a516813d7fb1b570dd93e23 ****/ + /**** md5 signature: 77469bdfc3371b922103cfe1e74b59c6 ****/ %feature("compactdefaultargs") ContextIntByArc; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Computes connections of the not offset faces that have to be connected by arcs. Parameters ---------- @@ -874,17 +861,18 @@ ExtentContext: bool Analyse: BRepOffset_Analyse InitOffsetFace: BRepAlgo_Image InitOffsetEdge: BRepAlgo_Image +theRange: Message_ProgressRange Returns ------- None ") ContextIntByArc; - void ContextIntByArc(const TopTools_IndexedMapOfShape & ContextFaces, const Standard_Boolean ExtentContext, const BRepOffset_Analyse & Analyse, const BRepAlgo_Image & InitOffsetFace, BRepAlgo_Image & InitOffsetEdge); + void ContextIntByArc(const TopTools_IndexedMapOfShape & ContextFaces, const Standard_Boolean ExtentContext, const BRepOffset_Analyse & Analyse, const BRepAlgo_Image & InitOffsetFace, BRepAlgo_Image & InitOffsetEdge, const Message_ProgressRange & theRange); /****************** ContextIntByInt ******************/ - /**** md5 signature: d7d4d8ad021ac6ded14d065090cec7fe ****/ + /**** md5 signature: ae35b5925db57bda395571dcc47d3c11 ****/ %feature("compactdefaultargs") ContextIntByInt; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Computes intersection with not offset faces . Parameters ---------- @@ -895,6 +883,7 @@ A: BRepOffset_Analyse MES: TopTools_DataMapOfShapeShape Build: TopTools_DataMapOfShapeShape Failed: TopTools_ListOfShape +theRange: Message_ProgressRange bIsPlanar: bool,optional default value is Standard_False @@ -902,12 +891,12 @@ Returns ------- None ") ContextIntByInt; - void ContextIntByInt(const TopTools_IndexedMapOfShape & ContextFaces, const Standard_Boolean ExtentContext, const BRepOffset_DataMapOfShapeOffset & MapSF, const BRepOffset_Analyse & A, TopTools_DataMapOfShapeShape & MES, TopTools_DataMapOfShapeShape & Build, TopTools_ListOfShape & Failed, const Standard_Boolean bIsPlanar = Standard_False); + void ContextIntByInt(const TopTools_IndexedMapOfShape & ContextFaces, const Standard_Boolean ExtentContext, const BRepOffset_DataMapOfShapeOffset & MapSF, const BRepOffset_Analyse & A, TopTools_DataMapOfShapeShape & MES, TopTools_DataMapOfShapeShape & Build, TopTools_ListOfShape & Failed, const Message_ProgressRange & theRange, const Standard_Boolean bIsPlanar = Standard_False); /****************** FaceInter ******************/ /**** md5 signature: 62d9b8b2341ea348e10a9705c1e1a1d6 ****/ %feature("compactdefaultargs") FaceInter; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Computes intersection of pair of faces. Parameters ---------- @@ -924,7 +913,7 @@ None /****************** IsDone ******************/ /**** md5 signature: 8801efe525a67dac919cc689e660bf42 ****/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Checks if the pair of faces has already been treated. Parameters ---------- @@ -938,9 +927,9 @@ bool Standard_Boolean IsDone(const TopoDS_Face & F1, const TopoDS_Face & F2); /****************** NewEdges ******************/ - /**** md5 signature: a2b25cad9fda67ee995ca631566b88e7 ****/ + /**** md5 signature: 975ce143c1c9ad7032004090c4ea255a ****/ %feature("compactdefaultargs") NewEdges; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Returns new edges. Returns ------- @@ -951,7 +940,7 @@ TopTools_IndexedMapOfShape /****************** SetDone ******************/ /**** md5 signature: d9f3a39ef77387fe413720595d42df62 ****/ %feature("compactdefaultargs") SetDone; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Marks the pair of faces as already intersected. Parameters ---------- @@ -965,9 +954,9 @@ None void SetDone(const TopoDS_Face & F1, const TopoDS_Face & F2); /****************** TouchedFaces ******************/ - /**** md5 signature: c6cb7871fc937245c8cd275623b60a64 ****/ + /**** md5 signature: e1597833f2e42e18789e5809f3a43359 ****/ %feature("compactdefaultargs") TouchedFaces; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Returns touched faces. Returns ------- @@ -1121,7 +1110,7 @@ None BRepOffset_MakeLoops(); /****************** Build ******************/ - /**** md5 signature: fa75ced0f1b13af9db45939bc0b3ea40 ****/ + /**** md5 signature: a3ef36c00947a38334570c219cb36bba ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "No available documentation. @@ -1131,15 +1120,16 @@ LF: TopTools_ListOfShape AsDes: BRepAlgo_AsDes Image: BRepAlgo_Image theImageVV: BRepAlgo_Image +theRange: Message_ProgressRange Returns ------- None ") Build; - void Build(const TopTools_ListOfShape & LF, const opencascade::handle & AsDes, BRepAlgo_Image & Image, BRepAlgo_Image & theImageVV); + void Build(const TopTools_ListOfShape & LF, const opencascade::handle & AsDes, BRepAlgo_Image & Image, BRepAlgo_Image & theImageVV, const Message_ProgressRange & theRange); /****************** BuildFaces ******************/ - /**** md5 signature: c3db0e3d2792b138a1249d8591b7cf76 ****/ + /**** md5 signature: db5370c8364c7b784d98eba5f5783e25 ****/ %feature("compactdefaultargs") BuildFaces; %feature("autodoc", "No available documentation. @@ -1148,15 +1138,16 @@ Parameters LF: TopTools_ListOfShape AsDes: BRepAlgo_AsDes Image: BRepAlgo_Image +theRange: Message_ProgressRange Returns ------- None ") BuildFaces; - void BuildFaces(const TopTools_ListOfShape & LF, const opencascade::handle & AsDes, BRepAlgo_Image & Image); + void BuildFaces(const TopTools_ListOfShape & LF, const opencascade::handle & AsDes, BRepAlgo_Image & Image, const Message_ProgressRange & theRange); /****************** BuildOnContext ******************/ - /**** md5 signature: bc99175fcb78130f592a2aff740f2ff3 ****/ + /**** md5 signature: 3696d929e7c8f5753dbdac8d11ecc214 ****/ %feature("compactdefaultargs") BuildOnContext; %feature("autodoc", "No available documentation. @@ -1167,12 +1158,13 @@ Analyse: BRepOffset_Analyse AsDes: BRepAlgo_AsDes Image: BRepAlgo_Image InSide: bool +theRange: Message_ProgressRange Returns ------- None ") BuildOnContext; - void BuildOnContext(const TopTools_ListOfShape & LContext, const BRepOffset_Analyse & Analyse, const opencascade::handle & AsDes, BRepAlgo_Image & Image, const Standard_Boolean InSide); + void BuildOnContext(const TopTools_ListOfShape & LContext, const BRepOffset_Analyse & Analyse, const opencascade::handle & AsDes, BRepAlgo_Image & Image, const Standard_Boolean InSide, const Message_ProgressRange & theRange); }; @@ -1200,7 +1192,7 @@ None BRepOffset_MakeOffset(); /****************** BRepOffset_MakeOffset ******************/ - /**** md5 signature: 171c87d8e680578c0a8bc3f18e9d5b1f ****/ + /**** md5 signature: ee57348738e6773115f85db9e79ce047 ****/ %feature("compactdefaultargs") BRepOffset_MakeOffset; %feature("autodoc", "No available documentation. @@ -1221,12 +1213,14 @@ Thickening: bool,optional default value is Standard_False RemoveIntEdges: bool,optional default value is Standard_False +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() Returns ------- None ") BRepOffset_MakeOffset; - BRepOffset_MakeOffset(const TopoDS_Shape & S, const Standard_Real Offset, const Standard_Real Tol, const BRepOffset_Mode Mode = BRepOffset_Skin, const Standard_Boolean Intersection = Standard_False, const Standard_Boolean SelfInter = Standard_False, const GeomAbs_JoinType Join = GeomAbs_Arc, const Standard_Boolean Thickening = Standard_False, const Standard_Boolean RemoveIntEdges = Standard_False); + BRepOffset_MakeOffset(const TopoDS_Shape & S, const Standard_Real Offset, const Standard_Real Tol, const BRepOffset_Mode Mode = BRepOffset_Skin, const Standard_Boolean Intersection = Standard_False, const Standard_Boolean SelfInter = Standard_False, const GeomAbs_JoinType Join = GeomAbs_Arc, const Standard_Boolean Thickening = Standard_False, const Standard_Boolean RemoveIntEdges = Standard_False, const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** AddFace ******************/ /**** md5 signature: 5fecadaf3ef2e154bc4683eed0767084 ****/ @@ -1259,15 +1253,19 @@ None void AllowLinearization(const Standard_Boolean theIsAllowed); /****************** CheckInputData ******************/ - /**** md5 signature: 99b88da9ff25acb39451f2ea45c0c7aa ****/ + /**** md5 signature: 9afa07862279ffa138a4fd97c69973f1 ****/ %feature("compactdefaultargs") CheckInputData; %feature("autodoc", "Makes pre analysis of possibility offset perform. use method error() to get more information. finds first error. list of checks: 1) check for existence object with non-null offset. 2) check for connectivity in offset shell. 3) check continuity of input surfaces. 4) check for normals existence on grid. returns true if possible make computations and false otherwise. +Parameters +---------- +theRange: Message_ProgressRange + Returns ------- bool ") CheckInputData; - Standard_Boolean CheckInputData(); + Standard_Boolean CheckInputData(const Message_ProgressRange & theRange); /****************** Clear ******************/ /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ @@ -1406,26 +1404,36 @@ bool Standard_Boolean IsDone(); /****************** MakeOffsetShape ******************/ - /**** md5 signature: c28a2e07542c09a34ec888d10d3aaa98 ****/ + /**** md5 signature: 90eb5beb7eaec8a61b9373222b37bf2a ****/ %feature("compactdefaultargs") MakeOffsetShape; %feature("autodoc", "No available documentation. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") MakeOffsetShape; - void MakeOffsetShape(); + void MakeOffsetShape(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** MakeThickSolid ******************/ - /**** md5 signature: fb5906e94a5737d57bb0ef13f12dcb1e ****/ + /**** md5 signature: b65451d4fcfd016c468dfc9dd1fc4dc2 ****/ %feature("compactdefaultargs") MakeThickSolid; %feature("autodoc", "No available documentation. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") MakeThickSolid; - void MakeThickSolid(); + void MakeThickSolid(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Modified ******************/ /**** md5 signature: 5d9ac8e1ec1d1479a40fa0773fd021b0 ****/ @@ -1539,7 +1547,7 @@ None /****************** Generated ******************/ /**** md5 signature: 24159a2591570d74b47fceb984e706dd ****/ %feature("compactdefaultargs") Generated; - %feature("autodoc", "Returnes result shape for the given one (if exists). + %feature("autodoc", "Returns result shape for the given one (if exists). Parameters ---------- @@ -1647,7 +1655,7 @@ bool /****************** Modified ******************/ /**** md5 signature: 0ab0361e49e1bf256b9fc5a21ac6a9fa ****/ %feature("compactdefaultargs") Modified; - %feature("autodoc", "Returnes modified shape for the given one (if exists). + %feature("autodoc", "Returns modified shape for the given one (if exists). Parameters ---------- @@ -1767,7 +1775,7 @@ None /****************** BRepOffset_Offset ******************/ /**** md5 signature: 4a75c6b0a6934ea4df38a31848783ca4 ****/ %feature("compactdefaultargs") BRepOffset_Offset; - %feature("autodoc", "This method will be called when you want to share the edges soon generated from an other face. e.g. when two faces are tangents the common edge will generate only one edge ( no pipe). //! the map will be fill as follow: //! created(e) = e' with: e = an edge of e' = the image of e in the offseting of another face sharing e with a continuity at least g1. + %feature("autodoc", "This method will be called when you want to share the edges soon generated from an other face. e.g. when two faces are tangents the common edge will generate only one edge ( no pipe). //! the map will be fill as follow: //! created(e) = e' with: e = an edge of e' = the image of e in the offsetting of another face sharing e with a continuity at least g1. Parameters ---------- @@ -1838,7 +1846,7 @@ None /****************** BRepOffset_Offset ******************/ /**** md5 signature: 4855766d144a61e46d61e820d1f2151a ****/ %feature("compactdefaultargs") BRepOffset_Offset; - %feature("autodoc", "Tol and conti are only used if polynomial is true (used to perfrom the approximation). + %feature("autodoc", "Tol and conti are only used if polynomial is true (used to perform the approximation). Parameters ---------- @@ -1978,7 +1986,7 @@ None /****************** Init ******************/ /**** md5 signature: a55d171e913f36f0b4e55051d82643fd ****/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Tol and conti are only used if polynomial is true (used to perfrom the approximation). + %feature("autodoc", "Tol and conti are only used if polynomial is true (used to perform the approximation). Parameters ---------- @@ -2270,7 +2278,7 @@ None /****************** Deboucle3D ******************/ /**** md5 signature: 604726f64f42702b8591f042f704509e ****/ %feature("compactdefaultargs") Deboucle3D; - %feature("autodoc", "Remove the non valid part of an offsetshape 1 - remove all the free boundary and the faces connex to such edges. 2 - remove all the shapes not valid in the result (according to the side of offseting) in this verion only the first point is implemented. + %feature("autodoc", "Remove the non valid part of an offsetshape 1 - remove all the free boundary and the faces connex to such edges. 2 - remove all the shapes not valid in the result (according to the side of offsetting) in this version only the first point is implemented. Parameters ---------- diff --git a/src/SWIG_files/wrapper/BRepOffset.pyi b/src/SWIG_files/wrapper/BRepOffset.pyi index bfe13b06f..89a5e3e15 100644 --- a/src/SWIG_files/wrapper/BRepOffset.pyi +++ b/src/SWIG_files/wrapper/BRepOffset.pyi @@ -7,6 +7,7 @@ from OCC.Core.Geom import * from OCC.Core.TopoDS import * from OCC.Core.TopTools import * from OCC.Core.ChFiDS import * +from OCC.Core.Message import * from OCC.Core.BRepAlgo import * from OCC.Core.TopAbs import * from OCC.Core.GeomAbs import * @@ -41,6 +42,7 @@ class BRepOffset_Error(IntEnum): BRepOffset_CannotTrimEdges: int = ... BRepOffset_CannotFuseVertices: int = ... BRepOffset_CannotExtentEdge: int = ... + BRepOffset_UserBreak: int = ... BRepOffset_NoError = BRepOffset_Error.BRepOffset_NoError BRepOffset_UnknownError = BRepOffset_Error.BRepOffset_UnknownError @@ -51,6 +53,7 @@ BRepOffset_NotConnectedShell = BRepOffset_Error.BRepOffset_NotConnectedShell BRepOffset_CannotTrimEdges = BRepOffset_Error.BRepOffset_CannotTrimEdges BRepOffset_CannotFuseVertices = BRepOffset_Error.BRepOffset_CannotFuseVertices BRepOffset_CannotExtentEdge = BRepOffset_Error.BRepOffset_CannotExtentEdge +BRepOffset_UserBreak = BRepOffset_Error.BRepOffset_UserBreak class BRepOffsetSimple_Status(IntEnum): BRepOffsetSimple_OK: int = ... @@ -119,7 +122,7 @@ class BRepOffset_Analyse: def HasGenerated(self, theS: TopoDS_Shape) -> bool: ... def IsDone(self) -> bool: ... def NewFaces(self) -> TopTools_ListOfShape: ... - def Perform(self, theS: TopoDS_Shape, theAngle: float) -> None: ... + def Perform(self, theS: TopoDS_Shape, theAngle: float, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def SetFaceOffsetMap(self, theMap: TopTools_DataMapOfShapeReal) -> None: ... def SetOffsetValue(self, theOffset: float) -> None: ... def TangentEdges(self, theEdge: TopoDS_Edge, theVertex: TopoDS_Vertex, theEdges: TopTools_ListOfShape) -> None: ... @@ -127,25 +130,24 @@ class BRepOffset_Analyse: class BRepOffset_Inter2d: @staticmethod - def Compute(AsDes: BRepAlgo_AsDes, F: TopoDS_Face, NewEdges: TopTools_IndexedMapOfShape, Tol: float, theEdgeIntEdges: TopTools_DataMapOfShapeListOfShape, theDMVV: TopTools_IndexedDataMapOfShapeListOfShape) -> None: ... + def Compute(AsDes: BRepAlgo_AsDes, F: TopoDS_Face, NewEdges: TopTools_IndexedMapOfShape, Tol: float, theEdgeIntEdges: TopTools_DataMapOfShapeListOfShape, theDMVV: TopTools_IndexedDataMapOfShapeListOfShape, theRange: Message_ProgressRange) -> None: ... @staticmethod - def ConnexIntByInt(FI: TopoDS_Face, OFI: BRepOffset_Offset, MES: TopTools_DataMapOfShapeShape, Build: TopTools_DataMapOfShapeShape, theAsDes: BRepAlgo_AsDes, AsDes2d: BRepAlgo_AsDes, Offset: float, Tol: float, Analyse: BRepOffset_Analyse, FacesWithVerts: TopTools_IndexedMapOfShape, theImageVV: BRepAlgo_Image, theEdgeIntEdges: TopTools_DataMapOfShapeListOfShape, theDMVV: TopTools_IndexedDataMapOfShapeListOfShape) -> bool: ... + def ConnexIntByInt(FI: TopoDS_Face, OFI: BRepOffset_Offset, MES: TopTools_DataMapOfShapeShape, Build: TopTools_DataMapOfShapeShape, theAsDes: BRepAlgo_AsDes, AsDes2d: BRepAlgo_AsDes, Offset: float, Tol: float, Analyse: BRepOffset_Analyse, FacesWithVerts: TopTools_IndexedMapOfShape, theImageVV: BRepAlgo_Image, theEdgeIntEdges: TopTools_DataMapOfShapeListOfShape, theDMVV: TopTools_IndexedDataMapOfShapeListOfShape, theRange: Message_ProgressRange) -> bool: ... @staticmethod - def ConnexIntByIntInVert(FI: TopoDS_Face, OFI: BRepOffset_Offset, MES: TopTools_DataMapOfShapeShape, Build: TopTools_DataMapOfShapeShape, AsDes: BRepAlgo_AsDes, AsDes2d: BRepAlgo_AsDes, Tol: float, Analyse: BRepOffset_Analyse, theDMVV: TopTools_IndexedDataMapOfShapeListOfShape) -> None: ... + def ConnexIntByIntInVert(FI: TopoDS_Face, OFI: BRepOffset_Offset, MES: TopTools_DataMapOfShapeShape, Build: TopTools_DataMapOfShapeShape, AsDes: BRepAlgo_AsDes, AsDes2d: BRepAlgo_AsDes, Tol: float, Analyse: BRepOffset_Analyse, theDMVV: TopTools_IndexedDataMapOfShapeListOfShape, theRange: Message_ProgressRange) -> None: ... @staticmethod def ExtentEdge(E: TopoDS_Edge, NE: TopoDS_Edge, theOffset: float) -> bool: ... @staticmethod def FuseVertices(theDMVV: TopTools_IndexedDataMapOfShapeListOfShape, theAsDes: BRepAlgo_AsDes, theImageVV: BRepAlgo_Image) -> bool: ... class BRepOffset_Inter3d: + @overload def __init__(self, AsDes: BRepAlgo_AsDes, Side: TopAbs_State, Tol: float) -> None: ... - def AddCommonEdges(self, SetOfFaces: TopTools_ListOfShape) -> None: ... - def AsDes(self) -> BRepAlgo_AsDes: ... - def CompletInt(self, SetOfFaces: TopTools_ListOfShape, InitOffsetFace: BRepAlgo_Image) -> None: ... - def ConnexIntByArc(self, SetOfFaces: TopTools_ListOfShape, ShapeInit: TopoDS_Shape, Analyse: BRepOffset_Analyse, InitOffsetFace: BRepAlgo_Image) -> None: ... - def ConnexIntByInt(self, SI: TopoDS_Shape, MapSF: BRepOffset_DataMapOfShapeOffset, A: BRepOffset_Analyse, MES: TopTools_DataMapOfShapeShape, Build: TopTools_DataMapOfShapeShape, Failed: TopTools_ListOfShape, bIsPlanar: Optional[bool] = False) -> None: ... - def ContextIntByArc(self, ContextFaces: TopTools_IndexedMapOfShape, ExtentContext: bool, Analyse: BRepOffset_Analyse, InitOffsetFace: BRepAlgo_Image, InitOffsetEdge: BRepAlgo_Image) -> None: ... - def ContextIntByInt(self, ContextFaces: TopTools_IndexedMapOfShape, ExtentContext: bool, MapSF: BRepOffset_DataMapOfShapeOffset, A: BRepOffset_Analyse, MES: TopTools_DataMapOfShapeShape, Build: TopTools_DataMapOfShapeShape, Failed: TopTools_ListOfShape, bIsPlanar: Optional[bool] = False) -> None: ... + def CompletInt(self, SetOfFaces: TopTools_ListOfShape, InitOffsetFace: BRepAlgo_Image, theRange: Message_ProgressRange) -> None: ... + def ConnexIntByArc(self, SetOfFaces: TopTools_ListOfShape, ShapeInit: TopoDS_Shape, Analyse: BRepOffset_Analyse, InitOffsetFace: BRepAlgo_Image, theRange: Message_ProgressRange) -> None: ... + def ConnexIntByInt(self, SI: TopoDS_Shape, MapSF: BRepOffset_DataMapOfShapeOffset, A: BRepOffset_Analyse, MES: TopTools_DataMapOfShapeShape, Build: TopTools_DataMapOfShapeShape, Failed: TopTools_ListOfShape, theRange: Message_ProgressRange, bIsPlanar: Optional[bool] = False) -> None: ... + def ContextIntByArc(self, ContextFaces: TopTools_IndexedMapOfShape, ExtentContext: bool, Analyse: BRepOffset_Analyse, InitOffsetFace: BRepAlgo_Image, InitOffsetEdge: BRepAlgo_Image, theRange: Message_ProgressRange) -> None: ... + def ContextIntByInt(self, ContextFaces: TopTools_IndexedMapOfShape, ExtentContext: bool, MapSF: BRepOffset_DataMapOfShapeOffset, A: BRepOffset_Analyse, MES: TopTools_DataMapOfShapeShape, Build: TopTools_DataMapOfShapeShape, Failed: TopTools_ListOfShape, theRange: Message_ProgressRange, bIsPlanar: Optional[bool] = False) -> None: ... def FaceInter(self, F1: TopoDS_Face, F2: TopoDS_Face, InitOffsetFace: BRepAlgo_Image) -> None: ... def IsDone(self, F1: TopoDS_Face, F2: TopoDS_Face) -> bool: ... def NewEdges(self) -> TopTools_IndexedMapOfShape: ... @@ -172,18 +174,18 @@ class BRepOffset_Interval: class BRepOffset_MakeLoops: def __init__(self) -> None: ... - def Build(self, LF: TopTools_ListOfShape, AsDes: BRepAlgo_AsDes, Image: BRepAlgo_Image, theImageVV: BRepAlgo_Image) -> None: ... - def BuildFaces(self, LF: TopTools_ListOfShape, AsDes: BRepAlgo_AsDes, Image: BRepAlgo_Image) -> None: ... - def BuildOnContext(self, LContext: TopTools_ListOfShape, Analyse: BRepOffset_Analyse, AsDes: BRepAlgo_AsDes, Image: BRepAlgo_Image, InSide: bool) -> None: ... + def Build(self, LF: TopTools_ListOfShape, AsDes: BRepAlgo_AsDes, Image: BRepAlgo_Image, theImageVV: BRepAlgo_Image, theRange: Message_ProgressRange) -> None: ... + def BuildFaces(self, LF: TopTools_ListOfShape, AsDes: BRepAlgo_AsDes, Image: BRepAlgo_Image, theRange: Message_ProgressRange) -> None: ... + def BuildOnContext(self, LContext: TopTools_ListOfShape, Analyse: BRepOffset_Analyse, AsDes: BRepAlgo_AsDes, Image: BRepAlgo_Image, InSide: bool, theRange: Message_ProgressRange) -> None: ... class BRepOffset_MakeOffset: @overload def __init__(self) -> None: ... @overload - def __init__(self, S: TopoDS_Shape, Offset: float, Tol: float, Mode: Optional[BRepOffset_Mode] = BRepOffset_Skin, Intersection: Optional[bool] = False, SelfInter: Optional[bool] = False, Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, Thickening: Optional[bool] = False, RemoveIntEdges: Optional[bool] = False) -> None: ... + def __init__(self, S: TopoDS_Shape, Offset: float, Tol: float, Mode: Optional[BRepOffset_Mode] = BRepOffset_Skin, Intersection: Optional[bool] = False, SelfInter: Optional[bool] = False, Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, Thickening: Optional[bool] = False, RemoveIntEdges: Optional[bool] = False, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def AddFace(self, F: TopoDS_Face) -> None: ... def AllowLinearization(self, theIsAllowed: bool) -> None: ... - def CheckInputData(self) -> bool: ... + def CheckInputData(self, theRange: Message_ProgressRange) -> bool: ... def Clear(self) -> None: ... def ClosingFaces(self) -> TopTools_IndexedMapOfShape: ... def Error(self) -> BRepOffset_Error: ... @@ -194,8 +196,8 @@ class BRepOffset_MakeOffset: def Initialize(self, S: TopoDS_Shape, Offset: float, Tol: float, Mode: Optional[BRepOffset_Mode] = BRepOffset_Skin, Intersection: Optional[bool] = False, SelfInter: Optional[bool] = False, Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, Thickening: Optional[bool] = False, RemoveIntEdges: Optional[bool] = False) -> None: ... def IsDeleted(self, S: TopoDS_Shape) -> bool: ... def IsDone(self) -> bool: ... - def MakeOffsetShape(self) -> None: ... - def MakeThickSolid(self) -> None: ... + def MakeOffsetShape(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... + def MakeThickSolid(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def Modified(self, theS: TopoDS_Shape) -> TopTools_ListOfShape: ... def OffsetEdgesFromShapes(self) -> BRepAlgo_Image: ... def OffsetFacesFromShapes(self) -> BRepAlgo_Image: ... diff --git a/src/SWIG_files/wrapper/BRepOffsetAPI.i b/src/SWIG_files/wrapper/BRepOffsetAPI.i index dedc40e0f..0de0f3ba2 100644 --- a/src/SWIG_files/wrapper/BRepOffsetAPI.i +++ b/src/SWIG_files/wrapper/BRepOffsetAPI.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPOFFSETAPIDOCSTRING "BRepOffsetAPI module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepoffsetapi.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepoffsetapi.html" %enddef %module (package="OCC.Core", docstring=BREPOFFSETAPIDOCSTRING) BRepOffsetAPI @@ -45,6 +45,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepoffsetapi.htm #include #include #include +#include #include #include #include @@ -106,6 +107,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepoffsetapi.htm %import BRepBuilderAPI.i %import TopoDS.i %import gp.i +%import Message.i %import TopTools.i %import Draft.i %import Geom.i @@ -125,7 +127,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -221,15 +223,20 @@ bool Standard_Boolean AddDone(); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Builds the resulting shape (redefined from makeshape). +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Clear ******************/ /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ @@ -368,7 +375,7 @@ None /****************** Status ******************/ /**** md5 signature: 26dc5cff0cd2168b2136c6f9bb9e099c ****/ %feature("compactdefaultargs") Status; - %feature("autodoc", "Returns an error status when an error has occured (face, edge or vertex recomputaion problem). otherwise returns draft_noerror. the method may be called if adddone returns standard_false, or when isdone returns standard_false. + %feature("autodoc", "Returns an error status when an error has occurred (face, edge or vertex recomputation problem). otherwise returns draft_noerror. the method may be called if adddone returns standard_false, or when isdone returns standard_false. Returns ------- @@ -801,15 +808,20 @@ TopoDS_Shape const TopoDS_Shape Bottom(); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Builds the resulting shape (redefined from makeshape). +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Evolved ******************/ /**** md5 signature: 9cd16375e762072934864900214c9cab ****/ @@ -984,15 +996,20 @@ int Standard_Integer Add(const Standard_Real U, const Standard_Real V, const TopoDS_Face & Support, const GeomAbs_Shape Order); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Builds the resulting faces. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** G0Error ******************/ /**** md5 signature: ba177a9a7bac2d394577a179fd8040ef ****/ @@ -1156,7 +1173,7 @@ None /****************** SetResolParam ******************/ /**** md5 signature: 96cad4665171fb74735ecc8d46155136 ****/ %feature("compactdefaultargs") SetResolParam; - %feature("autodoc", "Sets the parameters used for resolution. the default values of these parameters have been chosen for a good ratio quality/performance. degree: it is the order of energy criterion to minimize for computing the deformation of the surface. the default value is 3 the recommanded value is i+2 where i is the maximum order of the constraints. nbptsoncur: it is the average number of points for discretisation of the edges. nbiter: it is the maximum number of iterations of the process. for each iteration the number of discretisation points is increased. anisotropie:. + %feature("autodoc", "Sets the parameters used for resolution. the default values of these parameters have been chosen for a good ratio quality/performance. degree: it is the order of energy criterion to minimize for computing the deformation of the surface. the default value is 3 the recommended value is i+2 where i is the maximum order of the constraints. nbptsoncur: it is the average number of points for discretisation of the edges. nbiter: it is the maximum number of iterations of the process. for each iteration the number of discretisation points is increased. anisotropie:. Parameters ---------- @@ -1254,15 +1271,20 @@ None void AddWire(const TopoDS_Wire & Spine); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Builds the resulting shape (redefined from makeshape). +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Generated ******************/ /**** md5 signature: 12bed2c8d73d25dddf738c72a9352693 ****/ @@ -1301,7 +1323,7 @@ None /****************** Init ******************/ /**** md5 signature: 36efcaeec9c18f0906259d528d83ea6b ****/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initialize the evaluation of offseting. + %feature("autodoc", "Initialize the evaluation of offsetting. Parameters ---------- @@ -1358,43 +1380,21 @@ None ") BRepOffsetAPI_MakeOffsetShape; BRepOffsetAPI_MakeOffsetShape(); - /****************** BRepOffsetAPI_MakeOffsetShape ******************/ - /**** md5 signature: 8a8fe72515b618d61b455b9b1b3afd7c ****/ - %feature("compactdefaultargs") BRepOffsetAPI_MakeOffsetShape; - %feature("autodoc", "Deprecated constructor. please avoid usage of this constructor. - -Parameters ----------- -S: TopoDS_Shape -Offset: float -Tol: float -Mode: BRepOffset_Mode,optional - default value is BRepOffset_Skin -Intersection: bool,optional - default value is Standard_False -SelfInter: bool,optional - default value is Standard_False -Join: GeomAbs_JoinType,optional - default value is GeomAbs_Arc -RemoveIntEdges: bool,optional - default value is Standard_False - -Returns -------- -None -") BRepOffsetAPI_MakeOffsetShape; - BRepOffsetAPI_MakeOffsetShape(const TopoDS_Shape & S, const Standard_Real Offset, const Standard_Real Tol, const BRepOffset_Mode Mode = BRepOffset_Skin, const Standard_Boolean Intersection = Standard_False, const Standard_Boolean SelfInter = Standard_False, const GeomAbs_JoinType Join = GeomAbs_Arc, const Standard_Boolean RemoveIntEdges = Standard_False); - /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Does nothing. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Generated ******************/ /**** md5 signature: 12bed2c8d73d25dddf738c72a9352693 ****/ @@ -1464,7 +1464,7 @@ TopTools_ListOfShape virtual const TopTools_ListOfShape & Modified(const TopoDS_Shape & S); /****************** PerformByJoin ******************/ - /**** md5 signature: 6ac254a6e8ed9352884246b2f9d9a1a7 ****/ + /**** md5 signature: 95722a888d9ea1332d96f8f0377af232 ****/ %feature("compactdefaultargs") PerformByJoin; %feature("autodoc", "Constructs a shape parallel to the shape s, where - s may be a face, a shell, a solid or a compound of these shape kinds; - offset is the offset value. the offset shape is constructed: - outside s, if offset is positive, - inside s, if offset is negative; - tol defines the coincidence tolerance criterion for generated shapes; - mode defines the construction type of parallels applied to the free edges of shape s; currently, only one construction type is implemented, namely the one where the free edges do not generate parallels; this corresponds to the default value brepoffset_skin; - intersection specifies how the algorithm must work in order to limit the parallels to two adjacent shapes: - if intersection is false (default value), the intersection is calculated with the parallels to the two adjacent shapes, - if intersection is true, the intersection is calculated by taking all generated parallels into account; this computation method is more general as it avoids some self-intersections generated in the offset shape from features of small dimensions on shape s, however this method has not been completely implemented and therefore is not recommended for use; - selfinter tells the algorithm whether a computation to eliminate self-intersections must be applied to the resulting shape; however, as this functionality is not yet implemented, it is recommended to use the default value (false); - join defines how to fill the holes that may appear between parallels to the two adjacent faces. it may take values geomabs_arc or geomabs_intersection: - if join is equal to geomabs_arc, then pipes are generated between two free edges of two adjacent parallels, and spheres are generated on 'images' of vertices; it is the default value, - if join is equal to geomabs_intersection, then the parallels to the two adjacent faces are enlarged and intersected, so that there are no free edges on parallels to faces. removeintedges flag defines whether to remove the internal edges from the result or not. warnings 1. all the faces of the shape s should be based on the surfaces with continuity at least c1. 2. the offset value should be sufficiently small to avoid self-intersections in resulting shape. otherwise these self-intersections may appear inside an offset face if its initial surface is not plane or sphere or cylinder, also some non-adjacent offset faces may intersect each other. also, some offset surfaces may 'turn inside out'. 3. the algorithm may fail if the shape s contains vertices where more than 3 edges converge. 4. since 3d-offset algorithm involves intersection of surfaces, it is under limitations of surface intersection algorithm. 5. a result cannot be generated if the underlying geometry of s is bspline with continuity c0. exceptions geom_undefinedderivative if the underlying geometry of s is bspline with continuity c0. @@ -1483,12 +1483,14 @@ Join: GeomAbs_JoinType,optional default value is GeomAbs_Arc RemoveIntEdges: bool,optional default value is Standard_False +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() Returns ------- None ") PerformByJoin; - void PerformByJoin(const TopoDS_Shape & S, const Standard_Real Offset, const Standard_Real Tol, const BRepOffset_Mode Mode = BRepOffset_Skin, const Standard_Boolean Intersection = Standard_False, const Standard_Boolean SelfInter = Standard_False, const GeomAbs_JoinType Join = GeomAbs_Arc, const Standard_Boolean RemoveIntEdges = Standard_False); + void PerformByJoin(const TopoDS_Shape & S, const Standard_Real Offset, const Standard_Real Tol, const BRepOffset_Mode Mode = BRepOffset_Skin, const Standard_Boolean Intersection = Standard_False, const Standard_Boolean SelfInter = Standard_False, const GeomAbs_JoinType Join = GeomAbs_Arc, const Standard_Boolean RemoveIntEdges = Standard_False, const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** PerformBySimple ******************/ /**** md5 signature: 005d9d4f6366bed358be54e547e045db ****/ @@ -1556,15 +1558,20 @@ None BRepOffsetAPI_MakePipe(const TopoDS_Wire & Spine, const TopoDS_Shape & Profile, const GeomFill_Trihedron aMode, const Standard_Boolean ForceApproxC1 = Standard_False); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Builds the resulting shape (redefined from makeshape). +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** ErrorOnSurface ******************/ /**** md5 signature: b6b87ca0efc7814953c22829fefc7f65 ****/ @@ -1658,7 +1665,7 @@ class BRepOffsetAPI_MakePipeShell : public BRepPrimAPI_MakeSweep { /****************** BRepOffsetAPI_MakePipeShell ******************/ /**** md5 signature: 2de09d18cf07159481a80873b4b5d90c ****/ %feature("compactdefaultargs") BRepOffsetAPI_MakePipeShell; - %feature("autodoc", "Constructs the shell-generating framework defined by the wire spine. sets an sweep's mode if no mode are setted, the mode use in makepipe is used. + %feature("autodoc", "Constructs the shell-generating framework defined by the wire spine. sets an sweep's mode if no mode are set, the mode use in makepipe is used. Parameters ---------- @@ -1710,15 +1717,20 @@ None void Add(const TopoDS_Shape & Profile, const TopoDS_Vertex & Location, const Standard_Boolean WithContact = Standard_False, const Standard_Boolean WithCorrection = Standard_False); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Builds the resulting shape (redefined from makeshape). +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Delete ******************/ /**** md5 signature: 12e4f2f3609a7b21fcf42ba451fc7b90 ****/ @@ -1962,7 +1974,7 @@ None /****************** SetMode ******************/ /**** md5 signature: 58a4bdd8c9c0ebb3412c56dad6c67f67 ****/ %feature("compactdefaultargs") SetMode; - %feature("autodoc", "Sets a fixed binormal direction to perform the -- sweeping. angular relations beetween the section(s) and will be constant. + %feature("autodoc", "Sets a fixed binormal direction to perform the -- sweeping. angular relations between the section(s) and will be constant. Parameters ---------- @@ -1977,7 +1989,7 @@ None /****************** SetMode ******************/ /**** md5 signature: f11f503b2f352f2900bc069378318b41 ****/ %feature("compactdefaultargs") SetMode; - %feature("autodoc", "Sets support to the spine to define the binormal of the trihedron, like the normal to the surfaces. warning: to be effective, each edge of the must have an representaion on one face of. + %feature("autodoc", "Sets support to the spine to define the binormal of the trihedron, like the normal to the surfaces. warning: to be effective, each edge of the must have a representation on one face of. Parameters ---------- @@ -1992,7 +2004,7 @@ bool /****************** SetMode ******************/ /**** md5 signature: b56b51364ac5002747edc4b052d16a76 ****/ %feature("compactdefaultargs") SetMode; - %feature("autodoc", "Sets an auxiliary spine to define the normal for each point of the spine p, an point q is evalued on if q split with the same length ratio than p split . else the plan define by p and the tangent to the intersect in q. if equals brepfill_nocontact: the normal is defined by the vector pq. if equals brepfill_contact: the normal is defined to achieve that the sweeped section is in contact to the auxiliaryspine. the width of section is constant all along the path. in other words, the auxiliary spine lies on the swept surface, but not necessarily is a boundary of this surface. however, the auxiliary spine has to be close enough to the main spine to provide intersection with any section all along the path. if equals brepfill_contactonborder: the auxiliary spine becomes a boundary of the swept surface and the width of section varies along the path. give section to sweep. possibilities are : - give one or sevral section - give one profile and an homotetic law. - automatic compute of correspondance beetween spine, and section on the sweeped shape - correspondance beetween spine, and section on the sweeped shape defined by a vertex of the spine. + %feature("autodoc", "Sets an auxiliary spine to define the normal for each point of the spine p, an point q is evalued on if q split with the same length ratio than p split . else the plan define by p and the tangent to the intersect in q. if equals brepfill_nocontact: the normal is defined by the vector pq. if equals brepfill_contact: the normal is defined to achieve that the sweeped section is in contact to the auxiliaryspine. the width of section is constant all along the path. in other words, the auxiliary spine lies on the swept surface, but not necessarily is a boundary of this surface. however, the auxiliary spine has to be close enough to the main spine to provide intersection with any section all along the path. if equals brepfill_contactonborder: the auxiliary spine becomes a boundary of the swept surface and the width of section varies along the path. give section to sweep. possibilities are : - give one or sevral section - give one profile and an homotetic law. - automatic compute of correspondence between spine, and section on the sweeped shape - correspondence between spine, and section on the sweeped shape defined by a vertex of the spine. Parameters ---------- @@ -2046,7 +2058,7 @@ None /****************** Simulate ******************/ /**** md5 signature: b923147c061b5747b67b09a6323794bf ****/ %feature("compactdefaultargs") Simulate; - %feature("autodoc", "Simulates the resulting shape by calculating its cross-sections. the spine is devided by this cross-sections into (numberofsection - 1) equal parts, the number of cross-sections is numberofsection. the cross-sections are wires and they are returned in the list result. this gives a rapid preview of the resulting shape, which will be obtained using the settings you have provided. raises notdone if it is not ready. + %feature("autodoc", "Simulates the resulting shape by calculating its cross-sections. the spine is divided by this cross-sections into (numberofsection - 1) equal parts, the number of cross-sections is numberofsection. the cross-sections are wires and they are returned in the list result. this gives a rapid preview of the resulting shape, which will be obtained using the settings you have provided. raises notdone if it is not ready. Parameters ---------- @@ -2102,15 +2114,20 @@ None BRepOffsetAPI_MiddlePath(const TopoDS_Shape & aShape, const TopoDS_Shape & StartShape, const TopoDS_Shape & EndShape); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "No available documentation. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); }; @@ -2183,15 +2200,20 @@ TopoDS_Shape const TopoDS_Shape Ancestor(const TopoDS_Edge & E); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Builds the result of the projection as a compound of wires. tries to build oriented wires. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** BuildWire ******************/ /**** md5 signature: e5fb4f3952649b872b4fb3c469f5b161 ****/ @@ -2227,7 +2249,7 @@ None /****************** Couple ******************/ /**** md5 signature: cbe6db4e25bf42b45544f6235fc33773 ****/ %feature("compactdefaultargs") Couple; - %feature("autodoc", "Returns the initial face corresponding to the projected edge e. exceptions stdfail_notdone if no face was found. standard_nosuchobject if if a face corresponding to e has already been found. + %feature("autodoc", "Returns the initial face corresponding to the projected edge e. exceptions stdfail_notdone if no face was found. standard_nosuchobject if a face corresponding to e has already been found. Parameters ---------- @@ -2325,7 +2347,7 @@ None /****************** SetParams ******************/ /**** md5 signature: 145439fe62b19bd0fd3e24e9c7dd4c4d ****/ %feature("compactdefaultargs") SetParams; - %feature("autodoc", "Sets the parameters used for computation tol3 is the requiered tolerance between the 3d projected curve and its 2d representation internalcontinuity is the order of constraints used for approximation maxdeg and maxseg are the maximum degree and the maximum number of segment for bspline resulting of an approximation. + %feature("autodoc", "Sets the parameters used for computation tol3 is the required tolerance between the 3d projected curve and its 2d representation internalcontinuity is the order of constraints used for approximation maxdeg and maxseg are the maximum degree and the maximum number of segment for bspline resulting of an approximation. Parameters ---------- @@ -2406,15 +2428,20 @@ None void AddWire(const TopoDS_Wire & wire); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "No available documentation. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** CheckCompatibility ******************/ /**** md5 signature: 9d9925f6850c3d616051e8fa827482f4 ****/ @@ -2677,47 +2704,24 @@ None ") BRepOffsetAPI_MakeThickSolid; BRepOffsetAPI_MakeThickSolid(); - /****************** BRepOffsetAPI_MakeThickSolid ******************/ - /**** md5 signature: a45a9aa567bf7cf5a87b43fb0a945bcf ****/ - %feature("compactdefaultargs") BRepOffsetAPI_MakeThickSolid; - %feature("autodoc", "Deprecated constructor. please avoid usage of this constructor. - -Parameters ----------- -S: TopoDS_Shape -ClosingFaces: TopTools_ListOfShape -Offset: float -Tol: float -Mode: BRepOffset_Mode,optional - default value is BRepOffset_Skin -Intersection: bool,optional - default value is Standard_False -SelfInter: bool,optional - default value is Standard_False -Join: GeomAbs_JoinType,optional - default value is GeomAbs_Arc -RemoveIntEdges: bool,optional - default value is Standard_False - -Returns -------- -None -") BRepOffsetAPI_MakeThickSolid; - BRepOffsetAPI_MakeThickSolid(const TopoDS_Shape & S, const TopTools_ListOfShape & ClosingFaces, const Standard_Real Offset, const Standard_Real Tol, const BRepOffset_Mode Mode = BRepOffset_Skin, const Standard_Boolean Intersection = Standard_False, const Standard_Boolean SelfInter = Standard_False, const GeomAbs_JoinType Join = GeomAbs_Arc, const Standard_Boolean RemoveIntEdges = Standard_False); - /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "No available documentation. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** MakeThickSolidByJoin ******************/ - /**** md5 signature: 383198924d6bc560c2c63216873b3dfd ****/ + /**** md5 signature: dcb05ab3a700af2d16599d05a81891dd ****/ %feature("compactdefaultargs") MakeThickSolidByJoin; %feature("autodoc", "Constructs a hollowed solid from the solid s by removing the set of faces closingfaces from s, where: offset defines the thickness of the walls. its sign indicates which side of the surface of the solid the hollowed shape is built on; - tol defines the tolerance criterion for coincidence in generated shapes; - mode defines the construction type of parallels applied to free edges of shape s. currently, only one construction type is implemented, namely the one where the free edges do not generate parallels; this corresponds to the default value brepoffset_skin; intersection specifies how the algorithm must work in order to limit the parallels to two adjacent shapes: - if intersection is false (default value), the intersection is calculated with the parallels to the two adjacent shapes, - if intersection is true, the intersection is calculated by taking account of all parallels generated; this computation method is more general as it avoids self-intersections generated in the offset shape from features of small dimensions on shape s, however this method has not been completely implemented and therefore is not recommended for use; - selfinter tells the algorithm whether a computation to eliminate self-intersections needs to be applied to the resulting shape. however, as this functionality is not yet implemented, you should use the default value (false); - join defines how to fill the holes that may appear between parallels to the two adjacent faces. it may take values geomabs_arc or geomabs_intersection: - if join is equal to geomabs_arc, then pipes are generated between two free edges of two adjacent parallels, and spheres are generated on 'images' of vertices; it is the default value, - if join is equal to geomabs_intersection, then the parallels to the two adjacent faces are enlarged and intersected, so that there are no free edges on parallels to faces. removeintedges flag defines whether to remove the internal edges from the result or not. warnings since the algorithm of makethicksolid is based on makeoffsetshape algorithm, the warnings are the same as for makeoffsetshape. @@ -2737,12 +2741,14 @@ Join: GeomAbs_JoinType,optional default value is GeomAbs_Arc RemoveIntEdges: bool,optional default value is Standard_False +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() Returns ------- None ") MakeThickSolidByJoin; - void MakeThickSolidByJoin(const TopoDS_Shape & S, const TopTools_ListOfShape & ClosingFaces, const Standard_Real Offset, const Standard_Real Tol, const BRepOffset_Mode Mode = BRepOffset_Skin, const Standard_Boolean Intersection = Standard_False, const Standard_Boolean SelfInter = Standard_False, const GeomAbs_JoinType Join = GeomAbs_Arc, const Standard_Boolean RemoveIntEdges = Standard_False); + void MakeThickSolidByJoin(const TopoDS_Shape & S, const TopTools_ListOfShape & ClosingFaces, const Standard_Real Offset, const Standard_Real Tol, const BRepOffset_Mode Mode = BRepOffset_Skin, const Standard_Boolean Intersection = Standard_False, const Standard_Boolean SelfInter = Standard_False, const GeomAbs_JoinType Join = GeomAbs_Arc, const Standard_Boolean RemoveIntEdges = Standard_False, const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** MakeThickSolidBySimple ******************/ /**** md5 signature: 61ce1557142588e14d9829f511172d15 ****/ diff --git a/src/SWIG_files/wrapper/BRepOffsetAPI.pyi b/src/SWIG_files/wrapper/BRepOffsetAPI.pyi index 1e40e7799..020f40ca3 100644 --- a/src/SWIG_files/wrapper/BRepOffsetAPI.pyi +++ b/src/SWIG_files/wrapper/BRepOffsetAPI.pyi @@ -6,6 +6,7 @@ from OCC.Core.NCollection import * from OCC.Core.BRepBuilderAPI import * from OCC.Core.TopoDS import * from OCC.Core.gp import * +from OCC.Core.Message import * from OCC.Core.TopTools import * from OCC.Core.Draft import * from OCC.Core.Geom import * @@ -56,7 +57,7 @@ class BRepOffsetAPI_DraftAngle(BRepBuilderAPI_ModifyShape): def __init__(self, S: TopoDS_Shape) -> None: ... def Add(self, F: TopoDS_Face, Direction: gp_Dir, Angle: float, NeutralPlane: gp_Pln, Flag: Optional[bool] = True) -> None: ... def AddDone(self) -> bool: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def Clear(self) -> None: ... def ConnectedFaces(self, F: TopoDS_Face) -> TopTools_ListOfShape: ... def CorrectWires(self) -> None: ... @@ -104,7 +105,7 @@ class BRepOffsetAPI_MakeEvolved(BRepBuilderAPI_MakeShape): @overload def __init__(self, theSpine: TopoDS_Shape, theProfile: TopoDS_Wire, theJoinType: Optional[GeomAbs_JoinType] = GeomAbs_Arc, theIsAxeProf: Optional[bool] = True, theIsSolid: Optional[bool] = False, theIsProfOnSpine: Optional[bool] = False, theTol: Optional[float] = 0.0000001, theIsVolume: Optional[bool] = False, theRunInParallel: Optional[bool] = False) -> None: ... def Bottom(self) -> TopoDS_Shape: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def Evolved(self) -> BRepFill_Evolved: ... def GeneratedShapes(self, SpineShape: TopoDS_Shape, ProfShape: TopoDS_Shape) -> TopTools_ListOfShape: ... def Top(self) -> TopoDS_Shape: ... @@ -121,7 +122,7 @@ class BRepOffsetAPI_MakeFilling(BRepBuilderAPI_MakeShape): def Add(self, Point: gp_Pnt) -> int: ... @overload def Add(self, U: float, V: float, Support: TopoDS_Face, Order: GeomAbs_Shape) -> int: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... @overload def G0Error(self) -> float: ... @overload @@ -149,7 +150,7 @@ class BRepOffsetAPI_MakeOffset(BRepBuilderAPI_MakeShape): @overload def __init__(self, Spine: TopoDS_Wire, Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, IsOpenResult: Optional[bool] = False) -> None: ... def AddWire(self, Spine: TopoDS_Wire) -> None: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def Generated(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... @overload def Init(self, Spine: TopoDS_Face, Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, IsOpenResult: Optional[bool] = False) -> None: ... @@ -158,17 +159,14 @@ class BRepOffsetAPI_MakeOffset(BRepBuilderAPI_MakeShape): def Perform(self, Offset: float, Alt: Optional[float] = 0.0) -> None: ... class BRepOffsetAPI_MakeOffsetShape(BRepBuilderAPI_MakeShape): - @overload def __init__(self) -> None: ... - @overload - def __init__(self, S: TopoDS_Shape, Offset: float, Tol: float, Mode: Optional[BRepOffset_Mode] = BRepOffset_Skin, Intersection: Optional[bool] = False, SelfInter: Optional[bool] = False, Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, RemoveIntEdges: Optional[bool] = False) -> None: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def Generated(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... def GetJoinType(self) -> GeomAbs_JoinType: ... def IsDeleted(self, S: TopoDS_Shape) -> bool: ... def MakeOffset(self) -> BRepOffset_MakeOffset: ... def Modified(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... - def PerformByJoin(self, S: TopoDS_Shape, Offset: float, Tol: float, Mode: Optional[BRepOffset_Mode] = BRepOffset_Skin, Intersection: Optional[bool] = False, SelfInter: Optional[bool] = False, Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, RemoveIntEdges: Optional[bool] = False) -> None: ... + def PerformByJoin(self, S: TopoDS_Shape, Offset: float, Tol: float, Mode: Optional[BRepOffset_Mode] = BRepOffset_Skin, Intersection: Optional[bool] = False, SelfInter: Optional[bool] = False, Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, RemoveIntEdges: Optional[bool] = False, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def PerformBySimple(self, theS: TopoDS_Shape, theOffsetValue: float) -> None: ... class BRepOffsetAPI_MakePipe(BRepPrimAPI_MakeSweep): @@ -176,7 +174,7 @@ class BRepOffsetAPI_MakePipe(BRepPrimAPI_MakeSweep): def __init__(self, Spine: TopoDS_Wire, Profile: TopoDS_Shape) -> None: ... @overload def __init__(self, Spine: TopoDS_Wire, Profile: TopoDS_Shape, aMode: GeomFill_Trihedron, ForceApproxC1: Optional[bool] = False) -> None: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def ErrorOnSurface(self) -> float: ... def FirstShape(self) -> TopoDS_Shape: ... @overload @@ -192,7 +190,7 @@ class BRepOffsetAPI_MakePipeShell(BRepPrimAPI_MakeSweep): def Add(self, Profile: TopoDS_Shape, WithContact: Optional[bool] = False, WithCorrection: Optional[bool] = False) -> None: ... @overload def Add(self, Profile: TopoDS_Shape, Location: TopoDS_Vertex, WithContact: Optional[bool] = False, WithCorrection: Optional[bool] = False) -> None: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def Delete(self, Profile: TopoDS_Shape) -> None: ... def ErrorOnSurface(self) -> float: ... def FirstShape(self) -> TopoDS_Shape: ... @@ -227,7 +225,7 @@ class BRepOffsetAPI_MakePipeShell(BRepPrimAPI_MakeSweep): class BRepOffsetAPI_MiddlePath(BRepBuilderAPI_MakeShape): def __init__(self, aShape: TopoDS_Shape, StartShape: TopoDS_Shape, EndShape: TopoDS_Shape) -> None: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... class BRepOffsetAPI_NormalProjection(BRepBuilderAPI_MakeShape): @overload @@ -236,7 +234,7 @@ class BRepOffsetAPI_NormalProjection(BRepBuilderAPI_MakeShape): def __init__(self, S: TopoDS_Shape) -> None: ... def Add(self, ToProj: TopoDS_Shape) -> None: ... def Ancestor(self, E: TopoDS_Edge) -> TopoDS_Shape: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def BuildWire(self, Liste: TopTools_ListOfShape) -> bool: ... def Compute3d(self, With3d: Optional[bool] = True) -> None: ... def Couple(self, E: TopoDS_Edge) -> TopoDS_Shape: ... @@ -252,7 +250,7 @@ class BRepOffsetAPI_ThruSections(BRepBuilderAPI_MakeShape): def __init__(self, isSolid: Optional[bool] = False, ruled: Optional[bool] = False, pres3d: Optional[float] = 1.0e-06) -> None: ... def AddVertex(self, aVertex: TopoDS_Vertex) -> None: ... def AddWire(self, wire: TopoDS_Wire) -> None: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def CheckCompatibility(self, check: Optional[bool] = True) -> None: ... def Continuity(self) -> GeomAbs_Shape: ... def CriteriumWeight(self) -> Tuple[float, float, float]: ... @@ -272,12 +270,9 @@ class BRepOffsetAPI_ThruSections(BRepBuilderAPI_MakeShape): def Wires(self) -> TopTools_ListOfShape: ... class BRepOffsetAPI_MakeThickSolid(BRepOffsetAPI_MakeOffsetShape): - @overload def __init__(self) -> None: ... - @overload - def __init__(self, S: TopoDS_Shape, ClosingFaces: TopTools_ListOfShape, Offset: float, Tol: float, Mode: Optional[BRepOffset_Mode] = BRepOffset_Skin, Intersection: Optional[bool] = False, SelfInter: Optional[bool] = False, Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, RemoveIntEdges: Optional[bool] = False) -> None: ... - def Build(self) -> None: ... - def MakeThickSolidByJoin(self, S: TopoDS_Shape, ClosingFaces: TopTools_ListOfShape, Offset: float, Tol: float, Mode: Optional[BRepOffset_Mode] = BRepOffset_Skin, Intersection: Optional[bool] = False, SelfInter: Optional[bool] = False, Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, RemoveIntEdges: Optional[bool] = False) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... + def MakeThickSolidByJoin(self, S: TopoDS_Shape, ClosingFaces: TopTools_ListOfShape, Offset: float, Tol: float, Mode: Optional[BRepOffset_Mode] = BRepOffset_Skin, Intersection: Optional[bool] = False, SelfInter: Optional[bool] = False, Join: Optional[GeomAbs_JoinType] = GeomAbs_Arc, RemoveIntEdges: Optional[bool] = False, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def MakeThickSolidBySimple(self, theS: TopoDS_Shape, theOffsetValue: float) -> None: ... def Modified(self, S: TopoDS_Shape) -> TopTools_ListOfShape: ... diff --git a/src/SWIG_files/wrapper/BRepPrim.i b/src/SWIG_files/wrapper/BRepPrim.i index 45f8b970e..32bc7a637 100644 --- a/src/SWIG_files/wrapper/BRepPrim.i +++ b/src/SWIG_files/wrapper/BRepPrim.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPPRIMDOCSTRING "BRepPrim module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepprim.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepprim.html" %enddef %module (package="OCC.Core", docstring=BREPPRIMDOCSTRING) BRepPrim @@ -51,6 +51,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepprim.html" #include #include #include +#include #include #include #include @@ -81,7 +82,7 @@ enum BRepPrim_Direction { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BRepPrim_Direction(IntEnum): @@ -951,7 +952,7 @@ bool /****************** IsDegeneratedShape ******************/ /**** md5 signature: bedacae663032f1f3a7887e26e731a50 ****/ %feature("compactdefaultargs") IsDegeneratedShape; - %feature("autodoc", "Checkes a shape on degeneracy returns true if a shape is degenerated. + %feature("autodoc", "Checks a shape on degeneracy returns true if a shape is degenerated. Returns ------- @@ -2158,7 +2159,7 @@ None /****************** BRepPrim_Sphere ******************/ /**** md5 signature: 40fe35bc704dd685fcd8f42947b874a9 ****/ %feature("compactdefaultargs") BRepPrim_Sphere; - %feature("autodoc", "Creates a sphere with center and radius. axes are the referrence axes. this is the step constructor. + %feature("autodoc", "Creates a sphere with center and radius. axes are the reference axes. this is the step constructor. Parameters ---------- diff --git a/src/SWIG_files/wrapper/BRepPrimAPI.i b/src/SWIG_files/wrapper/BRepPrimAPI.i index bf3e1b7db..07f86d87d 100644 --- a/src/SWIG_files/wrapper/BRepPrimAPI.i +++ b/src/SWIG_files/wrapper/BRepPrimAPI.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPPRIMAPIDOCSTRING "BRepPrimAPI module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepprimapi.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepprimapi.html" %enddef %module (package="OCC.Core", docstring=BREPPRIMAPIDOCSTRING) BRepPrimAPI @@ -45,6 +45,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepprimapi.html" #include #include #include +#include #include #include #include @@ -67,6 +68,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepprimapi.html" %import BRepBuilderAPI.i %import gp.i %import TopoDS.i +%import Message.i %import BRepPrim.i %import TopTools.i %import BRepSweep.i @@ -80,7 +82,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -202,15 +204,20 @@ TopoDS_Face const TopoDS_Face BottomFace(); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Stores the solid in myshape. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** FrontFace ******************/ /**** md5 signature: dedf687aa14ee674479d6969119aae35 ****/ @@ -431,15 +438,20 @@ TopoDS_Solid class BRepPrimAPI_MakeOneAxis : public BRepBuilderAPI_MakeShape { public: /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Stores the solid in myshape. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Face ******************/ /**** md5 signature: d92baec220de1f2e935a9694c6d65407 ****/ @@ -617,15 +629,20 @@ None BRepPrimAPI_MakeWedge(const gp_Ax2 & Axes, const Standard_Real dx, const Standard_Real dy, const Standard_Real dz, const Standard_Real xmin, const Standard_Real zmin, const Standard_Real xmax, const Standard_Real zmax); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Stores the solid in myshape. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Shell ******************/ /**** md5 signature: 642de93edbb586600e27d55251851e8c ****/ @@ -929,15 +946,20 @@ None BRepPrimAPI_MakePrism(const TopoDS_Shape & S, const gp_Dir & D, const Standard_Boolean Inf = Standard_True, const Standard_Boolean Copy = Standard_False, const Standard_Boolean Canonize = Standard_True); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Builds the resulting shape (redefined from makeshape). +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** FirstShape ******************/ /**** md5 signature: 58fcb2a790a0aa12dce93bc2307abc16 ****/ @@ -1084,15 +1106,20 @@ None BRepPrimAPI_MakeRevol(const TopoDS_Shape & S, const gp_Ax1 & A, const Standard_Boolean Copy = Standard_False); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "Builds the resulting shape (redefined from makeshape). +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Degenerated ******************/ /**** md5 signature: ff38f303d61ce3594b19f818a854ffa1 ****/ diff --git a/src/SWIG_files/wrapper/BRepPrimAPI.pyi b/src/SWIG_files/wrapper/BRepPrimAPI.pyi index 6d41b59a6..c2dbe298b 100644 --- a/src/SWIG_files/wrapper/BRepPrimAPI.pyi +++ b/src/SWIG_files/wrapper/BRepPrimAPI.pyi @@ -6,6 +6,7 @@ from OCC.Core.NCollection import * from OCC.Core.BRepBuilderAPI import * from OCC.Core.gp import * from OCC.Core.TopoDS import * +from OCC.Core.Message import * from OCC.Core.BRepPrim import * from OCC.Core.TopTools import * from OCC.Core.BRepSweep import * @@ -25,7 +26,7 @@ class BRepPrimAPI_MakeBox(BRepBuilderAPI_MakeShape): def __init__(self, Axes: gp_Ax2, dx: float, dy: float, dz: float) -> None: ... def BackFace(self) -> TopoDS_Face: ... def BottomFace(self) -> TopoDS_Face: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def FrontFace(self) -> TopoDS_Face: ... @overload def Init(self, theDX: float, theDY: float, theDZ: float) -> None: ... @@ -50,7 +51,7 @@ class BRepPrimAPI_MakeHalfSpace(BRepBuilderAPI_MakeShape): def Solid(self) -> TopoDS_Solid: ... class BRepPrimAPI_MakeOneAxis(BRepBuilderAPI_MakeShape): - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def Face(self) -> TopoDS_Face: ... def OneAxis(self) -> None: ... def Shell(self) -> TopoDS_Shell: ... @@ -69,7 +70,7 @@ class BRepPrimAPI_MakeWedge(BRepBuilderAPI_MakeShape): def __init__(self, dx: float, dy: float, dz: float, xmin: float, zmin: float, xmax: float, zmax: float) -> None: ... @overload def __init__(self, Axes: gp_Ax2, dx: float, dy: float, dz: float, xmin: float, zmin: float, xmax: float, zmax: float) -> None: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def Shell(self) -> TopoDS_Shell: ... def Solid(self) -> TopoDS_Solid: ... def Wedge(self) -> BRepPrim_Wedge: ... @@ -103,7 +104,7 @@ class BRepPrimAPI_MakePrism(BRepPrimAPI_MakeSweep): def __init__(self, S: TopoDS_Shape, V: gp_Vec, Copy: Optional[bool] = False, Canonize: Optional[bool] = True) -> None: ... @overload def __init__(self, S: TopoDS_Shape, D: gp_Dir, Inf: Optional[bool] = True, Copy: Optional[bool] = False, Canonize: Optional[bool] = True) -> None: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... @overload def FirstShape(self) -> TopoDS_Shape: ... @overload @@ -121,7 +122,7 @@ class BRepPrimAPI_MakeRevol(BRepPrimAPI_MakeSweep): def __init__(self, S: TopoDS_Shape, A: gp_Ax1, D: float, Copy: Optional[bool] = False) -> None: ... @overload def __init__(self, S: TopoDS_Shape, A: gp_Ax1, Copy: Optional[bool] = False) -> None: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def Degenerated(self) -> TopTools_ListOfShape: ... @overload def FirstShape(self) -> TopoDS_Shape: ... diff --git a/src/SWIG_files/wrapper/BRepProj.i b/src/SWIG_files/wrapper/BRepProj.i index d587da9a9..6807bc54b 100644 --- a/src/SWIG_files/wrapper/BRepProj.i +++ b/src/SWIG_files/wrapper/BRepProj.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPPROJDOCSTRING "BRepProj module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepproj.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepproj.html" %enddef %module (package="OCC.Core", docstring=BREPPROJDOCSTRING) BRepProj @@ -64,7 +64,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/BRepSweep.i b/src/SWIG_files/wrapper/BRepSweep.i index 306d3eb37..f36f2733d 100644 --- a/src/SWIG_files/wrapper/BRepSweep.i +++ b/src/SWIG_files/wrapper/BRepSweep.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPSWEEPDOCSTRING "BRepSweep module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepsweep.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_brepsweep.html" %enddef %module (package="OCC.Core", docstring=BREPSWEEPDOCSTRING) BRepSweep @@ -53,6 +53,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepsweep.html" #include #include #include +#include #include #include #include @@ -75,7 +76,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -256,7 +257,7 @@ None /****************** Init ******************/ /**** md5 signature: 2071f1c35cd5b4cf68ec06a4b4f693d0 ****/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Resest the iterator on sub-shapes of . + %feature("autodoc", "Reset the iterator on sub-shapes of . Parameters ---------- @@ -572,7 +573,7 @@ TopoDS_Shape /****************** SeparatedWires ******************/ /**** md5 signature: 59729d23b465e6739a88651dce236e8e ****/ %feature("compactdefaultargs") SeparatedWires; - %feature("autodoc", "In some particular cases the topology of a generated face must be composed of independant closed wires, in this case this function returns true. + %feature("autodoc", "In some particular cases the topology of a generated face must be composed of independent closed wires, in this case this function returns true. Parameters ---------- @@ -766,7 +767,7 @@ TopoDS_Shape /****************** SplitShell ******************/ /**** md5 signature: 39766b015f1b465ba3b9e5a1bd44c6b6 ****/ %feature("compactdefaultargs") SplitShell; - %feature("autodoc", "In some particular cases the topology of a generated shell must be composed of independant closed shells, in this case this function returns a compound of independant shells. + %feature("autodoc", "In some particular cases the topology of a generated shell must be composed of independent closed shells, in this case this function returns a compound of independent shells. Parameters ---------- @@ -1397,7 +1398,7 @@ TopoDS_Shape /****************** Process ******************/ /**** md5 signature: 5531c3417943534a0975ac67d55763b7 ****/ %feature("compactdefaultargs") Process; - %feature("autodoc", "Function called to analize the way of construction of the shapes generated by agens and adirv. + %feature("autodoc", "Function called to analyze the way of construction of the shapes generated by agens and adirv. Parameters ---------- @@ -1413,7 +1414,7 @@ bool /****************** SeparatedWires ******************/ /**** md5 signature: 59729d23b465e6739a88651dce236e8e ****/ %feature("compactdefaultargs") SeparatedWires; - %feature("autodoc", "In some particular cases the topology of a generated face must be composed of independant closed wires, in this case this function returns true. + %feature("autodoc", "In some particular cases the topology of a generated face must be composed of independent closed wires, in this case this function returns true. Parameters ---------- @@ -1770,7 +1771,7 @@ TopoDS_Shape /****************** SeparatedWires ******************/ /**** md5 signature: 739dcb9703dcd526a3fe95d4061137b6 ****/ %feature("compactdefaultargs") SeparatedWires; - %feature("autodoc", "In some particular cases the topology of a generated face must be composed of independant closed wires, in this case this function returns true. the only case in whitch the function may return true is a planar face in a closed revol. + %feature("autodoc", "In some particular cases the topology of a generated face must be composed of independent closed wires, in this case this function returns true. the only case in which the function may return true is a planar face in a closed revol. Parameters ---------- @@ -1906,7 +1907,7 @@ None /****************** SplitShell ******************/ /**** md5 signature: 04721169aec9020dc4e10a271a4b00bb ****/ %feature("compactdefaultargs") SplitShell; - %feature("autodoc", "In some particular cases the topology of a generated shell must be composed of independant closed shells, in this case this function returns a compound of independant shells. + %feature("autodoc", "In some particular cases the topology of a generated shell must be composed of independent closed shells, in this case this function returns a compound of independent shells. Parameters ---------- @@ -2105,7 +2106,7 @@ TopoDS_Shape /****************** SeparatedWires ******************/ /**** md5 signature: 7fc703b1ba19708e5eeebc73a6803fc3 ****/ %feature("compactdefaultargs") SeparatedWires; - %feature("autodoc", "In some particular cases the topology of a generated face must be composed of independant closed wires, in this case this function returns true. here it always returns false. + %feature("autodoc", "In some particular cases the topology of a generated face must be composed of independent closed wires, in this case this function returns true. here it always returns false. Parameters ---------- diff --git a/src/SWIG_files/wrapper/BRepTools.i b/src/SWIG_files/wrapper/BRepTools.i index 4572046b6..2d5b0a14b 100644 --- a/src/SWIG_files/wrapper/BRepTools.i +++ b/src/SWIG_files/wrapper/BRepTools.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPTOOLSDOCSTRING "BRepTools module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_breptools.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_breptools.html" %enddef %module (package="OCC.Core", docstring=BREPTOOLSDOCSTRING) BRepTools @@ -44,9 +44,10 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_breptools.html" #include #include #include +#include #include #include -#include +#include #include #include #include @@ -65,9 +66,10 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_breptools.html" %import NCollection.i %import TopoDS.i %import Bnd.i +%import TopTools.i %import Geom.i %import Geom2d.i -%import TopTools.i +%import OSD.i %import TopAbs.i %import BRep.i %import Message.i @@ -84,7 +86,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -113,6 +115,24 @@ typedef NCollection_DataMap toploc_location::scaleprec()) all sub-shapes having such locations are put in list theproblemshapes. + +Parameters +---------- +theS: TopoDS_Shape +theProblemShapes: TopTools_ListOfShape + +Returns +------- +None +") CheckLocations; + static void CheckLocations(const TopoDS_Shape & theS, TopTools_ListOfShape & theProblemShapes); + /****************** Clean ******************/ - /**** md5 signature: 93868d47cb0034686d14e912128f1323 ****/ + /**** md5 signature: e69d53fa65ed6662d92131db242c5024 ****/ %feature("compactdefaultargs") Clean; - %feature("autodoc", "Removes all cashed polygonal representation of the shape, i.e. the triangulations of the faces of and polygons on triangulations and polygons 3d of the edges. in case polygonal representation is the only available representation for the shape (shape does not have geometry) it is not removed. + %feature("autodoc", "Removes all cached polygonal representation of the shape, i.e. the triangulations of the faces of and polygons on triangulations and polygons 3d of the edges. in case polygonal representation is the only available representation for the shape (shape does not have geometry) it is not removed. @param theshape [in] the shape to clean @param theforce [in] allows removing all polygonal representations from the shape, including polygons on triangulations irrelevant for the faces of the given shape. Parameters ---------- -S: TopoDS_Shape +theShape: TopoDS_Shape +theForce: bool,optional + default value is Standard_False Returns ------- None ") Clean; - static void Clean(const TopoDS_Shape & S); + static void Clean(const TopoDS_Shape & theShape, const Standard_Boolean theForce = Standard_False); /****************** CleanGeometry ******************/ /**** md5 signature: ce6b6e89067b44b9c151c1e43c8e50e5 ****/ @@ -277,6 +315,44 @@ bool ") IsReallyClosed; static Standard_Boolean IsReallyClosed(const TopoDS_Edge & E, const TopoDS_Face & F); + /****************** LoadAllTriangulations ******************/ + /**** md5 signature: 1466fd44e74f80d49ab3905c6d611afa ****/ + %feature("compactdefaultargs") LoadAllTriangulations; + %feature("autodoc", "Loads all available triangulations for each face of the shape from some deferred storage using specified shared input file system @param theshape [in] shape to load triangulations @param thefilesystem [in] shared file system returns true if at least one triangulation is loaded. + +Parameters +---------- +theShape: TopoDS_Shape +theFileSystem: OSD_FileSystem,optional + default value is opencascade::handle() + +Returns +------- +bool +") LoadAllTriangulations; + static Standard_Boolean LoadAllTriangulations(const TopoDS_Shape & theShape, const opencascade::handle & theFileSystem = opencascade::handle()); + + /****************** LoadTriangulation ******************/ + /**** md5 signature: 2b46d2fac9cc1acb805e26246d213be8 ****/ + %feature("compactdefaultargs") LoadTriangulation; + %feature("autodoc", "Loads triangulation data for each face of the shape from some deferred storage using specified shared input file system @param theshape [in] shape to load triangulations @param thetriangulationidx [in] index defining what triangulation should be loaded. starts from 0. -1 is used in specific case to load currently already active triangulation. if some face doesn't contain triangulation with this index, nothing will be loaded for it. exception will be thrown in case of invalid negative index @param thetosetasactive [in] flag to activate triangulation after its loading @param thefilesystem [in] shared file system returns true if at least one triangulation is loaded. + +Parameters +---------- +theShape: TopoDS_Shape +theTriangulationIdx: int,optional + default value is -1 +theToSetAsActive: bool,optional + default value is Standard_False +theFileSystem: OSD_FileSystem,optional + default value is opencascade::handle() + +Returns +------- +bool +") LoadTriangulation; + static Standard_Boolean LoadTriangulation(const TopoDS_Shape & theShape, const Standard_Integer theTriangulationIdx = -1, const Standard_Boolean theToSetAsActive = Standard_False, const opencascade::handle & theFileSystem = opencascade::handle()); + /****************** Map3DEdges ******************/ /**** md5 signature: affe8cc83d005936d51c3385b6fc5c16 ****/ %feature("compactdefaultargs") Map3DEdges; @@ -449,6 +525,38 @@ VMax: float ") UVBounds; static void UVBounds(const TopoDS_Face & F, const TopoDS_Edge & E, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); + /****************** UnloadAllTriangulations ******************/ + /**** md5 signature: 8efc2f1bae963a37e143369fac101307 ****/ + %feature("compactdefaultargs") UnloadAllTriangulations; + %feature("autodoc", "Releases all available triangulations for each face of the shape if there is deferred storage to load them later @param theshape [in] shape to unload triangulations returns true if at least one triangulation is unloaded. + +Parameters +---------- +theShape: TopoDS_Shape + +Returns +------- +bool +") UnloadAllTriangulations; + static Standard_Boolean UnloadAllTriangulations(const TopoDS_Shape & theShape); + + /****************** UnloadTriangulation ******************/ + /**** md5 signature: 4cba1ffb2b2a96847b88c3a4736d9bea ****/ + %feature("compactdefaultargs") UnloadTriangulation; + %feature("autodoc", "Releases triangulation data for each face of the shape if there is deferred storage to load it later @param theshape [in] shape to unload triangulations @param thetriangulationidx [in] index defining what triangulation should be unloaded. starts from 0. -1 is used in specific case to unload currently already active triangulation. if some face doesn't contain triangulation with this index, nothing will be unloaded for it. exception will be thrown in case of invalid negative index returns true if at least one triangulation is unloaded. + +Parameters +---------- +theShape: TopoDS_Shape +theTriangulationIdx: int,optional + default value is -1 + +Returns +------- +bool +") UnloadTriangulation; + static Standard_Boolean UnloadTriangulation(const TopoDS_Shape & theShape, const Standard_Integer theTriangulationIdx = -1); + /****************** Update ******************/ /**** md5 signature: 7afb8b0a0ac818d408265e5c3ffb8146 ****/ %feature("compactdefaultargs") Update; @@ -572,7 +680,7 @@ None /****************** Update ******************/ /**** md5 signature: 9df60fcab5eff3782584302cfec917cf ****/ %feature("compactdefaultargs") Update; - %feature("autodoc", "Update a shape, call the corect update. + %feature("autodoc", "Update a shape, call the correct update. Parameters ---------- @@ -600,14 +708,14 @@ None static void UpdateFaceUVPoints(const TopoDS_Face & theF); /****************** Write ******************/ - /**** md5 signature: e4cab4cb4ecdb28c66996c1950c02b7b ****/ + /**** md5 signature: 2b0742433c64d0c04f4d2d4d98afcfa2 ****/ %feature("compactdefaultargs") Write; - %feature("autodoc", "Writes in . + %feature("autodoc", "Writes the shape to the file in an ascii format toptools_formatversion_version_1. this alias writes shape with triangulation data. @param theshape [in] the shape to write @param thefile [in] the path to file to output shape into @param therange the range of progress indicator to fill in. Parameters ---------- -Sh: TopoDS_Shape -File: char * +theShape: TopoDS_Shape +theFile: char * theProgress: Message_ProgressRange,optional default value is Message_ProgressRange() @@ -615,7 +723,28 @@ Returns ------- bool ") Write; - static Standard_Boolean Write(const TopoDS_Shape & Sh, const char * File, const Message_ProgressRange & theProgress = Message_ProgressRange()); + static Standard_Boolean Write(const TopoDS_Shape & theShape, const char * theFile, const Message_ProgressRange & theProgress = Message_ProgressRange()); + + /****************** Write ******************/ + /**** md5 signature: 094fc04abd54fdb9dea8b811e19f6844 ****/ + %feature("compactdefaultargs") Write; + %feature("autodoc", "Writes the shape to the file in an ascii format of specified version. @param theshape [in] the shape to write @param thefile [in] the path to file to output shape into @param thewithtriangles [in] flag which specifies whether to save shape with (true) or without (false) triangles; has no effect on triangulation-only geometry @param thewithnormals [in] flag which specifies whether to save triangulation with (true) or without (false) normals; has no effect on triangulation-only geometry @param theversion [in] the toptools format version @param therange the range of progress indicator to fill in. + +Parameters +---------- +theShape: TopoDS_Shape +theFile: char * +theWithTriangles: bool +theWithNormals: bool +theVersion: TopTools_FormatVersion +theProgress: Message_ProgressRange,optional + default value is Message_ProgressRange() + +Returns +------- +bool +") Write; + static Standard_Boolean Write(const TopoDS_Shape & theShape, const char * theFile, const Standard_Boolean theWithTriangles, const Standard_Boolean theWithNormals, const TopTools_FormatVersion theVersion, const Message_ProgressRange & theProgress = Message_ProgressRange()); %feature("autodoc", "Serializes TopoDS_Shape to string. If full_precision is False, the default precision of std::stringstream is used which regularly causes rounding.") WriteToString; @@ -661,7 +790,7 @@ enum TRelationType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class TRelationType(IntEnum): @@ -1205,6 +1334,72 @@ None } }; +/********************************* +* class BRepTools_PurgeLocations * +*********************************/ +class BRepTools_PurgeLocations { + public: + /****************** BRepTools_PurgeLocations ******************/ + /**** md5 signature: 9513db51b5a43ee1b3299e06ca1ed72b ****/ + %feature("compactdefaultargs") BRepTools_PurgeLocations; + %feature("autodoc", "No available documentation. + +Returns +------- +None +") BRepTools_PurgeLocations; + BRepTools_PurgeLocations(); + + /****************** GetResult ******************/ + /**** md5 signature: 644080adee2e79b6fe88d2909c00da36 ****/ + %feature("compactdefaultargs") GetResult; + %feature("autodoc", "Returns shape with removed locations. + +Returns +------- +TopoDS_Shape +") GetResult; + const TopoDS_Shape GetResult(); + + /****************** IsDone ******************/ + /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + %feature("compactdefaultargs") IsDone; + %feature("autodoc", "No available documentation. + +Returns +------- +bool +") IsDone; + Standard_Boolean IsDone(); + + /****************** Perform ******************/ + /**** md5 signature: 786dd7c6d1fd4e873da2af6e25b6f283 ****/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "Removes all locations correspodingly to criterium from theshape. + +Parameters +---------- +theShape: TopoDS_Shape + +Returns +------- +bool +") Perform; + Standard_Boolean Perform(const TopoDS_Shape & theShape); + +}; + + +%extend BRepTools_PurgeLocations { + %pythoncode { + __repr__ = _dumps_object + + @methodnotwrapped + def ModifiedShape(self): + pass + } +}; + /************************ * class BRepTools_Quilt * ************************/ @@ -1271,7 +1466,7 @@ None /****************** Copy ******************/ /**** md5 signature: e9cf9778b56b3dc4375f50a8fb82f016 ****/ %feature("compactdefaultargs") Copy; - %feature("autodoc", "Returns the shape substitued to in the quilt. + %feature("autodoc", "Returns the shape substituted to in the quilt. Parameters ---------- @@ -1336,21 +1531,21 @@ None BRepTools_ReShape(); /****************** Apply ******************/ - /**** md5 signature: 1aaa1844c3e3ec3f5f40ee03390fd9df ****/ + /**** md5 signature: 48965752374805b76b32c4d1ffbb713b ****/ %feature("compactdefaultargs") Apply; - %feature("autodoc", "Applies the substitutions requests to a shape. //! gives the level of type until which requests are taken into account. for subshapes of the type no rebuild and futher exploring are done. //! note: each subshape can be replaced by shape of the same type or by shape containing only shapes of that type (for example, topods_edge can be replaced by topods_edge, topods_wire or topods_compound containing topods_edges). if incompatible shape type is encountered, it is ignored and flag fail1 is set in status. + %feature("autodoc", "Applies the substitutions requests to a shape. //! theuntil gives the level of type until which requests are taken into account. for subshapes of the type no rebuild and further exploring are done. //! note: each subshape can be replaced by shape of the same type or by shape containing only shapes of that type (for example, topods_edge can be replaced by topods_edge, topods_wire or topods_compound containing topods_edges). if incompatible shape type is encountered, it is ignored and flag fail1 is set in status. Parameters ---------- -shape: TopoDS_Shape -until: TopAbs_ShapeEnum,optional +theShape: TopoDS_Shape +theUntil: TopAbs_ShapeEnum,optional default value is TopAbs_SHAPE Returns ------- TopoDS_Shape ") Apply; - virtual TopoDS_Shape Apply(const TopoDS_Shape & shape, const TopAbs_ShapeEnum until = TopAbs_SHAPE); + virtual TopoDS_Shape Apply(const TopoDS_Shape & theShape, const TopAbs_ShapeEnum theUntil = TopAbs_SHAPE); /****************** Clear ******************/ /**** md5 signature: 1badd2d119b64dbdb177834e510c3af9 ****/ @@ -1534,37 +1729,41 @@ TopoDS_Shape class BRepTools_ShapeSet : public TopTools_ShapeSet { public: /****************** BRepTools_ShapeSet ******************/ - /**** md5 signature: 30422c1f83181bdc902119b4425096bb ****/ + /**** md5 signature: 4d2cf984c56b6805e641ce99645be1bb ****/ %feature("compactdefaultargs") BRepTools_ShapeSet; - %feature("autodoc", "Builds an empty shapeset. parameter is added for xml persistence. + %feature("autodoc", "Builds an empty shapeset. @param thewithtriangles flag to write triangulation data. Parameters ---------- -isWithTriangles: bool,optional +theWithTriangles: bool,optional default value is Standard_True +theWithNormals: bool,optional + default value is Standard_False Returns ------- None ") BRepTools_ShapeSet; - BRepTools_ShapeSet(const Standard_Boolean isWithTriangles = Standard_True); + BRepTools_ShapeSet(const Standard_Boolean theWithTriangles = Standard_True, const Standard_Boolean theWithNormals = Standard_False); /****************** BRepTools_ShapeSet ******************/ - /**** md5 signature: cd9851b8513888051c6e304b8a6646ae ****/ + /**** md5 signature: b9669c92273c65400f84c106bd21ec2f ****/ %feature("compactdefaultargs") BRepTools_ShapeSet; - %feature("autodoc", "Builds an empty shapeset. parameter is added for xml persistence. + %feature("autodoc", "Builds an empty shapeset. @param thewithtriangles flag to write triangulation data. Parameters ---------- -B: BRep_Builder -isWithTriangles: bool,optional +theBuilder: BRep_Builder +theWithTriangles: bool,optional default value is Standard_True +theWithNormals: bool,optional + default value is Standard_False Returns ------- None ") BRepTools_ShapeSet; - BRepTools_ShapeSet(const BRep_Builder & B, const Standard_Boolean isWithTriangles = Standard_True); + BRepTools_ShapeSet(const BRep_Builder & theBuilder, const Standard_Boolean theWithTriangles = Standard_True, const Standard_Boolean theWithNormals = Standard_False); /****************** AddGeometry ******************/ /**** md5 signature: 31352593ecfcc12beb7b28447eee7b70 ****/ @@ -1656,6 +1855,28 @@ None self->DumpTriangulation(s); return s.str();} }; + /****************** IsWithNormals ******************/ + /**** md5 signature: 49f5baecd893691e08f163fb559d8b06 ****/ + %feature("compactdefaultargs") IsWithNormals; + %feature("autodoc", "Return true if shape should be stored triangulation with normals. + +Returns +------- +bool +") IsWithNormals; + Standard_Boolean IsWithNormals(); + + /****************** IsWithTriangles ******************/ + /**** md5 signature: 2adacf1f8e5d4c926108b4db84751e9a ****/ + %feature("compactdefaultargs") IsWithTriangles; + %feature("autodoc", "Return true if shape should be stored with triangles. + +Returns +------- +bool +") IsWithTriangles; + Standard_Boolean IsWithTriangles(); + %feature("autodoc", "1"); %extend{ @@ -1684,6 +1905,36 @@ None std::stringstream s(src); self->ReadTriangulation(s);} }; + /****************** SetWithNormals ******************/ + /**** md5 signature: 9f03f91e56766f46bd17d99a089a0a21 ****/ + %feature("compactdefaultargs") SetWithNormals; + %feature("autodoc", "Define if shape will be stored triangulation with normals. ignored (always written) if face defines only triangulation (no surface). + +Parameters +---------- +theWithNormals: bool + +Returns +------- +None +") SetWithNormals; + void SetWithNormals(const Standard_Boolean theWithNormals); + + /****************** SetWithTriangles ******************/ + /**** md5 signature: 7b7f7b1dd0aaac0992d59e75b5df79e1 ****/ + %feature("compactdefaultargs") SetWithTriangles; + %feature("autodoc", "Define if shape will be stored with triangles. ignored (always written) if face defines only triangulation (no surface). + +Parameters +---------- +theWithTriangles: bool + +Returns +------- +None +") SetWithTriangles; + void SetWithTriangles(const Standard_Boolean theWithTriangles); + %feature("autodoc", "1"); %extend{ @@ -1746,7 +1997,7 @@ None /****************** Copy ******************/ /**** md5 signature: 58a8930506a5b25067aaf63bebb04b61 ****/ %feature("compactdefaultargs") Copy; - %feature("autodoc", "Returns the set of shapes substitued to . + %feature("autodoc", "Returns the set of shapes substituted to . Parameters ---------- diff --git a/src/SWIG_files/wrapper/BRepTools.pyi b/src/SWIG_files/wrapper/BRepTools.pyi index 245cf55fc..6d13ebabd 100644 --- a/src/SWIG_files/wrapper/BRepTools.pyi +++ b/src/SWIG_files/wrapper/BRepTools.pyi @@ -5,9 +5,10 @@ from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.TopoDS import * from OCC.Core.Bnd import * +from OCC.Core.TopTools import * from OCC.Core.Geom import * from OCC.Core.Geom2d import * -from OCC.Core.TopTools import * +from OCC.Core.OSD import * from OCC.Core.TopAbs import * from OCC.Core.BRep import * from OCC.Core.Message import * @@ -18,6 +19,8 @@ from OCC.Core.Poly import * class breptools: + @staticmethod + def ActivateTriangulation(theShape: TopoDS_Shape, theTriangulationIdx: int, theToActivateStrictly: Optional[bool] = false) -> bool: ... @overload @staticmethod def AddUVBounds(F: TopoDS_Face, B: Bnd_Box2d) -> None: ... @@ -28,7 +31,9 @@ class breptools: @staticmethod def AddUVBounds(F: TopoDS_Face, E: TopoDS_Edge, B: Bnd_Box2d) -> None: ... @staticmethod - def Clean(S: TopoDS_Shape) -> None: ... + def CheckLocations(theS: TopoDS_Shape, theProblemShapes: TopTools_ListOfShape) -> None: ... + @staticmethod + def Clean(theShape: TopoDS_Shape, theForce: Optional[bool] = False) -> None: ... @staticmethod def CleanGeometry(theShape: TopoDS_Shape) -> None: ... @overload @@ -44,6 +49,10 @@ class breptools: @staticmethod def IsReallyClosed(E: TopoDS_Edge, F: TopoDS_Face) -> bool: ... @staticmethod + def LoadAllTriangulations(theShape: TopoDS_Shape, theFileSystem: Optional[OSD_FileSystem] = OSD_FileSystem()) -> bool: ... + @staticmethod + def LoadTriangulation(theShape: TopoDS_Shape, theTriangulationIdx: Optional[int] = -1, theToSetAsActive: Optional[bool] = False, theFileSystem: Optional[OSD_FileSystem] = OSD_FileSystem()) -> bool: ... + @staticmethod def Map3DEdges(S: TopoDS_Shape, M: TopTools_IndexedMapOfShape) -> None: ... @staticmethod def OriEdgeInFace(theEdge: TopoDS_Edge, theFace: TopoDS_Face) -> TopAbs_Orientation: ... @@ -67,6 +76,10 @@ class breptools: @overload @staticmethod def UVBounds(F: TopoDS_Face, E: TopoDS_Edge) -> Tuple[float, float, float, float]: ... + @staticmethod + def UnloadAllTriangulations(theShape: TopoDS_Shape) -> bool: ... + @staticmethod + def UnloadTriangulation(theShape: TopoDS_Shape, theTriangulationIdx: Optional[int] = -1) -> bool: ... @overload @staticmethod def Update(V: TopoDS_Vertex) -> None: ... @@ -98,7 +111,10 @@ class breptools: def UpdateFaceUVPoints(theF: TopoDS_Face) -> None: ... @overload @staticmethod - def Write(Sh: TopoDS_Shape, File: str, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> bool: ... + def Write(theShape: TopoDS_Shape, theFile: str, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> bool: ... + @overload + @staticmethod + def Write(theShape: TopoDS_Shape, theFile: str, theWithTriangles: bool, theWithNormals: bool, theVersion: TopTools_FormatVersion, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> bool: ... @staticmethod def WriteToString(Sh: TopoDS_Shape) -> str: ... @staticmethod @@ -145,6 +161,12 @@ class BRepTools_Modifier: def Perform(self, M: BRepTools_Modification, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def SetMutableInput(self, theMutableInput: bool) -> None: ... +class BRepTools_PurgeLocations: + def __init__(self) -> None: ... + def GetResult(self) -> TopoDS_Shape: ... + def IsDone(self) -> bool: ... + def Perform(self, theShape: TopoDS_Shape) -> bool: ... + class BRepTools_Quilt: def __init__(self) -> None: ... def Add(self, S: TopoDS_Shape) -> None: ... @@ -158,7 +180,7 @@ class BRepTools_Quilt: class BRepTools_ReShape(Standard_Transient): def __init__(self) -> None: ... - def Apply(self, shape: TopoDS_Shape, until: Optional[TopAbs_ShapeEnum] = TopAbs_SHAPE) -> TopoDS_Shape: ... + def Apply(self, theShape: TopoDS_Shape, theUntil: Optional[TopAbs_ShapeEnum] = TopAbs_SHAPE) -> TopoDS_Shape: ... def Clear(self) -> None: ... @overload def CopyVertex(self, theV: TopoDS_Vertex, theTol: Optional[float] = -1.0) -> TopoDS_Vertex: ... @@ -175,13 +197,17 @@ class BRepTools_ReShape(Standard_Transient): class BRepTools_ShapeSet(TopTools_ShapeSet): @overload - def __init__(self, isWithTriangles: Optional[bool] = True) -> None: ... + def __init__(self, theWithTriangles: Optional[bool] = True, theWithNormals: Optional[bool] = False) -> None: ... @overload - def __init__(self, B: BRep_Builder, isWithTriangles: Optional[bool] = True) -> None: ... + def __init__(self, theBuilder: BRep_Builder, theWithTriangles: Optional[bool] = True, theWithNormals: Optional[bool] = False) -> None: ... def AddGeometry(self, S: TopoDS_Shape) -> None: ... def AddShapes(self, S1: TopoDS_Shape, S2: TopoDS_Shape) -> None: ... def Check(self, T: TopAbs_ShapeEnum, S: TopoDS_Shape) -> None: ... def Clear(self) -> None: ... + def IsWithNormals(self) -> bool: ... + def IsWithTriangles(self) -> bool: ... + def SetWithNormals(self, theWithNormals: bool) -> None: ... + def SetWithTriangles(self, theWithTriangles: bool) -> None: ... class BRepTools_Substitution: def __init__(self) -> None: ... @@ -245,9 +271,11 @@ class BRepTools_TrsfModification(BRepTools_Modification): # harray2 classes # hsequence classes +breptools_ActivateTriangulation = breptools.ActivateTriangulation breptools_AddUVBounds = breptools.AddUVBounds breptools_AddUVBounds = breptools.AddUVBounds breptools_AddUVBounds = breptools.AddUVBounds +breptools_CheckLocations = breptools.CheckLocations breptools_Clean = breptools.Clean breptools_CleanGeometry = breptools.CleanGeometry breptools_Compare = breptools.Compare @@ -256,6 +284,8 @@ breptools_DetectClosedness = breptools.DetectClosedness breptools_Dump = breptools.Dump breptools_EvalAndUpdateTol = breptools.EvalAndUpdateTol breptools_IsReallyClosed = breptools.IsReallyClosed +breptools_LoadAllTriangulations = breptools.LoadAllTriangulations +breptools_LoadTriangulation = breptools.LoadTriangulation breptools_Map3DEdges = breptools.Map3DEdges breptools_OriEdgeInFace = breptools.OriEdgeInFace breptools_OuterWire = breptools.OuterWire @@ -267,6 +297,8 @@ breptools_Triangulation = breptools.Triangulation breptools_UVBounds = breptools.UVBounds breptools_UVBounds = breptools.UVBounds breptools_UVBounds = breptools.UVBounds +breptools_UnloadAllTriangulations = breptools.UnloadAllTriangulations +breptools_UnloadTriangulation = breptools.UnloadTriangulation breptools_Update = breptools.Update breptools_Update = breptools.Update breptools_Update = breptools.Update @@ -279,6 +311,8 @@ breptools_Update = breptools.Update breptools_UpdateFaceUVPoints = breptools.UpdateFaceUVPoints breptools_Write = breptools.Write breptools_Write = breptools.Write +breptools_Write = breptools.Write +breptools_Write = breptools.Write breptools_WriteToString = breptools.WriteToString breptools_ReadFromString = breptools.ReadFromString BRepTools_History_IsSupportedType = BRepTools_History.IsSupportedType diff --git a/src/SWIG_files/wrapper/BRepTopAdaptor.i b/src/SWIG_files/wrapper/BRepTopAdaptor.i index cdef04449..250dd1e58 100644 --- a/src/SWIG_files/wrapper/BRepTopAdaptor.i +++ b/src/SWIG_files/wrapper/BRepTopAdaptor.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BREPTOPADAPTORDOCSTRING "BRepTopAdaptor module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_breptopadaptor.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_breptopadaptor.html" %enddef %module (package="OCC.Core", docstring=BREPTOPADAPTORDOCSTRING) BRepTopAdaptor @@ -37,6 +37,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_breptopadaptor.ht %{ +#include #include //Dependencies @@ -78,7 +79,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -206,20 +207,20 @@ TopAbs_State class BRepTopAdaptor_HVertex : public Adaptor3d_HVertex { public: /****************** BRepTopAdaptor_HVertex ******************/ - /**** md5 signature: 074cc397ac377683fc7e5baeac36dca5 ****/ + /**** md5 signature: fb5f8882c6434ceec0ae660be4e57a44 ****/ %feature("compactdefaultargs") BRepTopAdaptor_HVertex; %feature("autodoc", "No available documentation. Parameters ---------- Vtx: TopoDS_Vertex -Curve: BRepAdaptor_HCurve2d +Curve: BRepAdaptor_Curve2d Returns ------- None ") BRepTopAdaptor_HVertex; - BRepTopAdaptor_HVertex(const TopoDS_Vertex & Vtx, const opencascade::handle & Curve); + BRepTopAdaptor_HVertex(const TopoDS_Vertex & Vtx, const opencascade::handle & Curve); /****************** ChangeVertex ******************/ /**** md5 signature: 656bb17afe52454f9a05f1376056a6f2 ****/ @@ -259,34 +260,34 @@ TopAbs_Orientation virtual TopAbs_Orientation Orientation(); /****************** Parameter ******************/ - /**** md5 signature: 94a7d8e3950c1b6cd8601beea6d797e5 ****/ + /**** md5 signature: 7946c860c156c882efbe28718cc8bb1f ****/ %feature("compactdefaultargs") Parameter; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- float ") Parameter; - virtual Standard_Real Parameter(const opencascade::handle & C); + virtual Standard_Real Parameter(const opencascade::handle & C); /****************** Resolution ******************/ - /**** md5 signature: 58ffcfda77fcb1f2307c4d27d217e5fc ****/ + /**** md5 signature: a164413bb7ed733cd7b505fea3e66eed ****/ %feature("compactdefaultargs") Resolution; %feature("autodoc", "Parametric resolution (2d). Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- float ") Resolution; - virtual Standard_Real Resolution(const opencascade::handle & C); + virtual Standard_Real Resolution(const opencascade::handle & C); /****************** Value ******************/ /**** md5 signature: 554738eb7febee95dce3c7ca7bc631d6 ****/ @@ -354,20 +355,20 @@ None BRepTopAdaptor_Tool(const TopoDS_Face & F, const Standard_Real Tol2d); /****************** BRepTopAdaptor_Tool ******************/ - /**** md5 signature: 7e1124fd43a8913e3a2a0735609d729d ****/ + /**** md5 signature: a513e74acf6cfe0783456be96ccc60c9 ****/ %feature("compactdefaultargs") BRepTopAdaptor_Tool; %feature("autodoc", "No available documentation. Parameters ---------- -Surface: Adaptor3d_HSurface +Surface: Adaptor3d_Surface Tol2d: float Returns ------- None ") BRepTopAdaptor_Tool; - BRepTopAdaptor_Tool(const opencascade::handle & Surface, const Standard_Real Tol2d); + BRepTopAdaptor_Tool(const opencascade::handle & Surface, const Standard_Real Tol2d); /****************** Destroy ******************/ /**** md5 signature: 73111f72f4ab0474eb2cfbd7e4af4e1a ****/ @@ -381,15 +382,15 @@ None void Destroy(); /****************** GetSurface ******************/ - /**** md5 signature: 50d06de8d329a03e7154431f35fe4ef4 ****/ + /**** md5 signature: afbd71c808e80f77f5a76ef64e3237a1 ****/ %feature("compactdefaultargs") GetSurface; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") GetSurface; - opencascade::handle GetSurface(); + opencascade::handle GetSurface(); /****************** GetTopolTool ******************/ /**** md5 signature: ff64aa4100d21790bf932c85946a7eac ****/ @@ -419,20 +420,20 @@ None void Init(const TopoDS_Face & F, const Standard_Real Tol2d); /****************** Init ******************/ - /**** md5 signature: 3f726d32ba85e51e2e5ccbc5160ec527 ****/ + /**** md5 signature: 6237b6ed41260a567f87d98e1986dbbe ****/ %feature("compactdefaultargs") Init; %feature("autodoc", "No available documentation. Parameters ---------- -Surface: Adaptor3d_HSurface +Surface: Adaptor3d_Surface Tol2d: float Returns ------- None ") Init; - void Init(const opencascade::handle & Surface, const Standard_Real Tol2d); + void Init(const opencascade::handle & Surface, const Standard_Real Tol2d); /****************** SetTopolTool ******************/ /**** md5 signature: 3bffbb5885a2ed968b12bd808603632f ****/ @@ -475,19 +476,19 @@ None BRepTopAdaptor_TopolTool(); /****************** BRepTopAdaptor_TopolTool ******************/ - /**** md5 signature: 56c628c8df694ad801f941b658a0b9c7 ****/ + /**** md5 signature: 891cbde0b65f09eb06f8b982bf4b268b ****/ %feature("compactdefaultargs") BRepTopAdaptor_TopolTool; %feature("autodoc", "No available documentation. Parameters ---------- -Surface: Adaptor3d_HSurface +Surface: Adaptor3d_Surface Returns ------- None ") BRepTopAdaptor_TopolTool; - BRepTopAdaptor_TopolTool(const opencascade::handle & Surface); + BRepTopAdaptor_TopolTool(const opencascade::handle & Surface); /****************** Classify ******************/ /**** md5 signature: a7bbbaec3e65fcebf225d366fb51ee9a ****/ @@ -596,34 +597,34 @@ None virtual void Initialize(); /****************** Initialize ******************/ - /**** md5 signature: 9212cd79a1f58670bacb19f92e754ac8 ****/ + /**** md5 signature: 305d623733409be1d8fbf4ab26ddf2d5 ****/ %feature("compactdefaultargs") Initialize; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- None ") Initialize; - virtual void Initialize(const opencascade::handle & S); + virtual void Initialize(const opencascade::handle & S); /****************** Initialize ******************/ - /**** md5 signature: 02cf97bc3b844688e9ba73e26b230254 ****/ + /**** md5 signature: a7c35bee18e0399050a6e43b1c80eded ****/ %feature("compactdefaultargs") Initialize; %feature("autodoc", "No available documentation. Parameters ---------- -Curve: Adaptor2d_HCurve2d +Curve: Adaptor2d_Curve2d Returns ------- None ") Initialize; - virtual void Initialize(const opencascade::handle & Curve); + virtual void Initialize(const opencascade::handle & Curve); /****************** IsThePointOn ******************/ /**** md5 signature: a8af42c0c4037ab93f856b0272aaeeac ****/ @@ -721,19 +722,19 @@ None virtual void NextVertex(); /****************** Orientation ******************/ - /**** md5 signature: ec4e6aeda890fe65be6f21abdaf8d1ae ****/ + /**** md5 signature: 0735971c665e1d16dd72730276bafb3b ****/ %feature("compactdefaultargs") Orientation; %feature("autodoc", "If the function returns the orientation of the arc. if the orientation is forward or reversed, the arc is a 'real' limit of the surface. if the orientation is internal or external, the arc is considered as an arc on the surface. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- TopAbs_Orientation ") Orientation; - virtual TopAbs_Orientation Orientation(const opencascade::handle & C); + virtual TopAbs_Orientation Orientation(const opencascade::handle & C); /****************** Orientation ******************/ /**** md5 signature: 1e1d1ced6b52c356f59b839a0952b3b6 ****/ @@ -783,19 +784,19 @@ None virtual void SamplePoint(const Standard_Integer Index, gp_Pnt2d & P2d, gp_Pnt & P3d); /****************** Tol3d ******************/ - /**** md5 signature: 5c555615a0871a252a6a0c4ef1849f7f ****/ + /**** md5 signature: f820189d20028993788ef5efc7f9ea0f ****/ %feature("compactdefaultargs") Tol3d; %feature("autodoc", "Returns 3d tolerance of the arc c. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- float ") Tol3d; - virtual Standard_Real Tol3d(const opencascade::handle & C); + virtual Standard_Real Tol3d(const opencascade::handle & C); /****************** Tol3d ******************/ /**** md5 signature: 36153ba1d394ad94701849f935fac318 ****/ @@ -813,15 +814,15 @@ float virtual Standard_Real Tol3d(const opencascade::handle & V); /****************** Value ******************/ - /**** md5 signature: b6d378a3136fff8867d9ec8b6d114b11 ****/ + /**** md5 signature: d434368cfe93892ae89893f79cf67479 ****/ %feature("compactdefaultargs") Value; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") Value; - virtual opencascade::handle Value(); + virtual opencascade::handle Value(); /****************** Vertex ******************/ /**** md5 signature: 6c366dfe7165527233236e7fbb6bdce6 ****/ diff --git a/src/SWIG_files/wrapper/BRepTopAdaptor.pyi b/src/SWIG_files/wrapper/BRepTopAdaptor.pyi index 414a8d652..51f68f245 100644 --- a/src/SWIG_files/wrapper/BRepTopAdaptor.pyi +++ b/src/SWIG_files/wrapper/BRepTopAdaptor.pyi @@ -22,12 +22,12 @@ class BRepTopAdaptor_FClass2d: def TestOnRestriction(self, Puv: gp_Pnt2d, Tol: float, RecadreOnPeriodic: Optional[bool] = True) -> TopAbs_State: ... class BRepTopAdaptor_HVertex(Adaptor3d_HVertex): - def __init__(self, Vtx: TopoDS_Vertex, Curve: BRepAdaptor_HCurve2d) -> None: ... + def __init__(self, Vtx: TopoDS_Vertex, Curve: BRepAdaptor_Curve2d) -> None: ... def ChangeVertex(self) -> TopoDS_Vertex: ... def IsSame(self, Other: Adaptor3d_HVertex) -> bool: ... def Orientation(self) -> TopAbs_Orientation: ... - def Parameter(self, C: Adaptor2d_HCurve2d) -> float: ... - def Resolution(self, C: Adaptor2d_HCurve2d) -> float: ... + def Parameter(self, C: Adaptor2d_Curve2d) -> float: ... + def Resolution(self, C: Adaptor2d_Curve2d) -> float: ... def Value(self) -> gp_Pnt2d: ... def Vertex(self) -> TopoDS_Vertex: ... @@ -37,21 +37,21 @@ class BRepTopAdaptor_Tool: @overload def __init__(self, F: TopoDS_Face, Tol2d: float) -> None: ... @overload - def __init__(self, Surface: Adaptor3d_HSurface, Tol2d: float) -> None: ... + def __init__(self, Surface: Adaptor3d_Surface, Tol2d: float) -> None: ... def Destroy(self) -> None: ... - def GetSurface(self) -> Adaptor3d_HSurface: ... + def GetSurface(self) -> Adaptor3d_Surface: ... def GetTopolTool(self) -> BRepTopAdaptor_TopolTool: ... @overload def Init(self, F: TopoDS_Face, Tol2d: float) -> None: ... @overload - def Init(self, Surface: Adaptor3d_HSurface, Tol2d: float) -> None: ... + def Init(self, Surface: Adaptor3d_Surface, Tol2d: float) -> None: ... def SetTopolTool(self, TT: BRepTopAdaptor_TopolTool) -> None: ... class BRepTopAdaptor_TopolTool(Adaptor3d_TopolTool): @overload def __init__(self) -> None: ... @overload - def __init__(self, Surface: Adaptor3d_HSurface) -> None: ... + def __init__(self, Surface: Adaptor3d_Surface) -> None: ... def Classify(self, P2d: gp_Pnt2d, Tol: float, RecadreOnPeriodic: Optional[bool] = True) -> TopAbs_State: ... def ComputeSamplePoints(self) -> None: ... def Destroy(self) -> None: ... @@ -63,9 +63,9 @@ class BRepTopAdaptor_TopolTool(Adaptor3d_TopolTool): @overload def Initialize(self) -> None: ... @overload - def Initialize(self, S: Adaptor3d_HSurface) -> None: ... + def Initialize(self, S: Adaptor3d_Surface) -> None: ... @overload - def Initialize(self, Curve: Adaptor2d_HCurve2d) -> None: ... + def Initialize(self, Curve: Adaptor2d_Curve2d) -> None: ... def IsThePointOn(self, P2d: gp_Pnt2d, Tol: float, RecadreOnPeriodic: Optional[bool] = True) -> bool: ... def More(self) -> bool: ... def MoreVertex(self) -> bool: ... @@ -75,16 +75,16 @@ class BRepTopAdaptor_TopolTool(Adaptor3d_TopolTool): def Next(self) -> None: ... def NextVertex(self) -> None: ... @overload - def Orientation(self, C: Adaptor2d_HCurve2d) -> TopAbs_Orientation: ... + def Orientation(self, C: Adaptor2d_Curve2d) -> TopAbs_Orientation: ... @overload def Orientation(self, C: Adaptor3d_HVertex) -> TopAbs_Orientation: ... def Pnt(self, V: Adaptor3d_HVertex) -> gp_Pnt: ... def SamplePoint(self, Index: int, P2d: gp_Pnt2d, P3d: gp_Pnt) -> None: ... @overload - def Tol3d(self, C: Adaptor2d_HCurve2d) -> float: ... + def Tol3d(self, C: Adaptor2d_Curve2d) -> float: ... @overload def Tol3d(self, V: Adaptor3d_HVertex) -> float: ... - def Value(self) -> Adaptor2d_HCurve2d: ... + def Value(self) -> Adaptor2d_Curve2d: ... def Vertex(self) -> Adaptor3d_HVertex: ... # harray1 classes diff --git a/src/SWIG_files/wrapper/BSplCLib.i b/src/SWIG_files/wrapper/BSplCLib.i index 050748bf2..f0b6635f9 100644 --- a/src/SWIG_files/wrapper/BSplCLib.i +++ b/src/SWIG_files/wrapper/BSplCLib.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BSPLCLIBDOCSTRING "BSplCLib module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bsplclib.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_bsplclib.html" %enddef %module (package="OCC.Core", docstring=BSPLCLIBDOCSTRING) BSplCLib @@ -80,7 +80,7 @@ enum BSplCLib_KnotDistribution { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BSplCLib_MultDistribution(IntEnum): @@ -379,7 +379,7 @@ LP: float /****************** BuildKnots ******************/ /**** md5 signature: 5b526b765c0171416b4d6dfd6b2cfaf1 ****/ %feature("compactdefaultargs") BuildKnots; - %feature("autodoc", "Stores in lk the usefull knots for the boorschem on the span knots(index) - knots(index+1). + %feature("autodoc", "Stores in lk the useful knots for the boorschem on the span knots(index) - knots(index+1). Parameters ---------- @@ -1413,7 +1413,7 @@ int /****************** FunctionMultiply ******************/ /**** md5 signature: d11350ab30e3e1a830d351b4bb9b3c45 ****/ %feature("compactdefaultargs") FunctionMultiply; - %feature("autodoc", "This will multiply a given vectorial bspline f(t) defined by its bsplinedegree and bsplineflatknotsl, its poles array which are coded as an array of real of the form [1..numpoles][1..polesdimension] by a function a(t) which is assumed to satisfy the following : 1. a(t) * f(t) is a polynomial bspline that can be expressed exactly as a bspline of degree newdegree on the knots flatknots 2. the range of a(t) is the same as the range of f(t) warning: it is the caller's responsability to insure that conditions 1. and 2. above are satisfied : no check whatsoever is made in this method thestatus will return 0 if ok else it will return the pivot index of the matrix that was inverted to compute the multiplied bspline : the method used is interpolation at schoenenberg points of a(t)*f(t). + %feature("autodoc", "This will multiply a given vectorial bspline f(t) defined by its bsplinedegree and bsplineflatknotsl, its poles array which are coded as an array of real of the form [1..numpoles][1..polesdimension] by a function a(t) which is assumed to satisfy the following : 1. a(t) * f(t) is a polynomial bspline that can be expressed exactly as a bspline of degree newdegree on the knots flatknots 2. the range of a(t) is the same as the range of f(t) warning: it is the caller's responsibility to insure that conditions 1. and 2. above are satisfied : no check whatsoever is made in this method thestatus will return 0 if ok else it will return the pivot index of the matrix that was inverted to compute the multiplied bspline : the method used is interpolation at schoenenberg points of a(t)*f(t). Parameters ---------- @@ -1435,7 +1435,7 @@ theStatus: int /****************** FunctionMultiply ******************/ /**** md5 signature: b75e7664cfee0abd3a4bb0f96527f5f0 ****/ %feature("compactdefaultargs") FunctionMultiply; - %feature("autodoc", "This will multiply a given vectorial bspline f(t) defined by its bsplinedegree and bsplineflatknotsl, its poles array which are coded as an array of real of the form [1..numpoles][1..polesdimension] by a function a(t) which is assumed to satisfy the following : 1. a(t) * f(t) is a polynomial bspline that can be expressed exactly as a bspline of degree newdegree on the knots flatknots 2. the range of a(t) is the same as the range of f(t) warning: it is the caller's responsability to insure that conditions 1. and 2. above are satisfied : no check whatsoever is made in this method thestatus will return 0 if ok else it will return the pivot index of the matrix that was inverted to compute the multiplied bspline : the method used is interpolation at schoenenberg points of a(t)*f(t). + %feature("autodoc", "This will multiply a given vectorial bspline f(t) defined by its bsplinedegree and bsplineflatknotsl, its poles array which are coded as an array of real of the form [1..numpoles][1..polesdimension] by a function a(t) which is assumed to satisfy the following : 1. a(t) * f(t) is a polynomial bspline that can be expressed exactly as a bspline of degree newdegree on the knots flatknots 2. the range of a(t) is the same as the range of f(t) warning: it is the caller's responsibility to insure that conditions 1. and 2. above are satisfied : no check whatsoever is made in this method thestatus will return 0 if ok else it will return the pivot index of the matrix that was inverted to compute the multiplied bspline : the method used is interpolation at schoenenberg points of a(t)*f(t). Parameters ---------- @@ -1456,7 +1456,7 @@ theStatus: int /****************** FunctionMultiply ******************/ /**** md5 signature: 304af15d568488c4302864bfd1fe935b ****/ %feature("compactdefaultargs") FunctionMultiply; - %feature("autodoc", "This will multiply a given vectorial bspline f(t) defined by its bsplinedegree and bsplineflatknotsl, its poles array which are coded as an array of real of the form [1..numpoles][1..polesdimension] by a function a(t) which is assumed to satisfy the following : 1. a(t) * f(t) is a polynomial bspline that can be expressed exactly as a bspline of degree newdegree on the knots flatknots 2. the range of a(t) is the same as the range of f(t) warning: it is the caller's responsability to insure that conditions 1. and 2. above are satisfied : no check whatsoever is made in this method thestatus will return 0 if ok else it will return the pivot index of the matrix that was inverted to compute the multiplied bspline : the method used is interpolation at schoenenberg points of a(t)*f(t). + %feature("autodoc", "This will multiply a given vectorial bspline f(t) defined by its bsplinedegree and bsplineflatknotsl, its poles array which are coded as an array of real of the form [1..numpoles][1..polesdimension] by a function a(t) which is assumed to satisfy the following : 1. a(t) * f(t) is a polynomial bspline that can be expressed exactly as a bspline of degree newdegree on the knots flatknots 2. the range of a(t) is the same as the range of f(t) warning: it is the caller's responsibility to insure that conditions 1. and 2. above are satisfied : no check whatsoever is made in this method thestatus will return 0 if ok else it will return the pivot index of the matrix that was inverted to compute the multiplied bspline : the method used is interpolation at schoenenberg points of a(t)*f(t). Parameters ---------- @@ -1477,7 +1477,7 @@ theStatus: int /****************** FunctionMultiply ******************/ /**** md5 signature: 2d5b01a1995bf4a63b4ac71a00fa384d ****/ %feature("compactdefaultargs") FunctionMultiply; - %feature("autodoc", "This will multiply a given vectorial bspline f(t) defined by its bsplinedegree and bsplineflatknotsl, its poles array which are coded as an array of real of the form [1..numpoles][1..polesdimension] by a function a(t) which is assumed to satisfy the following : 1. a(t) * f(t) is a polynomial bspline that can be expressed exactly as a bspline of degree newdegree on the knots flatknots 2. the range of a(t) is the same as the range of f(t) warning: it is the caller's responsability to insure that conditions 1. and 2. above are satisfied : no check whatsoever is made in this method thestatus will return 0 if ok else it will return the pivot index of the matrix that was inverted to compute the multiplied bspline : the method used is interpolation at schoenenberg points of a(t)*f(t). + %feature("autodoc", "This will multiply a given vectorial bspline f(t) defined by its bsplinedegree and bsplineflatknotsl, its poles array which are coded as an array of real of the form [1..numpoles][1..polesdimension] by a function a(t) which is assumed to satisfy the following : 1. a(t) * f(t) is a polynomial bspline that can be expressed exactly as a bspline of degree newdegree on the knots flatknots 2. the range of a(t) is the same as the range of f(t) warning: it is the caller's responsibility to insure that conditions 1. and 2. above are satisfied : no check whatsoever is made in this method thestatus will return 0 if ok else it will return the pivot index of the matrix that was inverted to compute the multiplied bspline : the method used is interpolation at schoenenberg points of a(t)*f(t). Parameters ---------- @@ -1498,7 +1498,7 @@ theStatus: int /****************** FunctionReparameterise ******************/ /**** md5 signature: 276c4138358cfb806cbc5e4946b652e7 ****/ %feature("compactdefaultargs") FunctionReparameterise; - %feature("autodoc", "This function will compose a given vectorial bspline f(t) defined by its bsplinedegree and bsplineflatknotsl, its poles array which are coded as an array of real of the form [1..numpoles][1..polesdimension] with a function a(t) which is assumed to satisfy the following: //! 1. f(a(t)) is a polynomial bspline that can be expressed exactly as a bspline of degree newdegree on the knots flatknots //! 2. a(t) defines a differentiable isomorphism between the range of flatknots to the range of bsplineflatknots which is the same as the range of f(t) //! warning: it is the caller's responsability to insure that conditions 1. and 2. above are satisfied : no check whatsoever is made in this method //! thestatus will return 0 if ok else it will return the pivot index of the matrix that was inverted to compute the multiplied bspline : the method used is interpolation at schoenenberg points of f(a(t)). + %feature("autodoc", "This function will compose a given vectorial bspline f(t) defined by its bsplinedegree and bsplineflatknotsl, its poles array which are coded as an array of real of the form [1..numpoles][1..polesdimension] with a function a(t) which is assumed to satisfy the following: //! 1. f(a(t)) is a polynomial bspline that can be expressed exactly as a bspline of degree newdegree on the knots flatknots //! 2. a(t) defines a differentiable isomorphism between the range of flatknots to the range of bsplineflatknots which is the same as the range of f(t) //! warning: it is the caller's responsibility to insure that conditions 1. and 2. above are satisfied : no check whatsoever is made in this method //! thestatus will return 0 if ok else it will return the pivot index of the matrix that was inverted to compute the multiplied bspline : the method used is interpolation at schoenenberg points of f(a(t)). Parameters ---------- @@ -1520,7 +1520,7 @@ theStatus: int /****************** FunctionReparameterise ******************/ /**** md5 signature: fff0db2cdbcf124496ae30f263735931 ****/ %feature("compactdefaultargs") FunctionReparameterise; - %feature("autodoc", "This function will compose a given vectorial bspline f(t) defined by its bsplinedegree and bsplineflatknotsl, its poles array which are coded as an array of real of the form [1..numpoles][1..polesdimension] with a function a(t) which is assumed to satisfy the following: //! 1. f(a(t)) is a polynomial bspline that can be expressed exactly as a bspline of degree newdegree on the knots flatknots //! 2. a(t) defines a differentiable isomorphism between the range of flatknots to the range of bsplineflatknots which is the same as the range of f(t) //! warning: it is the caller's responsability to insure that conditions 1. and 2. above are satisfied : no check whatsoever is made in this method //! thestatus will return 0 if ok else it will return the pivot index of the matrix that was inverted to compute the multiplied bspline : the method used is interpolation at schoenenberg points of f(a(t)). + %feature("autodoc", "This function will compose a given vectorial bspline f(t) defined by its bsplinedegree and bsplineflatknotsl, its poles array which are coded as an array of real of the form [1..numpoles][1..polesdimension] with a function a(t) which is assumed to satisfy the following: //! 1. f(a(t)) is a polynomial bspline that can be expressed exactly as a bspline of degree newdegree on the knots flatknots //! 2. a(t) defines a differentiable isomorphism between the range of flatknots to the range of bsplineflatknots which is the same as the range of f(t) //! warning: it is the caller's responsibility to insure that conditions 1. and 2. above are satisfied : no check whatsoever is made in this method //! thestatus will return 0 if ok else it will return the pivot index of the matrix that was inverted to compute the multiplied bspline : the method used is interpolation at schoenenberg points of f(a(t)). Parameters ---------- @@ -1541,7 +1541,7 @@ theStatus: int /****************** FunctionReparameterise ******************/ /**** md5 signature: 8482a00dea0cf23f29af3cb5e99182ea ****/ %feature("compactdefaultargs") FunctionReparameterise; - %feature("autodoc", "This will compose a given vectorial bspline f(t) defined by its bsplinedegree and bsplineflatknotsl, its poles array which are coded as an array of real of the form [1..numpoles][1..polesdimension] with a function a(t) which is assumed to satisfy the following : 1. f(a(t)) is a polynomial bspline that can be expressed exactly as a bspline of degree newdegree on the knots flatknots 2. a(t) defines a differentiable isomorphism between the range of flatknots to the range of bsplineflatknots which is the same as the range of f(t) warning: it is the caller's responsability to insure that conditions 1. and 2. above are satisfied : no check whatsoever is made in this method thestatus will return 0 if ok else it will return the pivot index of the matrix that was inverted to compute the multiplied bspline : the method used is interpolation at schoenenberg points of f(a(t)). + %feature("autodoc", "This will compose a given vectorial bspline f(t) defined by its bsplinedegree and bsplineflatknotsl, its poles array which are coded as an array of real of the form [1..numpoles][1..polesdimension] with a function a(t) which is assumed to satisfy the following : 1. f(a(t)) is a polynomial bspline that can be expressed exactly as a bspline of degree newdegree on the knots flatknots 2. a(t) defines a differentiable isomorphism between the range of flatknots to the range of bsplineflatknots which is the same as the range of f(t) warning: it is the caller's responsibility to insure that conditions 1. and 2. above are satisfied : no check whatsoever is made in this method thestatus will return 0 if ok else it will return the pivot index of the matrix that was inverted to compute the multiplied bspline : the method used is interpolation at schoenenberg points of f(a(t)). Parameters ---------- @@ -1562,7 +1562,7 @@ theStatus: int /****************** FunctionReparameterise ******************/ /**** md5 signature: 0681500ae08b1b57f6b23f3500cf8eb6 ****/ %feature("compactdefaultargs") FunctionReparameterise; - %feature("autodoc", "This will compose a given vectorial bspline f(t) defined by its bsplinedegree and bsplineflatknotsl, its poles array which are coded as an array of real of the form [1..numpoles][1..polesdimension] with a function a(t) which is assumed to satisfy the following : 1. f(a(t)) is a polynomial bspline that can be expressed exactly as a bspline of degree newdegree on the knots flatknots 2. a(t) defines a differentiable isomorphism between the range of flatknots to the range of bsplineflatknots which is the same as the range of f(t) warning: it is the caller's responsability to insure that conditions 1. and 2. above are satisfied : no check whatsoever is made in this method thestatus will return 0 if ok else it will return the pivot index of the matrix that was inverted to compute the multiplied bspline : the method used is interpolation at schoenenberg points of f(a(t)). + %feature("autodoc", "This will compose a given vectorial bspline f(t) defined by its bsplinedegree and bsplineflatknotsl, its poles array which are coded as an array of real of the form [1..numpoles][1..polesdimension] with a function a(t) which is assumed to satisfy the following : 1. f(a(t)) is a polynomial bspline that can be expressed exactly as a bspline of degree newdegree on the knots flatknots 2. a(t) defines a differentiable isomorphism between the range of flatknots to the range of bsplineflatknots which is the same as the range of f(t) warning: it is the caller's responsibility to insure that conditions 1. and 2. above are satisfied : no check whatsoever is made in this method thestatus will return 0 if ok else it will return the pivot index of the matrix that was inverted to compute the multiplied bspline : the method used is interpolation at schoenenberg points of f(a(t)). Parameters ---------- @@ -1710,23 +1710,23 @@ None static void IncreaseDegree(const Standard_Integer NewDegree, const TColgp_Array1OfPnt & Poles, const TColStd_Array1OfReal * Weights, TColgp_Array1OfPnt & NewPoles, TColStd_Array1OfReal * NewWeights); /****************** IncreaseDegree ******************/ - /**** md5 signature: 3184972da800dade86b84a98f59c7c20 ****/ + /**** md5 signature: 55f08fe0b94875d193f674df9e8d1f57 ****/ %feature("compactdefaultargs") IncreaseDegree; - %feature("autodoc", "Increase the degree of a bspline (or bezier) curve of dimension form to . //! the number of poles in the new curve is : //! poles.length() + (newdegree - degree) * number of spans //! where the number of spans is : //! lastuknotindex(mults) - firstuknotindex(mults) + 1 //! for a non-periodic curve //! and knots.length() - 1 for a periodic curve. //! the multiplicities of all knots are increased by the degree elevation. //! the new knots are usually the same knots with the exception of a non-periodic curve with the first and last multiplicity not equal to degree+1 where knots are removed form the start and the bottom untils the sum of the multiplicities is equal to newdegree+1 at the knots corresponding to the first and last parameters of the curve. //! example : suppose a curve of degree 3 starting with following knots and multiplicities : //! knot : 0. 1. 2. mult : 1 2 1 //! the firstuknot is 2. because the sum of multiplicities is degree+1 : 1 + 2 + 1 = 4 = 3 + 1 //! i.e. the first parameter of the curve is 2. and will still be 2. after degree elevation. let raises this curve to degree 4. the multiplicities are increased by 2. //! they become 2 3 2. but we need a sum of multiplicities of 5 at knot 2. so the first knot is removed and the new knots are : //! knot : 1. 2. mult : 3 2 //! the multipicity of the first knot may also be reduced if the sum is still to big. //! in the most common situations (periodic curve or curve with first and last multiplicities equals to degree+1) the knots are knot changes. //! the method increasedegreecountknots can be used to compute the new number of knots. + %feature("autodoc", "Increase the degree of a bspline (or bezier) curve of dimension thedimension form thedegree to thenewdegree. //! the number of poles in the new curve is: @code poles.length() + (newdegree - degree) * number of spans @endcode where the number of spans is: @code lastuknotindex(mults) - firstuknotindex(mults) + 1 @endcode for a non-periodic curve, and @code knots.length() - 1 @endcode for a periodic curve. //! the multiplicities of all knots are increased by the degree elevation. //! the new knots are usually the same knots with the exception of a non-periodic curve with the first and last multiplicity not equal to degree+1 where knots are removed form the start and the bottom until the sum of the multiplicities is equal to newdegree+1 at the knots corresponding to the first and last parameters of the curve. //! example: suppose a curve of degree 3 starting with following knots and multiplicities: @code knot : 0. 1. 2. mult : 1 2 1 @endcode //! the firstuknot is 2.0 because the sum of multiplicities is @code degree+1 : 1 + 2 + 1 = 4 = 3 + 1 @endcode i.e. the first parameter of the curve is 2.0 and will still be 2.0 after degree elevation. let raise this curve to degree 4. the multiplicities are increased by 2. //! they become 2 3 2. but we need a sum of multiplicities of 5 at knot 2. so the first knot is removed and the new knots are: @code knot : 1. 2. mult : 3 2 @endcode the multipicity of the first knot may also be reduced if the sum is still to big. //! in the most common situations (periodic curve or curve with first and last multiplicities equals to degree+1) the knots are knot changes. //! the method increasedegreecountknots can be used to compute the new number of knots. Parameters ---------- -NewDegree: int -Poles: TColgp_Array1OfPnt2d -Weights: TColStd_Array1OfReal * -NewPoles: TColgp_Array1OfPnt2d -NewWeights: TColStd_Array1OfReal * +theNewDegree: int +thePoles: TColgp_Array1OfPnt2d +theWeights: TColStd_Array1OfReal * +theNewPoles: TColgp_Array1OfPnt2d +theNewWeights: TColStd_Array1OfReal * Returns ------- None ") IncreaseDegree; - static void IncreaseDegree(const Standard_Integer NewDegree, const TColgp_Array1OfPnt2d & Poles, const TColStd_Array1OfReal * Weights, TColgp_Array1OfPnt2d & NewPoles, TColStd_Array1OfReal * NewWeights); + static void IncreaseDegree(const Standard_Integer theNewDegree, const TColgp_Array1OfPnt2d & thePoles, const TColStd_Array1OfReal * theWeights, TColgp_Array1OfPnt2d & theNewPoles, TColStd_Array1OfReal * theNewWeights); /****************** IncreaseDegreeCountKnots ******************/ /**** md5 signature: 2806348fce0f853dcd1a4c2e39086690 ****/ @@ -1885,7 +1885,7 @@ None /****************** Interpolate ******************/ /**** md5 signature: e2fa20a66c129381e33f3cb4e6ce9d21 ****/ %feature("compactdefaultargs") Interpolate; - %feature("autodoc", "Performs the interpolation of the data given in the poles array according to the requests in contactorderarray that is : if contactorderarray(i) has value d it means that poles(i) containes the dth derivative of the function to be interpolated. the length l of the following arrays must be the same : parameters, contactorderarray, poles, the length of flatknots is degree + l + 1 warning: the method used to do that interpolation is gauss elimination without pivoting. thus if the diagonal is not dominant there is no guarantee that the algorithm will work. nevertheless for cubic interpolation or interpolation at scheonberg points the method will work the inversionproblem will report 0 if there was no problem else it will give the index of the faulty pivot. + %feature("autodoc", "Performs the interpolation of the data given in the poles array according to the requests in contactorderarray that is : if contactorderarray(i) has value d it means that poles(i) contains the dth derivative of the function to be interpolated. the length l of the following arrays must be the same : parameters, contactorderarray, poles, the length of flatknots is degree + l + 1 warning: the method used to do that interpolation is gauss elimination without pivoting. thus if the diagonal is not dominant there is no guarantee that the algorithm will work. nevertheless for cubic interpolation or interpolation at scheonberg points the method will work the inversionproblem will report 0 if there was no problem else it will give the index of the faulty pivot. Parameters ---------- @@ -1904,7 +1904,7 @@ InversionProblem: int /****************** Interpolate ******************/ /**** md5 signature: fd5aeac99513f881ae37161394ea9685 ****/ %feature("compactdefaultargs") Interpolate; - %feature("autodoc", "Performs the interpolation of the data given in the poles array according to the requests in contactorderarray that is : if contactorderarray(i) has value d it means that poles(i) containes the dth derivative of the function to be interpolated. the length l of the following arrays must be the same : parameters, contactorderarray, poles, the length of flatknots is degree + l + 1 warning: the method used to do that interpolation is gauss elimination without pivoting. thus if the diagonal is not dominant there is no guarantee that the algorithm will work. nevertheless for cubic interpolation at knots or interpolation at scheonberg points the method will work. the inversionproblem w ll report 0 if there was no problem else it will give the index of the faulty pivot. + %feature("autodoc", "Performs the interpolation of the data given in the poles array according to the requests in contactorderarray that is : if contactorderarray(i) has value d it means that poles(i) contains the dth derivative of the function to be interpolated. the length l of the following arrays must be the same : parameters, contactorderarray, poles, the length of flatknots is degree + l + 1 warning: the method used to do that interpolation is gauss elimination without pivoting. thus if the diagonal is not dominant there is no guarantee that the algorithm will work. nevertheless for cubic interpolation at knots or interpolation at scheonberg points the method will work. the inversionproblem w ll report 0 if there was no problem else it will give the index of the faulty pivot. Parameters ---------- @@ -1923,7 +1923,7 @@ InversionProblem: int /****************** Interpolate ******************/ /**** md5 signature: 2212219c7508d74418481956ee1ddf0e ****/ %feature("compactdefaultargs") Interpolate; - %feature("autodoc", "Performs the interpolation of the data given in the poles array according to the requests in contactorderarray that is : if contactorderarray(i) has value d it means that poles(i) containes the dth derivative of the function to be interpolated. the length l of the following arrays must be the same : parameters, contactorderarray, poles, the length of flatknots is degree + l + 1 warning: the method used to do that interpolation is gauss elimination without pivoting. thus if the diagonal is not dominant there is no guarantee that the algorithm will work. nevertheless for cubic interpolation at knots or interpolation at scheonberg points the method will work. the inversionproblem will report 0 if there was no problem else it will give the index of the faulty pivot. + %feature("autodoc", "Performs the interpolation of the data given in the poles array according to the requests in contactorderarray that is : if contactorderarray(i) has value d it means that poles(i) contains the dth derivative of the function to be interpolated. the length l of the following arrays must be the same : parameters, contactorderarray, poles, the length of flatknots is degree + l + 1 warning: the method used to do that interpolation is gauss elimination without pivoting. thus if the diagonal is not dominant there is no guarantee that the algorithm will work. nevertheless for cubic interpolation at knots or interpolation at scheonberg points the method will work. the inversionproblem will report 0 if there was no problem else it will give the index of the faulty pivot. Parameters ---------- @@ -1943,7 +1943,7 @@ InversionProblem: int /****************** Interpolate ******************/ /**** md5 signature: 0cdd4d771c634dfeec3e69ce9529d617 ****/ %feature("compactdefaultargs") Interpolate; - %feature("autodoc", "Performs the interpolation of the data given in the poles array according to the requests in contactorderarray that is : if contactorderarray(i) has value d it means that poles(i) containes the dth derivative of the function to be interpolated. the length l of the following arrays must be the same : parameters, contactorderarray, poles, the length of flatknots is degree + l + 1 warning: the method used to do that interpolation is gauss elimination without pivoting. thus if the diagonal is not dominant there is no guarantee that the algorithm will work. nevertheless for cubic interpolation at knots or interpolation at scheonberg points the method will work. the inversionproblem w ll report 0 if there was no problem else it will give the i. + %feature("autodoc", "Performs the interpolation of the data given in the poles array according to the requests in contactorderarray that is : if contactorderarray(i) has value d it means that poles(i) contains the dth derivative of the function to be interpolated. the length l of the following arrays must be the same : parameters, contactorderarray, poles, the length of flatknots is degree + l + 1 warning: the method used to do that interpolation is gauss elimination without pivoting. thus if the diagonal is not dominant there is no guarantee that the algorithm will work. nevertheless for cubic interpolation at knots or interpolation at scheonberg points the method will work. the inversionproblem w ll report 0 if there was no problem else it will give the i. Parameters ---------- @@ -1963,7 +1963,7 @@ InversionProblem: int /****************** Interpolate ******************/ /**** md5 signature: b5cf60eb426c89a7bf0dd27c83c89e23 ****/ %feature("compactdefaultargs") Interpolate; - %feature("autodoc", "Performs the interpolation of the data given in the poles array according to the requests in contactorderarray that is : if contactorderarray(i) has value d it means that poles(i) containes the dth derivative of the function to be interpolated. the length l of the following arrays must be the same : parameters, contactorderarray the length of flatknots is degree + l + 1 the polesarray is an seen as an array[1..n][1..arraydimension] with n = tge length of the parameters array warning: the method used to do that interpolation is gauss elimination without pivoting. thus if the diagonal is not dominant there is no guarantee that the algorithm will work. nevertheless for cubic interpolation or interpolation at scheonberg points the method will work the inversionproblem will report 0 if there was no problem else it will give the index of the faulty pivot. + %feature("autodoc", "Performs the interpolation of the data given in the poles array according to the requests in contactorderarray that is : if contactorderarray(i) has value d it means that poles(i) contains the dth derivative of the function to be interpolated. the length l of the following arrays must be the same : parameters, contactorderarray the length of flatknots is degree + l + 1 the polesarray is an seen as an array[1..n][1..arraydimension] with n = tge length of the parameters array warning: the method used to do that interpolation is gauss elimination without pivoting. thus if the diagonal is not dominant there is no guarantee that the algorithm will work. nevertheless for cubic interpolation or interpolation at scheonberg points the method will work the inversionproblem will report 0 if there was no problem else it will give the index of the faulty pivot. Parameters ---------- @@ -2347,7 +2347,7 @@ LastIndex: int /****************** MovePointAndTangent ******************/ /**** md5 signature: f3528b941ebae064eb869dac3838fd8b ****/ %feature("compactdefaultargs") MovePointAndTangent; - %feature("autodoc", "This is the dimension free version of the utility u is the parameter must be within the first flatknots and the last flatknots delta is the amount the curve has to be moved deltaderivative is the amount the derivative has to be moved. delta and deltaderivative must be array of dimension arraydimension degree is the degree of the bspline and the flatknots are the knots of the bspline starting condition if = -1 means the starting point of the curve can move = 0 means the starting point of the cuve cannot move but tangen starting point of the curve cannot move = 1 means the starting point and tangents cannot move = 2 means the starting point tangent and curvature cannot move = ... same holds for endingcondition poles are the poles of the curve weights are the weights of the curve if not null newpoles are the poles of the deformed curve errorstatus will be 0 if no error happened 1 if there are not enough knots/poles the imposed conditions the way to solve this problem is to add knots to the bspline if startcondition = 1 and endcondition = 1 then you need at least 4 + 2 = 6 poles so for example to have a c1 cubic you will need have at least 2 internal knots. + %feature("autodoc", "This is the dimension free version of the utility u is the parameter must be within the first flatknots and the last flatknots delta is the amount the curve has to be moved deltaderivative is the amount the derivative has to be moved. delta and deltaderivative must be array of dimension arraydimension degree is the degree of the bspline and the flatknots are the knots of the bspline starting condition if = -1 means the starting point of the curve can move = 0 means the starting point of the curve cannot move but tangent starting point of the curve cannot move = 1 means the starting point and tangents cannot move = 2 means the starting point tangent and curvature cannot move = ... same holds for endingcondition poles are the poles of the curve weights are the weights of the curve if not null newpoles are the poles of the deformed curve errorstatus will be 0 if no error happened 1 if there are not enough knots/poles the imposed conditions the way to solve this problem is to add knots to the bspline if startcondition = 1 and endcondition = 1 then you need at least 4 + 2 = 6 poles so for example to have a c1 cubic you will need have at least 2 internal knots. Parameters ---------- @@ -2373,7 +2373,7 @@ ErrorStatus: int /****************** MovePointAndTangent ******************/ /**** md5 signature: 84d0d45564e777fb1d986a7bc7085bd3 ****/ %feature("compactdefaultargs") MovePointAndTangent; - %feature("autodoc", "This is the dimension free version of the utility u is the parameter must be within the first flatknots and the last flatknots delta is the amount the curve has to be moved deltaderivative is the amount the derivative has to be moved. delta and deltaderivative must be array of dimension arraydimension degree is the degree of the bspline and the flatknots are the knots of the bspline starting condition if = -1 means the starting point of the curve can move = 0 means the starting point of the cuve cannot move but tangen starting point of the curve cannot move = 1 means the starting point and tangents cannot move = 2 means the starting point tangent and curvature cannot move = ... same holds for endingcondition poles are the poles of the curve weights are the weights of the curve if not null newpoles are the poles of the deformed curve errorstatus will be 0 if no error happened 1 if there are not enough knots/poles the imposed conditions the way to solve this problem is to add knots to the bspline if startcondition = 1 and endcondition = 1 then you need at least 4 + 2 = 6 poles so for example to have a c1 cubic you will need have at least 2 internal knots. + %feature("autodoc", "This is the dimension free version of the utility u is the parameter must be within the first flatknots and the last flatknots delta is the amount the curve has to be moved deltaderivative is the amount the derivative has to be moved. delta and deltaderivative must be array of dimension arraydimension degree is the degree of the bspline and the flatknots are the knots of the bspline starting condition if = -1 means the starting point of the curve can move = 0 means the starting point of the curve cannot move but tangent starting point of the curve cannot move = 1 means the starting point and tangents cannot move = 2 means the starting point tangent and curvature cannot move = ... same holds for endingcondition poles are the poles of the curve weights are the weights of the curve if not null newpoles are the poles of the deformed curve errorstatus will be 0 if no error happened 1 if there are not enough knots/poles the imposed conditions the way to solve this problem is to add knots to the bspline if startcondition = 1 and endcondition = 1 then you need at least 4 + 2 = 6 poles so for example to have a c1 cubic you will need have at least 2 internal knots. Parameters ---------- @@ -2398,7 +2398,7 @@ ErrorStatus: int /****************** MovePointAndTangent ******************/ /**** md5 signature: 4281391111a23f8a2fbca803f5519e35 ****/ %feature("compactdefaultargs") MovePointAndTangent; - %feature("autodoc", "This is the dimension free version of the utility u is the parameter must be within the first flatknots and the last flatknots delta is the amount the curve has to be moved deltaderivative is the amount the derivative has to be moved. delta and deltaderivative must be array of dimension arraydimension degree is the degree of the bspline and the flatknots are the knots of the bspline starting condition if = -1 means the starting point of the curve can move = 0 means the starting point of the cuve cannot move but tangen starting point of the curve cannot move = 1 means the starting point and tangents cannot move = 2 means the starting point tangent and curvature cannot move = ... same holds for endingcondition poles are the poles of the curve weights are the weights of the curve if not null newpoles are the poles of the deformed curve errorstatus will be 0 if no error happened 1 if there are not enough knots/poles the imposed conditions the way to solve this problem is to add knots to the bspline if startcondition = 1 and endcondition = 1 then you need at least 4 + 2 = 6 poles so for example to have a c1 cubic you will need have at least 2 internal knots. + %feature("autodoc", "This is the dimension free version of the utility u is the parameter must be within the first flatknots and the last flatknots delta is the amount the curve has to be moved deltaderivative is the amount the derivative has to be moved. delta and deltaderivative must be array of dimension arraydimension degree is the degree of the bspline and the flatknots are the knots of the bspline starting condition if = -1 means the starting point of the curve can move = 0 means the starting point of the curve cannot move but tangent starting point of the curve cannot move = 1 means the starting point and tangents cannot move = 2 means the starting point tangent and curvature cannot move = ... same holds for endingcondition poles are the poles of the curve weights are the weights of the curve if not null newpoles are the poles of the deformed curve errorstatus will be 0 if no error happened 1 if there are not enough knots/poles the imposed conditions the way to solve this problem is to add knots to the bspline if startcondition = 1 and endcondition = 1 then you need at least 4 + 2 = 6 poles so for example to have a c1 cubic you will need have at least 2 internal knots. Parameters ---------- @@ -2589,7 +2589,7 @@ NbKnots: int /****************** PrepareTrimming ******************/ /**** md5 signature: 86f0fb4e064014ba01b07670c1d98634 ****/ %feature("compactdefaultargs") PrepareTrimming; - %feature("autodoc", "Set in and the number of knots and poles of the curve resulting of the trimming of the bsplinecurve definded with , , . + %feature("autodoc", "Set in and the number of knots and poles of the curve resulting from the trimming of the bsplinecurve defined with , , . Parameters ---------- @@ -2985,7 +2985,7 @@ Weights: float /****************** SolveBandedSystem ******************/ /**** md5 signature: c3b54f9241e23af58a316990c4c05c84 ****/ %feature("compactdefaultargs") SolveBandedSystem; - %feature("autodoc", "This solves the system matrix.x = b with when matrix is factored in lu form the array is an seen as an array[1..n][1..arraydimension] with n = the rank of the matrix matrix. the result is stored in array when each coordinate is solved that is b is the array whose values are b[i] = array[i][p] for each p in 1..arraydimension. if homogeneousflag == 0 the poles are multiplied by the weights uppon entry and once interpolation is carried over the result of the poles are divided by the result of the interpolation of the weights. otherwise if homogenousflag == 1 the poles and weigths are treated homogenously that is that those are interpolated as they are and result is returned without division by the interpolated weigths. + %feature("autodoc", "This solves the system matrix.x = b with when matrix is factored in lu form the array is an seen as an array[1..n][1..arraydimension] with n = the rank of the matrix matrix. the result is stored in array when each coordinate is solved that is b is the array whose values are b[i] = array[i][p] for each p in 1..arraydimension. if homogeneousflag == 0 the poles are multiplied by the weights upon entry and once interpolation is carried over the result of the poles are divided by the result of the interpolation of the weights. otherwise if homogenousflag == 1 the poles and weigths are treated homogeneously that is that those are interpolated as they are and result is returned without division by the interpolated weigths. Parameters ---------- @@ -3005,7 +3005,7 @@ int /****************** SolveBandedSystem ******************/ /**** md5 signature: bf46510a32c49fb829ee5209d1191b72 ****/ %feature("compactdefaultargs") SolveBandedSystem; - %feature("autodoc", "This solves the system matrix.x = b with when matrix is factored in lu form the array is an seen as an array[1..n][1..arraydimension] with n = the rank of the matrix matrix. the result is stored in array when each coordinate is solved that is b is the array whose values are b[i] = array[i][p] for each p in 1..arraydimension if homogeneousflag == 0 the poles are multiplied by the weights uppon entry and once interpolation is carried over the result of the poles are divided by the result of the interpolation of the weights. otherwise if homogenousflag == 1 the poles and weigths are treated homogenously that is that those are interpolated as they are and result is returned without division by the interpolated weigths. + %feature("autodoc", "This solves the system matrix.x = b with when matrix is factored in lu form the array is an seen as an array[1..n][1..arraydimension] with n = the rank of the matrix matrix. the result is stored in array when each coordinate is solved that is b is the array whose values are b[i] = array[i][p] for each p in 1..arraydimension if homogeneousflag == 0 the poles are multiplied by the weights upon entry and once interpolation is carried over the result of the poles are divided by the result of the interpolation of the weights. otherwise if homogenousflag == 1 the poles and weigths are treated homogeneously that is that those are interpolated as they are and result is returned without division by the interpolated weigths. Parameters ---------- diff --git a/src/SWIG_files/wrapper/BSplCLib.pyi b/src/SWIG_files/wrapper/BSplCLib.pyi index ae6ee2877..b8ac4682e 100644 --- a/src/SWIG_files/wrapper/BSplCLib.pyi +++ b/src/SWIG_files/wrapper/BSplCLib.pyi @@ -241,7 +241,7 @@ class bsplclib: def IncreaseDegree(NewDegree: int, Poles: TColgp_Array1OfPnt, Weights: TColStd_Array1OfReal, NewPoles: TColgp_Array1OfPnt, NewWeights: TColStd_Array1OfReal) -> None: ... @overload @staticmethod - def IncreaseDegree(NewDegree: int, Poles: TColgp_Array1OfPnt2d, Weights: TColStd_Array1OfReal, NewPoles: TColgp_Array1OfPnt2d, NewWeights: TColStd_Array1OfReal) -> None: ... + def IncreaseDegree(theNewDegree: int, thePoles: TColgp_Array1OfPnt2d, theWeights: TColStd_Array1OfReal, theNewPoles: TColgp_Array1OfPnt2d, theNewWeights: TColStd_Array1OfReal) -> None: ... @staticmethod def IncreaseDegreeCountKnots(Degree: int, NewDegree: int, Periodic: bool, Mults: TColStd_Array1OfInteger) -> int: ... @overload diff --git a/src/SWIG_files/wrapper/BSplSLib.i b/src/SWIG_files/wrapper/BSplSLib.i index fbc5b27e3..063e18c09 100644 --- a/src/SWIG_files/wrapper/BSplSLib.i +++ b/src/SWIG_files/wrapper/BSplSLib.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BSPLSLIBDOCSTRING "BSplSLib module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bsplslib.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_bsplslib.html" %enddef %module (package="OCC.Core", docstring=BSPLSLIBDOCSTRING) BSplSLib @@ -64,7 +64,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -466,7 +466,7 @@ None /****************** FunctionMultiply ******************/ /**** md5 signature: 45abca34df2cfa28f99d3579bc8a3b9c ****/ %feature("compactdefaultargs") FunctionMultiply; - %feature("autodoc", "This will multiply a given bspline numerator n(u,v) and denominator d(u,v) defined by its u/vbsplinedegree and u/vbsplineknots, and u/vmults. its poles and weights are arrays which are coded as array2 of the form [1..unumpoles][1..vnumpoles] by a function a(u,v) which is assumed to satisfy the following : 1. a(u,v) * n(u,v) and a(u,v) * d(u,v) is a polynomial bspline that can be expressed exactly as a bspline of degree u/vnewdegree on the knots u/vflatknots 2. the range of a(u,v) is the same as the range of n(u,v) or d(u,v) ---warning: it is the caller's responsability to insure that conditions 1. and 2. above are satisfied : no check whatsoever is made in this method -- thestatus will return 0 if ok else it will return the pivot index -- of the matrix that was inverted to compute the multiplied -- bspline : the method used is interpolation at schoenenberg -- points of a(u,v)* n(u,v) and a(u,v) * d(u,v) thestatus will return 0 if ok else it will return the pivot index of the matrix that was inverted to compute the multiplied bspline : the method used is interpolation at schoenenberg points of a(u,v)*f(u,v) --. + %feature("autodoc", "This will multiply a given bspline numerator n(u,v) and denominator d(u,v) defined by its u/vbsplinedegree and u/vbsplineknots, and u/vmults. its poles and weights are arrays which are coded as array2 of the form [1..unumpoles][1..vnumpoles] by a function a(u,v) which is assumed to satisfy the following : 1. a(u,v) * n(u,v) and a(u,v) * d(u,v) is a polynomial bspline that can be expressed exactly as a bspline of degree u/vnewdegree on the knots u/vflatknots 2. the range of a(u,v) is the same as the range of n(u,v) or d(u,v) ---warning: it is the caller's responsibility to insure that conditions 1. and 2. above are satisfied : no check whatsoever is made in this method -- thestatus will return 0 if ok else it will return the pivot index -- of the matrix that was inverted to compute the multiplied -- bspline : the method used is interpolation at schoenenberg -- points of a(u,v)* n(u,v) and a(u,v) * d(u,v) thestatus will return 0 if ok else it will return the pivot index of the matrix that was inverted to compute the multiplied bspline : the method used is interpolation at schoenenberg points of a(u,v)*f(u,v) --. Parameters ---------- diff --git a/src/SWIG_files/wrapper/BVH.i b/src/SWIG_files/wrapper/BVH.i index 988248bef..5df02c7a9 100644 --- a/src/SWIG_files/wrapper/BVH.i +++ b/src/SWIG_files/wrapper/BVH.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BVHDOCSTRING "BVH module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bvh.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_bvh.html" %enddef %module (package="OCC.Core", docstring=BVHDOCSTRING) BVH @@ -70,7 +70,7 @@ enum { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/BiTgte.i b/src/SWIG_files/wrapper/BiTgte.i index a605e0386..7fadf8dc5 100644 --- a/src/SWIG_files/wrapper/BiTgte.i +++ b/src/SWIG_files/wrapper/BiTgte.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BITGTEDOCSTRING "BiTgte module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bitgte.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_bitgte.html" %enddef %module (package="OCC.Core", docstring=BITGTEDOCSTRING) BiTgte @@ -86,7 +86,7 @@ enum BiTgte_ContactType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BiTgte_ContactType(IntEnum): @@ -106,8 +106,8 @@ BiTgte_VertexVertex = BiTgte_ContactType.BiTgte_VertexVertex /* end python proxy for enums */ /* handles */ -%wrap_handle(BiTgte_HCurveOnEdge) -%wrap_handle(BiTgte_HCurveOnVertex) +%wrap_handle(BiTgte_CurveOnEdge) +%wrap_handle(BiTgte_CurveOnVertex) /* end handles declaration */ /* templates */ @@ -767,7 +767,7 @@ None /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -910,7 +910,7 @@ float Standard_Real Resolution(const Standard_Real R3d); /****************** Trim ******************/ - /**** md5 signature: 113944489c8ce9efcb5cb2d44fff51d7 ****/ + /**** md5 signature: 40a46ffe7379c6d919968b501b8343a5 ****/ %feature("compactdefaultargs") Trim; %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -922,9 +922,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: d7f310c73762cbaa285ace0a141bc7bf ****/ @@ -944,6 +944,8 @@ gp_Pnt }; +%make_alias(BiTgte_CurveOnEdge) + %extend BiTgte_CurveOnEdge { %pythoncode { __repr__ = _dumps_object @@ -1186,7 +1188,7 @@ None /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -1329,7 +1331,7 @@ float Standard_Real Resolution(const Standard_Real R3d); /****************** Trim ******************/ - /**** md5 signature: 113944489c8ce9efcb5cb2d44fff51d7 ****/ + /**** md5 signature: 40a46ffe7379c6d919968b501b8343a5 ****/ %feature("compactdefaultargs") Trim; %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -1341,9 +1343,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: d7f310c73762cbaa285ace0a141bc7bf ****/ @@ -1363,187 +1365,9 @@ gp_Pnt }; -%extend BiTgte_CurveOnVertex { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/**************************** -* class BiTgte_HCurveOnEdge * -****************************/ -class BiTgte_HCurveOnEdge : public Adaptor3d_HCurve { - public: - /****************** BiTgte_HCurveOnEdge ******************/ - /**** md5 signature: 2ad2aa1b96813bad76de96545a132d40 ****/ - %feature("compactdefaultargs") BiTgte_HCurveOnEdge; - %feature("autodoc", "Creates an empty genhcurve. - -Returns -------- -None -") BiTgte_HCurveOnEdge; - BiTgte_HCurveOnEdge(); - - /****************** BiTgte_HCurveOnEdge ******************/ - /**** md5 signature: a665c1e8600cec2853f810d5d006e4f2 ****/ - %feature("compactdefaultargs") BiTgte_HCurveOnEdge; - %feature("autodoc", "Creates a genhcurve from a curve. - -Parameters ----------- -C: BiTgte_CurveOnEdge - -Returns -------- -None -") BiTgte_HCurveOnEdge; - BiTgte_HCurveOnEdge(const BiTgte_CurveOnEdge & C); - - /****************** ChangeCurve ******************/ - /**** md5 signature: bb25bf47662f7e00c15ecf6d3e802f3e ****/ - %feature("compactdefaultargs") ChangeCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -BiTgte_CurveOnEdge -") ChangeCurve; - BiTgte_CurveOnEdge & ChangeCurve(); - - /****************** Curve ******************/ - /**** md5 signature: a89f0959dbb9c3c030843720c3636148 ****/ - %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") Curve; - const Adaptor3d_Curve & Curve(); - - /****************** GetCurve ******************/ - /**** md5 signature: 73b397b3522011e6948956523664e20c ****/ - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") GetCurve; - Adaptor3d_Curve & GetCurve(); - - /****************** Set ******************/ - /**** md5 signature: 049171d6b8e70260c1a5f802baca72c2 ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve. - -Parameters ----------- -C: BiTgte_CurveOnEdge - -Returns -------- -None -") Set; - void Set(const BiTgte_CurveOnEdge & C); - -}; - - -%make_alias(BiTgte_HCurveOnEdge) +%make_alias(BiTgte_CurveOnVertex) -%extend BiTgte_HCurveOnEdge { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/****************************** -* class BiTgte_HCurveOnVertex * -******************************/ -class BiTgte_HCurveOnVertex : public Adaptor3d_HCurve { - public: - /****************** BiTgte_HCurveOnVertex ******************/ - /**** md5 signature: 5320504925b1287b64eb071acb58f650 ****/ - %feature("compactdefaultargs") BiTgte_HCurveOnVertex; - %feature("autodoc", "Creates an empty genhcurve. - -Returns -------- -None -") BiTgte_HCurveOnVertex; - BiTgte_HCurveOnVertex(); - - /****************** BiTgte_HCurveOnVertex ******************/ - /**** md5 signature: 3f28cb2117e2840f16163c026c166a9f ****/ - %feature("compactdefaultargs") BiTgte_HCurveOnVertex; - %feature("autodoc", "Creates a genhcurve from a curve. - -Parameters ----------- -C: BiTgte_CurveOnVertex - -Returns -------- -None -") BiTgte_HCurveOnVertex; - BiTgte_HCurveOnVertex(const BiTgte_CurveOnVertex & C); - - /****************** ChangeCurve ******************/ - /**** md5 signature: 9e664d84e29b5c4dd2f89872b57e39fe ****/ - %feature("compactdefaultargs") ChangeCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -BiTgte_CurveOnVertex -") ChangeCurve; - BiTgte_CurveOnVertex & ChangeCurve(); - - /****************** Curve ******************/ - /**** md5 signature: a89f0959dbb9c3c030843720c3636148 ****/ - %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") Curve; - const Adaptor3d_Curve & Curve(); - - /****************** GetCurve ******************/ - /**** md5 signature: 73b397b3522011e6948956523664e20c ****/ - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") GetCurve; - Adaptor3d_Curve & GetCurve(); - - /****************** Set ******************/ - /**** md5 signature: 7e8c4ace2fa0b6b2e5f93ff796af50b7 ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve. - -Parameters ----------- -C: BiTgte_CurveOnVertex - -Returns -------- -None -") Set; - void Set(const BiTgte_CurveOnVertex & C); - -}; - - -%make_alias(BiTgte_HCurveOnVertex) - -%extend BiTgte_HCurveOnVertex { +%extend BiTgte_CurveOnVertex { %pythoncode { __repr__ = _dumps_object } diff --git a/src/SWIG_files/wrapper/BiTgte.pyi b/src/SWIG_files/wrapper/BiTgte.pyi index 6ca1ac101..d3f3662f7 100644 --- a/src/SWIG_files/wrapper/BiTgte.pyi +++ b/src/SWIG_files/wrapper/BiTgte.pyi @@ -96,7 +96,7 @@ class BiTgte_CurveOnEdge(Adaptor3d_Curve): def Parabola(self) -> gp_Parab: ... def Period(self) -> float: ... def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HCurve: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Curve: ... def Value(self, U: float) -> gp_Pnt: ... class BiTgte_CurveOnVertex(Adaptor3d_Curve): @@ -131,29 +131,9 @@ class BiTgte_CurveOnVertex(Adaptor3d_Curve): def Parabola(self) -> gp_Parab: ... def Period(self) -> float: ... def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HCurve: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Curve: ... def Value(self, U: float) -> gp_Pnt: ... -class BiTgte_HCurveOnEdge(Adaptor3d_HCurve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: BiTgte_CurveOnEdge) -> None: ... - def ChangeCurve(self) -> BiTgte_CurveOnEdge: ... - def Curve(self) -> Adaptor3d_Curve: ... - def GetCurve(self) -> Adaptor3d_Curve: ... - def Set(self, C: BiTgte_CurveOnEdge) -> None: ... - -class BiTgte_HCurveOnVertex(Adaptor3d_HCurve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: BiTgte_CurveOnVertex) -> None: ... - def ChangeCurve(self) -> BiTgte_CurveOnVertex: ... - def Curve(self) -> Adaptor3d_Curve: ... - def GetCurve(self) -> Adaptor3d_Curve: ... - def Set(self, C: BiTgte_CurveOnVertex) -> None: ... - # harray1 classes # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/BinDrivers.i b/src/SWIG_files/wrapper/BinDrivers.i index c96024ad4..d348e0b29 100644 --- a/src/SWIG_files/wrapper/BinDrivers.i +++ b/src/SWIG_files/wrapper/BinDrivers.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BINDRIVERSDOCSTRING "BinDrivers module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bindrivers.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_bindrivers.html" %enddef %module (package="OCC.Core", docstring=BINDRIVERSDOCSTRING) BinDrivers @@ -45,7 +45,6 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bindrivers.html" #include #include #include -#include #include #include #include @@ -63,7 +62,6 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bindrivers.html" %import Message.i %import BinMDF.i %import TDocStd.i -%import TCollection.i %import BinLDrivers.i %import Storage.i @@ -80,7 +78,7 @@ enum BinDrivers_Marker { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BinDrivers_Marker(IntEnum): @@ -153,17 +151,6 @@ opencascade::handle ") Factory; static const opencascade::handle & Factory(const Standard_GUID & theGUID); - /****************** StorageVersion ******************/ - /**** md5 signature: a68044f4a6f5d5c72fd58dc4fdd88764 ****/ - %feature("compactdefaultargs") StorageVersion; - %feature("autodoc", "Returns '1'. - -Returns -------- -TCollection_AsciiString -") StorageVersion; - static TCollection_AsciiString StorageVersion(); - }; @@ -215,6 +202,22 @@ None ") Clear; virtual void Clear(); + /****************** EnableQuickPartReading ******************/ + /**** md5 signature: f261e2d709a543f0a293a3d73e15d394 ****/ + %feature("compactdefaultargs") EnableQuickPartReading; + %feature("autodoc", "Enables reading in the quick part access mode. + +Parameters +---------- +theMessageDriver: Message_Messenger +theValue: bool + +Returns +------- +None +") EnableQuickPartReading; + virtual void EnableQuickPartReading(const opencascade::handle & theMessageDriver, Standard_Boolean theValue); + }; @@ -257,6 +260,44 @@ opencascade::handle ") AttributeDrivers; virtual opencascade::handle AttributeDrivers(const opencascade::handle & theMsgDriver); + /****************** Clear ******************/ + /**** md5 signature: f671931d03948860d0ead34afbe920aa ****/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "Clears the namedshape driver. + +Returns +------- +None +") Clear; + virtual void Clear(); + + /****************** EnableQuickPartWriting ******************/ + /**** md5 signature: 67669b500f4a4f57fa9f8e71b5f7bab8 ****/ + %feature("compactdefaultargs") EnableQuickPartWriting; + %feature("autodoc", "Enables writing in the quick part access mode. + +Parameters +---------- +theMessageDriver: Message_Messenger +theValue: bool + +Returns +------- +None +") EnableQuickPartWriting; + void EnableQuickPartWriting(const opencascade::handle & theMessageDriver, const Standard_Boolean theValue); + + /****************** IsWithNormals ******************/ + /**** md5 signature: 9d2bdcdcd1f884eaceb6d40879d090bb ****/ + %feature("compactdefaultargs") IsWithNormals; + %feature("autodoc", "Return true if shape should be stored with triangulation normals. + +Returns +------- +bool +") IsWithNormals; + Standard_Boolean IsWithNormals(); + /****************** IsWithTriangles ******************/ /**** md5 signature: 32c48a11bbc2ae55f906cde0d81b8f2d ****/ %feature("compactdefaultargs") IsWithTriangles; @@ -268,6 +309,22 @@ bool ") IsWithTriangles; Standard_Boolean IsWithTriangles(); + /****************** SetWithNormals ******************/ + /**** md5 signature: 7fde6e7e5f05b8658b05741a6e66c3d2 ****/ + %feature("compactdefaultargs") SetWithNormals; + %feature("autodoc", "Set if triangulation should be stored with normals or not. + +Parameters +---------- +theMessageDriver: Message_Messenger +theWithTriangulation: bool + +Returns +------- +None +") SetWithNormals; + void SetWithNormals(const opencascade::handle & theMessageDriver, const Standard_Boolean theWithTriangulation); + /****************** SetWithTriangles ******************/ /**** md5 signature: db0227376859215948d44ae6c914f15c ****/ %feature("compactdefaultargs") SetWithTriangles; diff --git a/src/SWIG_files/wrapper/BinDrivers.pyi b/src/SWIG_files/wrapper/BinDrivers.pyi index 5222317db..602294063 100644 --- a/src/SWIG_files/wrapper/BinDrivers.pyi +++ b/src/SWIG_files/wrapper/BinDrivers.pyi @@ -6,7 +6,6 @@ from OCC.Core.NCollection import * from OCC.Core.Message import * from OCC.Core.BinMDF import * from OCC.Core.TDocStd import * -from OCC.Core.TCollection import * from OCC.Core.BinLDrivers import * from OCC.Core.Storage import * @@ -25,18 +24,21 @@ class bindrivers: def DefineFormat(theApp: TDocStd_Application) -> None: ... @staticmethod def Factory(theGUID: Standard_GUID) -> Standard_Transient: ... - @staticmethod - def StorageVersion() -> TCollection_AsciiString: ... class BinDrivers_DocumentRetrievalDriver(BinLDrivers_DocumentRetrievalDriver): def __init__(self) -> None: ... def AttributeDrivers(self, theMsgDriver: Message_Messenger) -> BinMDF_ADriverTable: ... def Clear(self) -> None: ... + def EnableQuickPartReading(self, theMessageDriver: Message_Messenger, theValue: bool) -> None: ... class BinDrivers_DocumentStorageDriver(BinLDrivers_DocumentStorageDriver): def __init__(self) -> None: ... def AttributeDrivers(self, theMsgDriver: Message_Messenger) -> BinMDF_ADriverTable: ... + def Clear(self) -> None: ... + def EnableQuickPartWriting(self, theMessageDriver: Message_Messenger, theValue: bool) -> None: ... + def IsWithNormals(self) -> bool: ... def IsWithTriangles(self) -> bool: ... + def SetWithNormals(self, theMessageDriver: Message_Messenger, theWithTriangulation: bool) -> None: ... def SetWithTriangles(self, theMessageDriver: Message_Messenger, theWithTriangulation: bool) -> None: ... # harray1 classes @@ -46,4 +48,3 @@ class BinDrivers_DocumentStorageDriver(BinLDrivers_DocumentStorageDriver): bindrivers_AttributeDrivers = bindrivers.AttributeDrivers bindrivers_DefineFormat = bindrivers.DefineFormat bindrivers_Factory = bindrivers.Factory -bindrivers_StorageVersion = bindrivers.StorageVersion diff --git a/src/SWIG_files/wrapper/BinLDrivers.i b/src/SWIG_files/wrapper/BinLDrivers.i index 2d3a65307..6398d3c43 100644 --- a/src/SWIG_files/wrapper/BinLDrivers.i +++ b/src/SWIG_files/wrapper/BinLDrivers.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BINLDRIVERSDOCSTRING "BinLDrivers module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_binldrivers.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_binldrivers.html" %enddef %module (package="OCC.Core", docstring=BINLDRIVERSDOCSTRING) BinLDrivers @@ -45,8 +45,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_binldrivers.html" #include #include #include -#include #include +#include #include #include #include @@ -62,8 +62,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_binldrivers.html" %import Message.i %import BinMDF.i %import TDocStd.i -%import TCollection.i %import PCDM.i +%import TCollection.i %import CDM.i %import Storage.i @@ -80,7 +80,7 @@ enum BinLDrivers_Marker { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BinLDrivers_Marker(IntEnum): @@ -155,17 +155,6 @@ opencascade::handle ") Factory; static const opencascade::handle & Factory(const Standard_GUID & theGUID); - /****************** StorageVersion ******************/ - /**** md5 signature: a68044f4a6f5d5c72fd58dc4fdd88764 ****/ - %feature("compactdefaultargs") StorageVersion; - %feature("autodoc", "Returns last storage version. - -Returns -------- -TCollection_AsciiString -") StorageVersion; - static TCollection_AsciiString StorageVersion(); - }; @@ -206,19 +195,8 @@ opencascade::handle ") AttributeDrivers; virtual opencascade::handle AttributeDrivers(const opencascade::handle & theMsgDriver); - /****************** CreateDocument ******************/ - /**** md5 signature: d7e352e938b9f62ab597a280f53e96dc ****/ - %feature("compactdefaultargs") CreateDocument; - %feature("autodoc", "Pure virtual method definition. - -Returns -------- -opencascade::handle -") CreateDocument; - virtual opencascade::handle CreateDocument(); - /****************** Read ******************/ - /**** md5 signature: dc12000346c64247976b93026822d796 ****/ + /**** md5 signature: f7b8bb13afb113e0cba89338b8e12a06 ****/ %feature("compactdefaultargs") Read; %feature("autodoc", "Retrieves the content of the file into a new document. @@ -227,6 +205,8 @@ Parameters theFileName: TCollection_ExtendedString theNewDocument: CDM_Document theApplication: CDM_Application +theFilter: PCDM_ReaderFilter,optional + default value is opencascade::handle() theProgress: Message_ProgressRange,optional default value is Message_ProgressRange() @@ -234,7 +214,7 @@ Returns ------- None ") Read; - virtual void Read(const TCollection_ExtendedString & theFileName, const opencascade::handle & theNewDocument, const opencascade::handle & theApplication, const Message_ProgressRange & theProgress = Message_ProgressRange()); + virtual void Read(const TCollection_ExtendedString & theFileName, const opencascade::handle & theNewDocument, const opencascade::handle & theApplication, const opencascade::handle & theFilter = opencascade::handle(), const Message_ProgressRange & theProgress = Message_ProgressRange()); }; @@ -353,14 +333,6 @@ None ") SetOffset; void SetOffset(const uint64_t theOffset); - - %feature("autodoc", "1"); - %extend{ - std::string WriteTOCToString() { - std::stringstream s; - self->WriteTOC(s); - return s.str();} - }; }; @@ -418,6 +390,21 @@ opencascade::handle ") AttributeDrivers; virtual opencascade::handle AttributeDrivers(const opencascade::handle & theMsgDriver); + /****************** IsQuickPart ******************/ + /**** md5 signature: 6353ee4c7a025e5e9aa62fb9950e7e78 ****/ + %feature("compactdefaultargs") IsQuickPart; + %feature("autodoc", "Return true if document should be stored in quick mode for partial reading. + +Parameters +---------- +theVersion: int + +Returns +------- +bool +") IsQuickPart; + Standard_Boolean IsQuickPart(const Standard_Integer theVersion); + /****************** Write ******************/ /**** md5 signature: 3ba5a4920118cfb01ca7cb6e94265c60 ****/ %feature("compactdefaultargs") Write; diff --git a/src/SWIG_files/wrapper/BinLDrivers.pyi b/src/SWIG_files/wrapper/BinLDrivers.pyi index c5329f142..f137831fb 100644 --- a/src/SWIG_files/wrapper/BinLDrivers.pyi +++ b/src/SWIG_files/wrapper/BinLDrivers.pyi @@ -6,8 +6,8 @@ from OCC.Core.NCollection import * from OCC.Core.Message import * from OCC.Core.BinMDF import * from OCC.Core.TDocStd import * -from OCC.Core.TCollection import * from OCC.Core.PCDM import * +from OCC.Core.TCollection import * from OCC.Core.CDM import * from OCC.Core.Storage import * @@ -28,15 +28,12 @@ class binldrivers: def DefineFormat(theApp: TDocStd_Application) -> None: ... @staticmethod def Factory(theGUID: Standard_GUID) -> Standard_Transient: ... - @staticmethod - def StorageVersion() -> TCollection_AsciiString: ... class BinLDrivers_DocumentRetrievalDriver(PCDM_RetrievalDriver): def __init__(self) -> None: ... def AttributeDrivers(self, theMsgDriver: Message_Messenger) -> BinMDF_ADriverTable: ... - def CreateDocument(self) -> CDM_Document: ... @overload - def Read(self, theFileName: TCollection_ExtendedString, theNewDocument: CDM_Document, theApplication: CDM_Application, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... + def Read(self, theFileName: TCollection_ExtendedString, theNewDocument: CDM_Document, theApplication: CDM_Application, theFilter: Optional[PCDM_ReaderFilter] = PCDM_ReaderFilter(), theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... class BinLDrivers_DocumentSection: @overload @@ -52,6 +49,7 @@ class BinLDrivers_DocumentStorageDriver(PCDM_StorageDriver): def __init__(self) -> None: ... def AddSection(self, theName: TCollection_AsciiString, isPostRead: Optional[bool] = True) -> None: ... def AttributeDrivers(self, theMsgDriver: Message_Messenger) -> BinMDF_ADriverTable: ... + def IsQuickPart(self, theVersion: int) -> bool: ... @overload def Write(self, theDocument: CDM_Document, theFileName: TCollection_ExtendedString, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... @@ -62,5 +60,4 @@ class BinLDrivers_DocumentStorageDriver(PCDM_StorageDriver): binldrivers_AttributeDrivers = binldrivers.AttributeDrivers binldrivers_DefineFormat = binldrivers.DefineFormat binldrivers_Factory = binldrivers.Factory -binldrivers_StorageVersion = binldrivers.StorageVersion BinLDrivers_DocumentSection_ReadTOC = BinLDrivers_DocumentSection.ReadTOC diff --git a/src/SWIG_files/wrapper/BinMDF.i b/src/SWIG_files/wrapper/BinMDF.i index 2e73e765b..7ffe71617 100644 --- a/src/SWIG_files/wrapper/BinMDF.i +++ b/src/SWIG_files/wrapper/BinMDF.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BINMDFDOCSTRING "BinMDF module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_binmdf.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_binmdf.html" %enddef %module (package="OCC.Core", docstring=BINMDFDOCSTRING) BinMDF @@ -70,7 +70,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/BinMDataStd.i b/src/SWIG_files/wrapper/BinMDataStd.i index 84b7a6ee4..4a5e02eb3 100644 --- a/src/SWIG_files/wrapper/BinMDataStd.i +++ b/src/SWIG_files/wrapper/BinMDataStd.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BINMDATASTDDOCSTRING "BinMDataStd module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_binmdatastd.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_binmdatastd.html" %enddef %module (package="OCC.Core", docstring=BINMDATASTDDOCSTRING) BinMDataStd @@ -68,7 +68,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/BinMDataXtd.i b/src/SWIG_files/wrapper/BinMDataXtd.i index 5b1d998ea..d4aa7bfc4 100644 --- a/src/SWIG_files/wrapper/BinMDataXtd.i +++ b/src/SWIG_files/wrapper/BinMDataXtd.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BINMDATAXTDDOCSTRING "BinMDataXtd module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_binmdataxtd.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_binmdataxtd.html" %enddef %module (package="OCC.Core", docstring=BINMDATAXTDDOCSTRING) BinMDataXtd @@ -68,7 +68,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/BinMDocStd.i b/src/SWIG_files/wrapper/BinMDocStd.i index 37b04d0b6..9143288ca 100644 --- a/src/SWIG_files/wrapper/BinMDocStd.i +++ b/src/SWIG_files/wrapper/BinMDocStd.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BINMDOCSTDDOCSTRING "BinMDocStd module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_binmdocstd.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_binmdocstd.html" %enddef %module (package="OCC.Core", docstring=BINMDOCSTDDOCSTRING) BinMDocStd @@ -68,7 +68,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/BinMFunction.i b/src/SWIG_files/wrapper/BinMFunction.i index a548cf34d..e5b6359c9 100644 --- a/src/SWIG_files/wrapper/BinMFunction.i +++ b/src/SWIG_files/wrapper/BinMFunction.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BINMFUNCTIONDOCSTRING "BinMFunction module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_binmfunction.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_binmfunction.html" %enddef %module (package="OCC.Core", docstring=BINMFUNCTIONDOCSTRING) BinMFunction @@ -68,7 +68,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/BinMNaming.i b/src/SWIG_files/wrapper/BinMNaming.i index b3f46edc3..59dc4e59b 100644 --- a/src/SWIG_files/wrapper/BinMNaming.i +++ b/src/SWIG_files/wrapper/BinMNaming.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BINMNAMINGDOCSTRING "BinMNaming module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_binmnaming.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_binmnaming.html" %enddef %module (package="OCC.Core", docstring=BINMNAMINGDOCSTRING) BinMNaming @@ -75,7 +75,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -153,21 +153,25 @@ None ") Clear; void Clear(); - /****************** GetFormatNb ******************/ - /**** md5 signature: 9809eaa2f443c2602f3527736fa218f2 ****/ - %feature("compactdefaultargs") GetFormatNb; - %feature("autodoc", "Get the format of topology. + /****************** EnableQuickPart ******************/ + /**** md5 signature: cec3cd0b4a2a26b64dabfcaa2c58ee1c ****/ + %feature("compactdefaultargs") EnableQuickPart; + %feature("autodoc", "Sets the flag for quick part of the document access: shapes are stored in the attribute. + +Parameters +---------- +theValue: bool Returns ------- -int -") GetFormatNb; - Standard_Integer GetFormatNb(); +None +") EnableQuickPart; + void EnableQuickPart(const Standard_Boolean theValue); /****************** GetShapesLocations ******************/ - /**** md5 signature: 747eb6b8251eb0259ac6f889ad0dbe04 ****/ + /**** md5 signature: 9cd92ab397d1145dc380f0edef6fc008 ****/ %feature("compactdefaultargs") GetShapesLocations; - %feature("autodoc", "Get the format of topology. + %feature("autodoc", "Get the shapes locations. Returns ------- @@ -175,6 +179,28 @@ BinTools_LocationSet ") GetShapesLocations; BinTools_LocationSet & GetShapesLocations(); + /****************** IsQuickPart ******************/ + /**** md5 signature: 1b93209c8c5b5efc320465bf731b4acb ****/ + %feature("compactdefaultargs") IsQuickPart; + %feature("autodoc", "Returns true if quick part of the document access is enabled: shapes are stored in the attribute. + +Returns +------- +bool +") IsQuickPart; + Standard_Boolean IsQuickPart(); + + /****************** IsWithNormals ******************/ + /**** md5 signature: 49f5baecd893691e08f163fb559d8b06 ****/ + %feature("compactdefaultargs") IsWithNormals; + %feature("autodoc", "Return true if shape should be stored with triangulation normals. + +Returns +------- +bool +") IsWithNormals; + Standard_Boolean IsWithNormals(); + /****************** IsWithTriangles ******************/ /**** md5 signature: 2adacf1f8e5d4c926108b4db84751e9a ****/ %feature("compactdefaultargs") IsWithTriangles; @@ -238,20 +264,20 @@ None std::stringstream s(src); self->ReadShapeSection(s);} }; - /****************** SetFormatNb ******************/ - /**** md5 signature: 0be85d313a433ece54bf3e7f8567bba5 ****/ - %feature("compactdefaultargs") SetFormatNb; - %feature("autodoc", "Set the format of topology first : does not write curveonsurface uv points into the file on reading calls check() method. second: stores curveonsurface uv points. + /****************** SetWithNormals ******************/ + /**** md5 signature: 2f7757cd59d0573f368c1b217c28b7f5 ****/ + %feature("compactdefaultargs") SetWithNormals; + %feature("autodoc", "Set whether to store triangulation with normals. Parameters ---------- -theFormat: int +isWithNormals: bool Returns ------- None -") SetFormatNb; - void SetFormatNb(const Standard_Integer theFormat); +") SetWithNormals; + void SetWithNormals(const Standard_Boolean isWithNormals); /****************** SetWithTriangles ******************/ /**** md5 signature: ac168a6a3fad4f9bcc30c8362a1cf0c6 ****/ @@ -268,14 +294,21 @@ None ") SetWithTriangles; void SetWithTriangles(const Standard_Boolean isWithTriangles); + /****************** ShapeSet ******************/ + /**** md5 signature: 9b5007d7513ff5d1f7e764f2202870c2 ****/ + %feature("compactdefaultargs") ShapeSet; + %feature("autodoc", "Returns shape-set of the needed type. + +Parameters +---------- +theReading: bool + +Returns +------- +BinTools_ShapeSetBase * +") ShapeSet; + BinTools_ShapeSetBase * ShapeSet(const Standard_Boolean theReading); - %feature("autodoc", "1"); - %extend{ - std::string WriteShapeSectionToString() { - std::stringstream s; - self->WriteShapeSection(s); - return s.str();} - }; }; diff --git a/src/SWIG_files/wrapper/BinMNaming.pyi b/src/SWIG_files/wrapper/BinMNaming.pyi index ada13df40..4e7f75396 100644 --- a/src/SWIG_files/wrapper/BinMNaming.pyi +++ b/src/SWIG_files/wrapper/BinMNaming.pyi @@ -17,16 +17,19 @@ class binmnaming: class BinMNaming_NamedShapeDriver(BinMDF_ADriver): def __init__(self, theMessageDriver: Message_Messenger) -> None: ... def Clear(self) -> None: ... - def GetFormatNb(self) -> int: ... + def EnableQuickPart(self, theValue: bool) -> None: ... def GetShapesLocations(self) -> BinTools_LocationSet: ... + def IsQuickPart(self) -> bool: ... + def IsWithNormals(self) -> bool: ... def IsWithTriangles(self) -> bool: ... def NewEmpty(self) -> TDF_Attribute: ... @overload def Paste(self, Source: BinObjMgt_Persistent, Target: TDF_Attribute, RelocTable: BinObjMgt_RRelocationTable) -> bool: ... @overload def Paste(self, Source: TDF_Attribute, Target: BinObjMgt_Persistent, RelocTable: BinObjMgt_SRelocationTable) -> None: ... - def SetFormatNb(self, theFormat: int) -> None: ... + def SetWithNormals(self, isWithNormals: bool) -> None: ... def SetWithTriangles(self, isWithTriangles: bool) -> None: ... + def ShapeSet(self, theReading: bool) -> BinTools_ShapeSetBase: ... class BinMNaming_NamingDriver(BinMDF_ADriver): def __init__(self, theMessageDriver: Message_Messenger) -> None: ... diff --git a/src/SWIG_files/wrapper/BinMXCAFDoc.i b/src/SWIG_files/wrapper/BinMXCAFDoc.i index 6e7aeaed3..e336549e3 100644 --- a/src/SWIG_files/wrapper/BinMXCAFDoc.i +++ b/src/SWIG_files/wrapper/BinMXCAFDoc.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BINMXCAFDOCDOCSTRING "BinMXCAFDoc module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_binmxcafdoc.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_binmxcafdoc.html" %enddef %module (package="OCC.Core", docstring=BINMXCAFDOCDOCSTRING) BinMXCAFDoc @@ -46,7 +46,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_binmxcafdoc.html" #include #include #include -#include +#include #include #include #include @@ -66,7 +66,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_binmxcafdoc.html" %import Message.i %import TDF.i %import BinObjMgt.i -%import BinTools.i +%import BinMNaming.i %import TopLoc.i %pythoncode { @@ -77,7 +77,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -89,6 +89,7 @@ from OCC.Core.Exception import * %wrap_handle(BinMXCAFDoc_DatumDriver) %wrap_handle(BinMXCAFDoc_DimTolDriver) %wrap_handle(BinMXCAFDoc_GraphNodeDriver) +%wrap_handle(BinMXCAFDoc_LengthUnitDriver) %wrap_handle(BinMXCAFDoc_LocationDriver) %wrap_handle(BinMXCAFDoc_MaterialDriver) %wrap_handle(BinMXCAFDoc_NoteDriver) @@ -591,6 +592,82 @@ None } }; +/************************************* +* class BinMXCAFDoc_LengthUnitDriver * +*************************************/ +class BinMXCAFDoc_LengthUnitDriver : public BinMDF_ADriver { + public: + /****************** BinMXCAFDoc_LengthUnitDriver ******************/ + /**** md5 signature: 84791bd884b758ab125885102aed1181 ****/ + %feature("compactdefaultargs") BinMXCAFDoc_LengthUnitDriver; + %feature("autodoc", "No available documentation. + +Parameters +---------- +theMsgDriver: Message_Messenger + +Returns +------- +None +") BinMXCAFDoc_LengthUnitDriver; + BinMXCAFDoc_LengthUnitDriver(const opencascade::handle & theMsgDriver); + + /****************** NewEmpty ******************/ + /**** md5 signature: 8be17a4d2a4deeee198571712e76805e ****/ + %feature("compactdefaultargs") NewEmpty; + %feature("autodoc", "No available documentation. + +Returns +------- +opencascade::handle +") NewEmpty; + virtual opencascade::handle NewEmpty(); + + /****************** Paste ******************/ + /**** md5 signature: 1e52cd985850eb2ad199c368fa7282ef ****/ + %feature("compactdefaultargs") Paste; + %feature("autodoc", "No available documentation. + +Parameters +---------- +theSource: BinObjMgt_Persistent +theTarget: TDF_Attribute +theRelocTable: BinObjMgt_RRelocationTable + +Returns +------- +bool +") Paste; + virtual Standard_Boolean Paste(const BinObjMgt_Persistent & theSource, const opencascade::handle & theTarget, BinObjMgt_RRelocationTable & theRelocTable); + + /****************** Paste ******************/ + /**** md5 signature: 0d6af46154b0454b42333f770b1e15f1 ****/ + %feature("compactdefaultargs") Paste; + %feature("autodoc", "No available documentation. + +Parameters +---------- +theSource: TDF_Attribute +theTarget: BinObjMgt_Persistent +theRelocTable: BinObjMgt_SRelocationTable + +Returns +------- +None +") Paste; + virtual void Paste(const opencascade::handle & theSource, BinObjMgt_Persistent & theTarget, BinObjMgt_SRelocationTable & theRelocTable); + +}; + + +%make_alias(BinMXCAFDoc_LengthUnitDriver) + +%extend BinMXCAFDoc_LengthUnitDriver { + %pythoncode { + __repr__ = _dumps_object + } +}; + /*********************************** * class BinMXCAFDoc_LocationDriver * ***********************************/ @@ -656,20 +733,20 @@ None ") Paste; virtual void Paste(const opencascade::handle & theSource, BinObjMgt_Persistent & theTarget, BinObjMgt_SRelocationTable & theRelocTable); - /****************** SetSharedLocations ******************/ - /**** md5 signature: 9780e60ef49e2e627ed3a82a98eed35f ****/ - %feature("compactdefaultargs") SetSharedLocations; + /****************** SetNSDriver ******************/ + /**** md5 signature: f3cb65b5e43b312739ef39e2d6ebc688 ****/ + %feature("compactdefaultargs") SetNSDriver; %feature("autodoc", "No available documentation. Parameters ---------- -theLocations: BinTools_LocationSetPtr +theNSDriver: BinMNaming_NamedShapeDriver Returns ------- None -") SetSharedLocations; - void SetSharedLocations(const BinTools_LocationSetPtr & theLocations); +") SetNSDriver; + void SetNSDriver(const opencascade::handle & theNSDriver); /****************** Translate ******************/ /**** md5 signature: 894ea8006cf844ca094b6b68a5b6b96f ****/ diff --git a/src/SWIG_files/wrapper/BinMXCAFDoc.pyi b/src/SWIG_files/wrapper/BinMXCAFDoc.pyi index 030ec93b1..cea062d37 100644 --- a/src/SWIG_files/wrapper/BinMXCAFDoc.pyi +++ b/src/SWIG_files/wrapper/BinMXCAFDoc.pyi @@ -7,7 +7,7 @@ from OCC.Core.BinMDF import * from OCC.Core.Message import * from OCC.Core.TDF import * from OCC.Core.BinObjMgt import * -from OCC.Core.BinTools import * +from OCC.Core.BinMNaming import * from OCC.Core.TopLoc import * @@ -63,6 +63,14 @@ class BinMXCAFDoc_GraphNodeDriver(BinMDF_ADriver): @overload def Paste(self, theSource: TDF_Attribute, theTarget: BinObjMgt_Persistent, theRelocTable: BinObjMgt_SRelocationTable) -> None: ... +class BinMXCAFDoc_LengthUnitDriver(BinMDF_ADriver): + def __init__(self, theMsgDriver: Message_Messenger) -> None: ... + def NewEmpty(self) -> TDF_Attribute: ... + @overload + def Paste(self, theSource: BinObjMgt_Persistent, theTarget: TDF_Attribute, theRelocTable: BinObjMgt_RRelocationTable) -> bool: ... + @overload + def Paste(self, theSource: TDF_Attribute, theTarget: BinObjMgt_Persistent, theRelocTable: BinObjMgt_SRelocationTable) -> None: ... + class BinMXCAFDoc_LocationDriver(BinMDF_ADriver): def __init__(self, theMsgDriver: Message_Messenger) -> None: ... def NewEmpty(self) -> TDF_Attribute: ... @@ -70,7 +78,7 @@ class BinMXCAFDoc_LocationDriver(BinMDF_ADriver): def Paste(self, theSource: BinObjMgt_Persistent, theTarget: TDF_Attribute, theRelocTable: BinObjMgt_RRelocationTable) -> bool: ... @overload def Paste(self, theSource: TDF_Attribute, theTarget: BinObjMgt_Persistent, theRelocTable: BinObjMgt_SRelocationTable) -> None: ... - def SetSharedLocations(self, theLocations: BinTools_LocationSetPtr) -> None: ... + def SetNSDriver(self, theNSDriver: BinMNaming_NamedShapeDriver) -> None: ... @overload def Translate(self, theSource: BinObjMgt_Persistent, theLoc: TopLoc_Location, theMap: BinObjMgt_RRelocationTable) -> bool: ... @overload diff --git a/src/SWIG_files/wrapper/BinObjMgt.i b/src/SWIG_files/wrapper/BinObjMgt.i index 1fce4941a..b28118f61 100644 --- a/src/SWIG_files/wrapper/BinObjMgt.i +++ b/src/SWIG_files/wrapper/BinObjMgt.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BINOBJMGTDOCSTRING "BinObjMgt module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_binobjmgt.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_binobjmgt.html" %enddef %module (package="OCC.Core", docstring=BINOBJMGTDOCSTRING) BinObjMgt @@ -46,6 +46,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_binobjmgt.html" #include #include #include +#include #include #include #include @@ -66,7 +67,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -266,6 +267,17 @@ BinObjMgt_Persistent ") GetGUID; const BinObjMgt_Persistent & GetGUID(Standard_GUID & theValue); + /****************** GetIStream ******************/ + /**** md5 signature: b503fd0336753bf795bdd5b274984db6 ****/ + %feature("compactdefaultargs") GetIStream; + %feature("autodoc", "Gets the stream for and enables direct reading. + +Returns +------- +Standard_IStream * +") GetIStream; + Standard_IStream * GetIStream(); + /****************** GetIntArray ******************/ /**** md5 signature: 7c90fd62cbabd6cccece0887a773ce65 ****/ %feature("compactdefaultargs") GetIntArray; @@ -312,6 +324,17 @@ BinObjMgt_Persistent ") GetLabel; const BinObjMgt_Persistent & GetLabel(const opencascade::handle & theDS, TDF_Label & theValue); + /****************** GetOStream ******************/ + /**** md5 signature: f315d3540d9d32727fa0b4bd7ff6fca0 ****/ + %feature("compactdefaultargs") GetOStream; + %feature("autodoc", "Gets the stream for and enables direct writing. + +Returns +------- +Standard_OStream * +") GetOStream; + Standard_OStream * GetOStream(); + /****************** GetReal ******************/ /**** md5 signature: 65cbf27e92c882f039241743224d67d7 ****/ %feature("compactdefaultargs") GetReal; @@ -395,6 +418,17 @@ None ") Init; void Init(); + /****************** IsDirect ******************/ + /**** md5 signature: b04590ab3394fe8ab96053fa1809efb5 ****/ + %feature("compactdefaultargs") IsDirect; + %feature("autodoc", "Returns true if after this record a direct writing to the stream is performed. + +Returns +------- +bool +") IsDirect; + Standard_Boolean IsDirect(); + /****************** IsError ******************/ /**** md5 signature: c52b85ee17e423925f2cd97bf6879614 ****/ %feature("compactdefaultargs") IsError; @@ -722,6 +756,13 @@ BinObjMgt_Persistent std::stringstream s(src); self->Read(s);} }; + + %feature("autodoc", "1"); + %extend{ + void SetIStreamFromString(std::string src) { + std::stringstream s(src); + self->SetIStream(s);} + }; /****************** SetId ******************/ /**** md5 signature: 3131e8337f46d2a085b133db913d7e12 ****/ %feature("compactdefaultargs") SetId; @@ -737,6 +778,14 @@ None ") SetId; void SetId(const Standard_Integer theId); + + %feature("autodoc", "1"); + %extend{ + std::string SetOStreamToString() { + std::stringstream s; + self->SetOStream(s); + return s.str();} + }; /****************** SetPosition ******************/ /**** md5 signature: 734a09cc1c2f91af755a362f6ac9dbb1 ****/ %feature("compactdefaultargs") SetPosition; @@ -767,6 +816,17 @@ None ") SetTypeId; void SetTypeId(const Standard_Integer theId); + /****************** StreamStart ******************/ + /**** md5 signature: e0cf8d7c6c5cab9a0df41cc72760de1f ****/ + %feature("compactdefaultargs") StreamStart; + %feature("autodoc", "Returns the start position of the direct writing in the stream. + +Returns +------- +opencascade::handle +") StreamStart; + opencascade::handle StreamStart(); + /****************** Truncate ******************/ /**** md5 signature: 5d042d2aea73ae47c14d2c42d285a228 ****/ %feature("compactdefaultargs") Truncate; @@ -789,14 +849,6 @@ int ") TypeId; Standard_Integer TypeId(); - - %feature("autodoc", "1"); - %extend{ - std::string WriteToString() { - std::stringstream s; - self->Write(s); - return s.str();} - }; }; @@ -806,6 +858,9 @@ int } }; +/*************************** +* class BinObjMgt_Position * +***************************/ /*********************************** * class BinObjMgt_RRelocationTable * ***********************************/ @@ -862,6 +917,14 @@ None } }; +/* python proxy for excluded classes */ +%pythoncode { +@classnotwrapped +class BinObjMgt_Position: + pass + +} +/* end python proxy for excluded classes */ /* harray1 classes */ /* harray2 classes */ /* hsequence classes */ diff --git a/src/SWIG_files/wrapper/BinObjMgt.pyi b/src/SWIG_files/wrapper/BinObjMgt.pyi index e60036f0d..8e526e143 100644 --- a/src/SWIG_files/wrapper/BinObjMgt.pyi +++ b/src/SWIG_files/wrapper/BinObjMgt.pyi @@ -30,15 +30,18 @@ class BinObjMgt_Persistent: def GetExtCharacter(self, theValue: Standard_ExtCharacter) -> BinObjMgt_Persistent: ... def GetExtendedString(self, theValue: TCollection_ExtendedString) -> BinObjMgt_Persistent: ... def GetGUID(self, theValue: Standard_GUID) -> BinObjMgt_Persistent: ... + def GetIStream(self) -> Standard_IStream: ... def GetIntArray(self, theArray: BinObjMgt_PInteger, theLength: int) -> BinObjMgt_Persistent: ... def GetInteger(self) -> Tuple[BinObjMgt_Persistent, int]: ... def GetLabel(self, theDS: TDF_Data, theValue: TDF_Label) -> BinObjMgt_Persistent: ... + def GetOStream(self) -> Standard_OStream: ... def GetReal(self) -> Tuple[BinObjMgt_Persistent, float]: ... def GetRealArray(self, theArray: BinObjMgt_PReal, theLength: int) -> BinObjMgt_Persistent: ... def GetShortReal(self, theValue: float) -> BinObjMgt_Persistent: ... def GetShortRealArray(self, theArray: BinObjMgt_PShortReal, theLength: int) -> BinObjMgt_Persistent: ... def Id(self) -> int: ... def Init(self) -> None: ... + def IsDirect(self) -> bool: ... def IsError(self) -> bool: ... def IsOK(self) -> bool: ... def Length(self) -> int: ... @@ -64,6 +67,7 @@ class BinObjMgt_Persistent: def SetId(self, theId: int) -> None: ... def SetPosition(self, thePos: int) -> bool: ... def SetTypeId(self, theId: int) -> None: ... + def StreamStart(self) -> BinObjMgt_Position: ... def Truncate(self) -> None: ... def TypeId(self) -> int: ... @@ -72,6 +76,9 @@ class BinObjMgt_RRelocationTable(TColStd_DataMapOfIntegerTransient): def GetHeaderData(self) -> Storage_HeaderData: ... def SetHeaderData(self, theHeaderData: Storage_HeaderData) -> None: ... +#classnotwrapped +class BinObjMgt_Position: ... + # harray1 classes # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/BinTObjDrivers.i b/src/SWIG_files/wrapper/BinTObjDrivers.i index 08cfd817b..8880f412b 100644 --- a/src/SWIG_files/wrapper/BinTObjDrivers.i +++ b/src/SWIG_files/wrapper/BinTObjDrivers.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BINTOBJDRIVERSDOCSTRING "BinTObjDrivers module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bintobjdrivers.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_bintobjdrivers.html" %enddef %module (package="OCC.Core", docstring=BINTOBJDRIVERSDOCSTRING) BinTObjDrivers @@ -75,7 +75,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/BinTools.i b/src/SWIG_files/wrapper/BinTools.i index 405babba4..c1f43ac0a 100644 --- a/src/SWIG_files/wrapper/BinTools.i +++ b/src/SWIG_files/wrapper/BinTools.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BINTOOLSDOCSTRING "BinTools module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bintools.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_bintools.html" %enddef %module (package="OCC.Core", docstring=BINTOOLSDOCSTRING) BinTools @@ -70,10 +70,109 @@ from OCC.Core.Exception import * }; /* public enums */ +enum BinTools_ObjectType { + BinTools_ObjectType_Unknown = 0, + BinTools_ObjectType_Reference8 = 1, + BinTools_ObjectType_Reference16 = 2, + BinTools_ObjectType_Reference32 = 3, + BinTools_ObjectType_Reference64 = 4, + BinTools_ObjectType_Location = 5, + BinTools_ObjectType_SimpleLocation = 6, + BinTools_ObjectType_EmptyLocation = 7, + BinTools_ObjectType_LocationEnd = 8, + BinTools_ObjectType_Curve = 9, + BinTools_ObjectType_EmptyCurve = 10, + BinTools_ObjectType_Curve2d = 11, + BinTools_ObjectType_EmptyCurve2d = 12, + BinTools_ObjectType_Surface = 13, + BinTools_ObjectType_EmptySurface = 14, + BinTools_ObjectType_Polygon3d = 15, + BinTools_ObjectType_EmptyPolygon3d = 16, + BinTools_ObjectType_PolygonOnTriangulation = 17, + BinTools_ObjectType_EmptyPolygonOnTriangulation = 18, + BinTools_ObjectType_Triangulation = 19, + BinTools_ObjectType_EmptyTriangulation = 20, + BinTools_ObjectType_EmptyShape = 198, + BinTools_ObjectType_EndShape = 199, +}; + +enum BinTools_FormatVersion { + BinTools_FormatVersion_VERSION_1 = 1, + BinTools_FormatVersion_VERSION_2 = 2, + BinTools_FormatVersion_VERSION_3 = 3, + BinTools_FormatVersion_VERSION_4 = 4, + BinTools_FormatVersion_CURRENT = BinTools_FormatVersion_VERSION_4, +}; + +enum { + BinTools_FormatVersion_LOWER = BinTools_FormatVersion_VERSION_1, + BinTools_FormatVersion_UPPER = BinTools_FormatVersion_VERSION_4, +}; + /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { + +class BinTools_ObjectType(IntEnum): + BinTools_ObjectType_Unknown = 0 + BinTools_ObjectType_Reference8 = 1 + BinTools_ObjectType_Reference16 = 2 + BinTools_ObjectType_Reference32 = 3 + BinTools_ObjectType_Reference64 = 4 + BinTools_ObjectType_Location = 5 + BinTools_ObjectType_SimpleLocation = 6 + BinTools_ObjectType_EmptyLocation = 7 + BinTools_ObjectType_LocationEnd = 8 + BinTools_ObjectType_Curve = 9 + BinTools_ObjectType_EmptyCurve = 10 + BinTools_ObjectType_Curve2d = 11 + BinTools_ObjectType_EmptyCurve2d = 12 + BinTools_ObjectType_Surface = 13 + BinTools_ObjectType_EmptySurface = 14 + BinTools_ObjectType_Polygon3d = 15 + BinTools_ObjectType_EmptyPolygon3d = 16 + BinTools_ObjectType_PolygonOnTriangulation = 17 + BinTools_ObjectType_EmptyPolygonOnTriangulation = 18 + BinTools_ObjectType_Triangulation = 19 + BinTools_ObjectType_EmptyTriangulation = 20 + BinTools_ObjectType_EmptyShape = 198 + BinTools_ObjectType_EndShape = 199 +BinTools_ObjectType_Unknown = BinTools_ObjectType.BinTools_ObjectType_Unknown +BinTools_ObjectType_Reference8 = BinTools_ObjectType.BinTools_ObjectType_Reference8 +BinTools_ObjectType_Reference16 = BinTools_ObjectType.BinTools_ObjectType_Reference16 +BinTools_ObjectType_Reference32 = BinTools_ObjectType.BinTools_ObjectType_Reference32 +BinTools_ObjectType_Reference64 = BinTools_ObjectType.BinTools_ObjectType_Reference64 +BinTools_ObjectType_Location = BinTools_ObjectType.BinTools_ObjectType_Location +BinTools_ObjectType_SimpleLocation = BinTools_ObjectType.BinTools_ObjectType_SimpleLocation +BinTools_ObjectType_EmptyLocation = BinTools_ObjectType.BinTools_ObjectType_EmptyLocation +BinTools_ObjectType_LocationEnd = BinTools_ObjectType.BinTools_ObjectType_LocationEnd +BinTools_ObjectType_Curve = BinTools_ObjectType.BinTools_ObjectType_Curve +BinTools_ObjectType_EmptyCurve = BinTools_ObjectType.BinTools_ObjectType_EmptyCurve +BinTools_ObjectType_Curve2d = BinTools_ObjectType.BinTools_ObjectType_Curve2d +BinTools_ObjectType_EmptyCurve2d = BinTools_ObjectType.BinTools_ObjectType_EmptyCurve2d +BinTools_ObjectType_Surface = BinTools_ObjectType.BinTools_ObjectType_Surface +BinTools_ObjectType_EmptySurface = BinTools_ObjectType.BinTools_ObjectType_EmptySurface +BinTools_ObjectType_Polygon3d = BinTools_ObjectType.BinTools_ObjectType_Polygon3d +BinTools_ObjectType_EmptyPolygon3d = BinTools_ObjectType.BinTools_ObjectType_EmptyPolygon3d +BinTools_ObjectType_PolygonOnTriangulation = BinTools_ObjectType.BinTools_ObjectType_PolygonOnTriangulation +BinTools_ObjectType_EmptyPolygonOnTriangulation = BinTools_ObjectType.BinTools_ObjectType_EmptyPolygonOnTriangulation +BinTools_ObjectType_Triangulation = BinTools_ObjectType.BinTools_ObjectType_Triangulation +BinTools_ObjectType_EmptyTriangulation = BinTools_ObjectType.BinTools_ObjectType_EmptyTriangulation +BinTools_ObjectType_EmptyShape = BinTools_ObjectType.BinTools_ObjectType_EmptyShape +BinTools_ObjectType_EndShape = BinTools_ObjectType.BinTools_ObjectType_EndShape + +class BinTools_FormatVersion(IntEnum): + BinTools_FormatVersion_VERSION_1 = 1 + BinTools_FormatVersion_VERSION_2 = 2 + BinTools_FormatVersion_VERSION_3 = 3 + BinTools_FormatVersion_VERSION_4 = 4 + BinTools_FormatVersion_CURRENT = BinTools_FormatVersion_VERSION_4 +BinTools_FormatVersion_VERSION_1 = BinTools_FormatVersion.BinTools_FormatVersion_VERSION_1 +BinTools_FormatVersion_VERSION_2 = BinTools_FormatVersion.BinTools_FormatVersion_VERSION_2 +BinTools_FormatVersion_VERSION_3 = BinTools_FormatVersion.BinTools_FormatVersion_VERSION_3 +BinTools_FormatVersion_VERSION_4 = BinTools_FormatVersion.BinTools_FormatVersion_VERSION_4 +BinTools_FormatVersion_CURRENT = BinTools_FormatVersion.BinTools_FormatVersion_CURRENT }; /* end python proxy for enums */ @@ -112,9 +211,9 @@ bool static Standard_Boolean Read(TopoDS_Shape & theShape, const char * theFile, const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Write ******************/ - /**** md5 signature: a01ad35e1c55e076f8d5b02e48bdea7c ****/ + /**** md5 signature: 3881a3762eede8c671fff2911d095012 ****/ %feature("compactdefaultargs") Write; - %feature("autodoc", "Writes in . + %feature("autodoc", "Writes the shape to the file in binary format bintools_formatversion_current. @param theshape [in] the shape to write @param thefile [in] the path to file to output shape into @param therange the range of progress indicator to fill in. Parameters ---------- @@ -129,6 +228,27 @@ bool ") Write; static Standard_Boolean Write(const TopoDS_Shape & theShape, const char * theFile, const Message_ProgressRange & theRange = Message_ProgressRange()); + /****************** Write ******************/ + /**** md5 signature: b26fc24f9c2e022ffc6d11aa96e8af41 ****/ + %feature("compactdefaultargs") Write; + %feature("autodoc", "Writes the shape to the file in binary format of specified version. @param theshape [in] the shape to write @param thefile [in] the path to file to output shape into @param thewithtriangles [in] flag which specifies whether to save shape with (true) or without (false) triangles; has no effect on triangulation-only geometry @param thewithnormals [in] flag which specifies whether to save triangulation with (true) or without (false) normals; has no effect on triangulation-only geometry @param theversion [in] the bintools format version @param therange the range of progress indicator to fill in. + +Parameters +---------- +theShape: TopoDS_Shape +theFile: char * +theWithTriangles: bool +theWithNormals: bool +theVersion: BinTools_FormatVersion +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + +Returns +------- +bool +") Write; + static Standard_Boolean Write(const TopoDS_Shape & theShape, const char * theFile, const Standard_Boolean theWithTriangles, const Standard_Boolean theWithNormals, const BinTools_FormatVersion theVersion, const Message_ProgressRange & theRange = Message_ProgressRange()); + }; @@ -225,6 +345,22 @@ int self->Write(s); return s.str();} }; + /****************** WriteCurve2d ******************/ + /**** md5 signature: fb004cea29fe8c8fbe520368a3fabd33 ****/ + %feature("compactdefaultargs") WriteCurve2d; + %feature("autodoc", "Dumps the curve on the binary stream, that can be read back. + +Parameters +---------- +C: Geom2d_Curve +OS: BinTools_OStream + +Returns +------- +None +") WriteCurve2d; + static void WriteCurve2d(const opencascade::handle & C, BinTools_OStream & OS); + }; @@ -325,6 +461,22 @@ int self->Write(s); return s.str();} }; + /****************** WriteCurve ******************/ + /**** md5 signature: 0fd9a95014467f2918a41d1253d1067c ****/ + %feature("compactdefaultargs") WriteCurve; + %feature("autodoc", "Dumps the curve on the stream in binary format that can be read back. + +Parameters +---------- +C: Geom_Curve +OS: BinTools_OStream + +Returns +------- +None +") WriteCurve; + static void WriteCurve(const opencascade::handle & C, BinTools_OStream & OS); + }; @@ -334,6 +486,9 @@ int } }; +/************************* +* class BinTools_IStream * +*************************/ /***************************** * class BinTools_LocationSet * *****************************/ @@ -441,26 +596,316 @@ int } }; +/************************* +* class BinTools_OStream * +*************************/ +/****************************** +* class BinTools_ShapeSetBase * +******************************/ +class BinTools_ShapeSetBase { + public: + /****************** BinTools_ShapeSetBase ******************/ + /**** md5 signature: 5e43c3efb8ab1132c1c4608ac75a31b0 ****/ + %feature("compactdefaultargs") BinTools_ShapeSetBase; + %feature("autodoc", "A default constructor. + +Returns +------- +None +") BinTools_ShapeSetBase; + BinTools_ShapeSetBase(); + + /****************** Clear ******************/ + /**** md5 signature: ee228ed41450ea46d6b542478ce426ba ****/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "Clears the content of the set. + +Returns +------- +None +") Clear; + virtual void Clear(); + + /****************** FormatNb ******************/ + /**** md5 signature: 279a4e17d42738d62d3eac08d8631329 ****/ + %feature("compactdefaultargs") FormatNb; + %feature("autodoc", "Returns the bintools_formatversion. + +Returns +------- +int +") FormatNb; + Standard_Integer FormatNb(); + + /****************** IsWithNormals ******************/ + /**** md5 signature: 49f5baecd893691e08f163fb559d8b06 ****/ + %feature("compactdefaultargs") IsWithNormals; + %feature("autodoc", "Return true if shape should be stored triangulation with normals. + +Returns +------- +bool +") IsWithNormals; + Standard_Boolean IsWithNormals(); + + /****************** IsWithTriangles ******************/ + /**** md5 signature: 2adacf1f8e5d4c926108b4db84751e9a ****/ + %feature("compactdefaultargs") IsWithTriangles; + %feature("autodoc", "Return true if shape should be stored with triangles. + +Returns +------- +bool +") IsWithTriangles; + Standard_Boolean IsWithTriangles(); + + + %feature("autodoc", "1"); + %extend{ + void ReadFromString(std::string src) { + std::stringstream s(src); + self->Read(s);} + }; + /****************** SetFormatNb ******************/ + /**** md5 signature: efa61c5f0aa586c699f53e1139cd95f9 ****/ + %feature("compactdefaultargs") SetFormatNb; + %feature("autodoc", "Sets the bintools_formatversion. + +Parameters +---------- +theFormatNb: int + +Returns +------- +None +") SetFormatNb; + void SetFormatNb(const Standard_Integer theFormatNb); + + /****************** SetWithNormals ******************/ + /**** md5 signature: 9f03f91e56766f46bd17d99a089a0a21 ****/ + %feature("compactdefaultargs") SetWithNormals; + %feature("autodoc", "Define if shape will be stored triangulation with normals. ignored (always written) if face defines only triangulation (no surface). + +Parameters +---------- +theWithNormals: bool + +Returns +------- +None +") SetWithNormals; + void SetWithNormals(const Standard_Boolean theWithNormals); + + /****************** SetWithTriangles ******************/ + /**** md5 signature: 7b7f7b1dd0aaac0992d59e75b5df79e1 ****/ + %feature("compactdefaultargs") SetWithTriangles; + %feature("autodoc", "Define if shape will be stored with triangles. ignored (always written) if face defines only triangulation (no surface). + +Parameters +---------- +theWithTriangles: bool + +Returns +------- +None +") SetWithTriangles; + void SetWithTriangles(const Standard_Boolean theWithTriangles); + + + %feature("autodoc", "1"); + %extend{ + std::string WriteToString() { + std::stringstream s; + self->Write(s); + return s.str();} + }; +}; + + +%extend BinTools_ShapeSetBase { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/**************************** +* class BinTools_SurfaceSet * +****************************/ +class BinTools_SurfaceSet { + public: + /****************** BinTools_SurfaceSet ******************/ + /**** md5 signature: ea04fcb2e657ae6371aebb78e4178d8d ****/ + %feature("compactdefaultargs") BinTools_SurfaceSet; + %feature("autodoc", "Returns an empty set of surfaces. + +Returns +------- +None +") BinTools_SurfaceSet; + BinTools_SurfaceSet(); + + /****************** Add ******************/ + /**** md5 signature: 6108c9acf8995214a7cb8b8e5a0b937c ****/ + %feature("compactdefaultargs") Add; + %feature("autodoc", "Incorporate a new surface in the set and returns its index. + +Parameters +---------- +S: Geom_Surface + +Returns +------- +int +") Add; + Standard_Integer Add(const opencascade::handle & S); + + /****************** Clear ******************/ + /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "Clears the content of the set. + +Returns +------- +None +") Clear; + void Clear(); + + /****************** Index ******************/ + /**** md5 signature: 7fc50802d17ebd7c660284e6560fb7f6 ****/ + %feature("compactdefaultargs") Index; + %feature("autodoc", "Returns the index of . + +Parameters +---------- +S: Geom_Surface + +Returns +------- +int +") Index; + Standard_Integer Index(const opencascade::handle & S); + + + %feature("autodoc", "1"); + %extend{ + void ReadFromString(std::string src) { + std::stringstream s(src); + self->Read(s);} + }; + /****************** Surface ******************/ + /**** md5 signature: f08a9f2a886e0a3933ae15a38f9b8dda ****/ + %feature("compactdefaultargs") Surface; + %feature("autodoc", "Returns the surface of index . + +Parameters +---------- +I: int + +Returns +------- +opencascade::handle +") Surface; + opencascade::handle Surface(const Standard_Integer I); + + + %feature("autodoc", "1"); + %extend{ + std::string WriteToString() { + std::stringstream s; + self->Write(s); + return s.str();} + }; + /****************** WriteSurface ******************/ + /**** md5 signature: 41c510c34876aa6bbad25b27f75b3a30 ****/ + %feature("compactdefaultargs") WriteSurface; + %feature("autodoc", "Dumps the surface on the stream in binary format that can be read back. + +Parameters +---------- +S: Geom_Surface +OS: BinTools_OStream + +Returns +------- +None +") WriteSurface; + static void WriteSurface(const opencascade::handle & S, BinTools_OStream & OS); + +}; + + +%extend BinTools_SurfaceSet { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/***************************** +* class BinTools_ShapeReader * +*****************************/ +class BinTools_ShapeReader : public BinTools_ShapeSetBase { + public: + /****************** BinTools_ShapeReader ******************/ + /**** md5 signature: 0d4b9cf10eed36a00f9df0f855784c98 ****/ + %feature("compactdefaultargs") BinTools_ShapeReader; + %feature("autodoc", "Initializes a shape reader. + +Returns +------- +None +") BinTools_ShapeReader; + BinTools_ShapeReader(); + + /****************** Clear ******************/ + /**** md5 signature: f671931d03948860d0ead34afbe920aa ****/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "Clears the content of the set. + +Returns +------- +None +") Clear; + virtual void Clear(); + + /****************** ReadLocation ******************/ + /**** md5 signature: bd5aa45e9ea119dbeec11eb219039ce0 ****/ + %feature("compactdefaultargs") ReadLocation; + %feature("autodoc", "Reads location from the stream. + +Parameters +---------- +theStream: BinTools_IStream + +Returns +------- +TopLoc_Location * +") ReadLocation; + const TopLoc_Location * ReadLocation(BinTools_IStream & theStream); + +}; + + +%extend BinTools_ShapeReader { + %pythoncode { + __repr__ = _dumps_object + } +}; + /************************** * class BinTools_ShapeSet * **************************/ -class BinTools_ShapeSet { +class BinTools_ShapeSet : public BinTools_ShapeSetBase { public: /****************** BinTools_ShapeSet ******************/ - /**** md5 signature: b4728bcf578ee785de9669c46cc9e7de ****/ + /**** md5 signature: 00998afe0732062ff7e083d4a72a15a0 ****/ %feature("compactdefaultargs") BinTools_ShapeSet; - %feature("autodoc", "Builds an empty shapeset. parameter is added for xml persistence. - -Parameters ----------- -isWithTriangles: bool,optional - default value is Standard_False + %feature("autodoc", "Builds an empty shapeset. @param thewithtriangles [in] flag to write triangulation data. Returns ------- None ") BinTools_ShapeSet; - BinTools_ShapeSet(const Standard_Boolean isWithTriangles = Standard_False); + BinTools_ShapeSet(); /****************** Add ******************/ /**** md5 signature: 53c72d7ee288afd721c7b0a7e7296012 ****/ @@ -477,10 +922,10 @@ int ") Add; Standard_Integer Add(const TopoDS_Shape & S); - /****************** AddGeometry ******************/ - /**** md5 signature: 0fd943cd475c8e07eb80f1f4508f536a ****/ - %feature("compactdefaultargs") AddGeometry; - %feature("autodoc", "Stores the goemetry of . + /****************** AddShape ******************/ + /**** md5 signature: c53353d34d3c27129aeecdacd6371580 ****/ + %feature("compactdefaultargs") AddShape; + %feature("autodoc", "Stores the shape . Parameters ---------- @@ -489,8 +934,8 @@ S: TopoDS_Shape Returns ------- None -") AddGeometry; - virtual void AddGeometry(const TopoDS_Shape & S); +") AddShape; + virtual void AddShape(const TopoDS_Shape & S); /****************** AddShapes ******************/ /**** md5 signature: e51de0c8f9d77467626b59e64779aeff ****/ @@ -530,17 +975,6 @@ None ") Clear; virtual void Clear(); - /****************** FormatNb ******************/ - /**** md5 signature: 4ba7a37f990f272738aa2003a22fc1da ****/ - %feature("compactdefaultargs") FormatNb; - %feature("autodoc", "Two formats available for the moment: first: does not write curveonsurface uv points into the file on reading calls check() method. second: stores curveonsurface uv points. on reading format is recognized from version string. - -Returns -------- -int -") FormatNb; - Standard_Integer FormatNb(); - /****************** Index ******************/ /**** md5 signature: 9e94bb6d7b4221be4165f8639cd27d92 ****/ %feature("compactdefaultargs") Index; @@ -556,17 +990,6 @@ int ") Index; Standard_Integer Index(const TopoDS_Shape & S); - /****************** IsWithTriangles ******************/ - /**** md5 signature: 2adacf1f8e5d4c926108b4db84751e9a ****/ - %feature("compactdefaultargs") IsWithTriangles; - %feature("autodoc", "Return true if shape should be stored with triangles. - -Returns -------- -bool -") IsWithTriangles; - Standard_Boolean IsWithTriangles(); - /****************** Locations ******************/ /**** md5 signature: 1891bed2b7331683f81d8635ed2a6f3e ****/ %feature("compactdefaultargs") Locations; @@ -624,38 +1047,8 @@ int std::stringstream s(src); self->ReadTriangulation(s);} }; - /****************** SetFormatNb ******************/ - /**** md5 signature: efa61c5f0aa586c699f53e1139cd95f9 ****/ - %feature("compactdefaultargs") SetFormatNb; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theFormatNb: int - -Returns -------- -None -") SetFormatNb; - void SetFormatNb(const Standard_Integer theFormatNb); - - /****************** SetWithTriangles ******************/ - /**** md5 signature: 628353c6dd7e40cd426fe07d7dbdc4c9 ****/ - %feature("compactdefaultargs") SetWithTriangles; - %feature("autodoc", "Define if shape will be stored with triangles. ignored (always written) if face defines only triangulation (no surface). - -Parameters ----------- -isWithTriangles: bool - -Returns -------- -None -") SetWithTriangles; - void SetWithTriangles(const Standard_Boolean isWithTriangles); - /****************** Shape ******************/ - /**** md5 signature: 243b850f6d21a0fba84095c942dbd917 ****/ + /**** md5 signature: e70e8ec038f807ea515f2fa1e45089cf ****/ %feature("compactdefaultargs") Shape; %feature("autodoc", "Returns the sub-shape of index . @@ -718,39 +1111,24 @@ TopoDS_Shape } }; -/**************************** -* class BinTools_SurfaceSet * -****************************/ -class BinTools_SurfaceSet { +/***************************** +* class BinTools_ShapeWriter * +*****************************/ +class BinTools_ShapeWriter : public BinTools_ShapeSetBase { public: - /****************** BinTools_SurfaceSet ******************/ - /**** md5 signature: ea04fcb2e657ae6371aebb78e4178d8d ****/ - %feature("compactdefaultargs") BinTools_SurfaceSet; - %feature("autodoc", "Returns an empty set of surfaces. + /****************** BinTools_ShapeWriter ******************/ + /**** md5 signature: c3fd1614740ecac6a5e3b29e2072d4db ****/ + %feature("compactdefaultargs") BinTools_ShapeWriter; + %feature("autodoc", "Builds an empty shapeset. parameter is added for xml persistence. Returns ------- None -") BinTools_SurfaceSet; - BinTools_SurfaceSet(); - - /****************** Add ******************/ - /**** md5 signature: 6108c9acf8995214a7cb8b8e5a0b937c ****/ - %feature("compactdefaultargs") Add; - %feature("autodoc", "Incorporate a new surface in the set and returns its index. - -Parameters ----------- -S: Geom_Surface - -Returns -------- -int -") Add; - Standard_Integer Add(const opencascade::handle & S); +") BinTools_ShapeWriter; + BinTools_ShapeWriter(); /****************** Clear ******************/ - /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ + /**** md5 signature: f671931d03948860d0ead34afbe920aa ****/ %feature("compactdefaultargs") Clear; %feature("autodoc", "Clears the content of the set. @@ -758,62 +1136,45 @@ Returns ------- None ") Clear; - void Clear(); - - /****************** Index ******************/ - /**** md5 signature: 7fc50802d17ebd7c660284e6560fb7f6 ****/ - %feature("compactdefaultargs") Index; - %feature("autodoc", "Returns the index of . - -Parameters ----------- -S: Geom_Surface - -Returns -------- -int -") Index; - Standard_Integer Index(const opencascade::handle & S); - + virtual void Clear(); - %feature("autodoc", "1"); - %extend{ - void ReadFromString(std::string src) { - std::stringstream s(src); - self->Read(s);} - }; - /****************** Surface ******************/ - /**** md5 signature: f08a9f2a886e0a3933ae15a38f9b8dda ****/ - %feature("compactdefaultargs") Surface; - %feature("autodoc", "Returns the surface of index . + /****************** WriteLocation ******************/ + /**** md5 signature: 650139b9f368324efb64446489116d9f ****/ + %feature("compactdefaultargs") WriteLocation; + %feature("autodoc", "Writes location to the stream (all the needed sub-information or reference if it is already used). Parameters ---------- -I: int +theStream: BinTools_OStream +theLocation: TopLoc_Location Returns ------- -opencascade::handle -") Surface; - opencascade::handle Surface(const Standard_Integer I); - +None +") WriteLocation; + virtual void WriteLocation(BinTools_OStream & theStream, const TopLoc_Location & theLocation); - %feature("autodoc", "1"); - %extend{ - std::string WriteToString() { - std::stringstream s; - self->Write(s); - return s.str();} - }; }; -%extend BinTools_SurfaceSet { +%extend BinTools_ShapeWriter { %pythoncode { __repr__ = _dumps_object } }; +/* python proxy for excluded classes */ +%pythoncode { +@classnotwrapped +class BinTools_IStream: + pass + +@classnotwrapped +class BinTools_OStream: + pass + +} +/* end python proxy for excluded classes */ /* harray1 classes */ /* harray2 classes */ /* hsequence classes */ diff --git a/src/SWIG_files/wrapper/BinTools.pyi b/src/SWIG_files/wrapper/BinTools.pyi index 4b728243e..dba6e2632 100644 --- a/src/SWIG_files/wrapper/BinTools.pyi +++ b/src/SWIG_files/wrapper/BinTools.pyi @@ -12,6 +12,69 @@ from OCC.Core.TopAbs import * BinTools_LocationSetPtr = NewType('BinTools_LocationSetPtr', BinTools_LocationSet) +class BinTools_ObjectType(IntEnum): + BinTools_ObjectType_Unknown: int = ... + BinTools_ObjectType_Reference8: int = ... + BinTools_ObjectType_Reference16: int = ... + BinTools_ObjectType_Reference32: int = ... + BinTools_ObjectType_Reference64: int = ... + BinTools_ObjectType_Location: int = ... + BinTools_ObjectType_SimpleLocation: int = ... + BinTools_ObjectType_EmptyLocation: int = ... + BinTools_ObjectType_LocationEnd: int = ... + BinTools_ObjectType_Curve: int = ... + BinTools_ObjectType_EmptyCurve: int = ... + BinTools_ObjectType_Curve2d: int = ... + BinTools_ObjectType_EmptyCurve2d: int = ... + BinTools_ObjectType_Surface: int = ... + BinTools_ObjectType_EmptySurface: int = ... + BinTools_ObjectType_Polygon3d: int = ... + BinTools_ObjectType_EmptyPolygon3d: int = ... + BinTools_ObjectType_PolygonOnTriangulation: int = ... + BinTools_ObjectType_EmptyPolygonOnTriangulation: int = ... + BinTools_ObjectType_Triangulation: int = ... + BinTools_ObjectType_EmptyTriangulation: int = ... + BinTools_ObjectType_EmptyShape: int = ... + BinTools_ObjectType_EndShape: int = ... + +BinTools_ObjectType_Unknown = BinTools_ObjectType.BinTools_ObjectType_Unknown +BinTools_ObjectType_Reference8 = BinTools_ObjectType.BinTools_ObjectType_Reference8 +BinTools_ObjectType_Reference16 = BinTools_ObjectType.BinTools_ObjectType_Reference16 +BinTools_ObjectType_Reference32 = BinTools_ObjectType.BinTools_ObjectType_Reference32 +BinTools_ObjectType_Reference64 = BinTools_ObjectType.BinTools_ObjectType_Reference64 +BinTools_ObjectType_Location = BinTools_ObjectType.BinTools_ObjectType_Location +BinTools_ObjectType_SimpleLocation = BinTools_ObjectType.BinTools_ObjectType_SimpleLocation +BinTools_ObjectType_EmptyLocation = BinTools_ObjectType.BinTools_ObjectType_EmptyLocation +BinTools_ObjectType_LocationEnd = BinTools_ObjectType.BinTools_ObjectType_LocationEnd +BinTools_ObjectType_Curve = BinTools_ObjectType.BinTools_ObjectType_Curve +BinTools_ObjectType_EmptyCurve = BinTools_ObjectType.BinTools_ObjectType_EmptyCurve +BinTools_ObjectType_Curve2d = BinTools_ObjectType.BinTools_ObjectType_Curve2d +BinTools_ObjectType_EmptyCurve2d = BinTools_ObjectType.BinTools_ObjectType_EmptyCurve2d +BinTools_ObjectType_Surface = BinTools_ObjectType.BinTools_ObjectType_Surface +BinTools_ObjectType_EmptySurface = BinTools_ObjectType.BinTools_ObjectType_EmptySurface +BinTools_ObjectType_Polygon3d = BinTools_ObjectType.BinTools_ObjectType_Polygon3d +BinTools_ObjectType_EmptyPolygon3d = BinTools_ObjectType.BinTools_ObjectType_EmptyPolygon3d +BinTools_ObjectType_PolygonOnTriangulation = BinTools_ObjectType.BinTools_ObjectType_PolygonOnTriangulation +BinTools_ObjectType_EmptyPolygonOnTriangulation = BinTools_ObjectType.BinTools_ObjectType_EmptyPolygonOnTriangulation +BinTools_ObjectType_Triangulation = BinTools_ObjectType.BinTools_ObjectType_Triangulation +BinTools_ObjectType_EmptyTriangulation = BinTools_ObjectType.BinTools_ObjectType_EmptyTriangulation +BinTools_ObjectType_EmptyShape = BinTools_ObjectType.BinTools_ObjectType_EmptyShape +BinTools_ObjectType_EndShape = BinTools_ObjectType.BinTools_ObjectType_EndShape + +class BinTools_FormatVersion(IntEnum): + BinTools_FormatVersion_VERSION_1: int = ... + BinTools_FormatVersion_VERSION_2: int = ... + BinTools_FormatVersion_VERSION_3: int = ... + BinTools_FormatVersion_VERSION_4: int = ... + BinTools_FormatVersion_CURRENT: int = ... + +BinTools_FormatVersion_VERSION_1 = BinTools_FormatVersion.BinTools_FormatVersion_VERSION_1 +BinTools_FormatVersion_VERSION_2 = BinTools_FormatVersion.BinTools_FormatVersion_VERSION_2 +BinTools_FormatVersion_VERSION_3 = BinTools_FormatVersion.BinTools_FormatVersion_VERSION_3 +BinTools_FormatVersion_VERSION_4 = BinTools_FormatVersion.BinTools_FormatVersion_VERSION_4 +BinTools_FormatVersion_CURRENT = BinTools_FormatVersion.BinTools_FormatVersion_CURRENT + + class bintools: @overload @staticmethod @@ -19,6 +82,9 @@ class bintools: @overload @staticmethod def Write(theShape: TopoDS_Shape, theFile: str, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> bool: ... + @overload + @staticmethod + def Write(theShape: TopoDS_Shape, theFile: str, theWithTriangles: bool, theWithNormals: bool, theVersion: BinTools_FormatVersion, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> bool: ... class BinTools_Curve2dSet: def __init__(self) -> None: ... @@ -26,6 +92,8 @@ class BinTools_Curve2dSet: def Clear(self) -> None: ... def Curve2d(self, I: int) -> Geom2d_Curve: ... def Index(self, C: Geom2d_Curve) -> int: ... + @staticmethod + def WriteCurve2d(C: Geom2d_Curve, OS: BinTools_OStream) -> None: ... class BinTools_CurveSet: def __init__(self) -> None: ... @@ -33,6 +101,8 @@ class BinTools_CurveSet: def Clear(self) -> None: ... def Curve(self, I: int) -> Geom_Curve: ... def Index(self, C: Geom_Curve) -> int: ... + @staticmethod + def WriteCurve(C: Geom_Curve, OS: BinTools_OStream) -> None: ... class BinTools_LocationSet: def __init__(self) -> None: ... @@ -42,21 +112,15 @@ class BinTools_LocationSet: def Location(self, I: int) -> TopLoc_Location: ... def NbLocations(self) -> int: ... -class BinTools_ShapeSet: - def __init__(self, isWithTriangles: Optional[bool] = False) -> None: ... - def Add(self, S: TopoDS_Shape) -> int: ... - def AddGeometry(self, S: TopoDS_Shape) -> None: ... - def AddShapes(self, S1: TopoDS_Shape, S2: TopoDS_Shape) -> None: ... - def ChangeLocations(self) -> BinTools_LocationSet: ... +class BinTools_ShapeSetBase: + def __init__(self) -> None: ... def Clear(self) -> None: ... def FormatNb(self) -> int: ... - def Index(self, S: TopoDS_Shape) -> int: ... + def IsWithNormals(self) -> bool: ... def IsWithTriangles(self) -> bool: ... - def Locations(self) -> BinTools_LocationSet: ... - def NbShapes(self) -> int: ... def SetFormatNb(self, theFormatNb: int) -> None: ... - def SetWithTriangles(self, isWithTriangles: bool) -> None: ... - def Shape(self, I: int) -> TopoDS_Shape: ... + def SetWithNormals(self, theWithNormals: bool) -> None: ... + def SetWithTriangles(self, theWithTriangles: bool) -> None: ... class BinTools_SurfaceSet: def __init__(self) -> None: ... @@ -64,6 +128,36 @@ class BinTools_SurfaceSet: def Clear(self) -> None: ... def Index(self, S: Geom_Surface) -> int: ... def Surface(self, I: int) -> Geom_Surface: ... + @staticmethod + def WriteSurface(S: Geom_Surface, OS: BinTools_OStream) -> None: ... + +class BinTools_ShapeReader(BinTools_ShapeSetBase): + def __init__(self) -> None: ... + def Clear(self) -> None: ... + def ReadLocation(self, theStream: BinTools_IStream) -> TopLoc_Location: ... + +class BinTools_ShapeSet(BinTools_ShapeSetBase): + def __init__(self) -> None: ... + def Add(self, S: TopoDS_Shape) -> int: ... + def AddShape(self, S: TopoDS_Shape) -> None: ... + def AddShapes(self, S1: TopoDS_Shape, S2: TopoDS_Shape) -> None: ... + def ChangeLocations(self) -> BinTools_LocationSet: ... + def Clear(self) -> None: ... + def Index(self, S: TopoDS_Shape) -> int: ... + def Locations(self) -> BinTools_LocationSet: ... + def NbShapes(self) -> int: ... + def Shape(self, I: int) -> TopoDS_Shape: ... + +class BinTools_ShapeWriter(BinTools_ShapeSetBase): + def __init__(self) -> None: ... + def Clear(self) -> None: ... + def WriteLocation(self, theStream: BinTools_OStream, theLocation: TopLoc_Location) -> None: ... + +#classnotwrapped +class BinTools_IStream: ... + +#classnotwrapped +class BinTools_OStream: ... # harray1 classes # harray2 classes @@ -83,6 +177,8 @@ bintools_Read = bintools.Read bintools_Read = bintools.Read bintools_Write = bintools.Write bintools_Write = bintools.Write +bintools_Write = bintools.Write +bintools_Write = bintools.Write BinTools_Curve2dSet_ReadCurve2d = BinTools_Curve2dSet.ReadCurve2d BinTools_Curve2dSet_WriteCurve2d = BinTools_Curve2dSet.WriteCurve2d BinTools_CurveSet_ReadCurve = BinTools_CurveSet.ReadCurve diff --git a/src/SWIG_files/wrapper/BinXCAFDrivers.i b/src/SWIG_files/wrapper/BinXCAFDrivers.i index 5529c2996..309ac37c4 100644 --- a/src/SWIG_files/wrapper/BinXCAFDrivers.i +++ b/src/SWIG_files/wrapper/BinXCAFDrivers.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BINXCAFDRIVERSDOCSTRING "BinXCAFDrivers module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_binxcafdrivers.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_binxcafdrivers.html" %enddef %module (package="OCC.Core", docstring=BINXCAFDRIVERSDOCSTRING) BinXCAFDrivers @@ -71,7 +71,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/Bisector.i b/src/SWIG_files/wrapper/Bisector.i index 96426c0f4..b7614f86e 100644 --- a/src/SWIG_files/wrapper/Bisector.i +++ b/src/SWIG_files/wrapper/Bisector.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BISECTORDOCSTRING "Bisector module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bisector.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_bisector.html" %enddef %module (package="OCC.Core", docstring=BISECTORDOCSTRING) Bisector @@ -69,7 +69,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/Blend.i b/src/SWIG_files/wrapper/Blend.i index aaec1f1aa..3bbef27a2 100644 --- a/src/SWIG_files/wrapper/Blend.i +++ b/src/SWIG_files/wrapper/Blend.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BLENDDOCSTRING "Blend module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_blend.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_blend.html" %enddef %module (package="OCC.Core", docstring=BLENDDOCSTRING) Blend @@ -37,6 +37,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_blend.html" %{ +#include #include //Dependencies @@ -50,6 +51,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_blend.html" #include #include #include +#include #include #include #include @@ -90,7 +92,7 @@ enum Blend_DecrochStatus { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Blend_Status(IntEnum): @@ -182,7 +184,7 @@ None /****************** GetMinimalDistance ******************/ /**** md5 signature: cf2ae1edac6b9f39bab29773592817f0 ****/ %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", "Returns the minimal distance beetween two extremitys of calculed sections. + %feature("autodoc", "Returns the minimal distance between two extremities of calculated sections. Returns ------- @@ -271,7 +273,7 @@ None /****************** Intervals ******************/ /**** md5 signature: 7d2bf038a9213acf1609cc1244a3ee03 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals() raises outofrange from standard. + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals() raises outofrange from standard. Parameters ---------- @@ -810,20 +812,20 @@ int Standard_Integer NbVariables(); /****************** Set ******************/ - /**** md5 signature: 7983af2dd9b59527838f86afe955ad02 ****/ + /**** md5 signature: 3e783af1d10cfe5251f5d68b2e1a28b8 ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "Sets the curveonsurface on which a solution has to be found. if is set to standard_true, the curve will be on the first surface, otherwise the curve is on the second one. Parameters ---------- OnFirst: bool -COnSurf: Adaptor2d_HCurve2d +COnSurf: Adaptor2d_Curve2d Returns ------- None ") Set; - virtual void Set(const Standard_Boolean OnFirst, const opencascade::handle & COnSurf); + virtual void Set(const Standard_Boolean OnFirst, const opencascade::handle & COnSurf); /****************** Value ******************/ /**** md5 signature: fbdd70146ff924dbae65883aeb76c6f7 ****/ @@ -1658,19 +1660,19 @@ int Standard_Integer NbVariables(); /****************** Set ******************/ - /**** md5 signature: 58aa4b5323f8e6dfedff407fa70a0778 ****/ + /**** md5 signature: 0289f8e5f7cd6af48b5eae57db73f4e7 ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "Set the point on which a solution has to be found. Parameters ---------- -Rst: Adaptor2d_HCurve2d +Rst: Adaptor2d_Curve2d Returns ------- None ") Set; - virtual void Set(const opencascade::handle & Rst); + virtual void Set(const opencascade::handle & Rst); /****************** Value ******************/ /**** md5 signature: fbdd70146ff924dbae65883aeb76c6f7 ****/ @@ -1904,7 +1906,7 @@ None /****************** GetMinimalDistance ******************/ /**** md5 signature: b7112b2680da59932f7cc20412f85fda ****/ %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", "Returns the minimal distance beetween two extremitys of calculed sections. + %feature("autodoc", "Returns the minimal distance between two extremities of calculated sections. Returns ------- @@ -2567,7 +2569,7 @@ None /****************** GetMinimalDistance ******************/ /**** md5 signature: e8742e6ed5aa58b10280098f76f7ab1d ****/ %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", "Returns the minimal distance beetween two extremitys of calculed sections. + %feature("autodoc", "Returns the minimal distance between two extremities of calculated sections. Returns ------- @@ -2656,7 +2658,7 @@ None /****************** Intervals ******************/ /**** md5 signature: 7d2bf038a9213acf1609cc1244a3ee03 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -3100,7 +3102,7 @@ None /****************** GetMinimalDistance ******************/ /**** md5 signature: e8742e6ed5aa58b10280098f76f7ab1d ****/ %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", "Returns the minimal distance beetween two extremitys of calculed sections. + %feature("autodoc", "Returns the minimal distance between two extremities of calculated sections. Returns ------- @@ -3189,7 +3191,7 @@ None /****************** Intervals ******************/ /**** md5 signature: 7d2bf038a9213acf1609cc1244a3ee03 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- diff --git a/src/SWIG_files/wrapper/Blend.pyi b/src/SWIG_files/wrapper/Blend.pyi index 2ef6f0523..4d2338871 100644 --- a/src/SWIG_files/wrapper/Blend.pyi +++ b/src/SWIG_files/wrapper/Blend.pyi @@ -110,7 +110,7 @@ class Blend_FuncInv(math_FunctionSetWithDerivatives): def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... def NbEquations(self) -> int: ... def NbVariables(self) -> int: ... - def Set(self, OnFirst: bool, COnSurf: Adaptor2d_HCurve2d) -> None: ... + def Set(self, OnFirst: bool, COnSurf: Adaptor2d_Curve2d) -> None: ... def Value(self, X: math_Vector, F: math_Vector) -> bool: ... def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... @@ -183,7 +183,7 @@ class Blend_SurfCurvFuncInv(math_FunctionSetWithDerivatives): def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... def NbEquations(self) -> int: ... def NbVariables(self) -> int: ... - def Set(self, Rst: Adaptor2d_HCurve2d) -> None: ... + def Set(self, Rst: Adaptor2d_Curve2d) -> None: ... def Value(self, X: math_Vector, F: math_Vector) -> bool: ... def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... diff --git a/src/SWIG_files/wrapper/BlendFunc.i b/src/SWIG_files/wrapper/BlendFunc.i index 3ca1b6f9c..e063ee4ff 100644 --- a/src/SWIG_files/wrapper/BlendFunc.i +++ b/src/SWIG_files/wrapper/BlendFunc.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BLENDFUNCDOCSTRING "BlendFunc module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_blendfunc.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_blendfunc.html" %enddef %module (package="OCC.Core", docstring=BLENDFUNCDOCSTRING) BlendFunc @@ -37,6 +37,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_blendfunc.html" %{ +#include #include //Dependencies @@ -88,7 +89,7 @@ enum BlendFunc_SectionShape { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BlendFunc_SectionShape(IntEnum): @@ -119,13 +120,13 @@ BlendFunc_Linear = BlendFunc_SectionShape.BlendFunc_Linear class BlendFunc { public: /****************** ComputeDNormal ******************/ - /**** md5 signature: f066a8c4e5ca3896e02a2f4a119a1427 ****/ + /**** md5 signature: cde71b23cab8a2f1227199266c8cb896 ****/ %feature("compactdefaultargs") ComputeDNormal; %feature("autodoc", "No available documentation. Parameters ---------- -Surf: Adaptor3d_HSurface +Surf: Adaptor3d_Surface p2d: gp_Pnt2d Normal: gp_Vec DNu: gp_Vec @@ -135,16 +136,16 @@ Returns ------- bool ") ComputeDNormal; - static Standard_Boolean ComputeDNormal(const opencascade::handle & Surf, const gp_Pnt2d & p2d, gp_Vec & Normal, gp_Vec & DNu, gp_Vec & DNv); + static Standard_Boolean ComputeDNormal(const opencascade::handle & Surf, const gp_Pnt2d & p2d, gp_Vec & Normal, gp_Vec & DNu, gp_Vec & DNv); /****************** ComputeNormal ******************/ - /**** md5 signature: 3ff79316037356952d52d5773250be00 ****/ + /**** md5 signature: b82124d6f2c9c1dff1a9cca5be99986f ****/ %feature("compactdefaultargs") ComputeNormal; %feature("autodoc", "No available documentation. Parameters ---------- -Surf: Adaptor3d_HSurface +Surf: Adaptor3d_Surface p2d: gp_Pnt2d Normal: gp_Vec @@ -152,7 +153,7 @@ Returns ------- bool ") ComputeNormal; - static Standard_Boolean ComputeNormal(const opencascade::handle & Surf, const gp_Pnt2d & p2d, gp_Vec & Normal); + static Standard_Boolean ComputeNormal(const opencascade::handle & Surf, const gp_Pnt2d & p2d, gp_Vec & Normal); /****************** GetMinimalWeights ******************/ /**** md5 signature: 309c1f7f13e6d4dfd26fbb05a6dc9e40 ****/ @@ -230,22 +231,22 @@ GeomAbs_Shape class BlendFunc_CSCircular : public Blend_CSFunction { public: /****************** BlendFunc_CSCircular ******************/ - /**** md5 signature: 5aabfa02d378ab470a30e84ee52a6c7d ****/ + /**** md5 signature: d43560f235cf7a01ad5e6452468104a7 ****/ %feature("compactdefaultargs") BlendFunc_CSCircular; %feature("autodoc", "Creates a function for a circular blending between a curve and a surface . the direction of the planes are given by . the position of the plane is determined on the curve . defines the change of parameter between and . so, the planes are defined as described below : t is the current parameter on the guide line. pguide = c(l(t)); nguide = cguide'(t)/||cguide'(t)||. Parameters ---------- -S: Adaptor3d_HSurface -C: Adaptor3d_HCurve -CGuide: Adaptor3d_HCurve +S: Adaptor3d_Surface +C: Adaptor3d_Curve +CGuide: Adaptor3d_Curve L: Law_Function Returns ------- None ") BlendFunc_CSCircular; - BlendFunc_CSCircular(const opencascade::handle & S, const opencascade::handle & C, const opencascade::handle & CGuide, const opencascade::handle & L); + BlendFunc_CSCircular(const opencascade::handle & S, const opencascade::handle & C, const opencascade::handle & CGuide, const opencascade::handle & L); /****************** Derivatives ******************/ /**** md5 signature: 940fde1549012c9025c437a16f7d8c18 ****/ @@ -380,7 +381,7 @@ None /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals() raises outofrange from standard. + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals() raises outofrange from standard. Parameters ---------- @@ -803,21 +804,21 @@ bool class BlendFunc_CSConstRad : public Blend_CSFunction { public: /****************** BlendFunc_CSConstRad ******************/ - /**** md5 signature: 6b8b56678cb2aa99e1d038c477c227ac ****/ + /**** md5 signature: 168f276159a046c8f0cdc04c4ef368b0 ****/ %feature("compactdefaultargs") BlendFunc_CSConstRad; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -C: Adaptor3d_HCurve -CGuide: Adaptor3d_HCurve +S: Adaptor3d_Surface +C: Adaptor3d_Curve +CGuide: Adaptor3d_Curve Returns ------- None ") BlendFunc_CSConstRad; - BlendFunc_CSConstRad(const opencascade::handle & S, const opencascade::handle & C, const opencascade::handle & CGuide); + BlendFunc_CSConstRad(const opencascade::handle & S, const opencascade::handle & C, const opencascade::handle & CGuide); /****************** Derivatives ******************/ /**** md5 signature: 940fde1549012c9025c437a16f7d8c18 ****/ @@ -952,7 +953,7 @@ None /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals() raises outofrange from standard. + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals() raises outofrange from standard. Parameters ---------- @@ -1364,21 +1365,21 @@ bool class BlendFunc_ChAsym : public Blend_Function { public: /****************** BlendFunc_ChAsym ******************/ - /**** md5 signature: c5ccfbb8cb1ce21d9a61d191af697154 ****/ + /**** md5 signature: b229d2c8a2fc1a7aa0dd5e5a3c42e55f ****/ %feature("compactdefaultargs") BlendFunc_ChAsym; %feature("autodoc", "No available documentation. Parameters ---------- -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface +C: Adaptor3d_Curve Returns ------- None ") BlendFunc_ChAsym; - BlendFunc_ChAsym(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); + BlendFunc_ChAsym(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); /****************** ComputeValues ******************/ /**** md5 signature: 204816d5dcb99a46213f8c407defdb50 ****/ @@ -1432,7 +1433,7 @@ None /****************** GetMinimalDistance ******************/ /**** md5 signature: 5c7d510e1dc489ba8fc7ea0c2c8156a3 ****/ %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", "Returns the minimal distance beetween two extremitys of calculed sections. + %feature("autodoc", "Returns the minimal distance between two extremities of calculated sections. Returns ------- @@ -1521,7 +1522,7 @@ None /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -1935,21 +1936,21 @@ bool class BlendFunc_ChAsymInv : public Blend_FuncInv { public: /****************** BlendFunc_ChAsymInv ******************/ - /**** md5 signature: a38e4ebbfc241372f20d992b33f24c6a ****/ + /**** md5 signature: 57d9c726e0f3e32ebb79dc260d6ff4e1 ****/ %feature("compactdefaultargs") BlendFunc_ChAsymInv; %feature("autodoc", "No available documentation. Parameters ---------- -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface +C: Adaptor3d_Curve Returns ------- None ") BlendFunc_ChAsymInv; - BlendFunc_ChAsymInv(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); + BlendFunc_ChAsymInv(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); /****************** ComputeValues ******************/ /**** md5 signature: 204816d5dcb99a46213f8c407defdb50 ****/ @@ -2044,20 +2045,20 @@ int Standard_Integer NbEquations(); /****************** Set ******************/ - /**** md5 signature: 9a5329dd41f671f675afb78a1ac44701 ****/ + /**** md5 signature: 229bdaddea2d80c843d774149f42a9d3 ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "No available documentation. Parameters ---------- OnFirst: bool -COnSurf: Adaptor2d_HCurve2d +COnSurf: Adaptor2d_Curve2d Returns ------- None ") Set; - void Set(const Standard_Boolean OnFirst, const opencascade::handle & COnSurf); + void Set(const Standard_Boolean OnFirst, const opencascade::handle & COnSurf); /****************** Set ******************/ /**** md5 signature: 3d2665ead473e36c7266c389a87d886a ****/ @@ -2124,21 +2125,21 @@ bool class BlendFunc_ConstRad : public Blend_Function { public: /****************** BlendFunc_ConstRad ******************/ - /**** md5 signature: 3542520f3ad949bdbc206ab556cd95b2 ****/ + /**** md5 signature: ec463286ed779585c6f6c64e454c4923 ****/ %feature("compactdefaultargs") BlendFunc_ConstRad; %feature("autodoc", "No available documentation. Parameters ---------- -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface +C: Adaptor3d_Curve Returns ------- None ") BlendFunc_ConstRad; - BlendFunc_ConstRad(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); + BlendFunc_ConstRad(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); /****************** AxeRot ******************/ /**** md5 signature: 0c9178d91224ee5e9d339eb0f66536ab ****/ @@ -2190,7 +2191,7 @@ None /****************** GetMinimalDistance ******************/ /**** md5 signature: 5c7d510e1dc489ba8fc7ea0c2c8156a3 ****/ %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", "Returns the minimal distance beetween two extremitys of calculed sections. + %feature("autodoc", "Returns the minimal distance between two extremities of calculated sections. Returns ------- @@ -2279,7 +2280,7 @@ None /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -2707,21 +2708,21 @@ bool class BlendFunc_ConstRadInv : public Blend_FuncInv { public: /****************** BlendFunc_ConstRadInv ******************/ - /**** md5 signature: ad697509e914e35d04fcf8d89739d319 ****/ + /**** md5 signature: c8f32f0129f68758453c9740132fe619 ****/ %feature("compactdefaultargs") BlendFunc_ConstRadInv; %feature("autodoc", "No available documentation. Parameters ---------- -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface +C: Adaptor3d_Curve Returns ------- None ") BlendFunc_ConstRadInv; - BlendFunc_ConstRadInv(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); + BlendFunc_ConstRadInv(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); /****************** Derivatives ******************/ /**** md5 signature: 940fde1549012c9025c437a16f7d8c18 ****/ @@ -2799,20 +2800,20 @@ int Standard_Integer NbEquations(); /****************** Set ******************/ - /**** md5 signature: 9a5329dd41f671f675afb78a1ac44701 ****/ + /**** md5 signature: 229bdaddea2d80c843d774149f42a9d3 ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "No available documentation. Parameters ---------- OnFirst: bool -COnSurf: Adaptor2d_HCurve2d +COnSurf: Adaptor2d_Curve2d Returns ------- None ") Set; - void Set(const Standard_Boolean OnFirst, const opencascade::handle & COnSurf); + void Set(const Standard_Boolean OnFirst, const opencascade::handle & COnSurf); /****************** Set ******************/ /**** md5 signature: 941166ee1a941569b8be371b05e6b601 ****/ @@ -2878,20 +2879,20 @@ bool class BlendFunc_Corde { public: /****************** BlendFunc_Corde ******************/ - /**** md5 signature: d14c0262460f5da83f485c78719fc7f5 ****/ + /**** md5 signature: 09c11190c26094da844f7a5a6a6617c4 ****/ %feature("compactdefaultargs") BlendFunc_Corde; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -CGuide: Adaptor3d_HCurve +S: Adaptor3d_Surface +CGuide: Adaptor3d_Curve Returns ------- None ") BlendFunc_Corde; - BlendFunc_Corde(const opencascade::handle & S, const opencascade::handle & CGuide); + BlendFunc_Corde(const opencascade::handle & S, const opencascade::handle & CGuide); /****************** DerFguide ******************/ /**** md5 signature: 23a9f18e67908903d4dd5177d48fb2af ****/ @@ -3068,22 +3069,22 @@ bool class BlendFunc_EvolRad : public Blend_Function { public: /****************** BlendFunc_EvolRad ******************/ - /**** md5 signature: 9b176fc9db389ee1339e277c61d4781f ****/ + /**** md5 signature: 0d3aa13d1183ca5db26a2b0aa1b7ba32 ****/ %feature("compactdefaultargs") BlendFunc_EvolRad; %feature("autodoc", "No available documentation. Parameters ---------- -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface +C: Adaptor3d_Curve Law: Law_Function Returns ------- None ") BlendFunc_EvolRad; - BlendFunc_EvolRad(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C, const opencascade::handle & Law); + BlendFunc_EvolRad(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C, const opencascade::handle & Law); /****************** Derivatives ******************/ /**** md5 signature: 940fde1549012c9025c437a16f7d8c18 ****/ @@ -3120,7 +3121,7 @@ None /****************** GetMinimalDistance ******************/ /**** md5 signature: 5c7d510e1dc489ba8fc7ea0c2c8156a3 ****/ %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", "Returns the minimal distance beetween two extremitys of calculed sections. + %feature("autodoc", "Returns the minimal distance between two extremities of calculated sections. Returns ------- @@ -3209,7 +3210,7 @@ None /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -3636,22 +3637,22 @@ bool class BlendFunc_EvolRadInv : public Blend_FuncInv { public: /****************** BlendFunc_EvolRadInv ******************/ - /**** md5 signature: d98cdf0b742b9880acbeacf9949b9776 ****/ + /**** md5 signature: d0bf0a36455b752e44c89151c15747c3 ****/ %feature("compactdefaultargs") BlendFunc_EvolRadInv; %feature("autodoc", "No available documentation. Parameters ---------- -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface +C: Adaptor3d_Curve Law: Law_Function Returns ------- None ") BlendFunc_EvolRadInv; - BlendFunc_EvolRadInv(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C, const opencascade::handle & Law); + BlendFunc_EvolRadInv(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C, const opencascade::handle & Law); /****************** Derivatives ******************/ /**** md5 signature: 80ee5f16e62731c095910ad60228848b ****/ @@ -3729,20 +3730,20 @@ int Standard_Integer NbEquations(); /****************** Set ******************/ - /**** md5 signature: 8bb3e469c34889cbf25b4fc4beae02a1 ****/ + /**** md5 signature: cdc53548b1d92196db3a77124e819099 ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "No available documentation. Parameters ---------- OnFirst: bool -COnSurf: Adaptor2d_HCurve2d +COnSurf: Adaptor2d_Curve2d Returns ------- None ") Set; - void Set(const Standard_Boolean OnFirst, const opencascade::handle & COnSurf); + void Set(const Standard_Boolean OnFirst, const opencascade::handle & COnSurf); /****************** Set ******************/ /**** md5 signature: d73c9c4058c0955fc8cd59888660f750 ****/ @@ -3851,20 +3852,20 @@ int Standard_Integer NbEquations(); /****************** Set ******************/ - /**** md5 signature: c4b1deeee5b8345f398d1d63ec77fc1b ****/ + /**** md5 signature: 4eba17c1fe83cac47590d6f96738fedb ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "No available documentation. Parameters ---------- OnFirst: bool -COnSurf: Adaptor2d_HCurve2d +COnSurf: Adaptor2d_Curve2d Returns ------- None ") Set; - virtual void Set(const Standard_Boolean OnFirst, const opencascade::handle & COnSurf); + virtual void Set(const Standard_Boolean OnFirst, const opencascade::handle & COnSurf); /****************** Set ******************/ /**** md5 signature: ee1b691ca844b8dd605892e1ef6591ed ****/ @@ -3934,7 +3935,7 @@ None /****************** GetMinimalDistance ******************/ /**** md5 signature: 5c7d510e1dc489ba8fc7ea0c2c8156a3 ****/ %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", "Returns the minimal distance beetween two extremitys of calculed sections. + %feature("autodoc", "Returns the minimal distance between two extremities of calculated sections. Returns ------- @@ -4012,7 +4013,7 @@ None /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals() raises outofrange from standard. + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals() raises outofrange from standard. Parameters ---------- @@ -4273,21 +4274,21 @@ bool class BlendFunc_Ruled : public Blend_Function { public: /****************** BlendFunc_Ruled ******************/ - /**** md5 signature: 7b29e135c5ec01d315383baadb5d2e36 ****/ + /**** md5 signature: e253035d359b127a63cfdd5fd602f572 ****/ %feature("compactdefaultargs") BlendFunc_Ruled; %feature("autodoc", "No available documentation. Parameters ---------- -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface +C: Adaptor3d_Curve Returns ------- None ") BlendFunc_Ruled; - BlendFunc_Ruled(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); + BlendFunc_Ruled(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); /****************** AxeRot ******************/ /**** md5 signature: 0c9178d91224ee5e9d339eb0f66536ab ****/ @@ -4339,7 +4340,7 @@ None /****************** GetMinimalDistance ******************/ /**** md5 signature: 5c7d510e1dc489ba8fc7ea0c2c8156a3 ****/ %feature("compactdefaultargs") GetMinimalDistance; - %feature("autodoc", "Returns the minimal distance beetween two extremitys of calculed sections. + %feature("autodoc", "Returns the minimal distance between two extremities of calculated sections. Returns ------- @@ -4449,7 +4450,7 @@ None /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals() raises outofrange from standard. + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals() raises outofrange from standard. Parameters ---------- @@ -4803,21 +4804,21 @@ bool class BlendFunc_RuledInv : public Blend_FuncInv { public: /****************** BlendFunc_RuledInv ******************/ - /**** md5 signature: 2578aab4b26b8b46f77abfb6d22abd70 ****/ + /**** md5 signature: f15fc82b59c0b2a87d88c3189053e8a5 ****/ %feature("compactdefaultargs") BlendFunc_RuledInv; %feature("autodoc", "No available documentation. Parameters ---------- -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface +C: Adaptor3d_Curve Returns ------- None ") BlendFunc_RuledInv; - BlendFunc_RuledInv(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); + BlendFunc_RuledInv(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); /****************** Derivatives ******************/ /**** md5 signature: 940fde1549012c9025c437a16f7d8c18 ****/ @@ -4895,20 +4896,20 @@ int Standard_Integer NbEquations(); /****************** Set ******************/ - /**** md5 signature: 9a5329dd41f671f675afb78a1ac44701 ****/ + /**** md5 signature: 229bdaddea2d80c843d774149f42a9d3 ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "No available documentation. Parameters ---------- OnFirst: bool -COnSurf: Adaptor2d_HCurve2d +COnSurf: Adaptor2d_Curve2d Returns ------- None ") Set; - void Set(const Standard_Boolean OnFirst, const opencascade::handle & COnSurf); + void Set(const Standard_Boolean OnFirst, const opencascade::handle & COnSurf); /****************** Value ******************/ /**** md5 signature: 1b689850305d8b13f289849027f0887b ****/ @@ -5050,21 +5051,21 @@ float class BlendFunc_ChamfInv : public BlendFunc_GenChamfInv { public: /****************** BlendFunc_ChamfInv ******************/ - /**** md5 signature: 3eb4d39deb7dc480e2249d52a42e392a ****/ + /**** md5 signature: 03770f1d2075d29aa171bd8362874cff ****/ %feature("compactdefaultargs") BlendFunc_ChamfInv; %feature("autodoc", "No available documentation. Parameters ---------- -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface +C: Adaptor3d_Curve Returns ------- None ") BlendFunc_ChamfInv; - BlendFunc_ChamfInv(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); + BlendFunc_ChamfInv(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); /****************** Derivatives ******************/ /**** md5 signature: 940fde1549012c9025c437a16f7d8c18 ****/ @@ -5146,21 +5147,21 @@ bool class BlendFunc_Chamfer : public BlendFunc_GenChamfer { public: /****************** BlendFunc_Chamfer ******************/ - /**** md5 signature: 6c2bb6bd5601aa68b73824c3544b1c1d ****/ + /**** md5 signature: 95f7dc1cb02ec7d245aeb0d13e68126f ****/ %feature("compactdefaultargs") BlendFunc_Chamfer; %feature("autodoc", "No available documentation. Parameters ---------- -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface -CG: Adaptor3d_HCurve +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface +CG: Adaptor3d_Curve Returns ------- None ") BlendFunc_Chamfer; - BlendFunc_Chamfer(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & CG); + BlendFunc_Chamfer(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & CG); /****************** Derivatives ******************/ /**** md5 signature: 940fde1549012c9025c437a16f7d8c18 ****/ @@ -5367,21 +5368,21 @@ bool class BlendFunc_ConstThroat : public BlendFunc_GenChamfer { public: /****************** BlendFunc_ConstThroat ******************/ - /**** md5 signature: 535ab4761994307186594af27339246f ****/ + /**** md5 signature: cbea5b84841b251171871eebe4d6cd9e ****/ %feature("compactdefaultargs") BlendFunc_ConstThroat; %feature("autodoc", "No available documentation. Parameters ---------- -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface +C: Adaptor3d_Curve Returns ------- None ") BlendFunc_ConstThroat; - BlendFunc_ConstThroat(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); + BlendFunc_ConstThroat(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); /****************** Derivatives ******************/ /**** md5 signature: 940fde1549012c9025c437a16f7d8c18 ****/ @@ -5588,21 +5589,21 @@ bool class BlendFunc_ConstThroatInv : public BlendFunc_GenChamfInv { public: /****************** BlendFunc_ConstThroatInv ******************/ - /**** md5 signature: 63f70f99e6a8865b816983676f75b58f ****/ + /**** md5 signature: 95409ba97313f153bfd0f5ac1ebb3f61 ****/ %feature("compactdefaultargs") BlendFunc_ConstThroatInv; %feature("autodoc", "No available documentation. Parameters ---------- -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface +C: Adaptor3d_Curve Returns ------- None ") BlendFunc_ConstThroatInv; - BlendFunc_ConstThroatInv(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); + BlendFunc_ConstThroatInv(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); /****************** Derivatives ******************/ /**** md5 signature: 940fde1549012c9025c437a16f7d8c18 ****/ @@ -5684,21 +5685,21 @@ bool class BlendFunc_ConstThroatWithPenetration : public BlendFunc_ConstThroat { public: /****************** BlendFunc_ConstThroatWithPenetration ******************/ - /**** md5 signature: 7784734638904cb3fd3cff05a34f07ed ****/ + /**** md5 signature: ea57eb46c007f8b6b82e5faf10c5067c ****/ %feature("compactdefaultargs") BlendFunc_ConstThroatWithPenetration; %feature("autodoc", "No available documentation. Parameters ---------- -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface +C: Adaptor3d_Curve Returns ------- None ") BlendFunc_ConstThroatWithPenetration; - BlendFunc_ConstThroatWithPenetration(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); + BlendFunc_ConstThroatWithPenetration(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); /****************** Derivatives ******************/ /**** md5 signature: 940fde1549012c9025c437a16f7d8c18 ****/ @@ -5818,21 +5819,21 @@ bool class BlendFunc_ConstThroatWithPenetrationInv : public BlendFunc_ConstThroatInv { public: /****************** BlendFunc_ConstThroatWithPenetrationInv ******************/ - /**** md5 signature: 2add6271da6f16e56e4b583f12a18aaa ****/ + /**** md5 signature: 4f8493ab3f5eb8a9ea5778e7a093e544 ****/ %feature("compactdefaultargs") BlendFunc_ConstThroatWithPenetrationInv; %feature("autodoc", "No available documentation. Parameters ---------- -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface +C: Adaptor3d_Curve Returns ------- None ") BlendFunc_ConstThroatWithPenetrationInv; - BlendFunc_ConstThroatWithPenetrationInv(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); + BlendFunc_ConstThroatWithPenetrationInv(const opencascade::handle & S1, const opencascade::handle & S2, const opencascade::handle & C); /****************** Derivatives ******************/ /**** md5 signature: 940fde1549012c9025c437a16f7d8c18 ****/ diff --git a/src/SWIG_files/wrapper/BlendFunc.pyi b/src/SWIG_files/wrapper/BlendFunc.pyi index 530f92b6d..9af87fc8f 100644 --- a/src/SWIG_files/wrapper/BlendFunc.pyi +++ b/src/SWIG_files/wrapper/BlendFunc.pyi @@ -28,9 +28,9 @@ BlendFunc_Linear = BlendFunc_SectionShape.BlendFunc_Linear class blendfunc: @staticmethod - def ComputeDNormal(Surf: Adaptor3d_HSurface, p2d: gp_Pnt2d, Normal: gp_Vec, DNu: gp_Vec, DNv: gp_Vec) -> bool: ... + def ComputeDNormal(Surf: Adaptor3d_Surface, p2d: gp_Pnt2d, Normal: gp_Vec, DNu: gp_Vec, DNv: gp_Vec) -> bool: ... @staticmethod - def ComputeNormal(Surf: Adaptor3d_HSurface, p2d: gp_Pnt2d, Normal: gp_Vec) -> bool: ... + def ComputeNormal(Surf: Adaptor3d_Surface, p2d: gp_Pnt2d, Normal: gp_Vec) -> bool: ... @staticmethod def GetMinimalWeights(SectShape: BlendFunc_SectionShape, TConv: Convert_ParameterisationType, AngleMin: float, AngleMax: float, Weigths: TColStd_Array1OfReal) -> None: ... @staticmethod @@ -39,7 +39,7 @@ class blendfunc: def NextShape(S: GeomAbs_Shape) -> GeomAbs_Shape: ... class BlendFunc_CSCircular(Blend_CSFunction): - def __init__(self, S: Adaptor3d_HSurface, C: Adaptor3d_HCurve, CGuide: Adaptor3d_HCurve, L: Law_Function) -> None: ... + def __init__(self, S: Adaptor3d_Surface, C: Adaptor3d_Curve, CGuide: Adaptor3d_Curve, L: Law_Function) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... def GetMinimalWeight(self, Weigths: TColStd_Array1OfReal) -> None: ... @@ -88,7 +88,7 @@ class BlendFunc_CSCircular(Blend_CSFunction): def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BlendFunc_CSConstRad(Blend_CSFunction): - def __init__(self, S: Adaptor3d_HSurface, C: Adaptor3d_HCurve, CGuide: Adaptor3d_HCurve) -> None: ... + def __init__(self, S: Adaptor3d_Surface, C: Adaptor3d_Curve, CGuide: Adaptor3d_Curve) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... def GetMinimalWeight(self, Weigths: TColStd_Array1OfReal) -> None: ... @@ -136,7 +136,7 @@ class BlendFunc_CSConstRad(Blend_CSFunction): def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BlendFunc_ChAsym(Blend_Function): - def __init__(self, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, C: Adaptor3d_HCurve) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, C: Adaptor3d_Curve) -> None: ... def ComputeValues(self, X: math_Vector, DegF: int, DegL: int) -> bool: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... @@ -184,7 +184,7 @@ class BlendFunc_ChAsym(Blend_Function): def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BlendFunc_ChAsymInv(Blend_FuncInv): - def __init__(self, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, C: Adaptor3d_HCurve) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, C: Adaptor3d_Curve) -> None: ... def ComputeValues(self, X: math_Vector, DegF: int, DegL: int) -> bool: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... @@ -192,14 +192,14 @@ class BlendFunc_ChAsymInv(Blend_FuncInv): def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... def NbEquations(self) -> int: ... @overload - def Set(self, OnFirst: bool, COnSurf: Adaptor2d_HCurve2d) -> None: ... + def Set(self, OnFirst: bool, COnSurf: Adaptor2d_Curve2d) -> None: ... @overload def Set(self, Dist1: float, Angle: float, Choix: int) -> None: ... def Value(self, X: math_Vector, F: math_Vector) -> bool: ... def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BlendFunc_ConstRad(Blend_Function): - def __init__(self, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, C: Adaptor3d_HCurve) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, C: Adaptor3d_Curve) -> None: ... def AxeRot(self, Prm: float) -> gp_Ax1: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... @@ -249,21 +249,21 @@ class BlendFunc_ConstRad(Blend_Function): def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BlendFunc_ConstRadInv(Blend_FuncInv): - def __init__(self, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, C: Adaptor3d_HCurve) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, C: Adaptor3d_Curve) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... def NbEquations(self) -> int: ... @overload - def Set(self, OnFirst: bool, COnSurf: Adaptor2d_HCurve2d) -> None: ... + def Set(self, OnFirst: bool, COnSurf: Adaptor2d_Curve2d) -> None: ... @overload def Set(self, R: float, Choix: int) -> None: ... def Value(self, X: math_Vector, F: math_Vector) -> bool: ... def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BlendFunc_Corde: - def __init__(self, S: Adaptor3d_HSurface, CGuide: Adaptor3d_HCurve) -> None: ... + def __init__(self, S: Adaptor3d_Surface, CGuide: Adaptor3d_Curve) -> None: ... def DerFguide(self, Sol: math_Vector, DerF: gp_Vec2d) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... @@ -278,7 +278,7 @@ class BlendFunc_Corde: def Value(self, X: math_Vector, F: math_Vector) -> bool: ... class BlendFunc_EvolRad(Blend_Function): - def __init__(self, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, C: Adaptor3d_HCurve, Law: Law_Function) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, C: Adaptor3d_Curve, Law: Law_Function) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... def GetMinimalDistance(self) -> float: ... @@ -327,14 +327,14 @@ class BlendFunc_EvolRad(Blend_Function): def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BlendFunc_EvolRadInv(Blend_FuncInv): - def __init__(self, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, C: Adaptor3d_HCurve, Law: Law_Function) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, C: Adaptor3d_Curve, Law: Law_Function) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... def NbEquations(self) -> int: ... @overload - def Set(self, OnFirst: bool, COnSurf: Adaptor2d_HCurve2d) -> None: ... + def Set(self, OnFirst: bool, COnSurf: Adaptor2d_Curve2d) -> None: ... @overload def Set(self, Choix: int) -> None: ... def Value(self, X: math_Vector, F: math_Vector) -> bool: ... @@ -345,7 +345,7 @@ class BlendFunc_GenChamfInv(Blend_FuncInv): def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... def NbEquations(self) -> int: ... @overload - def Set(self, OnFirst: bool, COnSurf: Adaptor2d_HCurve2d) -> None: ... + def Set(self, OnFirst: bool, COnSurf: Adaptor2d_Curve2d) -> None: ... @overload def Set(self, Dist1: float, Dist2: float, Choix: int) -> None: ... def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... @@ -383,7 +383,7 @@ class BlendFunc_GenChamfer(Blend_Function): def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BlendFunc_Ruled(Blend_Function): - def __init__(self, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, C: Adaptor3d_HCurve) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, C: Adaptor3d_Curve) -> None: ... def AxeRot(self, Prm: float) -> gp_Ax1: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... @@ -426,13 +426,13 @@ class BlendFunc_Ruled(Blend_Function): def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class BlendFunc_RuledInv(Blend_FuncInv): - def __init__(self, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, C: Adaptor3d_HCurve) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, C: Adaptor3d_Curve) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetBounds(self, InfBound: math_Vector, SupBound: math_Vector) -> None: ... def GetTolerance(self, Tolerance: math_Vector, Tol: float) -> None: ... def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... def NbEquations(self) -> int: ... - def Set(self, OnFirst: bool, COnSurf: Adaptor2d_HCurve2d) -> None: ... + def Set(self, OnFirst: bool, COnSurf: Adaptor2d_Curve2d) -> None: ... def Value(self, X: math_Vector, F: math_Vector) -> bool: ... def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... @@ -445,14 +445,14 @@ class BlendFunc_Tensor: def Value(self, Row: int, Col: int, Mat: int) -> float: ... class BlendFunc_ChamfInv(BlendFunc_GenChamfInv): - def __init__(self, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, C: Adaptor3d_HCurve) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, C: Adaptor3d_Curve) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... def Set(self, Dist1: float, Dist2: float, Choix: int) -> None: ... def Value(self, X: math_Vector, F: math_Vector) -> bool: ... class BlendFunc_Chamfer(BlendFunc_GenChamfer): - def __init__(self, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, CG: Adaptor3d_HCurve) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, CG: Adaptor3d_Curve) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetSectionSize(self) -> float: ... def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... @@ -471,7 +471,7 @@ class BlendFunc_Chamfer(BlendFunc_GenChamfer): def Value(self, X: math_Vector, F: math_Vector) -> bool: ... class BlendFunc_ConstThroat(BlendFunc_GenChamfer): - def __init__(self, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, C: Adaptor3d_HCurve) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, C: Adaptor3d_Curve) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetSectionSize(self) -> float: ... def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... @@ -488,13 +488,13 @@ class BlendFunc_ConstThroat(BlendFunc_GenChamfer): def Value(self, X: math_Vector, F: math_Vector) -> bool: ... class BlendFunc_ConstThroatInv(BlendFunc_GenChamfInv): - def __init__(self, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, C: Adaptor3d_HCurve) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, C: Adaptor3d_Curve) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... def Value(self, X: math_Vector, F: math_Vector) -> bool: ... class BlendFunc_ConstThroatWithPenetration(BlendFunc_ConstThroat): - def __init__(self, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, C: Adaptor3d_HCurve) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, C: Adaptor3d_Curve) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def GetSectionSize(self) -> float: ... def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... @@ -505,7 +505,7 @@ class BlendFunc_ConstThroatWithPenetration(BlendFunc_ConstThroat): def Value(self, X: math_Vector, F: math_Vector) -> bool: ... class BlendFunc_ConstThroatWithPenetrationInv(BlendFunc_ConstThroatInv): - def __init__(self, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, C: Adaptor3d_HCurve) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, C: Adaptor3d_Curve) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def IsSolution(self, Sol: math_Vector, Tol: float) -> bool: ... def Value(self, X: math_Vector, F: math_Vector) -> bool: ... diff --git a/src/SWIG_files/wrapper/Bnd.i b/src/SWIG_files/wrapper/Bnd.i index 8ac79eff3..7d6a39fc2 100644 --- a/src/SWIG_files/wrapper/Bnd.i +++ b/src/SWIG_files/wrapper/Bnd.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BNDDOCSTRING "Bnd module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bnd.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_bnd.html" %enddef %module (package="OCC.Core", docstring=BNDDOCSTRING) Bnd @@ -66,7 +66,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -1847,7 +1847,7 @@ None /****************** Bnd_Box ******************/ /**** md5 signature: 8988059a3a19778057ad20076dff426e ****/ %feature("compactdefaultargs") Bnd_Box; - %feature("autodoc", "Creates a bounding box, it contains: - minimum/maximum point of bouning box, the constructed box is qualified void. its gap is null. + %feature("autodoc", "Creates a bounding box, it contains: - minimum/maximum point of bounding box, the constructed box is qualified void. its gap is null. Parameters ---------- @@ -2724,6 +2724,37 @@ bool ") IsOut; Standard_Boolean IsOut(const gp_Pnt2d & P); + /****************** IsOut ******************/ + /**** md5 signature: b38b06569c00369b03abed2049a1c3e3 ****/ + %feature("compactdefaultargs") IsOut; + %feature("autodoc", "Returns true if the line doesn't intersect the box. + +Parameters +---------- +theL: gp_Lin2d + +Returns +------- +bool +") IsOut; + Standard_Boolean IsOut(const gp_Lin2d & theL); + + /****************** IsOut ******************/ + /**** md5 signature: a23d5456f0cccf334434731d2ce66f73 ****/ + %feature("compactdefaultargs") IsOut; + %feature("autodoc", "Returns true if the segment doesn't intersect the box. + +Parameters +---------- +theP0: gp_Pnt2d +theP1: gp_Pnt2d + +Returns +------- +bool +") IsOut; + Standard_Boolean IsOut(const gp_Pnt2d & theP0, const gp_Pnt2d & theP1); + /****************** IsOut ******************/ /**** md5 signature: 76ce93721d21d2f47dd476b923763317 ****/ %feature("compactdefaultargs") IsOut; diff --git a/src/SWIG_files/wrapper/Bnd.pyi b/src/SWIG_files/wrapper/Bnd.pyi index c5cd41850..9d9ada16b 100644 --- a/src/SWIG_files/wrapper/Bnd.pyi +++ b/src/SWIG_files/wrapper/Bnd.pyi @@ -367,6 +367,10 @@ class Bnd_Box2d: @overload def IsOut(self, P: gp_Pnt2d) -> bool: ... @overload + def IsOut(self, theL: gp_Lin2d) -> bool: ... + @overload + def IsOut(self, theP0: gp_Pnt2d, theP1: gp_Pnt2d) -> bool: ... + @overload def IsOut(self, Other: Bnd_Box2d) -> bool: ... @overload def IsOut(self, theOther: Bnd_Box2d, theTrsf: gp_Trsf2d) -> bool: ... diff --git a/src/SWIG_files/wrapper/BndLib.i b/src/SWIG_files/wrapper/BndLib.i index 6a4ad0184..053e8bd96 100644 --- a/src/SWIG_files/wrapper/BndLib.i +++ b/src/SWIG_files/wrapper/BndLib.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define BNDLIBDOCSTRING "BndLib module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bndlib.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_bndlib.html" %enddef %module (package="OCC.Core", docstring=BNDLIBDOCSTRING) BndLib @@ -70,7 +70,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -93,7 +93,7 @@ class BndLib { /****************** Add ******************/ /**** md5 signature: 9e863879ef8ae6ec63335c0c92f20f7b ****/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Bounding box for a surface trimmed or not adds the segment of the line l limited by the two parameter values p1 and p2, to the bounding box b, and then enlarges b by the tolerance value tol. tol is the tolerance value to enlarge the minimun and maximum dimension p1 and p2 may represent infinite values. exceptions standard_failure if p1 and p2 are either two negative infinite real numbers, or two positive infinite real numbers. + %feature("autodoc", "Bounding box for a surface trimmed or not adds the segment of the line l limited by the two parameter values p1 and p2, to the bounding box b, and then enlarges b by the tolerance value tol. tol is the tolerance value to enlarge the minimum and maximum dimension p1 and p2 may represent infinite values. exceptions standard_failure if p1 and p2 are either two negative infinite real numbers, or two positive infinite real numbers. Parameters ---------- @@ -574,7 +574,7 @@ None /****************** Add ******************/ /**** md5 signature: eedfe68de0380d5f37d16bc918c0d037 ****/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds to the bounding box b the part of curve c b is then enlarged by the tolerance value tol. u1, u2 - the parametric range to comute the bounding box; note: depending on the type of curve, one of the following representations of the curve c is used to include it in the bounding box b: - an exact representation if c is built from a line, a circle or a conic curve, - the poles of the curve if c is built from a bezier curve or a bspline curve, - if not, the points of an approximation of the curve c. + %feature("autodoc", "Adds to the bounding box b the part of curve c b is then enlarged by the tolerance value tol. u1, u2 - the parametric range to compute the bounding box; note: depending on the type of curve, one of the following representations of the curve c is used to include it in the bounding box b: - an exact representation if c is built from a line, a circle or a conic curve, - the poles of the curve if c is built from a bezier curve or a bspline curve, - if not, the points of an approximation of the curve c. Parameters ---------- @@ -593,7 +593,7 @@ None /****************** AddOptimal ******************/ /**** md5 signature: bd6bfafd3a4edaae34079bdd6693208f ****/ %feature("compactdefaultargs") AddOptimal; - %feature("autodoc", "Adds to the bounding box b the part of curve c b is then enlarged by the tolerance value tol. u1, u2 - the parametric range to comute the bounding box; note: depending on the type of curve, one of the following algorithms is used to include it in the bounding box b: - an exact analytical if c is built from a line, a circle or a conic curve, - numerical calculation of bounding box sizes, based on minimization algorithm, for other types of curve if tol = < precision::pconfusion(), precision::pconfusion is used as tolerance for calculation. + %feature("autodoc", "Adds to the bounding box b the part of curve c b is then enlarged by the tolerance value tol. u1, u2 - the parametric range to compute the bounding box; note: depending on the type of curve, one of the following algorithms is used to include it in the bounding box b: - an exact analytical if c is built from a line, a circle or a conic curve, - numerical calculation of bounding box sizes, based on minimization algorithm, for other types of curve if tol = < precision::pconfusion(), precision::pconfusion is used as tolerance for calculation. Parameters ---------- diff --git a/src/SWIG_files/wrapper/CDF.i b/src/SWIG_files/wrapper/CDF.i index 7b21f7149..2f25cc105 100644 --- a/src/SWIG_files/wrapper/CDF.i +++ b/src/SWIG_files/wrapper/CDF.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define CDFDOCSTRING "CDF module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_cdf.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_cdf.html" %enddef %module (package="OCC.Core", docstring=CDFDOCSTRING) CDF @@ -94,7 +94,7 @@ enum CDF_StoreSetNameStatus { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class CDF_TypeOfActivation(IntEnum): @@ -174,37 +174,39 @@ CDM_CanCloseStatus CDM_CanCloseStatus CanClose(const opencascade::handle & aDocument); /****************** CanRetrieve ******************/ - /**** md5 signature: d5cbe1ab160ad972a9496d9457c24318 ****/ + /**** md5 signature: 0d61ed06c73aeded6f513d70d206870f ****/ %feature("compactdefaultargs") CanRetrieve; %feature("autodoc", "No available documentation. Parameters ---------- -aFolder: TCollection_ExtendedString -aName: TCollection_ExtendedString +theFolder: TCollection_ExtendedString +theName: TCollection_ExtendedString +theAppendMode: bool Returns ------- PCDM_ReaderStatus ") CanRetrieve; - PCDM_ReaderStatus CanRetrieve(const TCollection_ExtendedString & aFolder, const TCollection_ExtendedString & aName); + PCDM_ReaderStatus CanRetrieve(const TCollection_ExtendedString & theFolder, const TCollection_ExtendedString & theName, const bool theAppendMode); /****************** CanRetrieve ******************/ - /**** md5 signature: 6a3972f2482b6d2d9e823a66696730fd ****/ + /**** md5 signature: 64f35736d7773166005363b757a7c8ee ****/ %feature("compactdefaultargs") CanRetrieve; %feature("autodoc", "No available documentation. Parameters ---------- -aFolder: TCollection_ExtendedString -aName: TCollection_ExtendedString -aVersion: TCollection_ExtendedString +theFolder: TCollection_ExtendedString +theName: TCollection_ExtendedString +theVersion: TCollection_ExtendedString +theAppendMode: bool Returns ------- PCDM_ReaderStatus ") CanRetrieve; - PCDM_ReaderStatus CanRetrieve(const TCollection_ExtendedString & aFolder, const TCollection_ExtendedString & aName, const TCollection_ExtendedString & aVersion); + PCDM_ReaderStatus CanRetrieve(const TCollection_ExtendedString & theFolder, const TCollection_ExtendedString & theName, const TCollection_ExtendedString & theVersion, const bool theAppendMode); /****************** Close ******************/ /**** md5 signature: 18e2edbb6413a2dad4b76efdcffb5374 ****/ @@ -259,6 +261,21 @@ PCDM_ReaderStatus ") GetRetrieveStatus; PCDM_ReaderStatus GetRetrieveStatus(); + /****************** InitDocument ******************/ + /**** md5 signature: 71633d306d5c5cc6ec7824c1818ae992 ****/ + %feature("compactdefaultargs") InitDocument; + %feature("autodoc", "Initialize a document for the applicative session. this virtual function is called by newdocument and should be redefined for each specific application. + +Parameters +---------- +theDoc: CDM_Document + +Returns +------- +None +") InitDocument; + virtual void InitDocument(const opencascade::handle & theDoc); + /****************** Load ******************/ /**** md5 signature: 6f28094ffe0ccd3492096f784ee50c07 ****/ %feature("compactdefaultargs") Load; @@ -285,6 +302,22 @@ opencascade::handle ") MetaDataDriver; opencascade::handle MetaDataDriver(); + /****************** NewDocument ******************/ + /**** md5 signature: 8948e39f4c19a050838644ef4dd96de3 ****/ + %feature("compactdefaultargs") NewDocument; + %feature("autodoc", "Constructs an new empty document. this document will have the specified format. if initdocument() is redefined for a specific application, the new document is handled by the applicative session. + +Parameters +---------- +theFormat: TCollection_ExtendedString +theDoc: CDM_Document + +Returns +------- +None +") NewDocument; + virtual void NewDocument(const TCollection_ExtendedString & theFormat, opencascade::handle & theDoc); + /****************** Open ******************/ /**** md5 signature: 5e6498f06bf961c0c0c61cc007aa0a28 ****/ %feature("compactdefaultargs") Open; @@ -300,13 +333,6 @@ None ") Open; void Open(const opencascade::handle & aDocument); - - %feature("autodoc", "1"); - %extend{ - void ReadFromString(std::string src) { - std::stringstream s(src); - self->Read(s);} - }; /****************** ReaderFromFormat ******************/ /**** md5 signature: aab6344d555db3220a1fcf7db3c7d59e ****/ %feature("compactdefaultargs") ReaderFromFormat; @@ -323,9 +349,9 @@ opencascade::handle virtual opencascade::handle ReaderFromFormat(const TCollection_ExtendedString & aFormat); /****************** Retrieve ******************/ - /**** md5 signature: 2cf1ddbb1c6a8f4160a602328b4e8265 ****/ + /**** md5 signature: 529a7c29af3c51fd8c94c064e0b3dbcb ****/ %feature("compactdefaultargs") Retrieve; - %feature("autodoc", "This method retrieves a document from the database. if the document references other documents which have been updated, the latest version of these documents will be used if {usestorageconfiguration} is standard_true. the content of {afolder}, {aname} and {aversion} depends on the database manager system. if the dbms is only based on the os, {afolder} is a directory and {aname} is the name of a file. in this case the use of the syntax with {aversion} has no sense. for example: //! opencascade::handle thedocument=myapplication->retrieve('/home/cascade','box.dsg'); if the dbms is euclid/design manager, {afolder}, {aname} have the form they have in euclid/design manager. for example: //! opencascade::handle thedocument=myapplication->retrieve('|user|cascade','box'); //! since the version is not specified in this syntax, the latest wil be used. a link is kept with the database through an instance of cdm_metadata. + %feature("autodoc", "This method retrieves a document from the database. if the document references other documents which have been updated, the latest version of these documents will be used if {usestorageconfiguration} is standard_true. the content of {afolder}, {aname} and {aversion} depends on the database manager system. if the dbms is only based on the os, {afolder} is a directory and {aname} is the name of a file. in this case the use of the syntax with {aversion} has no sense. for example: //! opencascade::handle thedocument=myapplication->retrieve('/home/cascade','box.dsg'); if the dbms is euclid/design manager, {afolder}, {aname} have the form they have in euclid/design manager. for example: //! opencascade::handle thedocument=myapplication->retrieve('|user|cascade','box'); //! since the version is not specified in this syntax, the latest will be used. a link is kept with the database through an instance of cdm_metadata. Parameters ---------- @@ -333,6 +359,8 @@ aFolder: TCollection_ExtendedString aName: TCollection_ExtendedString UseStorageConfiguration: bool,optional default value is Standard_True +theFilter: PCDM_ReaderFilter,optional + default value is opencascade::handle() theRange: Message_ProgressRange,optional default value is Message_ProgressRange() @@ -340,10 +368,10 @@ Returns ------- opencascade::handle ") Retrieve; - opencascade::handle Retrieve(const TCollection_ExtendedString & aFolder, const TCollection_ExtendedString & aName, const Standard_Boolean UseStorageConfiguration = Standard_True, const Message_ProgressRange & theRange = Message_ProgressRange()); + opencascade::handle Retrieve(const TCollection_ExtendedString & aFolder, const TCollection_ExtendedString & aName, const Standard_Boolean UseStorageConfiguration = Standard_True, const opencascade::handle & theFilter = opencascade::handle(), const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Retrieve ******************/ - /**** md5 signature: 2ba10e52bde68acd8d0bae90bbbc25c8 ****/ + /**** md5 signature: dd78ce93c0b60ff0965f3c7e69833777 ****/ %feature("compactdefaultargs") Retrieve; %feature("autodoc", "This method retrieves a document from the database. if the document references other documents which have been updated, the latest version of these documents will be used if {usestorageconfiguration} is standard_true. -- if the dbms is only based on the os, this syntax should not be used. //! if the dbms is euclid/design manager, {afolder}, {aname} and {aversion} have the form they have in euclid/design manager. for example: //! opencascade::handle thedocument=myapplication->retrieve('|user|cascade','box','2'); a link is kept with the database through an instance of cdm_metadata. @@ -354,6 +382,8 @@ aName: TCollection_ExtendedString aVersion: TCollection_ExtendedString UseStorageConfiguration: bool,optional default value is Standard_True +theFilter: PCDM_ReaderFilter,optional + default value is opencascade::handle() theRange: Message_ProgressRange,optional default value is Message_ProgressRange() @@ -361,7 +391,7 @@ Returns ------- opencascade::handle ") Retrieve; - opencascade::handle Retrieve(const TCollection_ExtendedString & aFolder, const TCollection_ExtendedString & aName, const TCollection_ExtendedString & aVersion, const Standard_Boolean UseStorageConfiguration = Standard_True, const Message_ProgressRange & theRange = Message_ProgressRange()); + opencascade::handle Retrieve(const TCollection_ExtendedString & aFolder, const TCollection_ExtendedString & aName, const TCollection_ExtendedString & aVersion, const Standard_Boolean UseStorageConfiguration = Standard_True, const opencascade::handle & theFilter = opencascade::handle(), const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** SetDefaultFolder ******************/ /**** md5 signature: b5857edec14e8dcab31bb5ac39a5223a ****/ @@ -752,7 +782,7 @@ opencascade::handle /****************** SetName ******************/ /**** md5 signature: 10c6e80103256298f85d47fc462c3021 ****/ %feature("compactdefaultargs") SetName; - %feature("autodoc", "This methods is usefull if the name of an object -- depends on the metadatadriver. for example a driver -- based on the operating system can choose to add the extension of file to create to the object. + %feature("autodoc", "This method is useful if the name of an object -- depends on the metadatadriver. for example a driver -- based on the operating system can choose to add the extension of file to create to the object. Parameters ---------- diff --git a/src/SWIG_files/wrapper/CDF.pyi b/src/SWIG_files/wrapper/CDF.pyi index 6da5749ae..91eca914e 100644 --- a/src/SWIG_files/wrapper/CDF.pyi +++ b/src/SWIG_files/wrapper/CDF.pyi @@ -52,22 +52,24 @@ CDF_SSNS_OpenDocument = CDF_StoreSetNameStatus.CDF_SSNS_OpenDocument class CDF_Application(CDM_Application): def CanClose(self, aDocument: CDM_Document) -> CDM_CanCloseStatus: ... @overload - def CanRetrieve(self, aFolder: TCollection_ExtendedString, aName: TCollection_ExtendedString) -> PCDM_ReaderStatus: ... + def CanRetrieve(self, theFolder: TCollection_ExtendedString, theName: TCollection_ExtendedString, theAppendMode: bool) -> PCDM_ReaderStatus: ... @overload - def CanRetrieve(self, aFolder: TCollection_ExtendedString, aName: TCollection_ExtendedString, aVersion: TCollection_ExtendedString) -> PCDM_ReaderStatus: ... + def CanRetrieve(self, theFolder: TCollection_ExtendedString, theName: TCollection_ExtendedString, theVersion: TCollection_ExtendedString, theAppendMode: bool) -> PCDM_ReaderStatus: ... def Close(self, aDocument: CDM_Document) -> None: ... def DefaultFolder(self) -> Standard_ExtString: ... def Format(self, aFileName: TCollection_ExtendedString, theFormat: TCollection_ExtendedString) -> bool: ... def GetRetrieveStatus(self) -> PCDM_ReaderStatus: ... + def InitDocument(self, theDoc: CDM_Document) -> None: ... @staticmethod def Load(aGUID: Standard_GUID) -> CDF_Application: ... def MetaDataDriver(self) -> CDF_MetaDataDriver: ... + def NewDocument(self, theFormat: TCollection_ExtendedString, theDoc: CDM_Document) -> None: ... def Open(self, aDocument: CDM_Document) -> None: ... def ReaderFromFormat(self, aFormat: TCollection_ExtendedString) -> PCDM_Reader: ... @overload - def Retrieve(self, aFolder: TCollection_ExtendedString, aName: TCollection_ExtendedString, UseStorageConfiguration: Optional[bool] = True, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> CDM_Document: ... + def Retrieve(self, aFolder: TCollection_ExtendedString, aName: TCollection_ExtendedString, UseStorageConfiguration: Optional[bool] = True, theFilter: Optional[PCDM_ReaderFilter] = PCDM_ReaderFilter(), theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> CDM_Document: ... @overload - def Retrieve(self, aFolder: TCollection_ExtendedString, aName: TCollection_ExtendedString, aVersion: TCollection_ExtendedString, UseStorageConfiguration: Optional[bool] = True, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> CDM_Document: ... + def Retrieve(self, aFolder: TCollection_ExtendedString, aName: TCollection_ExtendedString, aVersion: TCollection_ExtendedString, UseStorageConfiguration: Optional[bool] = True, theFilter: Optional[PCDM_ReaderFilter] = PCDM_ReaderFilter(), theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> CDM_Document: ... def SetDefaultFolder(self, aFolder: Standard_ExtString) -> bool: ... def WriterFromFormat(self, aFormat: TCollection_ExtendedString) -> PCDM_StorageDriver: ... diff --git a/src/SWIG_files/wrapper/CDM.i b/src/SWIG_files/wrapper/CDM.i index b3065a12e..d27dcbe43 100644 --- a/src/SWIG_files/wrapper/CDM.i +++ b/src/SWIG_files/wrapper/CDM.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define CDMDOCSTRING "CDM module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_cdm.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_cdm.html" %enddef %module (package="OCC.Core", docstring=CDMDOCSTRING) CDM @@ -74,7 +74,7 @@ enum CDM_CanCloseStatus { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class CDM_CanCloseStatus(IntEnum): @@ -323,21 +323,6 @@ bool ") CanCloseReference; virtual Standard_Boolean CanCloseReference(const opencascade::handle & aDocument, const Standard_Integer aReferenceIdentifier); - /****************** ChangeStorageFormatVersion ******************/ - /**** md5 signature: 95752de9d7059066fe5990db631cf0da ****/ - %feature("compactdefaultargs") ChangeStorageFormatVersion; - %feature("autodoc", "Sets of the format to be used to store the document. - -Parameters ----------- -theVersion: int - -Returns -------- -None -") ChangeStorageFormatVersion; - void ChangeStorageFormatVersion(const Standard_Integer theVersion); - /****************** Close ******************/ /**** md5 signature: d50d7ba65c2beb3eb436584b5735f108 ****/ %feature("compactdefaultargs") Close; @@ -368,7 +353,7 @@ None /****************** Comment ******************/ /**** md5 signature: da330a9b0b5e37badd51cb0b90f32906 ****/ %feature("compactdefaultargs") Comment; - %feature("autodoc", "Returns the first of associated comments. by defaut the comment is an empty string. + %feature("autodoc", "Returns the first of associated comments. by default the comment is an empty string. Returns ------- @@ -894,7 +879,7 @@ TCollection_ExtendedString /****************** RequestedName ******************/ /**** md5 signature: 4009a2976cb03e37a1f0f29540b865f5 ****/ %feature("compactdefaultargs") RequestedName; - %feature("autodoc", "Determines under which the document is going to be store. by default the name of the document wil be -- used. if the document has no name its presentation will be used. + %feature("autodoc", "Determines under which the document is going to be store. by default the name of the document will be used. if the document has no name its presentation will be used. Returns ------- @@ -1100,17 +1085,6 @@ TCollection_ExtendedString ") StorageFormat; virtual TCollection_ExtendedString StorageFormat(); - /****************** StorageFormatVersion ******************/ - /**** md5 signature: 586b4d904950a45653bf70db74ac295b ****/ - %feature("compactdefaultargs") StorageFormatVersion; - %feature("autodoc", "Returns version of the format to be used to store the document. - -Returns -------- -int -") StorageFormatVersion; - Standard_Integer StorageFormatVersion(); - /****************** StorageVersion ******************/ /**** md5 signature: cfa5fceedf718765fa0109d82c3e0482 ****/ %feature("compactdefaultargs") StorageVersion; diff --git a/src/SWIG_files/wrapper/CDM.pyi b/src/SWIG_files/wrapper/CDM.pyi index f75312680..f14456fba 100644 --- a/src/SWIG_files/wrapper/CDM.pyi +++ b/src/SWIG_files/wrapper/CDM.pyi @@ -73,7 +73,6 @@ class CDM_Document(Standard_Transient): def Application(self) -> CDM_Application: ... def CanClose(self) -> CDM_CanCloseStatus: ... def CanCloseReference(self, aDocument: CDM_Document, aReferenceIdentifier: int) -> bool: ... - def ChangeStorageFormatVersion(self, theVersion: int) -> None: ... def Close(self) -> None: ... def CloseReference(self, aDocument: CDM_Document, aReferenceIdentifier: int) -> None: ... def Comment(self) -> Standard_ExtString: ... @@ -139,7 +138,6 @@ class CDM_Document(Standard_Transient): def SetRequestedPreviousVersion(self, aPreviousVersion: TCollection_ExtendedString) -> None: ... def ShallowReferences(self, aDocument: CDM_Document) -> bool: ... def StorageFormat(self) -> TCollection_ExtendedString: ... - def StorageFormatVersion(self) -> int: ... def StorageVersion(self) -> int: ... def ToReferencesNumber(self) -> int: ... def UnModify(self) -> None: ... diff --git a/src/SWIG_files/wrapper/CPnts.i b/src/SWIG_files/wrapper/CPnts.i index cd78bc2b4..f750bf488 100644 --- a/src/SWIG_files/wrapper/CPnts.i +++ b/src/SWIG_files/wrapper/CPnts.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define CPNTSDOCSTRING "CPnts module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_cpnts.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_cpnts.html" %enddef %module (package="OCC.Core", docstring=CPNTSDOCSTRING) CPnts @@ -69,7 +69,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -177,7 +177,7 @@ None /****************** AdvPerform ******************/ /**** md5 signature: 951d7d00a89f35f930b917ffe12a10e6 ****/ %feature("compactdefaultargs") AdvPerform; - %feature("autodoc", "Computes the point at the distance of the curve; performs more appropriate tolerance managment; to use this method in right way it is necessary to call empty consructor. then call method init with tolerance = resolution, then call advpermorm. u0 is the parameter of the point from which the distance is measured and ui is the starting value for the iterative process (should be close to the final solution). + %feature("autodoc", "Computes the point at the distance of the curve; performs more appropriate tolerance management; to use this method in right way it is necessary to call empty constructor. then call method init with tolerance = resolution, then call advpermorm. u0 is the parameter of the point from which the distance is measured and ui is the starting value for the iterative process (should be close to the final solution). Parameters ---------- @@ -809,7 +809,7 @@ None /****************** Initialize ******************/ /**** md5 signature: 3e04248745b7abf1ca127fe927a9d03a ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , , , and . + %feature("autodoc", "Initialize the algorithms with , , , and . Parameters ---------- @@ -827,7 +827,7 @@ None /****************** Initialize ******************/ /**** md5 signature: fc394fce795394d63421de08f8720ec8 ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , , , and . + %feature("autodoc", "Initialize the algorithms with , , , and . Parameters ---------- @@ -845,7 +845,7 @@ None /****************** Initialize ******************/ /**** md5 signature: c3c016d21ea4c112d829bfcc114f78d4 ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , , , , and . + %feature("autodoc", "Initialize the algorithms with , , , , and . Parameters ---------- @@ -865,7 +865,7 @@ None /****************** Initialize ******************/ /**** md5 signature: 6d52d63715b1ed7bea1f720001bbd8d5 ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , , , , and . + %feature("autodoc", "Initialize the algorithms with , , , , and . Parameters ---------- diff --git a/src/SWIG_files/wrapper/CSLib.i b/src/SWIG_files/wrapper/CSLib.i index fac40dd3b..0ac31e3b2 100644 --- a/src/SWIG_files/wrapper/CSLib.i +++ b/src/SWIG_files/wrapper/CSLib.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define CSLIBDOCSTRING "CSLib module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_cslib.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_cslib.html" %enddef %module (package="OCC.Core", docstring=CSLIBDOCSTRING) CSLib @@ -89,7 +89,7 @@ enum CSLib_DerivativeStatus { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class CSLib_NormalStatus(IntEnum): @@ -222,7 +222,7 @@ theStatus: CSLib_DerivativeStatus /****************** Normal ******************/ /**** md5 signature: c6f714a72df04467bcde57a861427ba8 ****/ %feature("compactdefaultargs") Normal; - %feature("autodoc", "If there is a singularity on the surface the previous method cannot compute the local normal. this method computes an approched normal direction of a surface. it does a limited development and needs the second derivatives on the surface as input data. it computes the normal as follow : n(u, v) = d1u ^ d1v n(u0+du,v0+dv) = n0 + dn/du(u0,v0) * du + dn/dv(u0,v0) * dv + eps with eps->0 so we can have the equivalence n ~ dn/du + dn/dv. dnu = ||dn/du|| and dnv = ||dn/dv|| //! . if dnu isnull (dnu <= resolution from gp) the answer done = true the normal direction is given by dn/dv . if dnv isnull (dnv <= resolution from gp) the answer done = true the normal direction is given by dn/du . if the two directions dn/du and dn/dv are parallel done = true the normal direction is given either by dn/du or dn/dv. to check that the two directions are colinear the sinus of the angle between these directions is computed and compared with sintol. . if dnu/dnv or dnv/dnu is lower or equal than real epsilon done = false, the normal is undefined . if dnu isnull and dnv is null done = false, there is an indetermination and we should do a limited developpement at order 2 (it means that we cannot omit eps). . if dnu is not null and dnv is not null done = false, there are an infinity of normals at the considered point on the surface. + %feature("autodoc", "If there is a singularity on the surface the previous method cannot compute the local normal. this method computes an approached normal direction of a surface. it does a limited development and needs the second derivatives on the surface as input data. it computes the normal as follow : n(u, v) = d1u ^ d1v n(u0+du,v0+dv) = n0 + dn/du(u0,v0) * du + dn/dv(u0,v0) * dv + eps with eps->0 so we can have the equivalence n ~ dn/du + dn/dv. dnu = ||dn/du|| and dnv = ||dn/dv|| //! . if dnu isnull (dnu <= resolution from gp) the answer done = true the normal direction is given by dn/dv . if dnv isnull (dnv <= resolution from gp) the answer done = true the normal direction is given by dn/du . if the two directions dn/du and dn/dv are parallel done = true the normal direction is given either by dn/du or dn/dv. to check that the two directions are colinear the sinus of the angle between these directions is computed and compared with sintol. . if dnu/dnv or dnv/dnu is lower or equal than real epsilon done = false, the normal is undefined . if dnu isnull and dnv is null done = false, there is an indetermination and we should do a limited development at order 2 (it means that we cannot omit eps). . if dnu is not null and dnv is not null done = false, there are an infinity of normals at the considered point on the surface. Parameters ---------- diff --git a/src/SWIG_files/wrapper/ChFi2d.i b/src/SWIG_files/wrapper/ChFi2d.i index 9fe84c914..8d46b78ba 100644 --- a/src/SWIG_files/wrapper/ChFi2d.i +++ b/src/SWIG_files/wrapper/ChFi2d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define CHFI2DDOCSTRING "ChFi2d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_chfi2d.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_chfi2d.html" %enddef %module (package="OCC.Core", docstring=CHFI2DDOCSTRING) ChFi2d @@ -82,7 +82,7 @@ enum ChFi2d_ConstructionError { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class ChFi2d_ConstructionError(IntEnum): @@ -964,7 +964,7 @@ bool /****************** Result ******************/ /**** md5 signature: 47609a9593530a1c197f05dabded44c9 ****/ %feature("compactdefaultargs") Result; - %feature("autodoc", "Returns result (fillet edge, modified edge1, modified edge2), neares to the given point if isolution == -1. chooses a particular fillet in case of several fillets may be constructed (for example, a circle intersecting a segment in 2 points). put the intersecting (or common) point of the edges. + %feature("autodoc", "Returns result (fillet edge, modified edge1, modified edge2), nearest to the given point if isolution == -1. chooses a particular fillet in case of several fillets may be constructed (for example, a circle intersecting a segment in 2 points). put the intersecting (or common) point of the edges. Parameters ---------- diff --git a/src/SWIG_files/wrapper/ChFi3d.i b/src/SWIG_files/wrapper/ChFi3d.i index 657ee90f0..0ce6a1c17 100644 --- a/src/SWIG_files/wrapper/ChFi3d.i +++ b/src/SWIG_files/wrapper/ChFi3d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define CHFI3DDOCSTRING "ChFi3d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_chfi3d.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_chfi3d.html" %enddef %module (package="OCC.Core", docstring=CHFI3DDOCSTRING) ChFi3d @@ -116,7 +116,7 @@ enum ChFi3d_FilletShape { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class ChFi3d_FilletShape(IntEnum): @@ -605,7 +605,7 @@ None /****************** Reset ******************/ /**** md5 signature: 7beb446fe26b948f797f8de87e46c23d ****/ %feature("compactdefaultargs") Reset; - %feature("autodoc", "Reset all results of compute and returns the algorythm in the state of the last acquisition to enable modification of contours or areas. + %feature("autodoc", "Reset all results of compute and returns the algorithm in the state of the last acquisition to enable modification of contours or areas. Returns ------- @@ -661,7 +661,7 @@ TopoDS_Shape TopoDS_Shape Shape(); /****************** SplitKPart ******************/ - /**** md5 signature: b91de28c62e74af7841164e8ad5d1b8a ****/ + /**** md5 signature: ddaca9d1804baacb3415aca8212a6fa9 ****/ %feature("compactdefaultargs") SplitKPart; %feature("autodoc", "Method, implemented in the inheritants, calculates the elements of construction of the surface (fillet or chamfer). @@ -671,9 +671,9 @@ Data: ChFiDS_SurfData SetData: ChFiDS_SequenceOfSurfData Spine: ChFiDS_Spine Iedge: int -S1: Adaptor3d_HSurface +S1: Adaptor3d_Surface I1: Adaptor3d_TopolTool -S2: Adaptor3d_HSurface +S2: Adaptor3d_Surface I2: Adaptor3d_TopolTool Returns @@ -681,7 +681,7 @@ Returns Intf: bool Intl: bool ") SplitKPart; - Standard_Boolean SplitKPart(const opencascade::handle & Data, ChFiDS_SequenceOfSurfData & SetData, const opencascade::handle & Spine, const Standard_Integer Iedge, const opencascade::handle & S1, const opencascade::handle & I1, const opencascade::handle & S2, const opencascade::handle & I2, Standard_Boolean &OutValue, Standard_Boolean &OutValue); + Standard_Boolean SplitKPart(const opencascade::handle & Data, ChFiDS_SequenceOfSurfData & SetData, const opencascade::handle & Spine, const Standard_Integer Iedge, const opencascade::handle & S1, const opencascade::handle & I1, const opencascade::handle & S2, const opencascade::handle & I2, Standard_Boolean &OutValue, Standard_Boolean &OutValue); /****************** StripeStatus ******************/ /**** md5 signature: 7b8afd101ec5ebd9cd37e2bc2cfd73ff ****/ @@ -976,19 +976,19 @@ int Standard_Integer NbSurf(const Standard_Integer IC); /****************** PerformSurf ******************/ - /**** md5 signature: c9bcf31fa3ccdaf4183db60fab970ed3 ****/ + /**** md5 signature: 01d67c8421da2eaa3e036d64149614d9 ****/ %feature("compactdefaultargs") PerformSurf; %feature("autodoc", "Methode, implemented in inheritants, calculates the elements of construction of the surface (fillet or chamfer). Parameters ---------- Data: ChFiDS_SequenceOfSurfData -Guide: ChFiDS_HElSpine +Guide: ChFiDS_ElSpine Spine: ChFiDS_Spine Choix: int -S1: BRepAdaptor_HSurface +S1: BRepAdaptor_Surface I1: Adaptor3d_TopolTool -S2: BRepAdaptor_HSurface +S2: BRepAdaptor_Surface I2: Adaptor3d_TopolTool MaxStep: float Fleche: float @@ -1007,25 +1007,25 @@ Last: float Intf: int Intl: int ") PerformSurf; - virtual Standard_Boolean PerformSurf(ChFiDS_SequenceOfSurfData & Data, const opencascade::handle & Guide, const opencascade::handle & Spine, const Standard_Integer Choix, const opencascade::handle & S1, const opencascade::handle & I1, const opencascade::handle & S2, const opencascade::handle & I2, const Standard_Real MaxStep, const Standard_Real Fleche, const Standard_Real TolGuide, Standard_Real &OutValue, Standard_Real &OutValue, const Standard_Boolean Inside, const Standard_Boolean Appro, const Standard_Boolean Forward, const Standard_Boolean RecOnS1, const Standard_Boolean RecOnS2, const math_Vector & Soldep, Standard_Integer &OutValue, Standard_Integer &OutValue); + virtual Standard_Boolean PerformSurf(ChFiDS_SequenceOfSurfData & Data, const opencascade::handle & Guide, const opencascade::handle & Spine, const Standard_Integer Choix, const opencascade::handle & S1, const opencascade::handle & I1, const opencascade::handle & S2, const opencascade::handle & I2, const Standard_Real MaxStep, const Standard_Real Fleche, const Standard_Real TolGuide, Standard_Real &OutValue, Standard_Real &OutValue, const Standard_Boolean Inside, const Standard_Boolean Appro, const Standard_Boolean Forward, const Standard_Boolean RecOnS1, const Standard_Boolean RecOnS2, const math_Vector & Soldep, Standard_Integer &OutValue, Standard_Integer &OutValue); /****************** PerformSurf ******************/ - /**** md5 signature: 27aec34757cbc4ab749d221771aadf81 ****/ + /**** md5 signature: 27fad33178796b889491ae5a65ffaa83 ****/ %feature("compactdefaultargs") PerformSurf; %feature("autodoc", "Method, implemented in the inheritants, calculates the elements of construction of the surface (fillet or chamfer) contact edge/face. Parameters ---------- Data: ChFiDS_SequenceOfSurfData -Guide: ChFiDS_HElSpine +Guide: ChFiDS_ElSpine Spine: ChFiDS_Spine Choix: int -S1: BRepAdaptor_HSurface +S1: BRepAdaptor_Surface I1: Adaptor3d_TopolTool -PC1: BRepAdaptor_HCurve2d -Sref1: BRepAdaptor_HSurface -PCref1: BRepAdaptor_HCurve2d -S2: BRepAdaptor_HSurface +PC1: BRepAdaptor_Curve2d +Sref1: BRepAdaptor_Surface +PCref1: BRepAdaptor_Curve2d +S2: BRepAdaptor_Surface I2: Adaptor3d_TopolTool Or2: TopAbs_Orientation MaxStep: float @@ -1045,27 +1045,27 @@ Decroch1: bool First: float Last: float ") PerformSurf; - virtual void PerformSurf(ChFiDS_SequenceOfSurfData & Data, const opencascade::handle & Guide, const opencascade::handle & Spine, const Standard_Integer Choix, const opencascade::handle & S1, const opencascade::handle & I1, const opencascade::handle & PC1, const opencascade::handle & Sref1, const opencascade::handle & PCref1, Standard_Boolean &OutValue, const opencascade::handle & S2, const opencascade::handle & I2, const TopAbs_Orientation Or2, const Standard_Real MaxStep, const Standard_Real Fleche, const Standard_Real TolGuide, Standard_Real &OutValue, Standard_Real &OutValue, const Standard_Boolean Inside, const Standard_Boolean Appro, const Standard_Boolean Forward, const Standard_Boolean RecP, const Standard_Boolean RecS, const Standard_Boolean RecRst, const math_Vector & Soldep); + virtual void PerformSurf(ChFiDS_SequenceOfSurfData & Data, const opencascade::handle & Guide, const opencascade::handle & Spine, const Standard_Integer Choix, const opencascade::handle & S1, const opencascade::handle & I1, const opencascade::handle & PC1, const opencascade::handle & Sref1, const opencascade::handle & PCref1, Standard_Boolean &OutValue, const opencascade::handle & S2, const opencascade::handle & I2, const TopAbs_Orientation Or2, const Standard_Real MaxStep, const Standard_Real Fleche, const Standard_Real TolGuide, Standard_Real &OutValue, Standard_Real &OutValue, const Standard_Boolean Inside, const Standard_Boolean Appro, const Standard_Boolean Forward, const Standard_Boolean RecP, const Standard_Boolean RecS, const Standard_Boolean RecRst, const math_Vector & Soldep); /****************** PerformSurf ******************/ - /**** md5 signature: 2ecf40db521deb0a6b81881b4cb5cfc6 ****/ + /**** md5 signature: b6fc74634dcc7a5b9a1787473dff3cb2 ****/ %feature("compactdefaultargs") PerformSurf; %feature("autodoc", "Method, implemented in inheritants, calculates the elements of construction of the surface (fillet or chamfer) contact edge/face. Parameters ---------- Data: ChFiDS_SequenceOfSurfData -Guide: ChFiDS_HElSpine +Guide: ChFiDS_ElSpine Spine: ChFiDS_Spine Choix: int -S1: BRepAdaptor_HSurface +S1: BRepAdaptor_Surface I1: Adaptor3d_TopolTool Or1: TopAbs_Orientation -S2: BRepAdaptor_HSurface +S2: BRepAdaptor_Surface I2: Adaptor3d_TopolTool -PC2: BRepAdaptor_HCurve2d -Sref2: BRepAdaptor_HSurface -PCref2: BRepAdaptor_HCurve2d +PC2: BRepAdaptor_Curve2d +Sref2: BRepAdaptor_Surface +PCref2: BRepAdaptor_Curve2d MaxStep: float Fleche: float TolGuide: float @@ -1083,30 +1083,30 @@ Decroch2: bool First: float Last: float ") PerformSurf; - virtual void PerformSurf(ChFiDS_SequenceOfSurfData & Data, const opencascade::handle & Guide, const opencascade::handle & Spine, const Standard_Integer Choix, const opencascade::handle & S1, const opencascade::handle & I1, const TopAbs_Orientation Or1, const opencascade::handle & S2, const opencascade::handle & I2, const opencascade::handle & PC2, const opencascade::handle & Sref2, const opencascade::handle & PCref2, Standard_Boolean &OutValue, const Standard_Real MaxStep, const Standard_Real Fleche, const Standard_Real TolGuide, Standard_Real &OutValue, Standard_Real &OutValue, const Standard_Boolean Inside, const Standard_Boolean Appro, const Standard_Boolean Forward, const Standard_Boolean RecP, const Standard_Boolean RecS, const Standard_Boolean RecRst, const math_Vector & Soldep); + virtual void PerformSurf(ChFiDS_SequenceOfSurfData & Data, const opencascade::handle & Guide, const opencascade::handle & Spine, const Standard_Integer Choix, const opencascade::handle & S1, const opencascade::handle & I1, const TopAbs_Orientation Or1, const opencascade::handle & S2, const opencascade::handle & I2, const opencascade::handle & PC2, const opencascade::handle & Sref2, const opencascade::handle & PCref2, Standard_Boolean &OutValue, const Standard_Real MaxStep, const Standard_Real Fleche, const Standard_Real TolGuide, Standard_Real &OutValue, Standard_Real &OutValue, const Standard_Boolean Inside, const Standard_Boolean Appro, const Standard_Boolean Forward, const Standard_Boolean RecP, const Standard_Boolean RecS, const Standard_Boolean RecRst, const math_Vector & Soldep); /****************** PerformSurf ******************/ - /**** md5 signature: 219121b6b79237b657c5f6672a1d382e ****/ + /**** md5 signature: 55427c62cfb96c3cbbd5aec277672cd2 ****/ %feature("compactdefaultargs") PerformSurf; %feature("autodoc", "Method, implemented in inheritants, calculates the elements of construction of the surface (fillet or chamfer) contact edge/edge. Parameters ---------- Data: ChFiDS_SequenceOfSurfData -Guide: ChFiDS_HElSpine +Guide: ChFiDS_ElSpine Spine: ChFiDS_Spine Choix: int -S1: BRepAdaptor_HSurface +S1: BRepAdaptor_Surface I1: Adaptor3d_TopolTool -PC1: BRepAdaptor_HCurve2d -Sref1: BRepAdaptor_HSurface -PCref1: BRepAdaptor_HCurve2d +PC1: BRepAdaptor_Curve2d +Sref1: BRepAdaptor_Surface +PCref1: BRepAdaptor_Curve2d Or1: TopAbs_Orientation -S2: BRepAdaptor_HSurface +S2: BRepAdaptor_Surface I2: Adaptor3d_TopolTool -PC2: BRepAdaptor_HCurve2d -Sref2: BRepAdaptor_HSurface -PCref2: BRepAdaptor_HCurve2d +PC2: BRepAdaptor_Curve2d +Sref2: BRepAdaptor_Surface +PCref2: BRepAdaptor_Curve2d Or2: TopAbs_Orientation MaxStep: float Fleche: float @@ -1127,7 +1127,7 @@ Decroch2: bool First: float Last: float ") PerformSurf; - virtual void PerformSurf(ChFiDS_SequenceOfSurfData & Data, const opencascade::handle & Guide, const opencascade::handle & Spine, const Standard_Integer Choix, const opencascade::handle & S1, const opencascade::handle & I1, const opencascade::handle & PC1, const opencascade::handle & Sref1, const opencascade::handle & PCref1, Standard_Boolean &OutValue, const TopAbs_Orientation Or1, const opencascade::handle & S2, const opencascade::handle & I2, const opencascade::handle & PC2, const opencascade::handle & Sref2, const opencascade::handle & PCref2, Standard_Boolean &OutValue, const TopAbs_Orientation Or2, const Standard_Real MaxStep, const Standard_Real Fleche, const Standard_Real TolGuide, Standard_Real &OutValue, Standard_Real &OutValue, const Standard_Boolean Inside, const Standard_Boolean Appro, const Standard_Boolean Forward, const Standard_Boolean RecP1, const Standard_Boolean RecRst1, const Standard_Boolean RecP2, const Standard_Boolean RecRst2, const math_Vector & Soldep); + virtual void PerformSurf(ChFiDS_SequenceOfSurfData & Data, const opencascade::handle & Guide, const opencascade::handle & Spine, const Standard_Integer Choix, const opencascade::handle & S1, const opencascade::handle & I1, const opencascade::handle & PC1, const opencascade::handle & Sref1, const opencascade::handle & PCref1, Standard_Boolean &OutValue, const TopAbs_Orientation Or1, const opencascade::handle & S2, const opencascade::handle & I2, const opencascade::handle & PC2, const opencascade::handle & Sref2, const opencascade::handle & PCref2, Standard_Boolean &OutValue, const TopAbs_Orientation Or2, const Standard_Real MaxStep, const Standard_Real Fleche, const Standard_Real TolGuide, Standard_Real &OutValue, Standard_Real &OutValue, const Standard_Boolean Inside, const Standard_Boolean Appro, const Standard_Boolean Forward, const Standard_Boolean RecP1, const Standard_Boolean RecRst1, const Standard_Boolean RecP2, const Standard_Boolean RecRst2, const math_Vector & Soldep); /****************** ResetContour ******************/ /**** md5 signature: 654a75a6070237897ac136e282153619 ****/ @@ -1229,22 +1229,22 @@ None void SetMode(const ChFiDS_ChamfMode theMode); /****************** SimulSurf ******************/ - /**** md5 signature: 5088d3a9669a5c493d09063dd6706572 ****/ + /**** md5 signature: 6293666f943c89cae5e253ba901392fd ****/ %feature("compactdefaultargs") SimulSurf; %feature("autodoc", "No available documentation. Parameters ---------- Data: ChFiDS_SurfData -Guide: ChFiDS_HElSpine +Guide: ChFiDS_ElSpine Spine: ChFiDS_Spine Choix: int -S1: BRepAdaptor_HSurface +S1: BRepAdaptor_Surface I1: Adaptor3d_TopolTool -PC1: BRepAdaptor_HCurve2d -Sref1: BRepAdaptor_HSurface -PCref1: BRepAdaptor_HCurve2d -S2: BRepAdaptor_HSurface +PC1: BRepAdaptor_Curve2d +Sref1: BRepAdaptor_Surface +PCref1: BRepAdaptor_Curve2d +S2: BRepAdaptor_Surface I2: Adaptor3d_TopolTool Or2: TopAbs_Orientation Fleche: float @@ -1263,27 +1263,27 @@ Decroch1: bool First: float Last: float ") SimulSurf; - virtual void SimulSurf(opencascade::handle & Data, const opencascade::handle & Guide, const opencascade::handle & Spine, const Standard_Integer Choix, const opencascade::handle & S1, const opencascade::handle & I1, const opencascade::handle & PC1, const opencascade::handle & Sref1, const opencascade::handle & PCref1, Standard_Boolean &OutValue, const opencascade::handle & S2, const opencascade::handle & I2, const TopAbs_Orientation Or2, const Standard_Real Fleche, const Standard_Real TolGuide, Standard_Real &OutValue, Standard_Real &OutValue, const Standard_Boolean Inside, const Standard_Boolean Appro, const Standard_Boolean Forward, const Standard_Boolean RecP, const Standard_Boolean RecS, const Standard_Boolean RecRst, const math_Vector & Soldep); + virtual void SimulSurf(opencascade::handle & Data, const opencascade::handle & Guide, const opencascade::handle & Spine, const Standard_Integer Choix, const opencascade::handle & S1, const opencascade::handle & I1, const opencascade::handle & PC1, const opencascade::handle & Sref1, const opencascade::handle & PCref1, Standard_Boolean &OutValue, const opencascade::handle & S2, const opencascade::handle & I2, const TopAbs_Orientation Or2, const Standard_Real Fleche, const Standard_Real TolGuide, Standard_Real &OutValue, Standard_Real &OutValue, const Standard_Boolean Inside, const Standard_Boolean Appro, const Standard_Boolean Forward, const Standard_Boolean RecP, const Standard_Boolean RecS, const Standard_Boolean RecRst, const math_Vector & Soldep); /****************** SimulSurf ******************/ - /**** md5 signature: 541412c797face5770a5481f0c414c50 ****/ + /**** md5 signature: 01823619c7721126962ad7cff175c347 ****/ %feature("compactdefaultargs") SimulSurf; %feature("autodoc", "No available documentation. Parameters ---------- Data: ChFiDS_SurfData -Guide: ChFiDS_HElSpine +Guide: ChFiDS_ElSpine Spine: ChFiDS_Spine Choix: int -S1: BRepAdaptor_HSurface +S1: BRepAdaptor_Surface I1: Adaptor3d_TopolTool Or1: TopAbs_Orientation -S2: BRepAdaptor_HSurface +S2: BRepAdaptor_Surface I2: Adaptor3d_TopolTool -PC2: BRepAdaptor_HCurve2d -Sref2: BRepAdaptor_HSurface -PCref2: BRepAdaptor_HCurve2d +PC2: BRepAdaptor_Curve2d +Sref2: BRepAdaptor_Surface +PCref2: BRepAdaptor_Curve2d Fleche: float TolGuide: float Inside: bool @@ -1300,30 +1300,30 @@ Decroch2: bool First: float Last: float ") SimulSurf; - virtual void SimulSurf(opencascade::handle & Data, const opencascade::handle & Guide, const opencascade::handle & Spine, const Standard_Integer Choix, const opencascade::handle & S1, const opencascade::handle & I1, const TopAbs_Orientation Or1, const opencascade::handle & S2, const opencascade::handle & I2, const opencascade::handle & PC2, const opencascade::handle & Sref2, const opencascade::handle & PCref2, Standard_Boolean &OutValue, const Standard_Real Fleche, const Standard_Real TolGuide, Standard_Real &OutValue, Standard_Real &OutValue, const Standard_Boolean Inside, const Standard_Boolean Appro, const Standard_Boolean Forward, const Standard_Boolean RecP, const Standard_Boolean RecS, const Standard_Boolean RecRst, const math_Vector & Soldep); + virtual void SimulSurf(opencascade::handle & Data, const opencascade::handle & Guide, const opencascade::handle & Spine, const Standard_Integer Choix, const opencascade::handle & S1, const opencascade::handle & I1, const TopAbs_Orientation Or1, const opencascade::handle & S2, const opencascade::handle & I2, const opencascade::handle & PC2, const opencascade::handle & Sref2, const opencascade::handle & PCref2, Standard_Boolean &OutValue, const Standard_Real Fleche, const Standard_Real TolGuide, Standard_Real &OutValue, Standard_Real &OutValue, const Standard_Boolean Inside, const Standard_Boolean Appro, const Standard_Boolean Forward, const Standard_Boolean RecP, const Standard_Boolean RecS, const Standard_Boolean RecRst, const math_Vector & Soldep); /****************** SimulSurf ******************/ - /**** md5 signature: ad1213ffe850aedc13a1d42010383f86 ****/ + /**** md5 signature: 9ab815476dc2b2cfb5dc838b763cb628 ****/ %feature("compactdefaultargs") SimulSurf; %feature("autodoc", "No available documentation. Parameters ---------- Data: ChFiDS_SurfData -Guide: ChFiDS_HElSpine +Guide: ChFiDS_ElSpine Spine: ChFiDS_Spine Choix: int -S1: BRepAdaptor_HSurface +S1: BRepAdaptor_Surface I1: Adaptor3d_TopolTool -PC1: BRepAdaptor_HCurve2d -Sref1: BRepAdaptor_HSurface -PCref1: BRepAdaptor_HCurve2d +PC1: BRepAdaptor_Curve2d +Sref1: BRepAdaptor_Surface +PCref1: BRepAdaptor_Curve2d Or1: TopAbs_Orientation -S2: BRepAdaptor_HSurface +S2: BRepAdaptor_Surface I2: Adaptor3d_TopolTool -PC2: BRepAdaptor_HCurve2d -Sref2: BRepAdaptor_HSurface -PCref2: BRepAdaptor_HCurve2d +PC2: BRepAdaptor_Curve2d +Sref2: BRepAdaptor_Surface +PCref2: BRepAdaptor_Curve2d Or2: TopAbs_Orientation Fleche: float TolGuide: float @@ -1343,7 +1343,7 @@ Decroch2: bool First: float Last: float ") SimulSurf; - virtual void SimulSurf(opencascade::handle & Data, const opencascade::handle & Guide, const opencascade::handle & Spine, const Standard_Integer Choix, const opencascade::handle & S1, const opencascade::handle & I1, const opencascade::handle & PC1, const opencascade::handle & Sref1, const opencascade::handle & PCref1, Standard_Boolean &OutValue, const TopAbs_Orientation Or1, const opencascade::handle & S2, const opencascade::handle & I2, const opencascade::handle & PC2, const opencascade::handle & Sref2, const opencascade::handle & PCref2, Standard_Boolean &OutValue, const TopAbs_Orientation Or2, const Standard_Real Fleche, const Standard_Real TolGuide, Standard_Real &OutValue, Standard_Real &OutValue, const Standard_Boolean Inside, const Standard_Boolean Appro, const Standard_Boolean Forward, const Standard_Boolean RecP1, const Standard_Boolean RecRst1, const Standard_Boolean RecP2, const Standard_Boolean RecRst2, const math_Vector & Soldep); + virtual void SimulSurf(opencascade::handle & Data, const opencascade::handle & Guide, const opencascade::handle & Spine, const Standard_Integer Choix, const opencascade::handle & S1, const opencascade::handle & I1, const opencascade::handle & PC1, const opencascade::handle & Sref1, const opencascade::handle & PCref1, Standard_Boolean &OutValue, const TopAbs_Orientation Or1, const opencascade::handle & S2, const opencascade::handle & I2, const opencascade::handle & PC2, const opencascade::handle & Sref2, const opencascade::handle & PCref2, Standard_Boolean &OutValue, const TopAbs_Orientation Or2, const Standard_Real Fleche, const Standard_Real TolGuide, Standard_Real &OutValue, Standard_Real &OutValue, const Standard_Boolean Inside, const Standard_Boolean Appro, const Standard_Boolean Forward, const Standard_Boolean RecP1, const Standard_Boolean RecRst1, const Standard_Boolean RecP2, const Standard_Boolean RecRst2, const math_Vector & Soldep); /****************** Simulate ******************/ /**** md5 signature: 2cd119960e597a9f622fcb1f996b7f10 ****/ @@ -1471,7 +1471,7 @@ opencascade::handle /****************** IsConstant ******************/ /**** md5 signature: 524ff18247c3bd6dd3b77ea2fbe631ab ****/ %feature("compactdefaultargs") IsConstant; - %feature("autodoc", "Returns true the contour is flaged as edge constant. + %feature("autodoc", "Returns true the contour is flagged as edge constant. Parameters ---------- diff --git a/src/SWIG_files/wrapper/ChFi3d.pyi b/src/SWIG_files/wrapper/ChFi3d.pyi index 6209c8a55..3f2c7f1fd 100644 --- a/src/SWIG_files/wrapper/ChFi3d.pyi +++ b/src/SWIG_files/wrapper/ChFi3d.pyi @@ -81,7 +81,7 @@ class ChFi3d_Builder: def SetContinuity(self, InternalContinuity: GeomAbs_Shape, AngularTolerance: float) -> None: ... def SetParams(self, Tang: float, Tesp: float, T2d: float, TApp3d: float, TolApp2d: float, Fleche: float) -> None: ... def Shape(self) -> TopoDS_Shape: ... - def SplitKPart(self, Data: ChFiDS_SurfData, SetData: ChFiDS_SequenceOfSurfData, Spine: ChFiDS_Spine, Iedge: int, S1: Adaptor3d_HSurface, I1: Adaptor3d_TopolTool, S2: Adaptor3d_HSurface, I2: Adaptor3d_TopolTool) -> Tuple[bool, bool, bool]: ... + def SplitKPart(self, Data: ChFiDS_SurfData, SetData: ChFiDS_SequenceOfSurfData, Spine: ChFiDS_Spine, Iedge: int, S1: Adaptor3d_Surface, I1: Adaptor3d_TopolTool, S2: Adaptor3d_Surface, I2: Adaptor3d_TopolTool) -> Tuple[bool, bool, bool]: ... def StripeStatus(self, IC: int) -> ChFiDS_ErrorStatus: ... def Value(self, I: int) -> ChFiDS_Spine: ... @@ -107,13 +107,13 @@ class ChFi3d_ChBuilder(ChFi3d_Builder): def Mode(self) -> ChFiDS_ChamfMode: ... def NbSurf(self, IC: int) -> int: ... @overload - def PerformSurf(self, Data: ChFiDS_SequenceOfSurfData, Guide: ChFiDS_HElSpine, Spine: ChFiDS_Spine, Choix: int, S1: BRepAdaptor_HSurface, I1: Adaptor3d_TopolTool, S2: BRepAdaptor_HSurface, I2: Adaptor3d_TopolTool, MaxStep: float, Fleche: float, TolGuide: float, Inside: bool, Appro: bool, Forward: bool, RecOnS1: bool, RecOnS2: bool, Soldep: math_Vector) -> Tuple[bool, float, float, int, int]: ... + def PerformSurf(self, Data: ChFiDS_SequenceOfSurfData, Guide: ChFiDS_ElSpine, Spine: ChFiDS_Spine, Choix: int, S1: BRepAdaptor_Surface, I1: Adaptor3d_TopolTool, S2: BRepAdaptor_Surface, I2: Adaptor3d_TopolTool, MaxStep: float, Fleche: float, TolGuide: float, Inside: bool, Appro: bool, Forward: bool, RecOnS1: bool, RecOnS2: bool, Soldep: math_Vector) -> Tuple[bool, float, float, int, int]: ... @overload - def PerformSurf(self, Data: ChFiDS_SequenceOfSurfData, Guide: ChFiDS_HElSpine, Spine: ChFiDS_Spine, Choix: int, S1: BRepAdaptor_HSurface, I1: Adaptor3d_TopolTool, PC1: BRepAdaptor_HCurve2d, Sref1: BRepAdaptor_HSurface, PCref1: BRepAdaptor_HCurve2d, S2: BRepAdaptor_HSurface, I2: Adaptor3d_TopolTool, Or2: TopAbs_Orientation, MaxStep: float, Fleche: float, TolGuide: float, Inside: bool, Appro: bool, Forward: bool, RecP: bool, RecS: bool, RecRst: bool, Soldep: math_Vector) -> Tuple[bool, float, float]: ... + def PerformSurf(self, Data: ChFiDS_SequenceOfSurfData, Guide: ChFiDS_ElSpine, Spine: ChFiDS_Spine, Choix: int, S1: BRepAdaptor_Surface, I1: Adaptor3d_TopolTool, PC1: BRepAdaptor_Curve2d, Sref1: BRepAdaptor_Surface, PCref1: BRepAdaptor_Curve2d, S2: BRepAdaptor_Surface, I2: Adaptor3d_TopolTool, Or2: TopAbs_Orientation, MaxStep: float, Fleche: float, TolGuide: float, Inside: bool, Appro: bool, Forward: bool, RecP: bool, RecS: bool, RecRst: bool, Soldep: math_Vector) -> Tuple[bool, float, float]: ... @overload - def PerformSurf(self, Data: ChFiDS_SequenceOfSurfData, Guide: ChFiDS_HElSpine, Spine: ChFiDS_Spine, Choix: int, S1: BRepAdaptor_HSurface, I1: Adaptor3d_TopolTool, Or1: TopAbs_Orientation, S2: BRepAdaptor_HSurface, I2: Adaptor3d_TopolTool, PC2: BRepAdaptor_HCurve2d, Sref2: BRepAdaptor_HSurface, PCref2: BRepAdaptor_HCurve2d, MaxStep: float, Fleche: float, TolGuide: float, Inside: bool, Appro: bool, Forward: bool, RecP: bool, RecS: bool, RecRst: bool, Soldep: math_Vector) -> Tuple[bool, float, float]: ... + def PerformSurf(self, Data: ChFiDS_SequenceOfSurfData, Guide: ChFiDS_ElSpine, Spine: ChFiDS_Spine, Choix: int, S1: BRepAdaptor_Surface, I1: Adaptor3d_TopolTool, Or1: TopAbs_Orientation, S2: BRepAdaptor_Surface, I2: Adaptor3d_TopolTool, PC2: BRepAdaptor_Curve2d, Sref2: BRepAdaptor_Surface, PCref2: BRepAdaptor_Curve2d, MaxStep: float, Fleche: float, TolGuide: float, Inside: bool, Appro: bool, Forward: bool, RecP: bool, RecS: bool, RecRst: bool, Soldep: math_Vector) -> Tuple[bool, float, float]: ... @overload - def PerformSurf(self, Data: ChFiDS_SequenceOfSurfData, Guide: ChFiDS_HElSpine, Spine: ChFiDS_Spine, Choix: int, S1: BRepAdaptor_HSurface, I1: Adaptor3d_TopolTool, PC1: BRepAdaptor_HCurve2d, Sref1: BRepAdaptor_HSurface, PCref1: BRepAdaptor_HCurve2d, Or1: TopAbs_Orientation, S2: BRepAdaptor_HSurface, I2: Adaptor3d_TopolTool, PC2: BRepAdaptor_HCurve2d, Sref2: BRepAdaptor_HSurface, PCref2: BRepAdaptor_HCurve2d, Or2: TopAbs_Orientation, MaxStep: float, Fleche: float, TolGuide: float, Inside: bool, Appro: bool, Forward: bool, RecP1: bool, RecRst1: bool, RecP2: bool, RecRst2: bool, Soldep: math_Vector) -> Tuple[bool, bool, float, float]: ... + def PerformSurf(self, Data: ChFiDS_SequenceOfSurfData, Guide: ChFiDS_ElSpine, Spine: ChFiDS_Spine, Choix: int, S1: BRepAdaptor_Surface, I1: Adaptor3d_TopolTool, PC1: BRepAdaptor_Curve2d, Sref1: BRepAdaptor_Surface, PCref1: BRepAdaptor_Curve2d, Or1: TopAbs_Orientation, S2: BRepAdaptor_Surface, I2: Adaptor3d_TopolTool, PC2: BRepAdaptor_Curve2d, Sref2: BRepAdaptor_Surface, PCref2: BRepAdaptor_Curve2d, Or2: TopAbs_Orientation, MaxStep: float, Fleche: float, TolGuide: float, Inside: bool, Appro: bool, Forward: bool, RecP1: bool, RecRst1: bool, RecP2: bool, RecRst2: bool, Soldep: math_Vector) -> Tuple[bool, bool, float, float]: ... def ResetContour(self, IC: int) -> None: ... def Sect(self, IC: int, IS: int) -> ChFiDS_SecHArray1: ... def SetDist(self, Dis: float, IC: int, F: TopoDS_Face) -> None: ... @@ -121,11 +121,11 @@ class ChFi3d_ChBuilder(ChFi3d_Builder): def SetDists(self, Dis1: float, Dis2: float, IC: int, F: TopoDS_Face) -> None: ... def SetMode(self, theMode: ChFiDS_ChamfMode) -> None: ... @overload - def SimulSurf(self, Data: ChFiDS_SurfData, Guide: ChFiDS_HElSpine, Spine: ChFiDS_Spine, Choix: int, S1: BRepAdaptor_HSurface, I1: Adaptor3d_TopolTool, PC1: BRepAdaptor_HCurve2d, Sref1: BRepAdaptor_HSurface, PCref1: BRepAdaptor_HCurve2d, S2: BRepAdaptor_HSurface, I2: Adaptor3d_TopolTool, Or2: TopAbs_Orientation, Fleche: float, TolGuide: float, Inside: bool, Appro: bool, Forward: bool, RecP: bool, RecS: bool, RecRst: bool, Soldep: math_Vector) -> Tuple[bool, float, float]: ... + def SimulSurf(self, Data: ChFiDS_SurfData, Guide: ChFiDS_ElSpine, Spine: ChFiDS_Spine, Choix: int, S1: BRepAdaptor_Surface, I1: Adaptor3d_TopolTool, PC1: BRepAdaptor_Curve2d, Sref1: BRepAdaptor_Surface, PCref1: BRepAdaptor_Curve2d, S2: BRepAdaptor_Surface, I2: Adaptor3d_TopolTool, Or2: TopAbs_Orientation, Fleche: float, TolGuide: float, Inside: bool, Appro: bool, Forward: bool, RecP: bool, RecS: bool, RecRst: bool, Soldep: math_Vector) -> Tuple[bool, float, float]: ... @overload - def SimulSurf(self, Data: ChFiDS_SurfData, Guide: ChFiDS_HElSpine, Spine: ChFiDS_Spine, Choix: int, S1: BRepAdaptor_HSurface, I1: Adaptor3d_TopolTool, Or1: TopAbs_Orientation, S2: BRepAdaptor_HSurface, I2: Adaptor3d_TopolTool, PC2: BRepAdaptor_HCurve2d, Sref2: BRepAdaptor_HSurface, PCref2: BRepAdaptor_HCurve2d, Fleche: float, TolGuide: float, Inside: bool, Appro: bool, Forward: bool, RecP: bool, RecS: bool, RecRst: bool, Soldep: math_Vector) -> Tuple[bool, float, float]: ... + def SimulSurf(self, Data: ChFiDS_SurfData, Guide: ChFiDS_ElSpine, Spine: ChFiDS_Spine, Choix: int, S1: BRepAdaptor_Surface, I1: Adaptor3d_TopolTool, Or1: TopAbs_Orientation, S2: BRepAdaptor_Surface, I2: Adaptor3d_TopolTool, PC2: BRepAdaptor_Curve2d, Sref2: BRepAdaptor_Surface, PCref2: BRepAdaptor_Curve2d, Fleche: float, TolGuide: float, Inside: bool, Appro: bool, Forward: bool, RecP: bool, RecS: bool, RecRst: bool, Soldep: math_Vector) -> Tuple[bool, float, float]: ... @overload - def SimulSurf(self, Data: ChFiDS_SurfData, Guide: ChFiDS_HElSpine, Spine: ChFiDS_Spine, Choix: int, S1: BRepAdaptor_HSurface, I1: Adaptor3d_TopolTool, PC1: BRepAdaptor_HCurve2d, Sref1: BRepAdaptor_HSurface, PCref1: BRepAdaptor_HCurve2d, Or1: TopAbs_Orientation, S2: BRepAdaptor_HSurface, I2: Adaptor3d_TopolTool, PC2: BRepAdaptor_HCurve2d, Sref2: BRepAdaptor_HSurface, PCref2: BRepAdaptor_HCurve2d, Or2: TopAbs_Orientation, Fleche: float, TolGuide: float, Inside: bool, Appro: bool, Forward: bool, RecP1: bool, RecRst1: bool, RecP2: bool, RecRst2: bool, Soldep: math_Vector) -> Tuple[bool, bool, float, float]: ... + def SimulSurf(self, Data: ChFiDS_SurfData, Guide: ChFiDS_ElSpine, Spine: ChFiDS_Spine, Choix: int, S1: BRepAdaptor_Surface, I1: Adaptor3d_TopolTool, PC1: BRepAdaptor_Curve2d, Sref1: BRepAdaptor_Surface, PCref1: BRepAdaptor_Curve2d, Or1: TopAbs_Orientation, S2: BRepAdaptor_Surface, I2: Adaptor3d_TopolTool, PC2: BRepAdaptor_Curve2d, Sref2: BRepAdaptor_Surface, PCref2: BRepAdaptor_Curve2d, Or2: TopAbs_Orientation, Fleche: float, TolGuide: float, Inside: bool, Appro: bool, Forward: bool, RecP1: bool, RecRst1: bool, RecP2: bool, RecRst2: bool, Soldep: math_Vector) -> Tuple[bool, bool, float, float]: ... def Simulate(self, IC: int) -> None: ... class ChFi3d_FilBuilder(ChFi3d_Builder): diff --git a/src/SWIG_files/wrapper/ChFiDS.i b/src/SWIG_files/wrapper/ChFiDS.i index f1add1ff9..d60e552a7 100644 --- a/src/SWIG_files/wrapper/ChFiDS.i +++ b/src/SWIG_files/wrapper/ChFiDS.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define CHFIDSDOCSTRING "ChFiDS module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_chfids.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_chfids.html" %enddef %module (package="OCC.Core", docstring=CHFIDSDOCSTRING) ChFiDS @@ -125,7 +125,7 @@ enum ChFiDS_TypeOfConcavity { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class ChFiDS_State(IntEnum): @@ -187,7 +187,7 @@ ChFiDS_Other = ChFiDS_TypeOfConcavity.ChFiDS_Other /* end python proxy for enums */ /* handles */ -%wrap_handle(ChFiDS_HElSpine) +%wrap_handle(ChFiDS_ElSpine) %wrap_handle(ChFiDS_Spine) %wrap_handle(ChFiDS_Stripe) %wrap_handle(ChFiDS_SurfData) @@ -199,12 +199,12 @@ ChFiDS_Other = ChFiDS_TypeOfConcavity.ChFiDS_Other /* templates */ %template(ChFiDS_IndexedDataMapOfVertexListOfStripe) NCollection_IndexedDataMap; -%template(ChFiDS_ListIteratorOfListOfHElSpine) NCollection_TListIterator>; +%template(ChFiDS_ListIteratorOfListOfHElSpine) NCollection_TListIterator>; %template(ChFiDS_ListIteratorOfListOfStripe) NCollection_TListIterator>; %template(ChFiDS_ListIteratorOfRegularities) NCollection_TListIterator; -%template(ChFiDS_ListOfHElSpine) NCollection_List>; +%template(ChFiDS_ListOfHElSpine) NCollection_List>; -%extend NCollection_List> { +%extend NCollection_List> { %pythoncode { def __len__(self): return self.Size() @@ -316,10 +316,10 @@ ChFiDS_Other = ChFiDS_TypeOfConcavity.ChFiDS_Other /* typedefs */ typedef NCollection_IndexedDataMap ChFiDS_IndexedDataMapOfVertexListOfStripe; -typedef NCollection_List>::Iterator ChFiDS_ListIteratorOfListOfHElSpine; +typedef NCollection_List>::Iterator ChFiDS_ListIteratorOfListOfHElSpine; typedef NCollection_List>::Iterator ChFiDS_ListIteratorOfListOfStripe; typedef NCollection_List::Iterator ChFiDS_ListIteratorOfRegularities; -typedef NCollection_List> ChFiDS_ListOfHElSpine; +typedef NCollection_List> ChFiDS_ListOfHElSpine; typedef NCollection_List> ChFiDS_ListOfStripe; typedef NCollection_List ChFiDS_Regularities; typedef NCollection_Array1 ChFiDS_SecArray1; @@ -482,7 +482,7 @@ bool /****************** Parameter ******************/ /**** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ****/ %feature("compactdefaultargs") Parameter; - %feature("autodoc", "Returns the parameter the paramter on the spine. + %feature("autodoc", "Returns the parameter on the spine. Returns ------- @@ -1198,7 +1198,7 @@ None void SetPeriodic(const Standard_Boolean I); /****************** Trim ******************/ - /**** md5 signature: c735575affdd5b96379885f735055329 ****/ + /**** md5 signature: 974fe27e2868c6786b8c68ef515f97f8 ****/ %feature("compactdefaultargs") Trim; %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. @@ -1210,9 +1210,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") Trim; - virtual opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + virtual opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: ba8231e7dc3a72ecafee01b4eb348bbe ****/ @@ -1247,6 +1247,8 @@ gp_Ax1 }; +%make_alias(ChFiDS_ElSpine) + %extend ChFiDS_ElSpine { %pythoncode { __repr__ = _dumps_object @@ -1475,96 +1477,6 @@ TopAbs_Orientation } }; -/************************ -* class ChFiDS_HElSpine * -************************/ -class ChFiDS_HElSpine : public Adaptor3d_HCurve { - public: - /****************** ChFiDS_HElSpine ******************/ - /**** md5 signature: 14cc5f50ca22e74292b90d37e71bd1d1 ****/ - %feature("compactdefaultargs") ChFiDS_HElSpine; - %feature("autodoc", "Creates an empty genhcurve. - -Returns -------- -None -") ChFiDS_HElSpine; - ChFiDS_HElSpine(); - - /****************** ChFiDS_HElSpine ******************/ - /**** md5 signature: 881e265c949a20712e30325911070229 ****/ - %feature("compactdefaultargs") ChFiDS_HElSpine; - %feature("autodoc", "Creates a genhcurve from a curve. - -Parameters ----------- -C: ChFiDS_ElSpine - -Returns -------- -None -") ChFiDS_HElSpine; - ChFiDS_HElSpine(const ChFiDS_ElSpine & C); - - /****************** ChangeCurve ******************/ - /**** md5 signature: 9c60c84b9c5da383bfcdec014873f6f7 ****/ - %feature("compactdefaultargs") ChangeCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -ChFiDS_ElSpine -") ChangeCurve; - ChFiDS_ElSpine & ChangeCurve(); - - /****************** Curve ******************/ - /**** md5 signature: a89f0959dbb9c3c030843720c3636148 ****/ - %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") Curve; - const Adaptor3d_Curve & Curve(); - - /****************** GetCurve ******************/ - /**** md5 signature: 73b397b3522011e6948956523664e20c ****/ - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") GetCurve; - Adaptor3d_Curve & GetCurve(); - - /****************** Set ******************/ - /**** md5 signature: 53cc31f3591dcb70faa37e999b7a651c ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve. - -Parameters ----------- -C: ChFiDS_ElSpine - -Returns -------- -None -") Set; - void Set(const ChFiDS_ElSpine & C); - -}; - - -%make_alias(ChFiDS_HElSpine) - -%extend ChFiDS_HElSpine { - %pythoncode { - __repr__ = _dumps_object - } -}; - /******************* * class ChFiDS_Map * *******************/ @@ -1859,34 +1771,34 @@ float Standard_Real Absc(const TopoDS_Vertex & V); /****************** AppendElSpine ******************/ - /**** md5 signature: 56e42dc92b1863fef793a7b893355531 ****/ + /**** md5 signature: ede48293dc1624531bd53eae90637b01 ****/ %feature("compactdefaultargs") AppendElSpine; %feature("autodoc", "No available documentation. Parameters ---------- -Els: ChFiDS_HElSpine +Els: ChFiDS_ElSpine Returns ------- None ") AppendElSpine; - virtual void AppendElSpine(const opencascade::handle & Els); + virtual void AppendElSpine(const opencascade::handle & Els); /****************** AppendOffsetElSpine ******************/ - /**** md5 signature: a3f67a1f5563c994bda1222e7915f9c8 ****/ + /**** md5 signature: 95d04dc7c2b33d672976bf39c81489b8 ****/ %feature("compactdefaultargs") AppendOffsetElSpine; %feature("autodoc", "No available documentation. Parameters ---------- -Els: ChFiDS_HElSpine +Els: ChFiDS_ElSpine Returns ------- None ") AppendOffsetElSpine; - virtual void AppendOffsetElSpine(const opencascade::handle & Els); + virtual void AppendOffsetElSpine(const opencascade::handle & Els); /****************** ChangeElSpines ******************/ /**** md5 signature: da07220d851808a3a9bd3eb7b7c1f436 ****/ @@ -2014,7 +1926,7 @@ TopoDS_Edge const TopoDS_Edge Edges(const Standard_Integer I); /****************** ElSpine ******************/ - /**** md5 signature: 50e1f230b87beebd12561fcb57080d79 ****/ + /**** md5 signature: 4f2d3b9c01c3241e7da904843452e45a ****/ %feature("compactdefaultargs") ElSpine; %feature("autodoc", "No available documentation. @@ -2024,12 +1936,12 @@ IE: int Returns ------- -opencascade::handle +opencascade::handle ") ElSpine; - opencascade::handle ElSpine(const Standard_Integer IE); + opencascade::handle ElSpine(const Standard_Integer IE); /****************** ElSpine ******************/ - /**** md5 signature: 1df8ba6c79f39bb525fe86f8b4dc1f88 ****/ + /**** md5 signature: ca68c09c1a4fca52b0ec8982006abd2f ****/ %feature("compactdefaultargs") ElSpine; %feature("autodoc", "No available documentation. @@ -2039,12 +1951,12 @@ E: TopoDS_Edge Returns ------- -opencascade::handle +opencascade::handle ") ElSpine; - opencascade::handle ElSpine(const TopoDS_Edge & E); + opencascade::handle ElSpine(const TopoDS_Edge & E); /****************** ElSpine ******************/ - /**** md5 signature: aaa496a36bc99cc30000c25f82868d13 ****/ + /**** md5 signature: dea9d922cd6fd6701ac14ca526f46966 ****/ %feature("compactdefaultargs") ElSpine; %feature("autodoc", "No available documentation. @@ -2054,9 +1966,9 @@ W: float Returns ------- -opencascade::handle +opencascade::handle ") ElSpine; - opencascade::handle ElSpine(const Standard_Real W); + opencascade::handle ElSpine(const Standard_Real W); /****************** ErrorStatus ******************/ /**** md5 signature: 2f7016f891923155aac331ba8260eaa0 ****/ @@ -3705,7 +3617,7 @@ None /****************** ChangeVertex ******************/ /**** md5 signature: a8ddf20f93239324ee9ea0b0bd371c2a ****/ %feature("compactdefaultargs") ChangeVertex; - %feature("autodoc", "Returns one of the four vertices wether first is true or wrong and ons equals 1 or 2. + %feature("autodoc", "Returns one of the four vertices whether first is true or wrong and ons equals 1 or 2. Parameters ---------- @@ -4225,7 +4137,7 @@ None /****************** Vertex ******************/ /**** md5 signature: 18d5b7a519c656abcce6733eb3f805bc ****/ %feature("compactdefaultargs") Vertex; - %feature("autodoc", "Returns one of the four vertices wether first is true or wrong and ons equals 1 or 2. + %feature("autodoc", "Returns one of the four vertices whether first is true or wrong and ons equals 1 or 2. Parameters ---------- @@ -4484,19 +4396,19 @@ None ChFiDS_FilSpine(const Standard_Real Tol); /****************** AppendElSpine ******************/ - /**** md5 signature: a02ef87558175a76a55d808d58de097f ****/ + /**** md5 signature: 372916a9ea66113bdf5cde8ef4cde52f ****/ %feature("compactdefaultargs") AppendElSpine; %feature("autodoc", "No available documentation. Parameters ---------- -Els: ChFiDS_HElSpine +Els: ChFiDS_ElSpine Returns ------- None ") AppendElSpine; - virtual void AppendElSpine(const opencascade::handle & Els); + virtual void AppendElSpine(const opencascade::handle & Els); /****************** ChangeLaw ******************/ /**** md5 signature: 8ae71aa7535429ad90f7a710389558b8 ****/ @@ -4540,19 +4452,19 @@ bool Standard_Boolean IsConstant(const Standard_Integer IE); /****************** Law ******************/ - /**** md5 signature: bfc601b38642ba13a3dd383d1a79074b ****/ + /**** md5 signature: 7cf16ab410922973e30dbb370c179506 ****/ %feature("compactdefaultargs") Law; %feature("autodoc", "No available documentation. Parameters ---------- -Els: ChFiDS_HElSpine +Els: ChFiDS_ElSpine Returns ------- opencascade::handle ") Law; - opencascade::handle Law(const opencascade::handle & Els); + opencascade::handle Law(const opencascade::handle & Els); /****************** MaxRadFromSeqAndLaws ******************/ /**** md5 signature: 5d0ba972a5439e16c0aae93c053bd63b ****/ diff --git a/src/SWIG_files/wrapper/ChFiDS.pyi b/src/SWIG_files/wrapper/ChFiDS.pyi index 55361780d..6543ea1a3 100644 --- a/src/SWIG_files/wrapper/ChFiDS.pyi +++ b/src/SWIG_files/wrapper/ChFiDS.pyi @@ -276,7 +276,7 @@ class ChFiDS_ElSpine(Adaptor3d_Curve): def SetLastPointAndTgt(self, P: gp_Pnt, T: gp_Vec) -> None: ... def SetOrigin(self, O: float) -> None: ... def SetPeriodic(self, I: bool) -> None: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HCurve: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Curve: ... def Value(self, AbsC: float) -> gp_Pnt: ... def VertexWithTangent(self, Index: int) -> gp_Ax1: ... @@ -298,16 +298,6 @@ class ChFiDS_FaceInterference: def SetTransition(self, Trans: TopAbs_Orientation) -> None: ... def Transition(self) -> TopAbs_Orientation: ... -class ChFiDS_HElSpine(Adaptor3d_HCurve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: ChFiDS_ElSpine) -> None: ... - def ChangeCurve(self) -> ChFiDS_ElSpine: ... - def Curve(self) -> Adaptor3d_Curve: ... - def GetCurve(self) -> Adaptor3d_Curve: ... - def Set(self, C: ChFiDS_ElSpine) -> None: ... - class ChFiDS_Map: def __init__(self) -> None: ... def Contains(self, S: TopoDS_Shape) -> bool: ... @@ -337,8 +327,8 @@ class ChFiDS_Spine(Standard_Transient): def Absc(self, U: float, I: int) -> float: ... @overload def Absc(self, V: TopoDS_Vertex) -> float: ... - def AppendElSpine(self, Els: ChFiDS_HElSpine) -> None: ... - def AppendOffsetElSpine(self, Els: ChFiDS_HElSpine) -> None: ... + def AppendElSpine(self, Els: ChFiDS_ElSpine) -> None: ... + def AppendOffsetElSpine(self, Els: ChFiDS_ElSpine) -> None: ... def ChangeElSpines(self) -> ChFiDS_ListOfHElSpine: ... def ChangeOffsetElSpines(self) -> ChFiDS_ListOfHElSpine: ... def Circle(self) -> gp_Circ: ... @@ -349,11 +339,11 @@ class ChFiDS_Spine(Standard_Transient): def D2(self, AbsC: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... def Edges(self, I: int) -> TopoDS_Edge: ... @overload - def ElSpine(self, IE: int) -> ChFiDS_HElSpine: ... + def ElSpine(self, IE: int) -> ChFiDS_ElSpine: ... @overload - def ElSpine(self, E: TopoDS_Edge) -> ChFiDS_HElSpine: ... + def ElSpine(self, E: TopoDS_Edge) -> ChFiDS_ElSpine: ... @overload - def ElSpine(self, W: float) -> ChFiDS_HElSpine: ... + def ElSpine(self, W: float) -> ChFiDS_ElSpine: ... def ErrorStatus(self) -> ChFiDS_ErrorStatus: ... @overload def FirstParameter(self) -> float: ... @@ -583,13 +573,13 @@ class ChFiDS_FilSpine(ChFiDS_Spine): def __init__(self) -> None: ... @overload def __init__(self, Tol: float) -> None: ... - def AppendElSpine(self, Els: ChFiDS_HElSpine) -> None: ... + def AppendElSpine(self, Els: ChFiDS_ElSpine) -> None: ... def ChangeLaw(self, E: TopoDS_Edge) -> Law_Function: ... @overload def IsConstant(self) -> bool: ... @overload def IsConstant(self, IE: int) -> bool: ... - def Law(self, Els: ChFiDS_HElSpine) -> Law_Composite: ... + def Law(self, Els: ChFiDS_ElSpine) -> Law_Composite: ... def MaxRadFromSeqAndLaws(self) -> float: ... @overload def Radius(self) -> float: ... diff --git a/src/SWIG_files/wrapper/ChFiKPart.i b/src/SWIG_files/wrapper/ChFiKPart.i index 3fd41f9e3..ac22ace73 100644 --- a/src/SWIG_files/wrapper/ChFiKPart.i +++ b/src/SWIG_files/wrapper/ChFiKPart.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define CHFIKPARTDOCSTRING "ChFiKPart module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_chfikpart.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_chfikpart.html" %enddef %module (package="OCC.Core", docstring=CHFIKPARTDOCSTRING) ChFiKPart @@ -96,7 +96,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -105,9 +105,9 @@ from OCC.Core.Exception import * /* end handles declaration */ /* templates */ -%template(ChFiKPart_RstMap) NCollection_DataMap,TColStd_MapIntegerHasher>; +%template(ChFiKPart_RstMap) NCollection_DataMap,TColStd_MapIntegerHasher>; -%extend NCollection_DataMap,TColStd_MapIntegerHasher> { +%extend NCollection_DataMap,TColStd_MapIntegerHasher> { PyObject* Keys() { PyObject *l=PyList_New(0); for (ChFiKPart_RstMap::Iterator anIt1(*self); anIt1.More(); anIt1.Next()) { @@ -121,8 +121,8 @@ from OCC.Core.Exception import * /* end templates declaration */ /* typedefs */ -typedef NCollection_DataMap, TColStd_MapIntegerHasher>::Iterator ChFiKPart_DataMapIteratorOfRstMap; -typedef NCollection_DataMap, TColStd_MapIntegerHasher> ChFiKPart_RstMap; +typedef NCollection_DataMap, TColStd_MapIntegerHasher>::Iterator ChFiKPart_DataMapIteratorOfRstMap; +typedef NCollection_DataMap, TColStd_MapIntegerHasher> ChFiKPart_RstMap; /* end typedefs declaration */ /****************************** @@ -131,7 +131,7 @@ typedef NCollection_DataMap & Data, const opencascade::handle & S1, const opencascade::handle & S2, const TopAbs_Orientation Or1, const TopAbs_Orientation Or2, const opencascade::handle & Sp, const Standard_Integer Iedge); + static Standard_Boolean Compute(TopOpeBRepDS_DataStructure & DStr, opencascade::handle & Data, const opencascade::handle & S1, const opencascade::handle & S2, const TopAbs_Orientation Or1, const TopAbs_Orientation Or2, const opencascade::handle & Sp, const Standard_Integer Iedge); /****************** ComputeCorner ******************/ - /**** md5 signature: 4e661a9eb2006f7b6d6fb9b7c223ee31 ****/ + /**** md5 signature: 865640977aad8d495cda6b0205404703 ****/ %feature("compactdefaultargs") ComputeCorner; %feature("autodoc", "Computes a toric or spheric corner fillet. @@ -161,8 +161,8 @@ Parameters ---------- DStr: TopOpeBRepDS_DataStructure Data: ChFiDS_SurfData -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface OrFace1: TopAbs_Orientation OrFace2: TopAbs_Orientation Or1: TopAbs_Orientation @@ -178,10 +178,10 @@ Returns ------- bool ") ComputeCorner; - static Standard_Boolean ComputeCorner(TopOpeBRepDS_DataStructure & DStr, const opencascade::handle & Data, const opencascade::handle & S1, const opencascade::handle & S2, const TopAbs_Orientation OrFace1, const TopAbs_Orientation OrFace2, const TopAbs_Orientation Or1, const TopAbs_Orientation Or2, const Standard_Real minRad, const Standard_Real majRad, const gp_Pnt2d & P1S1, const gp_Pnt2d & P2S1, const gp_Pnt2d & P1S2, const gp_Pnt2d & P2S2); + static Standard_Boolean ComputeCorner(TopOpeBRepDS_DataStructure & DStr, const opencascade::handle & Data, const opencascade::handle & S1, const opencascade::handle & S2, const TopAbs_Orientation OrFace1, const TopAbs_Orientation OrFace2, const TopAbs_Orientation Or1, const TopAbs_Orientation Or2, const Standard_Real minRad, const Standard_Real majRad, const gp_Pnt2d & P1S1, const gp_Pnt2d & P2S1, const gp_Pnt2d & P1S2, const gp_Pnt2d & P2S2); /****************** ComputeCorner ******************/ - /**** md5 signature: 7e17d6233f97f8c3d7241e4c6005f843 ****/ + /**** md5 signature: 85d29cbe50ebb6a374a60f8829eb98a3 ****/ %feature("compactdefaultargs") ComputeCorner; %feature("autodoc", "Computes spheric corner fillet with non iso pcurve on s2. @@ -189,8 +189,8 @@ Parameters ---------- DStr: TopOpeBRepDS_DataStructure Data: ChFiDS_SurfData -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface OrFace1: TopAbs_Orientation OrFace2: TopAbs_Orientation Or1: TopAbs_Orientation @@ -204,10 +204,10 @@ Returns ------- bool ") ComputeCorner; - static Standard_Boolean ComputeCorner(TopOpeBRepDS_DataStructure & DStr, const opencascade::handle & Data, const opencascade::handle & S1, const opencascade::handle & S2, const TopAbs_Orientation OrFace1, const TopAbs_Orientation OrFace2, const TopAbs_Orientation Or1, const TopAbs_Orientation Or2, const Standard_Real Rad, const gp_Pnt2d & PS1, const gp_Pnt2d & P1S2, const gp_Pnt2d & P2S2); + static Standard_Boolean ComputeCorner(TopOpeBRepDS_DataStructure & DStr, const opencascade::handle & Data, const opencascade::handle & S1, const opencascade::handle & S2, const TopAbs_Orientation OrFace1, const TopAbs_Orientation OrFace2, const TopAbs_Orientation Or1, const TopAbs_Orientation Or2, const Standard_Real Rad, const gp_Pnt2d & PS1, const gp_Pnt2d & P1S2, const gp_Pnt2d & P2S2); /****************** ComputeCorner ******************/ - /**** md5 signature: cbc142609e66adc363ea0e77e7b9cf21 ****/ + /**** md5 signature: bafab55c65e7ea7e93485d2309ea19e0 ****/ %feature("compactdefaultargs") ComputeCorner; %feature("autodoc", "Computes a toric corner rotule. @@ -215,9 +215,9 @@ Parameters ---------- DStr: TopOpeBRepDS_DataStructure Data: ChFiDS_SurfData -S: Adaptor3d_HSurface -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface +S: Adaptor3d_Surface +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface OfS: TopAbs_Orientation OS: TopAbs_Orientation OS1: TopAbs_Orientation @@ -228,7 +228,7 @@ Returns ------- bool ") ComputeCorner; - static Standard_Boolean ComputeCorner(TopOpeBRepDS_DataStructure & DStr, const opencascade::handle & Data, const opencascade::handle & S, const opencascade::handle & S1, const opencascade::handle & S2, const TopAbs_Orientation OfS, const TopAbs_Orientation OS, const TopAbs_Orientation OS1, const TopAbs_Orientation OS2, const Standard_Real Radius); + static Standard_Boolean ComputeCorner(TopOpeBRepDS_DataStructure & DStr, const opencascade::handle & Data, const opencascade::handle & S, const opencascade::handle & S1, const opencascade::handle & S2, const TopAbs_Orientation OfS, const TopAbs_Orientation OS, const TopAbs_Orientation OS1, const TopAbs_Orientation OS2, const Standard_Real Radius); }; diff --git a/src/SWIG_files/wrapper/ChFiKPart.pyi b/src/SWIG_files/wrapper/ChFiKPart.pyi index 90bb0fc90..0af2f6e08 100644 --- a/src/SWIG_files/wrapper/ChFiKPart.pyi +++ b/src/SWIG_files/wrapper/ChFiKPart.pyi @@ -16,16 +16,16 @@ from OCC.Core.GeomAdaptor import * class ChFiKPart_ComputeData: @staticmethod - def Compute(DStr: TopOpeBRepDS_DataStructure, Data: ChFiDS_SurfData, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, Or1: TopAbs_Orientation, Or2: TopAbs_Orientation, Sp: ChFiDS_Spine, Iedge: int) -> bool: ... + def Compute(DStr: TopOpeBRepDS_DataStructure, Data: ChFiDS_SurfData, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, Or1: TopAbs_Orientation, Or2: TopAbs_Orientation, Sp: ChFiDS_Spine, Iedge: int) -> bool: ... @overload @staticmethod - def ComputeCorner(DStr: TopOpeBRepDS_DataStructure, Data: ChFiDS_SurfData, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, OrFace1: TopAbs_Orientation, OrFace2: TopAbs_Orientation, Or1: TopAbs_Orientation, Or2: TopAbs_Orientation, minRad: float, majRad: float, P1S1: gp_Pnt2d, P2S1: gp_Pnt2d, P1S2: gp_Pnt2d, P2S2: gp_Pnt2d) -> bool: ... + def ComputeCorner(DStr: TopOpeBRepDS_DataStructure, Data: ChFiDS_SurfData, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, OrFace1: TopAbs_Orientation, OrFace2: TopAbs_Orientation, Or1: TopAbs_Orientation, Or2: TopAbs_Orientation, minRad: float, majRad: float, P1S1: gp_Pnt2d, P2S1: gp_Pnt2d, P1S2: gp_Pnt2d, P2S2: gp_Pnt2d) -> bool: ... @overload @staticmethod - def ComputeCorner(DStr: TopOpeBRepDS_DataStructure, Data: ChFiDS_SurfData, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, OrFace1: TopAbs_Orientation, OrFace2: TopAbs_Orientation, Or1: TopAbs_Orientation, Or2: TopAbs_Orientation, Rad: float, PS1: gp_Pnt2d, P1S2: gp_Pnt2d, P2S2: gp_Pnt2d) -> bool: ... + def ComputeCorner(DStr: TopOpeBRepDS_DataStructure, Data: ChFiDS_SurfData, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, OrFace1: TopAbs_Orientation, OrFace2: TopAbs_Orientation, Or1: TopAbs_Orientation, Or2: TopAbs_Orientation, Rad: float, PS1: gp_Pnt2d, P1S2: gp_Pnt2d, P2S2: gp_Pnt2d) -> bool: ... @overload @staticmethod - def ComputeCorner(DStr: TopOpeBRepDS_DataStructure, Data: ChFiDS_SurfData, S: Adaptor3d_HSurface, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, OfS: TopAbs_Orientation, OS: TopAbs_Orientation, OS1: TopAbs_Orientation, OS2: TopAbs_Orientation, Radius: float) -> bool: ... + def ComputeCorner(DStr: TopOpeBRepDS_DataStructure, Data: ChFiDS_SurfData, S: Adaptor3d_Surface, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, OfS: TopAbs_Orientation, OS: TopAbs_Orientation, OS1: TopAbs_Orientation, OS2: TopAbs_Orientation, Radius: float) -> bool: ... # harray1 classes # harray2 classes diff --git a/src/SWIG_files/wrapper/Contap.i b/src/SWIG_files/wrapper/Contap.i index 752bb3921..f13746a1e 100644 --- a/src/SWIG_files/wrapper/Contap.i +++ b/src/SWIG_files/wrapper/Contap.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define CONTAPDOCSTRING "Contap module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_contap.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_contap.html" %enddef %module (package="OCC.Core", docstring=CONTAPDOCSTRING) Contap @@ -37,6 +37,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_contap.html" %{ +#include #include //Dependencies @@ -93,7 +94,7 @@ enum Contap_TFunction { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Contap_IType(IntEnum): @@ -250,19 +251,19 @@ IntSurf_Quadric const IntSurf_Quadric & Quadric(); /****************** Set ******************/ - /**** md5 signature: c9230f42bb12d45a693a7ae3204732ab ****/ + /**** md5 signature: fe1f4e54b6d838c88f545f7975616591 ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- None ") Set; - void Set(const opencascade::handle & S); + void Set(const opencascade::handle & S); /****************** Set ******************/ /**** md5 signature: 7b60fb3b1252eb4013a37f792be86766 ****/ @@ -327,30 +328,30 @@ None void Set(const gp_Pnt & Eye, const Standard_Real Angle); /****************** Set ******************/ - /**** md5 signature: 39b28571bbfbb9613c66992d83b4c72e ****/ + /**** md5 signature: 70ab888f546bf04b92c8032f862436af ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "No available documentation. Parameters ---------- -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Returns ------- None ") Set; - void Set(const opencascade::handle & A); + void Set(const opencascade::handle & A); /****************** Surface ******************/ - /**** md5 signature: 81999f08eca68bee259ba395fdac1a30 ****/ + /**** md5 signature: d36dc8d293d03901e5a1cace2e167115 ****/ %feature("compactdefaultargs") Surface; %feature("autodoc", "Returns mysurf field. Returns ------- -opencascade::handle +opencascade::handle ") Surface; - const opencascade::handle & Surface(); + const opencascade::handle & Surface(); /****************** Valpoint ******************/ /**** md5 signature: 3a2ceb97db1e39a13d0a9061e49cb920 ****/ @@ -701,13 +702,13 @@ None Contap_Contour(const gp_Pnt & Eye); /****************** Contap_Contour ******************/ - /**** md5 signature: 462dfd2cb5699c402de523a07aaed249 ****/ + /**** md5 signature: 25645dae103420d74f7a669531e03e3a ****/ %feature("compactdefaultargs") Contap_Contour; %feature("autodoc", "Creates the contour in a given direction. Parameters ---------- -Surf: Adaptor3d_HSurface +Surf: Adaptor3d_Surface Domain: Adaptor3d_TopolTool Direction: gp_Vec @@ -715,16 +716,16 @@ Returns ------- None ") Contap_Contour; - Contap_Contour(const opencascade::handle & Surf, const opencascade::handle & Domain, const gp_Vec & Direction); + Contap_Contour(const opencascade::handle & Surf, const opencascade::handle & Domain, const gp_Vec & Direction); /****************** Contap_Contour ******************/ - /**** md5 signature: c092062c8a84e1b30fd2eedc67ea9acb ****/ + /**** md5 signature: 477d93fc923faa8291a1a3940a1672cc ****/ %feature("compactdefaultargs") Contap_Contour; %feature("autodoc", "Creates the contour in a given direction. Parameters ---------- -Surf: Adaptor3d_HSurface +Surf: Adaptor3d_Surface Domain: Adaptor3d_TopolTool Direction: gp_Vec Angle: float @@ -733,16 +734,16 @@ Returns ------- None ") Contap_Contour; - Contap_Contour(const opencascade::handle & Surf, const opencascade::handle & Domain, const gp_Vec & Direction, const Standard_Real Angle); + Contap_Contour(const opencascade::handle & Surf, const opencascade::handle & Domain, const gp_Vec & Direction, const Standard_Real Angle); /****************** Contap_Contour ******************/ - /**** md5 signature: 384cb66f2002a6109dad6e7f52c6a8d5 ****/ + /**** md5 signature: 56cac3764cf1b3b815e5af09b9b8027c ****/ %feature("compactdefaultargs") Contap_Contour; %feature("autodoc", "Creates the contour for a perspective view. Parameters ---------- -Surf: Adaptor3d_HSurface +Surf: Adaptor3d_Surface Domain: Adaptor3d_TopolTool Eye: gp_Pnt @@ -750,7 +751,7 @@ Returns ------- None ") Contap_Contour; - Contap_Contour(const opencascade::handle & Surf, const opencascade::handle & Domain, const gp_Pnt & Eye); + Contap_Contour(const opencascade::handle & Surf, const opencascade::handle & Domain, const gp_Pnt & Eye); /****************** Init ******************/ /**** md5 signature: deab7f18a5b73dea8633b272c74ec953 ****/ @@ -847,29 +848,29 @@ int Standard_Integer NbLines(); /****************** Perform ******************/ - /**** md5 signature: e0e4baac189bbfbab85e24274fff310d ****/ + /**** md5 signature: f325c0d93f36bc064924753d683f809a ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Creates the contour in a given direction. Parameters ---------- -Surf: Adaptor3d_HSurface +Surf: Adaptor3d_Surface Domain: Adaptor3d_TopolTool Returns ------- None ") Perform; - void Perform(const opencascade::handle & Surf, const opencascade::handle & Domain); + void Perform(const opencascade::handle & Surf, const opencascade::handle & Domain); /****************** Perform ******************/ - /**** md5 signature: e0993cf897070750a3cd8de9eb8442c0 ****/ + /**** md5 signature: 0b4fd3b0fec6772a0904131288cdfdd2 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Creates the contour in a given direction. Parameters ---------- -Surf: Adaptor3d_HSurface +Surf: Adaptor3d_Surface Domain: Adaptor3d_TopolTool Direction: gp_Vec @@ -877,16 +878,16 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & Surf, const opencascade::handle & Domain, const gp_Vec & Direction); + void Perform(const opencascade::handle & Surf, const opencascade::handle & Domain, const gp_Vec & Direction); /****************** Perform ******************/ - /**** md5 signature: 646d1e133cf129836e04dc7ef360f488 ****/ + /**** md5 signature: 3262b2a18ac7cca247352dff7df5c35a ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Creates the contour in a given direction. Parameters ---------- -Surf: Adaptor3d_HSurface +Surf: Adaptor3d_Surface Domain: Adaptor3d_TopolTool Direction: gp_Vec Angle: float @@ -895,16 +896,16 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & Surf, const opencascade::handle & Domain, const gp_Vec & Direction, const Standard_Real Angle); + void Perform(const opencascade::handle & Surf, const opencascade::handle & Domain, const gp_Vec & Direction, const Standard_Real Angle); /****************** Perform ******************/ - /**** md5 signature: 23c9b9e5ded059f020cbc263d2d1b835 ****/ + /**** md5 signature: 1211ae19df2ef1905fcbbf0375510d47 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Creates the contour for a perspective view. Parameters ---------- -Surf: Adaptor3d_HSurface +Surf: Adaptor3d_Surface Domain: Adaptor3d_TopolTool Eye: gp_Pnt @@ -912,7 +913,7 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & Surf, const opencascade::handle & Domain, const gp_Pnt & Eye); + void Perform(const opencascade::handle & Surf, const opencascade::handle & Domain, const gp_Pnt & Eye); /****************** SurfaceFunction ******************/ /**** md5 signature: 4a38b2f929c85d9d66c55cb5e593a36b ****/ @@ -940,152 +941,152 @@ Contap_SurfFunction class Contap_HContTool { public: /****************** Bounds ******************/ - /**** md5 signature: 9d7011a3f7bf9140e97d4cca3a13d459 ****/ + /**** md5 signature: 14979ddc3175e995d5548477ac5bcd4b ****/ %feature("compactdefaultargs") Bounds; %feature("autodoc", "Returns the parametric limits on the arc c. these limits must be finite : they are either the real limits of the arc, for a finite arc, or a bounding box for an infinite arc. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- Ufirst: float Ulast: float ") Bounds; - static void Bounds(const opencascade::handle & C, Standard_Real &OutValue, Standard_Real &OutValue); + static void Bounds(const opencascade::handle & C, Standard_Real &OutValue, Standard_Real &OutValue); /****************** HasBeenSeen ******************/ - /**** md5 signature: c459516f806b782c6912d96e17f167c2 ****/ + /**** md5 signature: 52a722c5d4a9984d26ad321cf3630b48 ****/ %feature("compactdefaultargs") HasBeenSeen; %feature("autodoc", "Returns true if all the intersection point and edges are known on the arc. the intersection point are given as vertices. the intersection edges are given as intervals between two vertices. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- bool ") HasBeenSeen; - static Standard_Boolean HasBeenSeen(const opencascade::handle & C); + static Standard_Boolean HasBeenSeen(const opencascade::handle & C); /****************** HasFirstPoint ******************/ - /**** md5 signature: 21dbd03b2bfe6401a9ae58a73e3b9d1c ****/ + /**** md5 signature: af276ff6ae83b4e53affd31093f8bfdc ****/ %feature("compactdefaultargs") HasFirstPoint; %feature("autodoc", "Returns true when the segment of range index is not open at the left side. in that case, indfirst is the range in the list intersection points (see nbpoints) of the one which defines the left bound of the segment. otherwise, the method has to return false, and indfirst has no meaning. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Index: int Returns ------- IndFirst: int ") HasFirstPoint; - static Standard_Boolean HasFirstPoint(const opencascade::handle & C, const Standard_Integer Index, Standard_Integer &OutValue); + static Standard_Boolean HasFirstPoint(const opencascade::handle & C, const Standard_Integer Index, Standard_Integer &OutValue); /****************** HasLastPoint ******************/ - /**** md5 signature: a4dadcf8bd34f0f89f5ae609438fa233 ****/ + /**** md5 signature: a28a12263a39eecc4acc9708fdf256c7 ****/ %feature("compactdefaultargs") HasLastPoint; %feature("autodoc", "Returns true when the segment of range index is not open at the right side. in that case, indlast is the range in the list intersection points (see nbpoints) of the one which defines the right bound of the segment. otherwise, the method has to return false, and indlast has no meaning. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Index: int Returns ------- IndLast: int ") HasLastPoint; - static Standard_Boolean HasLastPoint(const opencascade::handle & C, const Standard_Integer Index, Standard_Integer &OutValue); + static Standard_Boolean HasLastPoint(const opencascade::handle & C, const Standard_Integer Index, Standard_Integer &OutValue); /****************** IsAllSolution ******************/ - /**** md5 signature: 0c6c1768ff2598386bae6ed220465e90 ****/ + /**** md5 signature: a0e5f5bbe827235fe1ddb52793e5eb42 ****/ %feature("compactdefaultargs") IsAllSolution; %feature("autodoc", "Returns true when the whole restriction is solution of the intersection problem. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- bool ") IsAllSolution; - static Standard_Boolean IsAllSolution(const opencascade::handle & C); + static Standard_Boolean IsAllSolution(const opencascade::handle & C); /****************** IsVertex ******************/ - /**** md5 signature: be51c8dbf9d3585b6d3eab81b6b976ce ****/ + /**** md5 signature: ffecad0cdf7d56d3c7a670cde7e75bc2 ****/ %feature("compactdefaultargs") IsVertex; %feature("autodoc", "Returns true if the intersection point of range index corresponds with a vertex on the arc a. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Index: int Returns ------- bool ") IsVertex; - static Standard_Boolean IsVertex(const opencascade::handle & C, const Standard_Integer Index); + static Standard_Boolean IsVertex(const opencascade::handle & C, const Standard_Integer Index); /****************** NbPoints ******************/ - /**** md5 signature: 17b706dc3883e4250f166019ea7dae25 ****/ + /**** md5 signature: 54aec07f3b6dd332421dfbc4dec3568c ****/ %feature("compactdefaultargs") NbPoints; %feature("autodoc", "Returns the number of intersection points on the arc a. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- int ") NbPoints; - static Standard_Integer NbPoints(const opencascade::handle & C); + static Standard_Integer NbPoints(const opencascade::handle & C); /****************** NbSamplePoints ******************/ - /**** md5 signature: 1d44fd6ad4cd26d8b6fc1c0b944b7c47 ****/ + /**** md5 signature: f9bf587e348ded4c9e8073b6938de72d ****/ %feature("compactdefaultargs") NbSamplePoints; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- int ") NbSamplePoints; - static Standard_Integer NbSamplePoints(const opencascade::handle & S); + static Standard_Integer NbSamplePoints(const opencascade::handle & S); /****************** NbSamplesOnArc ******************/ - /**** md5 signature: 5d5251a65ac23da48e83da611222dcfc ****/ + /**** md5 signature: 99a1330c1c671d353c2bee9fd23c27cc ****/ %feature("compactdefaultargs") NbSamplesOnArc; %feature("autodoc", "Returns the number of points which is used to make a sample on the arc. this number is a function of the surface and the curveonsurface complexity. Parameters ---------- -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Returns ------- int ") NbSamplesOnArc; - static Standard_Integer NbSamplesOnArc(const opencascade::handle & A); + static Standard_Integer NbSamplesOnArc(const opencascade::handle & A); /****************** NbSamplesU ******************/ - /**** md5 signature: 97232a7a843cb20e7362e1978825fb60 ****/ + /**** md5 signature: 7ffe816252db97bdbf2950cea2ca2037 ****/ %feature("compactdefaultargs") NbSamplesU; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface u1: float u2: float @@ -1093,16 +1094,16 @@ Returns ------- int ") NbSamplesU; - static Standard_Integer NbSamplesU(const opencascade::handle & S, const Standard_Real u1, const Standard_Real u2); + static Standard_Integer NbSamplesU(const opencascade::handle & S, const Standard_Real u1, const Standard_Real u2); /****************** NbSamplesV ******************/ - /**** md5 signature: 3cd7a5ede88f3424fd1fcf0d55b10994 ****/ + /**** md5 signature: 183861bdb84cb1597bd3a1324a097e8e ****/ %feature("compactdefaultargs") NbSamplesV; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface v1: float v2: float @@ -1110,47 +1111,47 @@ Returns ------- int ") NbSamplesV; - static Standard_Integer NbSamplesV(const opencascade::handle & S, const Standard_Real v1, const Standard_Real v2); + static Standard_Integer NbSamplesV(const opencascade::handle & S, const Standard_Real v1, const Standard_Real v2); /****************** NbSegments ******************/ - /**** md5 signature: 0ae6c2f8194d2736e98ab44bdf7746bf ****/ + /**** md5 signature: 2689aa0fe05c64574e603c4eb512caa4 ****/ %feature("compactdefaultargs") NbSegments; %feature("autodoc", "Returns the number of part of a solution of the of intersection problem. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- int ") NbSegments; - static Standard_Integer NbSegments(const opencascade::handle & C); + static Standard_Integer NbSegments(const opencascade::handle & C); /****************** Parameter ******************/ - /**** md5 signature: 4bd4573724cb995d25117b32c6301dbf ****/ + /**** md5 signature: f5a937c546746bb35bafec928fdc442d ****/ %feature("compactdefaultargs") Parameter; %feature("autodoc", "Returns the parameter of the vertex v on the arc a. Parameters ---------- V: Adaptor3d_HVertex -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- float ") Parameter; - static Standard_Real Parameter(const opencascade::handle & V, const opencascade::handle & C); + static Standard_Real Parameter(const opencascade::handle & V, const opencascade::handle & C); /****************** Project ******************/ - /**** md5 signature: c906bf41c5c252a3dc2813aa763bf1d4 ****/ + /**** md5 signature: b602a334ba1cfcdefae0bd304b479ee8 ****/ %feature("compactdefaultargs") Project; %feature("autodoc", "Projects the point p on the arc c. if the methods returns standard_true, the projection is successful, and paramproj is the parameter on the arc of the projected point, ptproj is the projected point. if the method returns standard_false, param proj and ptproj are not significant. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d P: gp_Pnt2d Ptproj: gp_Pnt2d @@ -1158,16 +1159,16 @@ Returns ------- Paramproj: float ") Project; - static Standard_Boolean Project(const opencascade::handle & C, const gp_Pnt2d & P, Standard_Real &OutValue, gp_Pnt2d & Ptproj); + static Standard_Boolean Project(const opencascade::handle & C, const gp_Pnt2d & P, Standard_Real &OutValue, gp_Pnt2d & Ptproj); /****************** SamplePoint ******************/ - /**** md5 signature: a955c19e2de48e3afe1a124d596ec476 ****/ + /**** md5 signature: da2e08ebb1b31e85cabbb780a9cea7b5 ****/ %feature("compactdefaultargs") SamplePoint; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Index: int Returns @@ -1175,32 +1176,32 @@ Returns U: float V: float ") SamplePoint; - static void SamplePoint(const opencascade::handle & S, const Standard_Integer Index, Standard_Real &OutValue, Standard_Real &OutValue); + static void SamplePoint(const opencascade::handle & S, const Standard_Integer Index, Standard_Real &OutValue, Standard_Real &OutValue); /****************** Tolerance ******************/ - /**** md5 signature: 3a8783bb4f0487b28d64a7cbca026b23 ****/ + /**** md5 signature: 35f5531e9c358e20c7f5723f26e0a7ba ****/ %feature("compactdefaultargs") Tolerance; %feature("autodoc", "Returns the parametric tolerance used to consider that the vertex and another point meet, i-e if abs(parameter(vertex) - parameter(otherpnt))<= tolerance, the points are 'merged'. Parameters ---------- V: Adaptor3d_HVertex -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- float ") Tolerance; - static Standard_Real Tolerance(const opencascade::handle & V, const opencascade::handle & C); + static Standard_Real Tolerance(const opencascade::handle & V, const opencascade::handle & C); /****************** Value ******************/ - /**** md5 signature: 18b3b6d81fbdc955a12ee74b07f30c25 ****/ + /**** md5 signature: ba54f1e0e4e6802571668cb2c0638480 ****/ %feature("compactdefaultargs") Value; %feature("autodoc", "Returns the value (pt), the tolerance (tol), and the parameter (u) on the arc a , of the intersection point of range index. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Index: int Pt: gp_Pnt @@ -1209,16 +1210,16 @@ Returns Tol: float U: float ") Value; - static void Value(const opencascade::handle & C, const Standard_Integer Index, gp_Pnt & Pt, Standard_Real &OutValue, Standard_Real &OutValue); + static void Value(const opencascade::handle & C, const Standard_Integer Index, gp_Pnt & Pt, Standard_Real &OutValue, Standard_Real &OutValue); /****************** Vertex ******************/ - /**** md5 signature: 6f27b126d27d77cd929cf0d82a6331b7 ****/ + /**** md5 signature: f58ee2175cbc1af1161d7220a9c11ff1 ****/ %feature("compactdefaultargs") Vertex; %feature("autodoc", "When isvertex returns true, this method returns the vertex on the arc a. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Index: int V: Adaptor3d_HVertex @@ -1226,7 +1227,7 @@ Returns ------- None ") Vertex; - static void Vertex(const opencascade::handle & C, const Standard_Integer Index, opencascade::handle & V); + static void Vertex(const opencascade::handle & C, const Standard_Integer Index, opencascade::handle & V); }; @@ -1243,73 +1244,73 @@ None class Contap_HCurve2dTool { public: /****************** BSpline ******************/ - /**** md5 signature: 51c6af526482fdefe22b195f9e7f642b ****/ + /**** md5 signature: 1151b84776305bc0a5c8aaee6f50252d ****/ %feature("compactdefaultargs") BSpline; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- opencascade::handle ") BSpline; - static opencascade::handle BSpline(const opencascade::handle & C); + static opencascade::handle BSpline(const opencascade::handle & C); /****************** Bezier ******************/ - /**** md5 signature: f3f25a1b425466642d5538101f636952 ****/ + /**** md5 signature: 55afc4c0fc79e07de6077214558af461 ****/ %feature("compactdefaultargs") Bezier; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- opencascade::handle ") Bezier; - static opencascade::handle Bezier(const opencascade::handle & C); + static opencascade::handle Bezier(const opencascade::handle & C); /****************** Circle ******************/ - /**** md5 signature: 25cca94b6abda39a58f3572d7e1269e1 ****/ + /**** md5 signature: 3e4b216e090c5747e712418f4fa66d2c ****/ %feature("compactdefaultargs") Circle; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- gp_Circ2d ") Circle; - static gp_Circ2d Circle(const opencascade::handle & C); + static gp_Circ2d Circle(const opencascade::handle & C); /****************** Continuity ******************/ - /**** md5 signature: c3f4e05ac1409417c3a49b2ba86768c1 ****/ + /**** md5 signature: 93cd5f75c1ce867aba7a7f12421275f0 ****/ %feature("compactdefaultargs") Continuity; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- GeomAbs_Shape ") Continuity; - static GeomAbs_Shape Continuity(const opencascade::handle & C); + static GeomAbs_Shape Continuity(const opencascade::handle & C); /****************** D0 ******************/ - /**** md5 signature: 46487cddba3993af60eac47b2d9fb4ec ****/ + /**** md5 signature: 54c6bd0c456279db2610c0ff0808eb84 ****/ %feature("compactdefaultargs") D0; %feature("autodoc", "Computes the point of parameter u on the curve. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d U: float P: gp_Pnt2d @@ -1317,16 +1318,16 @@ Returns ------- None ") D0; - static void D0(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P); + static void D0(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P); /****************** D1 ******************/ - /**** md5 signature: 47f0ee388b0110afd0acc19f4f31143b ****/ + /**** md5 signature: 918bee38d3c31b02180315ab8bd4beb7 ****/ %feature("compactdefaultargs") D1; %feature("autodoc", "Computes the point of parameter u on the curve with its first derivative. raised if the continuity of the current interval is not c1. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d U: float P: gp_Pnt2d V: gp_Vec2d @@ -1335,16 +1336,16 @@ Returns ------- None ") D1; - static void D1(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V); + static void D1(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V); /****************** D2 ******************/ - /**** md5 signature: 67bd4dfba43285ed3ba3fa4db342511d ****/ + /**** md5 signature: d9e326efa98865a213fce49a3626a678 ****/ %feature("compactdefaultargs") D2; %feature("autodoc", "Returns the point p of parameter u, the first and second derivatives v1 and v2. raised if the continuity of the current interval is not c2. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d U: float P: gp_Pnt2d V1: gp_Vec2d @@ -1354,16 +1355,16 @@ Returns ------- None ") D2; - static void D2(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2); + static void D2(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2); /****************** D3 ******************/ - /**** md5 signature: a12143246ff3c675c374e091b8bb4126 ****/ + /**** md5 signature: 4951d7379750f8dbc9e426361fa2b365 ****/ %feature("compactdefaultargs") D3; %feature("autodoc", "Returns the point p of parameter u, the first, the second and the third derivative. raised if the continuity of the current interval is not c3. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d U: float P: gp_Pnt2d V1: gp_Vec2d @@ -1374,16 +1375,16 @@ Returns ------- None ") D3; - static void D3(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2, gp_Vec2d & V3); + static void D3(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2, gp_Vec2d & V3); /****************** DN ******************/ - /**** md5 signature: b51d40fcc387fcff2c771e816a837a26 ****/ + /**** md5 signature: edb6f0f7cc5bdd7864a248db788f4d84 ****/ %feature("compactdefaultargs") DN; %feature("autodoc", "The returned vector gives the value of the derivative for the order of derivation n. raised if the continuity of the current interval is not cn. raised if n < 1. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d U: float N: int @@ -1391,76 +1392,76 @@ Returns ------- gp_Vec2d ") DN; - static gp_Vec2d DN(const opencascade::handle & C, const Standard_Real U, const Standard_Integer N); + static gp_Vec2d DN(const opencascade::handle & C, const Standard_Real U, const Standard_Integer N); /****************** Ellipse ******************/ - /**** md5 signature: f3a29109984a1143a6cb5514fa451f90 ****/ + /**** md5 signature: 9ddecf68838c4598b17a43e7ee186e6e ****/ %feature("compactdefaultargs") Ellipse; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- gp_Elips2d ") Ellipse; - static gp_Elips2d Ellipse(const opencascade::handle & C); + static gp_Elips2d Ellipse(const opencascade::handle & C); /****************** FirstParameter ******************/ - /**** md5 signature: eaf98bddee98d43872dfec9b2cd68150 ****/ + /**** md5 signature: a4d9a6241f0c3cafc57f60a68d9c9127 ****/ %feature("compactdefaultargs") FirstParameter; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- float ") FirstParameter; - static Standard_Real FirstParameter(const opencascade::handle & C); + static Standard_Real FirstParameter(const opencascade::handle & C); /****************** GetType ******************/ - /**** md5 signature: ec77b3306d37c7299568c0a36686922d ****/ + /**** md5 signature: 29ec5067d7e913f214c553444ec99b6a ****/ %feature("compactdefaultargs") GetType; %feature("autodoc", "Returns the type of the curve in the current interval : line, circle, ellipse, hyperbola, parabola, beziercurve, bsplinecurve, othercurve. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- GeomAbs_CurveType ") GetType; - static GeomAbs_CurveType GetType(const opencascade::handle & C); + static GeomAbs_CurveType GetType(const opencascade::handle & C); /****************** Hyperbola ******************/ - /**** md5 signature: 164051c7a5f0ff11dadb1050a2b5196c ****/ + /**** md5 signature: d710d90c07a9bd6c6e8e1ba3fc1c92bf ****/ %feature("compactdefaultargs") Hyperbola; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- gp_Hypr2d ") Hyperbola; - static gp_Hypr2d Hyperbola(const opencascade::handle & C); + static gp_Hypr2d Hyperbola(const opencascade::handle & C); /****************** Intervals ******************/ - /**** md5 signature: 3b05031b8de1688bfd3ab21d174798f0 ****/ + /**** md5 signature: 7f25b6c48f712ccc9ec416d83eb97ef8 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d T: TColStd_Array1OfReal S: GeomAbs_Shape @@ -1468,92 +1469,92 @@ Returns ------- None ") Intervals; - static void Intervals(const opencascade::handle & C, TColStd_Array1OfReal & T, const GeomAbs_Shape S); + static void Intervals(const opencascade::handle & C, TColStd_Array1OfReal & T, const GeomAbs_Shape S); /****************** IsClosed ******************/ - /**** md5 signature: 0e22a421e5652f2d44cc8cf1dd94b7c3 ****/ + /**** md5 signature: e2e4c5d0ae21ac59c815ef761d7e7eb0 ****/ %feature("compactdefaultargs") IsClosed; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- bool ") IsClosed; - static Standard_Boolean IsClosed(const opencascade::handle & C); + static Standard_Boolean IsClosed(const opencascade::handle & C); /****************** IsPeriodic ******************/ - /**** md5 signature: 4aba8b2dd73d6a9faa95857fea2fa1c8 ****/ + /**** md5 signature: 343c2522f84a0271d505fb5a7b6123ee ****/ %feature("compactdefaultargs") IsPeriodic; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- bool ") IsPeriodic; - static Standard_Boolean IsPeriodic(const opencascade::handle & C); + static Standard_Boolean IsPeriodic(const opencascade::handle & C); /****************** LastParameter ******************/ - /**** md5 signature: c7ee808a0daf7f6c32882e5c11459a8d ****/ + /**** md5 signature: a84c73d5efee27b935b3bc64eba5e8ab ****/ %feature("compactdefaultargs") LastParameter; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- float ") LastParameter; - static Standard_Real LastParameter(const opencascade::handle & C); + static Standard_Real LastParameter(const opencascade::handle & C); /****************** Line ******************/ - /**** md5 signature: 5add7292d5bf7b9e27a7ab736f1e7435 ****/ + /**** md5 signature: cc50bf5bbcfff1340d1951ad804f481d ****/ %feature("compactdefaultargs") Line; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- gp_Lin2d ") Line; - static gp_Lin2d Line(const opencascade::handle & C); + static gp_Lin2d Line(const opencascade::handle & C); /****************** NbIntervals ******************/ - /**** md5 signature: 042b8a87b181044ce642f6e33059fda9 ****/ + /**** md5 signature: 296d2d406ae6365ab4187665e47f6beb ****/ %feature("compactdefaultargs") NbIntervals; %feature("autodoc", "Returns the number of intervals for continuity . may be one if continuity(myclass) >= . Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d S: GeomAbs_Shape Returns ------- int ") NbIntervals; - static Standard_Integer NbIntervals(const opencascade::handle & C, const GeomAbs_Shape S); + static Standard_Integer NbIntervals(const opencascade::handle & C, const GeomAbs_Shape S); /****************** NbSamples ******************/ - /**** md5 signature: 9c572bc378ed84a8420fac29109ee0cc ****/ + /**** md5 signature: 4846c46ec026f7e5cf2080eb1601445a ****/ %feature("compactdefaultargs") NbSamples; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d U0: float U1: float @@ -1561,69 +1562,69 @@ Returns ------- int ") NbSamples; - static Standard_Integer NbSamples(const opencascade::handle & C, const Standard_Real U0, const Standard_Real U1); + static Standard_Integer NbSamples(const opencascade::handle & C, const Standard_Real U0, const Standard_Real U1); /****************** Parabola ******************/ - /**** md5 signature: aa68878e794db72dae1959cec7bf2f61 ****/ + /**** md5 signature: 638d7ecde6dd9f67180eadf45347f22e ****/ %feature("compactdefaultargs") Parabola; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- gp_Parab2d ") Parabola; - static gp_Parab2d Parabola(const opencascade::handle & C); + static gp_Parab2d Parabola(const opencascade::handle & C); /****************** Period ******************/ - /**** md5 signature: 7aa66d879cd9e56bcd3f2e6f17863699 ****/ + /**** md5 signature: 2a78d8fc20cccabaa0fb7d52397ae7ba ****/ %feature("compactdefaultargs") Period; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- float ") Period; - static Standard_Real Period(const opencascade::handle & C); + static Standard_Real Period(const opencascade::handle & C); /****************** Resolution ******************/ - /**** md5 signature: 76c8a3dbf7f89f06f48d44960220ce20 ****/ + /**** md5 signature: 1567f92dacdcdb24e1f4d21710c525e2 ****/ %feature("compactdefaultargs") Resolution; %feature("autodoc", "Returns the parametric resolution corresponding to the real space resolution . Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d R3d: float Returns ------- float ") Resolution; - static Standard_Real Resolution(const opencascade::handle & C, const Standard_Real R3d); + static Standard_Real Resolution(const opencascade::handle & C, const Standard_Real R3d); /****************** Value ******************/ - /**** md5 signature: ca7870ae23348f83eb576a5911436760 ****/ + /**** md5 signature: f88e121e984f9cbec46065eb86a1e379 ****/ %feature("compactdefaultargs") Value; %feature("autodoc", "Computes the point of parameter u on the curve. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d U: float Returns ------- gp_Pnt2d ") Value; - static gp_Pnt2d Value(const opencascade::handle & C, const Standard_Real U); + static gp_Pnt2d Value(const opencascade::handle & C, const Standard_Real U); }; @@ -1681,15 +1682,15 @@ None void Add(const Contap_Point & P); /****************** Arc ******************/ - /**** md5 signature: b2e2a2b000ebbda9cef9186aeead5385 ****/ + /**** md5 signature: de8e47510fc50811ee5a3e0bc98029e6 ****/ %feature("compactdefaultargs") Arc; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") Arc; - const opencascade::handle & Arc(); + const opencascade::handle & Arc(); /****************** Circle ******************/ /**** md5 signature: cab8b08988d177bd7107adbbccc4ef89 ****/ @@ -1844,19 +1845,19 @@ None void SetValue(const gp_Circ & C); /****************** SetValue ******************/ - /**** md5 signature: 54e9174a5a70b6567ab6ab5b478e8d12 ****/ + /**** md5 signature: 53ce9238106071febf6db57a0ff8a99c ****/ %feature("compactdefaultargs") SetValue; %feature("autodoc", "No available documentation. Parameters ---------- -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Returns ------- None ") SetValue; - void SetValue(const opencascade::handle & A); + void SetValue(const opencascade::handle & A); /****************** TransitionOnS ******************/ /**** md5 signature: ac2f27afdd16ab93ea1f959cb2bf6e33 ****/ @@ -1938,15 +1939,15 @@ None Contap_Point(const gp_Pnt & Pt, const Standard_Real U, const Standard_Real V); /****************** Arc ******************/ - /**** md5 signature: b2e2a2b000ebbda9cef9186aeead5385 ****/ + /**** md5 signature: de8e47510fc50811ee5a3e0bc98029e6 ****/ %feature("compactdefaultargs") Arc; %feature("autodoc", "Returns the arc of restriction containing the vertex. Returns ------- -opencascade::handle +opencascade::handle ") Arc; - const opencascade::handle & Arc(); + const opencascade::handle & Arc(); /****************** IsInternal ******************/ /**** md5 signature: d02f8c187f927a9ba16cc17de3466e18 ****/ @@ -2030,13 +2031,13 @@ V1: float void Parameters(Standard_Real &OutValue, Standard_Real &OutValue); /****************** SetArc ******************/ - /**** md5 signature: ef419e28df8105759150b9a6c4afee00 ****/ + /**** md5 signature: ceabf78102f113c25de4b4f678682f05 ****/ %feature("compactdefaultargs") SetArc; %feature("autodoc", "Sets the value of the arc and of the parameter on this arc of the point. Parameters ---------- -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Param: float TLine: IntSurf_Transition TArc: IntSurf_Transition @@ -2045,7 +2046,7 @@ Returns ------- None ") SetArc; - void SetArc(const opencascade::handle & A, const Standard_Real Param, const IntSurf_Transition & TLine, const IntSurf_Transition & TArc); + void SetArc(const opencascade::handle & A, const Standard_Real Param, const IntSurf_Transition & TLine, const IntSurf_Transition & TArc); /****************** SetInternal ******************/ /**** md5 signature: f29227e746cced65920ee7fe48924495 ****/ @@ -2301,15 +2302,15 @@ int Standard_Integer NbVariables(); /****************** PSurface ******************/ - /**** md5 signature: 00164b0a6d38c86b9c6a224245b50df3 ****/ + /**** md5 signature: e04a186cf5fc0c76577d479297dac08c ****/ %feature("compactdefaultargs") PSurface; %feature("autodoc", "Method is entered for compatibility with intpatch_thesurffunction. Returns ------- -opencascade::handle +opencascade::handle ") PSurface; - const opencascade::handle & PSurface(); + const opencascade::handle & PSurface(); /****************** Point ******************/ /**** md5 signature: 177e376cc11d1fedb2819bac56591ea8 ****/ @@ -2334,19 +2335,19 @@ float Standard_Real Root(); /****************** Set ******************/ - /**** md5 signature: c9230f42bb12d45a693a7ae3204732ab ****/ + /**** md5 signature: fe1f4e54b6d838c88f545f7975616591 ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- None ") Set; - void Set(const opencascade::handle & S); + void Set(const opencascade::handle & S); /****************** Set ******************/ /**** md5 signature: 82e61fcbcd023e361c983ac9b10b051a ****/ @@ -2426,15 +2427,15 @@ None void Set(const Standard_Real Tolerance); /****************** Surface ******************/ - /**** md5 signature: 81999f08eca68bee259ba395fdac1a30 ****/ + /**** md5 signature: d36dc8d293d03901e5a1cace2e167115 ****/ %feature("compactdefaultargs") Surface; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") Surface; - const opencascade::handle & Surface(); + const opencascade::handle & Surface(); /****************** Tolerance ******************/ /**** md5 signature: 9e5775014410d884d1a1adc1cd47930b ****/ @@ -2495,13 +2496,13 @@ bool class Contap_SurfProps { public: /****************** DerivAndNorm ******************/ - /**** md5 signature: ce7945825ad002666cb45d5aac41cfae ****/ + /**** md5 signature: 494f3cc4dc053a12120899c5b844eaeb ****/ %feature("compactdefaultargs") DerivAndNorm; %feature("autodoc", "Computes the point

, and normal vector on at parameters u,v. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface U: float V: float P: gp_Pnt @@ -2513,16 +2514,16 @@ Returns ------- None ") DerivAndNorm; - static void DerivAndNorm(const opencascade::handle & S, const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & d1u, gp_Vec & d1v, gp_Vec & N); + static void DerivAndNorm(const opencascade::handle & S, const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & d1u, gp_Vec & d1v, gp_Vec & N); /****************** NormAndDn ******************/ - /**** md5 signature: 6f4c431b6958c44491dc2251db446c2a ****/ + /**** md5 signature: 7ef18f7af52a8716166a07f9a349d010 ****/ %feature("compactdefaultargs") NormAndDn; %feature("autodoc", "Computes the point

, normal vector , and its derivatives and on at parameters u,v. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface U: float V: float P: gp_Pnt @@ -2534,16 +2535,16 @@ Returns ------- None ") NormAndDn; - static void NormAndDn(const opencascade::handle & S, const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & N, gp_Vec & Dnu, gp_Vec & Dnv); + static void NormAndDn(const opencascade::handle & S, const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & N, gp_Vec & Dnu, gp_Vec & Dnv); /****************** Normale ******************/ - /**** md5 signature: 6395da9af750ad2ef9f9ce0623577f57 ****/ + /**** md5 signature: b3f97a0775cb34601ed9b104b4252c02 ****/ %feature("compactdefaultargs") Normale; %feature("autodoc", "Computes the point

, and normal vector on at parameters u,v. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface U: float V: float P: gp_Pnt @@ -2553,7 +2554,7 @@ Returns ------- None ") Normale; - static void Normale(const opencascade::handle & S, const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & N); + static void Normale(const opencascade::handle & S, const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & N); }; @@ -3016,7 +3017,7 @@ int Standard_Integer NbSinglePnts(); /****************** Perform ******************/ - /**** md5 signature: c661e9774be7f18d3e07e7032c13432f ****/ + /**** md5 signature: 6ee1d46056a60420bd507e5e36581550 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Searches a set of polylines starting on a point of pnts1 or pnts2. each point on a resulting polyline verifies f(u,v)=0. @@ -3025,7 +3026,7 @@ Parameters Pnts1: IntSurf_SequenceOfPathPoint Pnts2: IntSurf_SequenceOfInteriorPoint Func: Contap_SurfFunction -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Reversed: bool,optional default value is Standard_False @@ -3033,10 +3034,10 @@ Returns ------- None ") Perform; - void Perform(const IntSurf_SequenceOfPathPoint & Pnts1, const IntSurf_SequenceOfInteriorPoint & Pnts2, Contap_SurfFunction & Func, const opencascade::handle & S, const Standard_Boolean Reversed = Standard_False); + void Perform(const IntSurf_SequenceOfPathPoint & Pnts1, const IntSurf_SequenceOfInteriorPoint & Pnts2, Contap_SurfFunction & Func, const opencascade::handle & S, const Standard_Boolean Reversed = Standard_False); /****************** Perform ******************/ - /**** md5 signature: c8a7e4f6eaf4e50e46b4512dea0bd82b ****/ + /**** md5 signature: 93b19c25eeba3691dea16acebbbf8ef7 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Searches a set of polylines starting on a point of pnts1. each point on a resulting polyline verifies f(u,v)=0. @@ -3044,7 +3045,7 @@ Parameters ---------- Pnts1: IntSurf_SequenceOfPathPoint Func: Contap_SurfFunction -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Reversed: bool,optional default value is Standard_False @@ -3052,7 +3053,7 @@ Returns ------- None ") Perform; - void Perform(const IntSurf_SequenceOfPathPoint & Pnts1, Contap_SurfFunction & Func, const opencascade::handle & S, const Standard_Boolean Reversed = Standard_False); + void Perform(const IntSurf_SequenceOfPathPoint & Pnts1, Contap_SurfFunction & Func, const opencascade::handle & S, const Standard_Boolean Reversed = Standard_False); /****************** SetTolerance ******************/ /**** md5 signature: 081b0efb39976d786ea1e8e9992511b4 ****/ @@ -3127,7 +3128,7 @@ None Contap_ThePathPointOfTheSearch(); /****************** Contap_ThePathPointOfTheSearch ******************/ - /**** md5 signature: eb66ab7a9aabe8796e43a265904c2220 ****/ + /**** md5 signature: 84947d4a9220cf3839150816fa8ebebf ****/ %feature("compactdefaultargs") Contap_ThePathPointOfTheSearch; %feature("autodoc", "No available documentation. @@ -3136,17 +3137,17 @@ Parameters P: gp_Pnt Tol: float V: Adaptor3d_HVertex -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Parameter: float Returns ------- None ") Contap_ThePathPointOfTheSearch; - Contap_ThePathPointOfTheSearch(const gp_Pnt & P, const Standard_Real Tol, const opencascade::handle & V, const opencascade::handle & A, const Standard_Real Parameter); + Contap_ThePathPointOfTheSearch(const gp_Pnt & P, const Standard_Real Tol, const opencascade::handle & V, const opencascade::handle & A, const Standard_Real Parameter); /****************** Contap_ThePathPointOfTheSearch ******************/ - /**** md5 signature: d5fbd3229296232afbce87b9fb0f46b0 ****/ + /**** md5 signature: 131c6fd3d17dfa54a07c3c9a5ab67447 ****/ %feature("compactdefaultargs") Contap_ThePathPointOfTheSearch; %feature("autodoc", "No available documentation. @@ -3154,25 +3155,25 @@ Parameters ---------- P: gp_Pnt Tol: float -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Parameter: float Returns ------- None ") Contap_ThePathPointOfTheSearch; - Contap_ThePathPointOfTheSearch(const gp_Pnt & P, const Standard_Real Tol, const opencascade::handle & A, const Standard_Real Parameter); + Contap_ThePathPointOfTheSearch(const gp_Pnt & P, const Standard_Real Tol, const opencascade::handle & A, const Standard_Real Parameter); /****************** Arc ******************/ - /**** md5 signature: b2e2a2b000ebbda9cef9186aeead5385 ****/ + /**** md5 signature: de8e47510fc50811ee5a3e0bc98029e6 ****/ %feature("compactdefaultargs") Arc; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") Arc; - const opencascade::handle & Arc(); + const opencascade::handle & Arc(); /****************** IsNew ******************/ /**** md5 signature: 3a3a8bc6ebd2fc2c25f224ff9e99af70 ****/ @@ -3197,7 +3198,7 @@ float Standard_Real Parameter(); /****************** SetValue ******************/ - /**** md5 signature: afb7aa5124d314f5c392641b53c1d492 ****/ + /**** md5 signature: 03dce41028774d848e3e96d2ef0ca499 ****/ %feature("compactdefaultargs") SetValue; %feature("autodoc", "No available documentation. @@ -3206,17 +3207,17 @@ Parameters P: gp_Pnt Tol: float V: Adaptor3d_HVertex -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Parameter: float Returns ------- None ") SetValue; - void SetValue(const gp_Pnt & P, const Standard_Real Tol, const opencascade::handle & V, const opencascade::handle & A, const Standard_Real Parameter); + void SetValue(const gp_Pnt & P, const Standard_Real Tol, const opencascade::handle & V, const opencascade::handle & A, const Standard_Real Parameter); /****************** SetValue ******************/ - /**** md5 signature: 703f4ebe5bc0f77377a3392165fd60e0 ****/ + /**** md5 signature: a4bb4cd1b8bb6bbe4fb31de340a9931c ****/ %feature("compactdefaultargs") SetValue; %feature("autodoc", "No available documentation. @@ -3224,14 +3225,14 @@ Parameters ---------- P: gp_Pnt Tol: float -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Parameter: float Returns ------- None ") SetValue; - void SetValue(const gp_Pnt & P, const Standard_Real Tol, const opencascade::handle & A, const Standard_Real Parameter); + void SetValue(const gp_Pnt & P, const Standard_Real Tol, const opencascade::handle & A, const Standard_Real Parameter); /****************** Tolerance ******************/ /**** md5 signature: 9e5775014410d884d1a1adc1cd47930b ****/ @@ -3411,14 +3412,14 @@ None Contap_TheSearchInside(); /****************** Contap_TheSearchInside ******************/ - /**** md5 signature: f62620b87119dfd0f74b77ea1d2a87a4 ****/ + /**** md5 signature: be026f64fb11d6b5faa1920177122e51 ****/ %feature("compactdefaultargs") Contap_TheSearchInside; %feature("autodoc", "No available documentation. Parameters ---------- F: Contap_SurfFunction -Surf: Adaptor3d_HSurface +Surf: Adaptor3d_Surface T: Adaptor3d_TopolTool Epsilon: float @@ -3426,7 +3427,7 @@ Returns ------- None ") Contap_TheSearchInside; - Contap_TheSearchInside(Contap_SurfFunction & F, const opencascade::handle & Surf, const opencascade::handle & T, const Standard_Real Epsilon); + Contap_TheSearchInside(Contap_SurfFunction & F, const opencascade::handle & Surf, const opencascade::handle & T, const Standard_Real Epsilon); /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ @@ -3451,14 +3452,14 @@ int Standard_Integer NbPoints(); /****************** Perform ******************/ - /**** md5 signature: 4e74f474e1680e44dda63caeaff12a97 ****/ + /**** md5 signature: e2775fe4590ca17de96cf8a00b01ec25 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "No available documentation. Parameters ---------- F: Contap_SurfFunction -Surf: Adaptor3d_HSurface +Surf: Adaptor3d_Surface T: Adaptor3d_TopolTool Epsilon: float @@ -3466,17 +3467,17 @@ Returns ------- None ") Perform; - void Perform(Contap_SurfFunction & F, const opencascade::handle & Surf, const opencascade::handle & T, const Standard_Real Epsilon); + void Perform(Contap_SurfFunction & F, const opencascade::handle & Surf, const opencascade::handle & T, const Standard_Real Epsilon); /****************** Perform ******************/ - /**** md5 signature: a7999858c7502854d15de680c166ebf7 ****/ + /**** md5 signature: 50494323939fb97c348431e61a02fda6 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "No available documentation. Parameters ---------- F: Contap_SurfFunction -Surf: Adaptor3d_HSurface +Surf: Adaptor3d_Surface UStart: float VStart: float @@ -3484,7 +3485,7 @@ Returns ------- None ") Perform; - void Perform(Contap_SurfFunction & F, const opencascade::handle & Surf, const Standard_Real UStart, const Standard_Real VStart); + void Perform(Contap_SurfFunction & F, const opencascade::handle & Surf, const Standard_Real UStart, const Standard_Real VStart); /****************** Value ******************/ /**** md5 signature: 32b603bd5d3112334230c3e7fbb789a7 ****/ @@ -3527,15 +3528,15 @@ None Contap_TheSegmentOfTheSearch(); /****************** Curve ******************/ - /**** md5 signature: f5519de5cf0d739f28ebd5b0ec724522 ****/ + /**** md5 signature: 7869036a594a0e406162d60b4f92dc85 ****/ %feature("compactdefaultargs") Curve; %feature("autodoc", "Returns the geometric curve on the surface 's domain which is solution. Returns ------- -opencascade::handle +opencascade::handle ") Curve; - const opencascade::handle & Curve(); + const opencascade::handle & Curve(); /****************** FirstPoint ******************/ /**** md5 signature: e40c5283a03725d6ebc8922755a1d1ca ****/ @@ -3598,19 +3599,19 @@ None void SetLimitPoint(const Contap_ThePathPointOfTheSearch & V, const Standard_Boolean First); /****************** SetValue ******************/ - /**** md5 signature: 54e9174a5a70b6567ab6ab5b478e8d12 ****/ + /**** md5 signature: 53ce9238106071febf6db57a0ff8a99c ****/ %feature("compactdefaultargs") SetValue; %feature("autodoc", "Defines the concerned arc. Parameters ---------- -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Returns ------- None ") SetValue; - void SetValue(const opencascade::handle & A); + void SetValue(const opencascade::handle & A); }; diff --git a/src/SWIG_files/wrapper/Contap.pyi b/src/SWIG_files/wrapper/Contap.pyi index 72308a546..6486fee60 100644 --- a/src/SWIG_files/wrapper/Contap.pyi +++ b/src/SWIG_files/wrapper/Contap.pyi @@ -118,7 +118,7 @@ class Contap_ArcFunction(math_FunctionWithDerivative): def NbSamples(self) -> int: ... def Quadric(self) -> IntSurf_Quadric: ... @overload - def Set(self, S: Adaptor3d_HSurface) -> None: ... + def Set(self, S: Adaptor3d_Surface) -> None: ... @overload def Set(self, Direction: gp_Dir) -> None: ... @overload @@ -128,8 +128,8 @@ class Contap_ArcFunction(math_FunctionWithDerivative): @overload def Set(self, Eye: gp_Pnt, Angle: float) -> None: ... @overload - def Set(self, A: Adaptor2d_HCurve2d) -> None: ... - def Surface(self) -> Adaptor3d_HSurface: ... + def Set(self, A: Adaptor2d_Curve2d) -> None: ... + def Surface(self) -> Adaptor3d_Surface: ... def Valpoint(self, Index: int) -> gp_Pnt: ... def Value(self, X: float) -> Tuple[bool, float]: ... def Values(self, X: float) -> Tuple[bool, float, float]: ... @@ -170,11 +170,11 @@ class Contap_Contour: @overload def __init__(self, Eye: gp_Pnt) -> None: ... @overload - def __init__(self, Surf: Adaptor3d_HSurface, Domain: Adaptor3d_TopolTool, Direction: gp_Vec) -> None: ... + def __init__(self, Surf: Adaptor3d_Surface, Domain: Adaptor3d_TopolTool, Direction: gp_Vec) -> None: ... @overload - def __init__(self, Surf: Adaptor3d_HSurface, Domain: Adaptor3d_TopolTool, Direction: gp_Vec, Angle: float) -> None: ... + def __init__(self, Surf: Adaptor3d_Surface, Domain: Adaptor3d_TopolTool, Direction: gp_Vec, Angle: float) -> None: ... @overload - def __init__(self, Surf: Adaptor3d_HSurface, Domain: Adaptor3d_TopolTool, Eye: gp_Pnt) -> None: ... + def __init__(self, Surf: Adaptor3d_Surface, Domain: Adaptor3d_TopolTool, Eye: gp_Pnt) -> None: ... @overload def Init(self, Direction: gp_Vec) -> None: ... @overload @@ -186,102 +186,102 @@ class Contap_Contour: def Line(self, Index: int) -> Contap_Line: ... def NbLines(self) -> int: ... @overload - def Perform(self, Surf: Adaptor3d_HSurface, Domain: Adaptor3d_TopolTool) -> None: ... + def Perform(self, Surf: Adaptor3d_Surface, Domain: Adaptor3d_TopolTool) -> None: ... @overload - def Perform(self, Surf: Adaptor3d_HSurface, Domain: Adaptor3d_TopolTool, Direction: gp_Vec) -> None: ... + def Perform(self, Surf: Adaptor3d_Surface, Domain: Adaptor3d_TopolTool, Direction: gp_Vec) -> None: ... @overload - def Perform(self, Surf: Adaptor3d_HSurface, Domain: Adaptor3d_TopolTool, Direction: gp_Vec, Angle: float) -> None: ... + def Perform(self, Surf: Adaptor3d_Surface, Domain: Adaptor3d_TopolTool, Direction: gp_Vec, Angle: float) -> None: ... @overload - def Perform(self, Surf: Adaptor3d_HSurface, Domain: Adaptor3d_TopolTool, Eye: gp_Pnt) -> None: ... + def Perform(self, Surf: Adaptor3d_Surface, Domain: Adaptor3d_TopolTool, Eye: gp_Pnt) -> None: ... def SurfaceFunction(self) -> Contap_SurfFunction: ... class Contap_HContTool: @staticmethod - def Bounds(C: Adaptor2d_HCurve2d) -> Tuple[float, float]: ... + def Bounds(C: Adaptor2d_Curve2d) -> Tuple[float, float]: ... @staticmethod - def HasBeenSeen(C: Adaptor2d_HCurve2d) -> bool: ... + def HasBeenSeen(C: Adaptor2d_Curve2d) -> bool: ... @staticmethod - def HasFirstPoint(C: Adaptor2d_HCurve2d, Index: int) -> Tuple[bool, int]: ... + def HasFirstPoint(C: Adaptor2d_Curve2d, Index: int) -> Tuple[bool, int]: ... @staticmethod - def HasLastPoint(C: Adaptor2d_HCurve2d, Index: int) -> Tuple[bool, int]: ... + def HasLastPoint(C: Adaptor2d_Curve2d, Index: int) -> Tuple[bool, int]: ... @staticmethod - def IsAllSolution(C: Adaptor2d_HCurve2d) -> bool: ... + def IsAllSolution(C: Adaptor2d_Curve2d) -> bool: ... @staticmethod - def IsVertex(C: Adaptor2d_HCurve2d, Index: int) -> bool: ... + def IsVertex(C: Adaptor2d_Curve2d, Index: int) -> bool: ... @staticmethod - def NbPoints(C: Adaptor2d_HCurve2d) -> int: ... + def NbPoints(C: Adaptor2d_Curve2d) -> int: ... @staticmethod - def NbSamplePoints(S: Adaptor3d_HSurface) -> int: ... + def NbSamplePoints(S: Adaptor3d_Surface) -> int: ... @staticmethod - def NbSamplesOnArc(A: Adaptor2d_HCurve2d) -> int: ... + def NbSamplesOnArc(A: Adaptor2d_Curve2d) -> int: ... @staticmethod - def NbSamplesU(S: Adaptor3d_HSurface, u1: float, u2: float) -> int: ... + def NbSamplesU(S: Adaptor3d_Surface, u1: float, u2: float) -> int: ... @staticmethod - def NbSamplesV(S: Adaptor3d_HSurface, v1: float, v2: float) -> int: ... + def NbSamplesV(S: Adaptor3d_Surface, v1: float, v2: float) -> int: ... @staticmethod - def NbSegments(C: Adaptor2d_HCurve2d) -> int: ... + def NbSegments(C: Adaptor2d_Curve2d) -> int: ... @staticmethod - def Parameter(V: Adaptor3d_HVertex, C: Adaptor2d_HCurve2d) -> float: ... + def Parameter(V: Adaptor3d_HVertex, C: Adaptor2d_Curve2d) -> float: ... @staticmethod - def Project(C: Adaptor2d_HCurve2d, P: gp_Pnt2d, Ptproj: gp_Pnt2d) -> Tuple[bool, float]: ... + def Project(C: Adaptor2d_Curve2d, P: gp_Pnt2d, Ptproj: gp_Pnt2d) -> Tuple[bool, float]: ... @staticmethod - def SamplePoint(S: Adaptor3d_HSurface, Index: int) -> Tuple[float, float]: ... + def SamplePoint(S: Adaptor3d_Surface, Index: int) -> Tuple[float, float]: ... @staticmethod - def Tolerance(V: Adaptor3d_HVertex, C: Adaptor2d_HCurve2d) -> float: ... + def Tolerance(V: Adaptor3d_HVertex, C: Adaptor2d_Curve2d) -> float: ... @staticmethod - def Value(C: Adaptor2d_HCurve2d, Index: int, Pt: gp_Pnt) -> Tuple[float, float]: ... + def Value(C: Adaptor2d_Curve2d, Index: int, Pt: gp_Pnt) -> Tuple[float, float]: ... @staticmethod - def Vertex(C: Adaptor2d_HCurve2d, Index: int, V: Adaptor3d_HVertex) -> None: ... + def Vertex(C: Adaptor2d_Curve2d, Index: int, V: Adaptor3d_HVertex) -> None: ... class Contap_HCurve2dTool: @staticmethod - def BSpline(C: Adaptor2d_HCurve2d) -> Geom2d_BSplineCurve: ... + def BSpline(C: Adaptor2d_Curve2d) -> Geom2d_BSplineCurve: ... @staticmethod - def Bezier(C: Adaptor2d_HCurve2d) -> Geom2d_BezierCurve: ... + def Bezier(C: Adaptor2d_Curve2d) -> Geom2d_BezierCurve: ... @staticmethod - def Circle(C: Adaptor2d_HCurve2d) -> gp_Circ2d: ... + def Circle(C: Adaptor2d_Curve2d) -> gp_Circ2d: ... @staticmethod - def Continuity(C: Adaptor2d_HCurve2d) -> GeomAbs_Shape: ... + def Continuity(C: Adaptor2d_Curve2d) -> GeomAbs_Shape: ... @staticmethod - def D0(C: Adaptor2d_HCurve2d, U: float, P: gp_Pnt2d) -> None: ... + def D0(C: Adaptor2d_Curve2d, U: float, P: gp_Pnt2d) -> None: ... @staticmethod - def D1(C: Adaptor2d_HCurve2d, U: float, P: gp_Pnt2d, V: gp_Vec2d) -> None: ... + def D1(C: Adaptor2d_Curve2d, U: float, P: gp_Pnt2d, V: gp_Vec2d) -> None: ... @staticmethod - def D2(C: Adaptor2d_HCurve2d, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d) -> None: ... + def D2(C: Adaptor2d_Curve2d, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d) -> None: ... @staticmethod - def D3(C: Adaptor2d_HCurve2d, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d) -> None: ... + def D3(C: Adaptor2d_Curve2d, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d) -> None: ... @staticmethod - def DN(C: Adaptor2d_HCurve2d, U: float, N: int) -> gp_Vec2d: ... + def DN(C: Adaptor2d_Curve2d, U: float, N: int) -> gp_Vec2d: ... @staticmethod - def Ellipse(C: Adaptor2d_HCurve2d) -> gp_Elips2d: ... + def Ellipse(C: Adaptor2d_Curve2d) -> gp_Elips2d: ... @staticmethod - def FirstParameter(C: Adaptor2d_HCurve2d) -> float: ... + def FirstParameter(C: Adaptor2d_Curve2d) -> float: ... @staticmethod - def GetType(C: Adaptor2d_HCurve2d) -> GeomAbs_CurveType: ... + def GetType(C: Adaptor2d_Curve2d) -> GeomAbs_CurveType: ... @staticmethod - def Hyperbola(C: Adaptor2d_HCurve2d) -> gp_Hypr2d: ... + def Hyperbola(C: Adaptor2d_Curve2d) -> gp_Hypr2d: ... @staticmethod - def Intervals(C: Adaptor2d_HCurve2d, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def Intervals(C: Adaptor2d_Curve2d, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... @staticmethod - def IsClosed(C: Adaptor2d_HCurve2d) -> bool: ... + def IsClosed(C: Adaptor2d_Curve2d) -> bool: ... @staticmethod - def IsPeriodic(C: Adaptor2d_HCurve2d) -> bool: ... + def IsPeriodic(C: Adaptor2d_Curve2d) -> bool: ... @staticmethod - def LastParameter(C: Adaptor2d_HCurve2d) -> float: ... + def LastParameter(C: Adaptor2d_Curve2d) -> float: ... @staticmethod - def Line(C: Adaptor2d_HCurve2d) -> gp_Lin2d: ... + def Line(C: Adaptor2d_Curve2d) -> gp_Lin2d: ... @staticmethod - def NbIntervals(C: Adaptor2d_HCurve2d, S: GeomAbs_Shape) -> int: ... + def NbIntervals(C: Adaptor2d_Curve2d, S: GeomAbs_Shape) -> int: ... @staticmethod - def NbSamples(C: Adaptor2d_HCurve2d, U0: float, U1: float) -> int: ... + def NbSamples(C: Adaptor2d_Curve2d, U0: float, U1: float) -> int: ... @staticmethod - def Parabola(C: Adaptor2d_HCurve2d) -> gp_Parab2d: ... + def Parabola(C: Adaptor2d_Curve2d) -> gp_Parab2d: ... @staticmethod - def Period(C: Adaptor2d_HCurve2d) -> float: ... + def Period(C: Adaptor2d_Curve2d) -> float: ... @staticmethod - def Resolution(C: Adaptor2d_HCurve2d, R3d: float) -> float: ... + def Resolution(C: Adaptor2d_Curve2d, R3d: float) -> float: ... @staticmethod - def Value(C: Adaptor2d_HCurve2d, U: float) -> gp_Pnt2d: ... + def Value(C: Adaptor2d_Curve2d, U: float) -> gp_Pnt2d: ... class Contap_Line: def __init__(self) -> None: ... @@ -289,7 +289,7 @@ class Contap_Line: def Add(self, P: IntSurf_PntOn2S) -> None: ... @overload def Add(self, P: Contap_Point) -> None: ... - def Arc(self) -> Adaptor2d_HCurve2d: ... + def Arc(self) -> Adaptor2d_Curve2d: ... def Circle(self) -> gp_Circ: ... def Clear(self) -> None: ... def Line(self) -> gp_Lin: ... @@ -305,7 +305,7 @@ class Contap_Line: @overload def SetValue(self, C: gp_Circ) -> None: ... @overload - def SetValue(self, A: Adaptor2d_HCurve2d) -> None: ... + def SetValue(self, A: Adaptor2d_Curve2d) -> None: ... def TransitionOnS(self) -> IntSurf_TypeTrans: ... def TypeContour(self) -> Contap_IType: ... def Vertex(self, Index: int) -> Contap_Point: ... @@ -315,7 +315,7 @@ class Contap_Point: def __init__(self) -> None: ... @overload def __init__(self, Pt: gp_Pnt, U: float, V: float) -> None: ... - def Arc(self) -> Adaptor2d_HCurve2d: ... + def Arc(self) -> Adaptor2d_Curve2d: ... def IsInternal(self) -> bool: ... def IsMultiple(self) -> bool: ... def IsOnArc(self) -> bool: ... @@ -323,7 +323,7 @@ class Contap_Point: def ParameterOnArc(self) -> float: ... def ParameterOnLine(self) -> float: ... def Parameters(self) -> Tuple[float, float]: ... - def SetArc(self, A: Adaptor2d_HCurve2d, Param: float, TLine: IntSurf_Transition, TArc: IntSurf_Transition) -> None: ... + def SetArc(self, A: Adaptor2d_Curve2d, Param: float, TLine: IntSurf_Transition, TArc: IntSurf_Transition) -> None: ... def SetInternal(self) -> None: ... def SetMultiple(self) -> None: ... def SetParameter(self, Para: float) -> None: ... @@ -346,11 +346,11 @@ class Contap_SurfFunction(math_FunctionSetWithDerivatives): def IsTangent(self) -> bool: ... def NbEquations(self) -> int: ... def NbVariables(self) -> int: ... - def PSurface(self) -> Adaptor3d_HSurface: ... + def PSurface(self) -> Adaptor3d_Surface: ... def Point(self) -> gp_Pnt: ... def Root(self) -> float: ... @overload - def Set(self, S: Adaptor3d_HSurface) -> None: ... + def Set(self, S: Adaptor3d_Surface) -> None: ... @overload def Set(self, Eye: gp_Pnt) -> None: ... @overload @@ -361,18 +361,18 @@ class Contap_SurfFunction(math_FunctionSetWithDerivatives): def Set(self, Eye: gp_Pnt, Angle: float) -> None: ... @overload def Set(self, Tolerance: float) -> None: ... - def Surface(self) -> Adaptor3d_HSurface: ... + def Surface(self) -> Adaptor3d_Surface: ... def Tolerance(self) -> float: ... def Value(self, X: math_Vector, F: math_Vector) -> bool: ... def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class Contap_SurfProps: @staticmethod - def DerivAndNorm(S: Adaptor3d_HSurface, U: float, V: float, P: gp_Pnt, d1u: gp_Vec, d1v: gp_Vec, N: gp_Vec) -> None: ... + def DerivAndNorm(S: Adaptor3d_Surface, U: float, V: float, P: gp_Pnt, d1u: gp_Vec, d1v: gp_Vec, N: gp_Vec) -> None: ... @staticmethod - def NormAndDn(S: Adaptor3d_HSurface, U: float, V: float, P: gp_Pnt, N: gp_Vec, Dnu: gp_Vec, Dnv: gp_Vec) -> None: ... + def NormAndDn(S: Adaptor3d_Surface, U: float, V: float, P: gp_Pnt, N: gp_Vec, Dnu: gp_Vec, Dnv: gp_Vec) -> None: ... @staticmethod - def Normale(S: Adaptor3d_HSurface, U: float, V: float, P: gp_Pnt, N: gp_Vec) -> None: ... + def Normale(S: Adaptor3d_Surface, U: float, V: float, P: gp_Pnt, N: gp_Vec) -> None: ... class Contap_TheIWLineOfTheIWalking(Standard_Transient): def __init__(self, theAllocator: Optional[IntSurf_Allocator] = 0) -> None: ... @@ -414,9 +414,9 @@ class Contap_TheIWalking: def NbLines(self) -> int: ... def NbSinglePnts(self) -> int: ... @overload - def Perform(self, Pnts1: IntSurf_SequenceOfPathPoint, Pnts2: IntSurf_SequenceOfInteriorPoint, Func: Contap_SurfFunction, S: Adaptor3d_HSurface, Reversed: Optional[bool] = False) -> None: ... + def Perform(self, Pnts1: IntSurf_SequenceOfPathPoint, Pnts2: IntSurf_SequenceOfInteriorPoint, Func: Contap_SurfFunction, S: Adaptor3d_Surface, Reversed: Optional[bool] = False) -> None: ... @overload - def Perform(self, Pnts1: IntSurf_SequenceOfPathPoint, Func: Contap_SurfFunction, S: Adaptor3d_HSurface, Reversed: Optional[bool] = False) -> None: ... + def Perform(self, Pnts1: IntSurf_SequenceOfPathPoint, Func: Contap_SurfFunction, S: Adaptor3d_Surface, Reversed: Optional[bool] = False) -> None: ... def SetTolerance(self, Epsilon: float, Deflection: float, Step: float) -> None: ... def SinglePnt(self, Index: int) -> IntSurf_PathPoint: ... def Value(self, Index: int) -> Contap_TheIWLineOfTheIWalking: ... @@ -425,16 +425,16 @@ class Contap_ThePathPointOfTheSearch: @overload def __init__(self) -> None: ... @overload - def __init__(self, P: gp_Pnt, Tol: float, V: Adaptor3d_HVertex, A: Adaptor2d_HCurve2d, Parameter: float) -> None: ... + def __init__(self, P: gp_Pnt, Tol: float, V: Adaptor3d_HVertex, A: Adaptor2d_Curve2d, Parameter: float) -> None: ... @overload - def __init__(self, P: gp_Pnt, Tol: float, A: Adaptor2d_HCurve2d, Parameter: float) -> None: ... - def Arc(self) -> Adaptor2d_HCurve2d: ... + def __init__(self, P: gp_Pnt, Tol: float, A: Adaptor2d_Curve2d, Parameter: float) -> None: ... + def Arc(self) -> Adaptor2d_Curve2d: ... def IsNew(self) -> bool: ... def Parameter(self) -> float: ... @overload - def SetValue(self, P: gp_Pnt, Tol: float, V: Adaptor3d_HVertex, A: Adaptor2d_HCurve2d, Parameter: float) -> None: ... + def SetValue(self, P: gp_Pnt, Tol: float, V: Adaptor3d_HVertex, A: Adaptor2d_Curve2d, Parameter: float) -> None: ... @overload - def SetValue(self, P: gp_Pnt, Tol: float, A: Adaptor2d_HCurve2d, Parameter: float) -> None: ... + def SetValue(self, P: gp_Pnt, Tol: float, A: Adaptor2d_Curve2d, Parameter: float) -> None: ... def Tolerance(self) -> float: ... def Value(self) -> gp_Pnt: ... def Vertex(self) -> Adaptor3d_HVertex: ... @@ -453,24 +453,24 @@ class Contap_TheSearchInside: @overload def __init__(self) -> None: ... @overload - def __init__(self, F: Contap_SurfFunction, Surf: Adaptor3d_HSurface, T: Adaptor3d_TopolTool, Epsilon: float) -> None: ... + def __init__(self, F: Contap_SurfFunction, Surf: Adaptor3d_Surface, T: Adaptor3d_TopolTool, Epsilon: float) -> None: ... def IsDone(self) -> bool: ... def NbPoints(self) -> int: ... @overload - def Perform(self, F: Contap_SurfFunction, Surf: Adaptor3d_HSurface, T: Adaptor3d_TopolTool, Epsilon: float) -> None: ... + def Perform(self, F: Contap_SurfFunction, Surf: Adaptor3d_Surface, T: Adaptor3d_TopolTool, Epsilon: float) -> None: ... @overload - def Perform(self, F: Contap_SurfFunction, Surf: Adaptor3d_HSurface, UStart: float, VStart: float) -> None: ... + def Perform(self, F: Contap_SurfFunction, Surf: Adaptor3d_Surface, UStart: float, VStart: float) -> None: ... def Value(self, Index: int) -> IntSurf_InteriorPoint: ... class Contap_TheSegmentOfTheSearch: def __init__(self) -> None: ... - def Curve(self) -> Adaptor2d_HCurve2d: ... + def Curve(self) -> Adaptor2d_Curve2d: ... def FirstPoint(self) -> Contap_ThePathPointOfTheSearch: ... def HasFirstPoint(self) -> bool: ... def HasLastPoint(self) -> bool: ... def LastPoint(self) -> Contap_ThePathPointOfTheSearch: ... def SetLimitPoint(self, V: Contap_ThePathPointOfTheSearch, First: bool) -> None: ... - def SetValue(self, A: Adaptor2d_HCurve2d) -> None: ... + def SetValue(self, A: Adaptor2d_Curve2d) -> None: ... # harray1 classes # harray2 classes diff --git a/src/SWIG_files/wrapper/Convert.i b/src/SWIG_files/wrapper/Convert.i index 934656362..7e9bdc31e 100644 --- a/src/SWIG_files/wrapper/Convert.i +++ b/src/SWIG_files/wrapper/Convert.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define CONVERTDOCSTRING "Convert module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_convert.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_convert.html" %enddef %module (package="OCC.Core", docstring=CONVERTDOCSTRING) Convert @@ -75,7 +75,7 @@ enum Convert_ParameterisationType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Convert_ParameterisationType(IntEnum): @@ -888,7 +888,7 @@ class Convert_GridPolynomialToPoles { /****************** Convert_GridPolynomialToPoles ******************/ /**** md5 signature: 5e19d6f7859f6437990e41ac8561873f ****/ %feature("compactdefaultargs") Convert_GridPolynomialToPoles; - %feature("autodoc", "To only one polynomial surface. the length of and have to be 2. this values defined the parametric domain of the polynomial equation. //! coefficients : the have to be formated than an 'c array' [maxudegree+1] [maxvdegree+1] [3]. + %feature("autodoc", "To only one polynomial surface. the length of and have to be 2. this values defined the parametric domain of the polynomial equation. //! coefficients : the have to be formatted than an 'c array' [maxudegree+1] [maxvdegree+1] [3]. Parameters ---------- @@ -908,7 +908,7 @@ None /****************** Convert_GridPolynomialToPoles ******************/ /**** md5 signature: 51ca2d3289a0e8c21e7e42881ac480e0 ****/ %feature("compactdefaultargs") Convert_GridPolynomialToPoles; - %feature("autodoc", "To one grid of polynomial surface. warning! continuity in each parametric direction can be at most the maximum degree of the polynomial functions. //! , : this is the true parameterisation for the composite surface //! coefficients : the coefficients have to be formated than an 'c array' [nbvsurfaces] [nbusurfaces] [maxudegree+1] [maxvdegree+1] [3] raises domainerror if is not a [1, nbvsurfaces*nbusurfaces, 1,2] array. if is not a. + %feature("autodoc", "To one grid of polynomial surface. warning! continuity in each parametric direction can be at most the maximum degree of the polynomial functions. //! , : this is the true parameterisation for the composite surface //! coefficients : the coefficients have to be formatted than an 'c array' [nbvsurfaces] [nbusurfaces] [maxudegree+1] [maxvdegree+1] [3] raises domainerror if is not a [1, nbvsurfaces*nbusurfaces, 1,2] array. if is not a. Parameters ---------- diff --git a/src/SWIG_files/wrapper/Draft.i b/src/SWIG_files/wrapper/Draft.i index c855c9970..46f4aea76 100644 --- a/src/SWIG_files/wrapper/Draft.i +++ b/src/SWIG_files/wrapper/Draft.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define DRAFTDOCSTRING "Draft module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_draft.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_draft.html" %enddef %module (package="OCC.Core", docstring=DRAFTDOCSTRING) Draft @@ -86,7 +86,7 @@ enum Draft_ErrorStatus { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Draft_ErrorStatus(IntEnum): @@ -673,7 +673,7 @@ None /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if perform has been succesfully called. otherwise more information can be obtained using the methods error() and problematicshape(). + %feature("autodoc", "Returns true if perform has been successfully called. otherwise more information can be obtained using the methods error() and problematicshape(). Returns ------- @@ -712,7 +712,7 @@ Tol: float /****************** NewCurve2d ******************/ /**** md5 signature: ea858177828b71b789a2564d89f64210 ****/ %feature("compactdefaultargs") NewCurve2d; - %feature("autodoc", "Returns standard_true if the edge has a new curve on surface on the face .in this case, is the new geometric support of the edge, the new location, the new tolerance. //! otherwise, returns standard_false, and , , are not significant. //! is the new edge created from . is the new face created from . they may be usefull. + %feature("autodoc", "Returns standard_true if the edge has a new curve on surface on the face .in this case, is the new geometric support of the edge, the new location, the new tolerance. //! otherwise, returns standard_false, and , , are not significant. //! is the new edge created from . is the new face created from . they may be useful. Parameters ---------- @@ -794,7 +794,7 @@ None /****************** ProblematicShape ******************/ /**** md5 signature: 4b993ee84b1645cd4a03936d51cfc6ec ****/ %feature("compactdefaultargs") ProblematicShape; - %feature("autodoc", "Returns the shape (face, edge or vertex) on which an error occured. + %feature("autodoc", "Returns the shape (face, edge or vertex) on which an error occurred. Returns ------- diff --git a/src/SWIG_files/wrapper/DsgPrs.i b/src/SWIG_files/wrapper/DsgPrs.i index 58efb955a..ad53507aa 100644 --- a/src/SWIG_files/wrapper/DsgPrs.i +++ b/src/SWIG_files/wrapper/DsgPrs.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define DSGPRSDOCSTRING "DsgPrs module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_dsgprs.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_dsgprs.html" %enddef %module (package="OCC.Core", docstring=DSGPRSDOCSTRING) DsgPrs @@ -70,7 +70,7 @@ enum DsgPrs_ArrowSide { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class DsgPrs_ArrowSide(IntEnum): diff --git a/src/SWIG_files/wrapper/ElCLib.i b/src/SWIG_files/wrapper/ElCLib.i index 6b6b2e156..b1b66f708 100644 --- a/src/SWIG_files/wrapper/ElCLib.i +++ b/src/SWIG_files/wrapper/ElCLib.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define ELCLIBDOCSTRING "ElCLib module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_elclib.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_elclib.html" %enddef %module (package="OCC.Core", docstring=ELCLIBDOCSTRING) ElCLib @@ -60,7 +60,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/ElSLib.i b/src/SWIG_files/wrapper/ElSLib.i index c71a4dcfc..a8e8e6334 100644 --- a/src/SWIG_files/wrapper/ElSLib.i +++ b/src/SWIG_files/wrapper/ElSLib.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define ELSLIBDOCSTRING "ElSLib module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_elslib.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_elslib.html" %enddef %module (package="OCC.Core", docstring=ELSLIBDOCSTRING) ElSLib @@ -60,7 +60,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -819,7 +819,7 @@ None /****************** D3 ******************/ /**** md5 signature: d3305be8886796dce18f1f9e28e27d36 ****/ %feature("compactdefaultargs") D3; - %feature("autodoc", "Surface evaluation the following functions compute the point and the derivatives on elementary surfaces defined with their geometric characterisitics. you don't need to create the surface to use these functions. these functions are called by the previous ones. example : a cylinder is defined with its position and its radius. + %feature("autodoc", "Surface evaluation the following functions compute the point and the derivatives on elementary surfaces defined with their geometric characteristics. you don't need to create the surface to use these functions. these functions are called by the previous ones. example : a cylinder is defined with its position and its radius. Parameters ---------- diff --git a/src/SWIG_files/wrapper/Expr.i b/src/SWIG_files/wrapper/Expr.i index ea25facc2..8ab807c76 100644 --- a/src/SWIG_files/wrapper/Expr.i +++ b/src/SWIG_files/wrapper/Expr.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define EXPRDOCSTRING "Expr module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_expr.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_expr.html" %enddef %module (package="OCC.Core", docstring=EXPRDOCSTRING) Expr @@ -62,7 +62,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -478,7 +478,7 @@ int /****************** Replace ******************/ /**** md5 signature: 21a054e81da4e62ac63c7025abefabe3 ****/ %feature("compactdefaultargs") Replace; - %feature("autodoc", "Replaces all occurences of with copies of in . copies of are made with the copy() method. raises invalidoperand if contains . + %feature("autodoc", "Replaces all occurrences of with copies of in . copies of are made with the copy() method. raises invalidoperand if contains . Parameters ---------- @@ -771,7 +771,7 @@ int /****************** Replace ******************/ /**** md5 signature: 21a054e81da4e62ac63c7025abefabe3 ****/ %feature("compactdefaultargs") Replace; - %feature("autodoc", "Replaces all occurences of with in . + %feature("autodoc", "Replaces all occurrences of with in . Parameters ---------- @@ -1086,7 +1086,7 @@ int /****************** Replace ******************/ /**** md5 signature: d1980891db2f275bbc6d54eac796d58d ****/ %feature("compactdefaultargs") Replace; - %feature("autodoc", "Replaces all occurences of with in . raises invalidoperand if contains . + %feature("autodoc", "Replaces all occurrences of with in . raises invalidoperand if contains . Parameters ---------- @@ -1835,7 +1835,7 @@ int /****************** Replace ******************/ /**** md5 signature: d1980891db2f275bbc6d54eac796d58d ****/ %feature("compactdefaultargs") Replace; - %feature("autodoc", "Replaces all occurences of with in . + %feature("autodoc", "Replaces all occurrences of with in . Parameters ---------- @@ -1994,7 +1994,7 @@ opencascade::handle /****************** Replace ******************/ /**** md5 signature: d1980891db2f275bbc6d54eac796d58d ****/ %feature("compactdefaultargs") Replace; - %feature("autodoc", "Replaces all occurences of with in raises invalidoperand if contains . + %feature("autodoc", "Replaces all occurrences of with in raises invalidoperand if contains . Parameters ---------- @@ -2128,7 +2128,7 @@ int /****************** Replace ******************/ /**** md5 signature: d1980891db2f275bbc6d54eac796d58d ****/ %feature("compactdefaultargs") Replace; - %feature("autodoc", "Replaces all occurences of with in . + %feature("autodoc", "Replaces all occurrences of with in . Parameters ---------- @@ -2331,7 +2331,7 @@ None /****************** Replace ******************/ /**** md5 signature: d1980891db2f275bbc6d54eac796d58d ****/ %feature("compactdefaultargs") Replace; - %feature("autodoc", "Replaces all occurences of with in . + %feature("autodoc", "Replaces all occurrences of with in . Parameters ---------- @@ -2460,7 +2460,7 @@ opencascade::handle /****************** Replace ******************/ /**** md5 signature: d1980891db2f275bbc6d54eac796d58d ****/ %feature("compactdefaultargs") Replace; - %feature("autodoc", "Replaces all occurences of with in raises invalidoperand if contains . + %feature("autodoc", "Replaces all occurrences of with in raises invalidoperand if contains . Parameters ---------- @@ -5156,7 +5156,7 @@ int /****************** Replace ******************/ /**** md5 signature: d1980891db2f275bbc6d54eac796d58d ****/ %feature("compactdefaultargs") Replace; - %feature("autodoc", "Replaces all occurences of with in . + %feature("autodoc", "Replaces all occurrences of with in . Parameters ---------- @@ -5303,7 +5303,7 @@ opencascade::handle /****************** Deassign ******************/ /**** md5 signature: bdd99d62e4917809f78e8082960232c1 ****/ %feature("compactdefaultargs") Deassign; - %feature("autodoc", "Supresses the assigned expression. + %feature("autodoc", "Suppresses the assigned expression. Returns ------- @@ -5378,7 +5378,7 @@ int /****************** Replace ******************/ /**** md5 signature: d1980891db2f275bbc6d54eac796d58d ****/ %feature("compactdefaultargs") Replace; - %feature("autodoc", "Replaces all occurences of with in raises invalidoperand if contains . + %feature("autodoc", "Replaces all occurrences of with in raises invalidoperand if contains . Parameters ---------- diff --git a/src/SWIG_files/wrapper/ExprIntrp.i b/src/SWIG_files/wrapper/ExprIntrp.i index 67e02cbe3..9a0ac720e 100644 --- a/src/SWIG_files/wrapper/ExprIntrp.i +++ b/src/SWIG_files/wrapper/ExprIntrp.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define EXPRINTRPDOCSTRING "ExprIntrp module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_exprintrp.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_exprintrp.html" %enddef %module (package="OCC.Core", docstring=EXPRINTRPDOCSTRING) ExprIntrp @@ -62,7 +62,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/Extrema.i b/src/SWIG_files/wrapper/Extrema.i index 439a2429e..a8a79b460 100644 --- a/src/SWIG_files/wrapper/Extrema.i +++ b/src/SWIG_files/wrapper/Extrema.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define EXTREMADOCSTRING "Extrema module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_extrema.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_extrema.html" %enddef %module (package="OCC.Core", docstring=EXTREMADOCSTRING) Extrema @@ -96,7 +96,7 @@ enum Extrema_ElementType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Extrema_ExtAlgo(IntEnum): @@ -134,7 +134,6 @@ Extrema_Face = Extrema_ElementType.Extrema_Face %wrap_handle(Extrema_HArray2OfPOnCurv2d) %wrap_handle(Extrema_HArray2OfPOnCurv) %wrap_handle(Extrema_HArray2OfPOnSurf) -%wrap_handle(Extrema_HArray2OfPOnSurfParams) /* end handles declaration */ /* templates */ @@ -1517,7 +1516,7 @@ gp_Hypr /****************** Intervals ******************/ /**** md5 signature: c59b411ed8f13aec3361e6336ed8b81f ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -2125,7 +2124,7 @@ None /****************** Extrema_ELPCOfLocateExtPC ******************/ /**** md5 signature: 5eb013e4fc68fcbf6f33585765f7e07d ****/ %feature("compactdefaultargs") Extrema_ELPCOfLocateExtPC; - %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs all the zeros inside the definition range of the curve. zeros are searched between uinf and usup. tol is used to decide to stop the iterations according to the following condition: if n is the number of iterations, the algorithm stops when abs(f(un)-f(un-1)) < tol. + %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches all the zeros inside the definition range of the curve. zeros are searched between uinf and usup. tol is used to decide to stop the iterations according to the following condition: if n is the number of iterations, the algorithm stops when abs(f(un)-f(un-1)) < tol. Parameters ---------- @@ -2145,7 +2144,7 @@ None /****************** Extrema_ELPCOfLocateExtPC ******************/ /**** md5 signature: ead97d1e3f13344482279c11cf20d92f ****/ %feature("compactdefaultargs") Extrema_ELPCOfLocateExtPC; - %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs all the zeros inside the definition range of the curve. tol is used to decide to stop the iterations according to the following condition: if n is the number of iterations, the algorithm stops when abs(f(un)-f(un-1)) < tol. + %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches all the zeros inside the definition range of the curve. tol is used to decide to stop the iterations according to the following condition: if n is the number of iterations, the algorithm stops when abs(f(un)-f(un-1)) < tol. Parameters ---------- @@ -2306,7 +2305,7 @@ None /****************** Extrema_ELPCOfLocateExtPC2d ******************/ /**** md5 signature: ca7ed58355df77b568d0d2b8e4c4d3b5 ****/ %feature("compactdefaultargs") Extrema_ELPCOfLocateExtPC2d; - %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs all the zeros inside the definition range of the curve. zeros are searched between uinf and usup. tol is used to decide to stop the iterations according to the following condition: if n is the number of iterations, the algorithm stops when abs(f(un)-f(un-1)) < tol. + %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches all the zeros inside the definition range of the curve. zeros are searched between uinf and usup. tol is used to decide to stop the iterations according to the following condition: if n is the number of iterations, the algorithm stops when abs(f(un)-f(un-1)) < tol. Parameters ---------- @@ -2326,7 +2325,7 @@ None /****************** Extrema_ELPCOfLocateExtPC2d ******************/ /**** md5 signature: 9ae6c47d8acbe1e37a56bc7bb09b19cd ****/ %feature("compactdefaultargs") Extrema_ELPCOfLocateExtPC2d; - %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs all the zeros inside the definition range of the curve. tol is used to decide to stop the iterations according to the following condition: if n is the number of iterations, the algorithm stops when abs(f(un)-f(un-1)) < tol. + %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches all the zeros inside the definition range of the curve. tol is used to decide to stop the iterations according to the following condition: if n is the number of iterations, the algorithm stops when abs(f(un)-f(un-1)) < tol. Parameters ---------- @@ -2487,7 +2486,7 @@ None /****************** Extrema_EPCOfELPCOfLocateExtPC ******************/ /**** md5 signature: 909eda134dca8bd066edf6f295b1a9d2 ****/ %feature("compactdefaultargs") Extrema_EPCOfELPCOfLocateExtPC; - %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs all the zeros inside the definition range of the curve. nbu is used to locate the close points to find the zeros. tol and tolu are used to decide to stop the iterations according to the following condition: if n is the number of iterations, abs(un-un-1) < tolu and abs(f(un)-f(un-1)) < tol. + %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches all the zeros inside the definition range of the curve. nbu is used to locate the close points to find the zeros. tol and tolu are used to decide to stop the iterations according to the following condition: if n is the number of iterations, abs(un-un-1) < tolu and abs(f(un)-f(un-1)) < tol. Parameters ---------- @@ -2506,7 +2505,7 @@ None /****************** Extrema_EPCOfELPCOfLocateExtPC ******************/ /**** md5 signature: a06ba847c93cff0df9b4ab69c43b3ea4 ****/ %feature("compactdefaultargs") Extrema_EPCOfELPCOfLocateExtPC; - %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs all the zeros inside the definition range of the curve. nbu is used to locate the close points to find the zeros. zeros are searched between umin and usup. tol and tolu are used to decide to stop the iterations according to the following condition: if n is the number of iterations, abs(un-un-1) < tolu and abs(f(un)-f(un-1)) < tol. + %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches all the zeros inside the definition range of the curve. nbu is used to locate the close points to find the zeros. zeros are searched between umin and usup. tol and tolu are used to decide to stop the iterations according to the following condition: if n is the number of iterations, abs(un-un-1) < tolu and abs(f(un)-f(un-1)) < tol. Parameters ---------- @@ -2706,7 +2705,7 @@ None /****************** Extrema_EPCOfELPCOfLocateExtPC2d ******************/ /**** md5 signature: 8f3881b23e0058c54bf5de87961608df ****/ %feature("compactdefaultargs") Extrema_EPCOfELPCOfLocateExtPC2d; - %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs all the zeros inside the definition range of the curve. nbu is used to locate the close points to find the zeros. tol and tolu are used to decide to stop the iterations according to the following condition: if n is the number of iterations, abs(un-un-1) < tolu and abs(f(un)-f(un-1)) < tol. + %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches all the zeros inside the definition range of the curve. nbu is used to locate the close points to find the zeros. tol and tolu are used to decide to stop the iterations according to the following condition: if n is the number of iterations, abs(un-un-1) < tolu and abs(f(un)-f(un-1)) < tol. Parameters ---------- @@ -2725,7 +2724,7 @@ None /****************** Extrema_EPCOfELPCOfLocateExtPC2d ******************/ /**** md5 signature: 2ff481b1955aaf32316f2eedc538cb2e ****/ %feature("compactdefaultargs") Extrema_EPCOfELPCOfLocateExtPC2d; - %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs all the zeros inside the definition range of the curve. nbu is used to locate the close points to find the zeros. zeros are searched between umin and usup. tol and tolu are used to decide to stop the iterations according to the following condition: if n is the number of iterations, abs(un-un-1) < tolu and abs(f(un)-f(un-1)) < tol. + %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches all the zeros inside the definition range of the curve. nbu is used to locate the close points to find the zeros. zeros are searched between umin and usup. tol and tolu are used to decide to stop the iterations according to the following condition: if n is the number of iterations, abs(un-un-1) < tolu and abs(f(un)-f(un-1)) < tol. Parameters ---------- @@ -2925,7 +2924,7 @@ None /****************** Extrema_EPCOfExtPC ******************/ /**** md5 signature: 48fc709c66fee1c004b2cc4dd1545dbc ****/ %feature("compactdefaultargs") Extrema_EPCOfExtPC; - %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs all the zeros inside the definition range of the curve. nbu is used to locate the close points to find the zeros. tol and tolu are used to decide to stop the iterations according to the following condition: if n is the number of iterations, abs(un-un-1) < tolu and abs(f(un)-f(un-1)) < tol. + %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches all the zeros inside the definition range of the curve. nbu is used to locate the close points to find the zeros. tol and tolu are used to decide to stop the iterations according to the following condition: if n is the number of iterations, abs(un-un-1) < tolu and abs(f(un)-f(un-1)) < tol. Parameters ---------- @@ -2944,7 +2943,7 @@ None /****************** Extrema_EPCOfExtPC ******************/ /**** md5 signature: 592c802da1f9faf50937c805bbc4dec7 ****/ %feature("compactdefaultargs") Extrema_EPCOfExtPC; - %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs all the zeros inside the definition range of the curve. nbu is used to locate the close points to find the zeros. zeros are searched between umin and usup. tol and tolu are used to decide to stop the iterations according to the following condition: if n is the number of iterations, abs(un-un-1) < tolu and abs(f(un)-f(un-1)) < tol. + %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches all the zeros inside the definition range of the curve. nbu is used to locate the close points to find the zeros. zeros are searched between umin and usup. tol and tolu are used to decide to stop the iterations according to the following condition: if n is the number of iterations, abs(un-un-1) < tolu and abs(f(un)-f(un-1)) < tol. Parameters ---------- @@ -3144,7 +3143,7 @@ None /****************** Extrema_EPCOfExtPC2d ******************/ /**** md5 signature: e215bb58b06e418352ca7a41838988ff ****/ %feature("compactdefaultargs") Extrema_EPCOfExtPC2d; - %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs all the zeros inside the definition range of the curve. nbu is used to locate the close points to find the zeros. tol and tolu are used to decide to stop the iterations according to the following condition: if n is the number of iterations, abs(un-un-1) < tolu and abs(f(un)-f(un-1)) < tol. + %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches all the zeros inside the definition range of the curve. nbu is used to locate the close points to find the zeros. tol and tolu are used to decide to stop the iterations according to the following condition: if n is the number of iterations, abs(un-un-1) < tolu and abs(f(un)-f(un-1)) < tol. Parameters ---------- @@ -3163,7 +3162,7 @@ None /****************** Extrema_EPCOfExtPC2d ******************/ /**** md5 signature: 180127b2ebbcb30f4366bc818c7a8176 ****/ %feature("compactdefaultargs") Extrema_EPCOfExtPC2d; - %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs all the zeros inside the definition range of the curve. nbu is used to locate the close points to find the zeros. zeros are searched between umin and usup. tol and tolu are used to decide to stop the iterations according to the following condition: if n is the number of iterations, abs(un-un-1) < tolu and abs(f(un)-f(un-1)) < tol. + %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches all the zeros inside the definition range of the curve. nbu is used to locate the close points to find the zeros. zeros are searched between umin and usup. tol and tolu are used to decide to stop the iterations according to the following condition: if n is the number of iterations, abs(un-un-1) < tolu and abs(f(un)-f(un-1)) < tol. Parameters ---------- @@ -3422,6 +3421,50 @@ bool ") GetSingleSolutionFlag; Standard_Boolean GetSingleSolutionFlag(); + /****************** Initialize ******************/ + /**** md5 signature: 33f5791b9afdaba1c00cac69bb0ae58a ****/ + %feature("compactdefaultargs") Initialize; + %feature("autodoc", "Initializes but does not perform algorithm. + +Parameters +---------- +C1: Adaptor3d_Curve +C2: Adaptor3d_Curve +TolC1: float,optional + default value is 1.0e-10 +TolC2: float,optional + default value is 1.0e-10 + +Returns +------- +None +") Initialize; + void Initialize(const Adaptor3d_Curve & C1, const Adaptor3d_Curve & C2, const Standard_Real TolC1 = 1.0e-10, const Standard_Real TolC2 = 1.0e-10); + + /****************** Initialize ******************/ + /**** md5 signature: 241a78b6a479e657dbee2350ce37c1ae ****/ + %feature("compactdefaultargs") Initialize; + %feature("autodoc", "Initializes but does not perform algorithm. + +Parameters +---------- +C1: Adaptor3d_Curve +C2: Adaptor3d_Curve +U1: float +U2: float +V1: float +V2: float +TolC1: float,optional + default value is 1.0e-10 +TolC2: float,optional + default value is 1.0e-10 + +Returns +------- +None +") Initialize; + void Initialize(const Adaptor3d_Curve & C1, const Adaptor3d_Curve & C2, const Standard_Real U1, const Standard_Real U2, const Standard_Real V1, const Standard_Real V2, const Standard_Real TolC1 = 1.0e-10, const Standard_Real TolC2 = 1.0e-10); + /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ %feature("compactdefaultargs") IsDone; @@ -3889,6 +3932,23 @@ None ") Extrema_ExtCS; Extrema_ExtCS(const Adaptor3d_Curve & C, const Adaptor3d_Surface & S, const Standard_Real UCinf, const Standard_Real UCsup, const Standard_Real Uinf, const Standard_Real Usup, const Standard_Real Vinf, const Standard_Real Vsup, const Standard_Real TolC, const Standard_Real TolS); + /****************** Initialize ******************/ + /**** md5 signature: e63b3f3f490bda228580d04568edb6b3 ****/ + %feature("compactdefaultargs") Initialize; + %feature("autodoc", "Initializes the fields of the algorithm. + +Parameters +---------- +S: Adaptor3d_Surface +TolC: float +TolS: float + +Returns +------- +None +") Initialize; + void Initialize(const Adaptor3d_Surface & S, const Standard_Real TolC, const Standard_Real TolS); + /****************** Initialize ******************/ /**** md5 signature: 6ca083b40ba666c98208199a3aec58ff ****/ %feature("compactdefaultargs") Initialize; @@ -4054,7 +4114,7 @@ None /****************** Extrema_ExtElC ******************/ /**** md5 signature: 9fc2edc96231aa3d1ee6d30a8e95ad20 ****/ %feature("compactdefaultargs") Extrema_ExtElC; - %feature("autodoc", "Calculates the distance between a line and an elipse. + %feature("autodoc", "Calculates the distance between a line and an ellipse. Parameters ---------- @@ -4243,7 +4303,7 @@ None /****************** Extrema_ExtElC2d ******************/ /**** md5 signature: c5e7e832342f09b3e3f5af22bdc53d53 ****/ %feature("compactdefaultargs") Extrema_ExtElC2d; - %feature("autodoc", "Calculates the distance between a line and an elipse. + %feature("autodoc", "Calculates the distance between a line and an ellipse. Parameters ---------- @@ -4307,7 +4367,7 @@ None /****************** Extrema_ExtElC2d ******************/ /**** md5 signature: 9dfec4428f361b16a6bad7c8b994c894 ****/ %feature("compactdefaultargs") Extrema_ExtElC2d; - %feature("autodoc", "Calculates the distance between a circle and an elipse. + %feature("autodoc", "Calculates the distance between a circle and an ellipse. Parameters ---------- @@ -5172,7 +5232,7 @@ None /****************** Extrema_ExtPC ******************/ /**** md5 signature: 80236a796df22a03cb53e858bdaf4dfe ****/ %feature("compactdefaultargs") Extrema_ExtPC; - %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs all the zeros inside the definition range of the curve. zeros are searched between uinf and usup. tol is used to decide to stop the iterations according to the following condition: if n is the number of iterations, the algorithm stops when abs(f(un)-f(un-1)) < tol. + %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches all the zeros inside the definition range of the curve. zeros are searched between uinf and usup. tol is used to decide to stop the iterations according to the following condition: if n is the number of iterations, the algorithm stops when abs(f(un)-f(un-1)) < tol. Parameters ---------- @@ -5192,7 +5252,7 @@ None /****************** Extrema_ExtPC ******************/ /**** md5 signature: 67d047a0517c372399b96860078635d6 ****/ %feature("compactdefaultargs") Extrema_ExtPC; - %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs all the zeros inside the definition range of the curve. tol is used to decide to stop the iterations according to the following condition: if n is the number of iterations, the algorithm stops when abs(f(un)-f(un-1)) < tol. + %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches all the zeros inside the definition range of the curve. tol is used to decide to stop the iterations according to the following condition: if n is the number of iterations, the algorithm stops when abs(f(un)-f(un-1)) < tol. Parameters ---------- @@ -5353,7 +5413,7 @@ None /****************** Extrema_ExtPC2d ******************/ /**** md5 signature: 85453b0ec67e15ba150de917544e3938 ****/ %feature("compactdefaultargs") Extrema_ExtPC2d; - %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs all the zeros inside the definition range of the curve. zeros are searched between uinf and usup. tol is used to decide to stop the iterations according to the following condition: if n is the number of iterations, the algorithm stops when abs(f(un)-f(un-1)) < tol. + %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches all the zeros inside the definition range of the curve. zeros are searched between uinf and usup. tol is used to decide to stop the iterations according to the following condition: if n is the number of iterations, the algorithm stops when abs(f(un)-f(un-1)) < tol. Parameters ---------- @@ -5373,7 +5433,7 @@ None /****************** Extrema_ExtPC2d ******************/ /**** md5 signature: b53ba77823cd004a73e74f43a6e53d26 ****/ %feature("compactdefaultargs") Extrema_ExtPC2d; - %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs all the zeros inside the definition range of the curve. tol is used to decide to stop the iterations according to the following condition: if n is the number of iterations, the algorithm stops when abs(f(un)-f(un-1)) < tol. + %feature("autodoc", "It calculates all the distances. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches all the zeros inside the definition range of the curve. tol is used to decide to stop the iterations according to the following condition: if n is the number of iterations, the algorithm stops when abs(f(un)-f(un-1)) < tol. Parameters ---------- @@ -5572,7 +5632,7 @@ None /****************** Extrema_ExtPElC ******************/ /**** md5 signature: 8aea1ee5525a05788869a67c6ce46ea8 ****/ %feature("compactdefaultargs") Extrema_ExtPElC; - %feature("autodoc", "Calculates the 4 extremum distances between the point p and the segment [uinf,usup] of the elipse c. tol is used to determine if the point is on the axis of the elipse and if the major radius is equal to the minor radius or if an extremum is on an endpoint of the segment. if p is on the axis of the elipse, there are infinite solution then isdone(me)=false. the conditions on the uinf and usup are: 0. <= uinf <= 2.*pi and usup > uinf. if usup > uinf + 2.*pi, then only the solutions in the range [uinf,uinf+2.*pi[ are computed. + %feature("autodoc", "Calculates the 4 extremum distances between the point p and the segment [uinf,usup] of the ellipse c. tol is used to determine if the point is on the axis of the ellipse and if the major radius is equal to the minor radius or if an extremum is on an endpoint of the segment. if p is on the axis of the ellipse, there are infinite solution then isdone(me)=false. the conditions on the uinf and usup are: 0. <= uinf <= 2.*pi and usup > uinf. if usup > uinf + 2.*pi, then only the solutions in the range [uinf,uinf+2.*pi[ are computed. Parameters ---------- @@ -5854,7 +5914,7 @@ None /****************** Extrema_ExtPElC2d ******************/ /**** md5 signature: 70b2bf1822d25a12a548d783db318ceb ****/ %feature("compactdefaultargs") Extrema_ExtPElC2d; - %feature("autodoc", "Calculates the 4 extremum distances between the point p and the segment [uinf,usup] of the elipse c. tol is used to determine if the point is on the axis of the elipse and if the major radius is equal to the minor radius or if an extremum is on an endpoint of the segment. if p is on the axis of the elipse, there are infinite solution then isdone(me)=false. the conditions on the uinf and usup are: 0. <= uinf <= 2.*pi and usup > uinf. if usup > uinf + 2.*pi, then only the solutions in the range [uinf,uinf+2.*pi[ are computed. + %feature("autodoc", "Calculates the 4 extremum distances between the point p and the segment [uinf,usup] of the ellipse c. tol is used to determine if the point is on the axis of the ellipse and if the major radius is equal to the minor radius or if an extremum is on an endpoint of the segment. if p is on the axis of the ellipse, there are infinite solution then isdone(me)=false. the conditions on the uinf and usup are: 0. <= uinf <= 2.*pi and usup > uinf. if usup > uinf + 2.*pi, then only the solutions in the range [uinf,uinf+2.*pi[ are computed. Parameters ---------- @@ -6343,14 +6403,14 @@ None Extrema_ExtPExtS(); /****************** Extrema_ExtPExtS ******************/ - /**** md5 signature: f1d913eeae325e790b9432275629930b ****/ + /**** md5 signature: 8390b68d70e936cf950fa530f03196c5 ****/ %feature("compactdefaultargs") Extrema_ExtPExtS; %feature("autodoc", "It calculates all the distances between a point from gp and a surface. Parameters ---------- P: gp_Pnt -S: GeomAdaptor_HSurfaceOfLinearExtrusion +S: GeomAdaptor_SurfaceOfLinearExtrusion Umin: float Usup: float Vmin: float @@ -6362,17 +6422,17 @@ Returns ------- None ") Extrema_ExtPExtS; - Extrema_ExtPExtS(const gp_Pnt & P, const opencascade::handle & S, const Standard_Real Umin, const Standard_Real Usup, const Standard_Real Vmin, const Standard_Real Vsup, const Standard_Real TolU, const Standard_Real TolV); + Extrema_ExtPExtS(const gp_Pnt & P, const opencascade::handle & S, const Standard_Real Umin, const Standard_Real Usup, const Standard_Real Vmin, const Standard_Real Vsup, const Standard_Real TolU, const Standard_Real TolV); /****************** Extrema_ExtPExtS ******************/ - /**** md5 signature: ace865e0e17c924debb403f840ef6dde ****/ + /**** md5 signature: 40ff9b6a45a9298edc4bc7b99b8b9323 ****/ %feature("compactdefaultargs") Extrema_ExtPExtS; %feature("autodoc", "It calculates all the distances between a point from gp and a surface. Parameters ---------- P: gp_Pnt -S: GeomAdaptor_HSurfaceOfLinearExtrusion +S: GeomAdaptor_SurfaceOfLinearExtrusion TolU: float TolV: float @@ -6380,16 +6440,16 @@ Returns ------- None ") Extrema_ExtPExtS; - Extrema_ExtPExtS(const gp_Pnt & P, const opencascade::handle & S, const Standard_Real TolU, const Standard_Real TolV); + Extrema_ExtPExtS(const gp_Pnt & P, const opencascade::handle & S, const Standard_Real TolU, const Standard_Real TolV); /****************** Initialize ******************/ - /**** md5 signature: 0758c9e0bbaad928803c39a5e7bd9060 ****/ + /**** md5 signature: 2c188151ca29551136581ffad667e7ed ****/ %feature("compactdefaultargs") Initialize; %feature("autodoc", "Initializes the fields of the algorithm. Parameters ---------- -S: GeomAdaptor_HSurfaceOfLinearExtrusion +S: GeomAdaptor_SurfaceOfLinearExtrusion Uinf: float Usup: float Vinf: float @@ -6401,7 +6461,7 @@ Returns ------- None ") Initialize; - void Initialize(const opencascade::handle & S, const Standard_Real Uinf, const Standard_Real Usup, const Standard_Real Vinf, const Standard_Real Vsup, const Standard_Real TolU, const Standard_Real TolV); + void Initialize(const opencascade::handle & S, const Standard_Real Uinf, const Standard_Real Usup, const Standard_Real Vinf, const Standard_Real Vsup, const Standard_Real TolU, const Standard_Real TolV); /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ @@ -6498,14 +6558,14 @@ None Extrema_ExtPRevS(); /****************** Extrema_ExtPRevS ******************/ - /**** md5 signature: 67d30f13480087ad21b924aee50e378b ****/ + /**** md5 signature: 1ac9435e6f9a8efe5739acf51bc42518 ****/ %feature("compactdefaultargs") Extrema_ExtPRevS; %feature("autodoc", "It calculates all the distances between a point from gp and a surfaceptr from adaptor3d. Parameters ---------- P: gp_Pnt -S: GeomAdaptor_HSurfaceOfRevolution +S: GeomAdaptor_SurfaceOfRevolution Umin: float Usup: float Vmin: float @@ -6517,17 +6577,17 @@ Returns ------- None ") Extrema_ExtPRevS; - Extrema_ExtPRevS(const gp_Pnt & P, const opencascade::handle & S, const Standard_Real Umin, const Standard_Real Usup, const Standard_Real Vmin, const Standard_Real Vsup, const Standard_Real TolU, const Standard_Real TolV); + Extrema_ExtPRevS(const gp_Pnt & P, const opencascade::handle & S, const Standard_Real Umin, const Standard_Real Usup, const Standard_Real Vmin, const Standard_Real Vsup, const Standard_Real TolU, const Standard_Real TolV); /****************** Extrema_ExtPRevS ******************/ - /**** md5 signature: 8c5194fce2c1f87ce692a7a5123971e9 ****/ + /**** md5 signature: e5055c0383c605df1cfed351d87ac4e8 ****/ %feature("compactdefaultargs") Extrema_ExtPRevS; %feature("autodoc", "It calculates all the distances between a point from gp and a surfaceptr from adaptor3d. Parameters ---------- P: gp_Pnt -S: GeomAdaptor_HSurfaceOfRevolution +S: GeomAdaptor_SurfaceOfRevolution TolU: float TolV: float @@ -6535,16 +6595,16 @@ Returns ------- None ") Extrema_ExtPRevS; - Extrema_ExtPRevS(const gp_Pnt & P, const opencascade::handle & S, const Standard_Real TolU, const Standard_Real TolV); + Extrema_ExtPRevS(const gp_Pnt & P, const opencascade::handle & S, const Standard_Real TolU, const Standard_Real TolV); /****************** Initialize ******************/ - /**** md5 signature: 503e26ea2c1d6cc0791266f1a243bf10 ****/ + /**** md5 signature: 51cbb1f7b6fbef202ed05be3503ea920 ****/ %feature("compactdefaultargs") Initialize; %feature("autodoc", "No available documentation. Parameters ---------- -S: GeomAdaptor_HSurfaceOfRevolution +S: GeomAdaptor_SurfaceOfRevolution Umin: float Usup: float Vmin: float @@ -6556,7 +6616,7 @@ Returns ------- None ") Initialize; - void Initialize(const opencascade::handle & S, const Standard_Real Umin, const Standard_Real Usup, const Standard_Real Vmin, const Standard_Real Vsup, const Standard_Real TolU, const Standard_Real TolV); + void Initialize(const opencascade::handle & S, const Standard_Real Umin, const Standard_Real Usup, const Standard_Real Vmin, const Standard_Real Vsup, const Standard_Real TolU, const Standard_Real TolV); /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ @@ -6942,7 +7002,7 @@ bool /****************** IsParallel ******************/ /**** md5 signature: 47a312fd58e74bf5bb8a9bb6f0484dfb ****/ %feature("compactdefaultargs") IsParallel; - %feature("autodoc", "Returns true if the curve is on a parallel surface. + %feature("autodoc", "Returns true if the surfaces are parallel. Returns ------- @@ -7746,7 +7806,7 @@ None /****************** Extrema_GenExtCS ******************/ /**** md5 signature: bba1c45ae7b3a767217c8ab190dca0fe ****/ %feature("compactdefaultargs") Extrema_GenExtCS; - %feature("autodoc", "It calculates all the distances. the function f(u,v)=distance(s1(u1,v1),s2(u2,v2)) has an extremum when gradient(f)=0. the algorithm searchs all the zeros inside the definition ranges of the surfaces. nbu and nbv are used to locate the close points on the surface and nbt on the curve to find the zeros. + %feature("autodoc", "It calculates all the distances. the function f(u,v)=distance(s1(u1,v1),s2(u2,v2)) has an extremum when gradient(f)=0. the algorithm searches all the zeros inside the definition ranges of the surfaces. nbu and nbv are used to locate the close points on the surface and nbt on the curve to find the zeros. Parameters ---------- @@ -7767,7 +7827,7 @@ None /****************** Extrema_GenExtCS ******************/ /**** md5 signature: 327c5ab7f1a3e9581157d19a9c2d2db1 ****/ %feature("compactdefaultargs") Extrema_GenExtCS; - %feature("autodoc", "It calculates all the distances. the function f(u,v)=distance(p,s(u,v)) has an extremum when gradient(f)=0. the algorithm searchs all the zeros inside the definition ranges of the surface. nbt,nbu and nbv are used to locate the close points to find the zeros. + %feature("autodoc", "It calculates all the distances. the function f(u,v)=distance(p,s(u,v)) has an extremum when gradient(f)=0. the algorithm searches all the zeros inside the definition ranges of the surface. nbt,nbu and nbv are used to locate the close points to find the zeros. Parameters ---------- @@ -7962,7 +8022,7 @@ None /****************** Extrema_GenExtPS ******************/ /**** md5 signature: daed258cc828cde49776b51c85d4209e ****/ %feature("compactdefaultargs") Extrema_GenExtPS; - %feature("autodoc", "It calculates all the distances. the function f(u,v)=distance(p,s(u,v)) has an extremum when gradient(f)=0. the algorithm searchs all the zeros inside the definition ranges of the surface. nbu and nbv are used to locate the close points to find the zeros. they must be great enough such that if there is n extrema, there will be n extrema between p and the grid. tolu et tolv are used to determine the conditions to stop the iterations; at the iteration number n: (un - un-1) < tolu and (vn - vn-1) < tolv . + %feature("autodoc", "It calculates all the distances. the function f(u,v)=distance(p,s(u,v)) has an extremum when gradient(f)=0. the algorithm searches all the zeros inside the definition ranges of the surface. nbu and nbv are used to locate the close points to find the zeros. they must be great enough such that if there is n extrema, there will be n extrema between p and the grid. tolu et tolv are used to determine the conditions to stop the iterations; at the iteration number n: (un - un-1) < tolu and (vn - vn-1) < tolv . Parameters ---------- @@ -7986,7 +8046,7 @@ None /****************** Extrema_GenExtPS ******************/ /**** md5 signature: 9127ff28bfac5b4aee96e6256661db4d ****/ %feature("compactdefaultargs") Extrema_GenExtPS; - %feature("autodoc", "It calculates all the distances. the function f(u,v)=distance(p,s(u,v)) has an extremum when gradient(f)=0. the algorithm searchs all the zeros inside the definition ranges of the surface. nbu and nbv are used to locate the close points to find the zeros. they must be great enough such that if there is n extrema, there will be n extrema between p and the grid. tolu et tolv are used to determine the conditions to stop the iterations; at the iteration number n: (un - un-1) < tolu and (vn - vn-1) < tolv . + %feature("autodoc", "It calculates all the distances. the function f(u,v)=distance(p,s(u,v)) has an extremum when gradient(f)=0. the algorithm searches all the zeros inside the definition ranges of the surface. nbu and nbv are used to locate the close points to find the zeros. they must be great enough such that if there is n extrema, there will be n extrema between p and the grid. tolu et tolv are used to determine the conditions to stop the iterations; at the iteration number n: (un - un-1) < tolu and (vn - vn-1) < tolv . Parameters ---------- @@ -8178,7 +8238,7 @@ None /****************** Extrema_GenExtSS ******************/ /**** md5 signature: 0360818ba5d986552ab9f07d2828956b ****/ %feature("compactdefaultargs") Extrema_GenExtSS; - %feature("autodoc", "It calculates all the distances. the function f(u,v)=distance(s1(u1,v1),s2(u2,v2)) has an extremum when gradient(f)=0. the algorithm searchs all the zeros inside the definition ranges of the surfaces. nbu and nbv are used to locate the close points to find the zeros. + %feature("autodoc", "It calculates all the distances. the function f(u,v)=distance(s1(u1,v1),s2(u2,v2)) has an extremum when gradient(f)=0. the algorithm searches all the zeros inside the definition ranges of the surfaces. nbu and nbv are used to locate the close points to find the zeros. Parameters ---------- @@ -8198,7 +8258,7 @@ None /****************** Extrema_GenExtSS ******************/ /**** md5 signature: c712f92876bba0c244979fbd6c3f61fe ****/ %feature("compactdefaultargs") Extrema_GenExtSS; - %feature("autodoc", "It calculates all the distances. the function f(u,v)=distance(p,s(u,v)) has an extremum when gradient(f)=0. the algorithm searchs all the zeros inside the definition ranges of the surface. nbu and nbv are used to locate the close points to find the zeros. + %feature("autodoc", "It calculates all the distances. the function f(u,v)=distance(p,s(u,v)) has an extremum when gradient(f)=0. the algorithm searches all the zeros inside the definition ranges of the surface. nbu and nbv are used to locate the close points to find the zeros. Parameters ---------- @@ -8394,7 +8454,7 @@ None /****************** Extrema_GenLocateExtCS ******************/ /**** md5 signature: e4b395d8dfe4cac4c586cc73639a70bb ****/ %feature("compactdefaultargs") Extrema_GenLocateExtCS; - %feature("autodoc", "Calculates the distance with two close points. the close points are defined by the parameter values t for c and (u,v) for s. the function f(t,u,v)=distance(c(t),s(u,v)) has an extremun when gradient(f)=0. the algorithm searchs a zero near the close points. + %feature("autodoc", "Calculates the distance with two close points. the close points are defined by the parameter values t for c and (u,v) for s. the function f(t,u,v)=distance(c(t),s(u,v)) has an extremun when gradient(f)=0. the algorithm searches a zero near the close points. Parameters ---------- @@ -8521,6 +8581,24 @@ bool ") IsDone; Standard_Boolean IsDone(); + /****************** IsMinDist ******************/ + /**** md5 signature: 366fbadfb859c8db594bc4646bf37807 ****/ + %feature("compactdefaultargs") IsMinDist; + %feature("autodoc", "Returns true if uv point theu0, thev0 is point of local minimum of square distance between point thep and points thes(u, v), u, v are in small area around theu0, thev0. + +Parameters +---------- +theP: gp_Pnt +theS: Adaptor3d_Surface +theU0: float +theV0: float + +Returns +------- +bool +") IsMinDist; + static Standard_Boolean IsMinDist(const gp_Pnt & theP, const Adaptor3d_Surface & theS, const Standard_Real theU0, const Standard_Real theV0); + /****************** Perform ******************/ /**** md5 signature: 1356c2657a2e0ea627880218a7af615f ****/ %feature("compactdefaultargs") Perform; @@ -8590,7 +8668,7 @@ None /****************** Extrema_GenLocateExtSS ******************/ /**** md5 signature: ecd085c1d3d7d14e4947fbff65cc1cdf ****/ %feature("compactdefaultargs") Extrema_GenLocateExtSS; - %feature("autodoc", "Calculates the distance with two close points. the close points are defined by the parameter values (u1,v1) for s1 and (u2,v2) for s2. the function f(u1,v1,u2,v2)=distance(s1(u1,v1),s2(u2,v2)) has an extremun when gradient(f)=0. the algorithm searchs a zero near the close points. + %feature("autodoc", "Calculates the distance with two close points. the close points are defined by the parameter values (u1,v1) for s1 and (u2,v2) for s2. the function f(u1,v1,u2,v2)=distance(s1(u1,v1),s2(u2,v2)) has an extremun when gradient(f)=0. the algorithm searches a zero near the close points. Parameters ---------- @@ -9339,7 +9417,7 @@ class Extrema_LocECC { /****************** Extrema_LocECC ******************/ /**** md5 signature: b7729509f3f5df86a49fc9bcf1ed4ca4 ****/ %feature("compactdefaultargs") Extrema_LocECC; - %feature("autodoc", "Calculates the distance with a close point. the close point is defined by a parameter value on each curve. the function f(u,v)=distance(c1(u),c2(v)) has an extremun when gradient(f)=0. the algorithm searchs the zero near the close point. + %feature("autodoc", "Calculates the distance with a close point. the close point is defined by a parameter value on each curve. the function f(u,v)=distance(c1(u),c2(v)) has an extremun when gradient(f)=0. the algorithm searches the zero near the close point. Parameters ---------- @@ -9411,7 +9489,7 @@ class Extrema_LocECC2d { /****************** Extrema_LocECC2d ******************/ /**** md5 signature: 6498e5613a60c1f849de06e79134f45c ****/ %feature("compactdefaultargs") Extrema_LocECC2d; - %feature("autodoc", "Calculates the distance with a close point. the close point is defined by a parameter value on each curve. the function f(u,v)=distance(c1(u),c2(v)) has an extremun when gradient(f)=0. the algorithm searchs the zero near the close point. + %feature("autodoc", "Calculates the distance with a close point. the close point is defined by a parameter value on each curve. the function f(u,v)=distance(c1(u),c2(v)) has an extremun when gradient(f)=0. the algorithm searches the zero near the close point. Parameters ---------- @@ -9494,7 +9572,7 @@ None /****************** Extrema_LocEPCOfLocateExtPC ******************/ /**** md5 signature: b7a86f687213d8fba59800755f030350 ****/ %feature("compactdefaultargs") Extrema_LocEPCOfLocateExtPC; - %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs a zero near the close point. tolu is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolu. + %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches a zero near the close point. tolu is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolu. Parameters ---------- @@ -9512,7 +9590,7 @@ None /****************** Extrema_LocEPCOfLocateExtPC ******************/ /**** md5 signature: 6dbc9dd4faaee8fbc458b42a67c3818b ****/ %feature("compactdefaultargs") Extrema_LocEPCOfLocateExtPC; - %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs a zero near the close point. zeros are searched between umin et usup. tolu is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolu. + %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches a zero near the close point. zeros are searched between umin et usup. tolu is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolu. Parameters ---------- @@ -9635,7 +9713,7 @@ None /****************** Extrema_LocEPCOfLocateExtPC2d ******************/ /**** md5 signature: 879fbc456e9fc716f88079cbe4c20275 ****/ %feature("compactdefaultargs") Extrema_LocEPCOfLocateExtPC2d; - %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs a zero near the close point. tolu is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolu. + %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches a zero near the close point. tolu is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolu. Parameters ---------- @@ -9653,7 +9731,7 @@ None /****************** Extrema_LocEPCOfLocateExtPC2d ******************/ /**** md5 signature: 03740e511e912a1b646a373d0676107f ****/ %feature("compactdefaultargs") Extrema_LocEPCOfLocateExtPC2d; - %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs a zero near the close point. zeros are searched between umin et usup. tolu is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolu. + %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches a zero near the close point. zeros are searched between umin et usup. tolu is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolu. Parameters ---------- @@ -9765,7 +9843,7 @@ class Extrema_LocateExtCC { /****************** Extrema_LocateExtCC ******************/ /**** md5 signature: c5d4ad63f928f38bacb40f7e1b99f897 ****/ %feature("compactdefaultargs") Extrema_LocateExtCC; - %feature("autodoc", "Calculates the distance with a close point. the close point is defined by a parameter value on each curve. the function f(u,v)=distance(c1(u),c2(v)) has an extremun when gradient(f)=0. the algorithm searchs the zero near the close point. + %feature("autodoc", "Calculates the distance with a close point. the close point is defined by a parameter value on each curve. the function f(u,v)=distance(c1(u),c2(v)) has an extremun when gradient(f)=0. the algorithm searches the zero near the close point. Parameters ---------- @@ -9835,7 +9913,7 @@ class Extrema_LocateExtCC2d { /****************** Extrema_LocateExtCC2d ******************/ /**** md5 signature: aeae2a9a17c936a1feeafeb2cf4c33c0 ****/ %feature("compactdefaultargs") Extrema_LocateExtCC2d; - %feature("autodoc", "Calculates the distance with a close point. the close point is defined by a parameter value on each curve. the function f(u,v)=distance(c1(u),c2(v)) has an extremun when gradient(f)=0. the algorithm searchs the zero near the close point. + %feature("autodoc", "Calculates the distance with a close point. the close point is defined by a parameter value on each curve. the function f(u,v)=distance(c1(u),c2(v)) has an extremun when gradient(f)=0. the algorithm searches the zero near the close point. Parameters ---------- @@ -9916,7 +9994,7 @@ None /****************** Extrema_LocateExtPC ******************/ /**** md5 signature: 1f82bfa9e68e569fd665333dc6cc52d7 ****/ %feature("compactdefaultargs") Extrema_LocateExtPC; - %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs a zero near the close point. tolf is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolf. + %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches a zero near the close point. tolf is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolf. Parameters ---------- @@ -9934,7 +10012,7 @@ None /****************** Extrema_LocateExtPC ******************/ /**** md5 signature: 562aab74aab68868fccddce757fa6257 ****/ %feature("compactdefaultargs") Extrema_LocateExtPC; - %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs a zero near the close point. zeros are searched between umin et usup. tolf is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolf. + %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches a zero near the close point. zeros are searched between umin et usup. tolf is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolf. Parameters ---------- @@ -10057,7 +10135,7 @@ None /****************** Extrema_LocateExtPC2d ******************/ /**** md5 signature: b4963ac0ef219fdc026e3860d56ab1ff ****/ %feature("compactdefaultargs") Extrema_LocateExtPC2d; - %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs a zero near the close point. tolf is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolf. + %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches a zero near the close point. tolf is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolf. Parameters ---------- @@ -10075,7 +10153,7 @@ None /****************** Extrema_LocateExtPC2d ******************/ /**** md5 signature: b92462651cc4a17c9d9664a4fc8748c0 ****/ %feature("compactdefaultargs") Extrema_LocateExtPC2d; - %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs a zero near the close point. zeros are searched between umin et usup. tolf is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolf. + %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches a zero near the close point. zeros are searched between umin et usup. tolf is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolf. Parameters ---------- @@ -10270,7 +10348,7 @@ bool /****************** NbExt ******************/ /**** md5 signature: 84ada636e4651cacf916eb056265a1d9 ****/ %feature("compactdefaultargs") NbExt; - %feature("autodoc", "Return the nunber of found extrema. + %feature("autodoc", "Return the number of found extrema. Returns ------- @@ -10481,7 +10559,7 @@ bool /****************** NbExt ******************/ /**** md5 signature: 84ada636e4651cacf916eb056265a1d9 ****/ %feature("compactdefaultargs") NbExt; - %feature("autodoc", "Return the nunber of found extrema. + %feature("autodoc", "Return the number of found extrema. Returns ------- @@ -10692,7 +10770,7 @@ bool /****************** NbExt ******************/ /**** md5 signature: 84ada636e4651cacf916eb056265a1d9 ****/ %feature("compactdefaultargs") NbExt; - %feature("autodoc", "Return the nunber of found extrema. + %feature("autodoc", "Return the number of found extrema. Returns ------- @@ -10903,7 +10981,7 @@ bool /****************** NbExt ******************/ /**** md5 signature: 84ada636e4651cacf916eb056265a1d9 ****/ %feature("compactdefaultargs") NbExt; - %feature("autodoc", "Return the nunber of found extrema. + %feature("autodoc", "Return the number of found extrema. Returns ------- @@ -11114,7 +11192,7 @@ bool /****************** NbExt ******************/ /**** md5 signature: 84ada636e4651cacf916eb056265a1d9 ****/ %feature("compactdefaultargs") NbExt; - %feature("autodoc", "Return the nunber of found extrema. + %feature("autodoc", "Return the number of found extrema. Returns ------- @@ -11325,7 +11403,7 @@ bool /****************** NbExt ******************/ /**** md5 signature: 84ada636e4651cacf916eb056265a1d9 ****/ %feature("compactdefaultargs") NbExt; - %feature("autodoc", "Return the nunber of found extrema. + %feature("autodoc", "Return the number of found extrema. Returns ------- @@ -11887,19 +11965,6 @@ class Extrema_HArray2OfPOnSurf : public Extrema_Array2OfPOnSurf, public Standard %make_alias(Extrema_HArray2OfPOnSurf) -class Extrema_HArray2OfPOnSurfParams : public Extrema_Array2OfPOnSurfParams, public Standard_Transient { - public: - Extrema_HArray2OfPOnSurfParams(const Standard_Integer theRowLow, const Standard_Integer theRowUpp, const Standard_Integer theColLow, - const Standard_Integer theColUpp); - Extrema_HArray2OfPOnSurfParams(const Standard_Integer theRowLow, const Standard_Integer theRowUpp, const Standard_Integer theColLow, - const Standard_Integer theColUpp, const Extrema_Array2OfPOnSurfParams::value_type& theValue); - Extrema_HArray2OfPOnSurfParams(const Extrema_Array2OfPOnSurfParams& theOther); - const Extrema_Array2OfPOnSurfParams& Array2 (); - Extrema_Array2OfPOnSurfParams& ChangeArray2 (); -}; -%make_alias(Extrema_HArray2OfPOnSurfParams) - - /* hsequence classes */ /* class aliases */ %pythoncode { diff --git a/src/SWIG_files/wrapper/Extrema.pyi b/src/SWIG_files/wrapper/Extrema.pyi index fc96a8cc9..9a862c28b 100644 --- a/src/SWIG_files/wrapper/Extrema.pyi +++ b/src/SWIG_files/wrapper/Extrema.pyi @@ -492,6 +492,10 @@ class Extrema_ExtCC: @overload def __init__(self, C1: Adaptor3d_Curve, C2: Adaptor3d_Curve, U1: float, U2: float, V1: float, V2: float, TolC1: Optional[float] = 1.0e-10, TolC2: Optional[float] = 1.0e-10) -> None: ... def GetSingleSolutionFlag(self) -> bool: ... + @overload + def Initialize(self, C1: Adaptor3d_Curve, C2: Adaptor3d_Curve, TolC1: Optional[float] = 1.0e-10, TolC2: Optional[float] = 1.0e-10) -> None: ... + @overload + def Initialize(self, C1: Adaptor3d_Curve, C2: Adaptor3d_Curve, U1: float, U2: float, V1: float, V2: float, TolC1: Optional[float] = 1.0e-10, TolC2: Optional[float] = 1.0e-10) -> None: ... def IsDone(self) -> bool: ... def IsParallel(self) -> bool: ... def NbExt(self) -> int: ... @@ -532,6 +536,9 @@ class Extrema_ExtCS: def __init__(self, C: Adaptor3d_Curve, S: Adaptor3d_Surface, TolC: float, TolS: float) -> None: ... @overload def __init__(self, C: Adaptor3d_Curve, S: Adaptor3d_Surface, UCinf: float, UCsup: float, Uinf: float, Usup: float, Vinf: float, Vsup: float, TolC: float, TolS: float) -> None: ... + @overload + def Initialize(self, S: Adaptor3d_Surface, TolC: float, TolS: float) -> None: ... + @overload def Initialize(self, S: Adaptor3d_Surface, Uinf: float, Usup: float, Vinf: float, Vsup: float, TolC: float, TolS: float) -> None: ... def IsDone(self) -> bool: ... def IsParallel(self) -> bool: ... @@ -796,10 +803,10 @@ class Extrema_ExtPExtS(Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, P: gp_Pnt, S: GeomAdaptor_HSurfaceOfLinearExtrusion, Umin: float, Usup: float, Vmin: float, Vsup: float, TolU: float, TolV: float) -> None: ... + def __init__(self, P: gp_Pnt, S: GeomAdaptor_SurfaceOfLinearExtrusion, Umin: float, Usup: float, Vmin: float, Vsup: float, TolU: float, TolV: float) -> None: ... @overload - def __init__(self, P: gp_Pnt, S: GeomAdaptor_HSurfaceOfLinearExtrusion, TolU: float, TolV: float) -> None: ... - def Initialize(self, S: GeomAdaptor_HSurfaceOfLinearExtrusion, Uinf: float, Usup: float, Vinf: float, Vsup: float, TolU: float, TolV: float) -> None: ... + def __init__(self, P: gp_Pnt, S: GeomAdaptor_SurfaceOfLinearExtrusion, TolU: float, TolV: float) -> None: ... + def Initialize(self, S: GeomAdaptor_SurfaceOfLinearExtrusion, Uinf: float, Usup: float, Vinf: float, Vsup: float, TolU: float, TolV: float) -> None: ... def IsDone(self) -> bool: ... def NbExt(self) -> int: ... def Perform(self, P: gp_Pnt) -> None: ... @@ -810,10 +817,10 @@ class Extrema_ExtPRevS(Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, P: gp_Pnt, S: GeomAdaptor_HSurfaceOfRevolution, Umin: float, Usup: float, Vmin: float, Vsup: float, TolU: float, TolV: float) -> None: ... + def __init__(self, P: gp_Pnt, S: GeomAdaptor_SurfaceOfRevolution, Umin: float, Usup: float, Vmin: float, Vsup: float, TolU: float, TolV: float) -> None: ... @overload - def __init__(self, P: gp_Pnt, S: GeomAdaptor_HSurfaceOfRevolution, TolU: float, TolV: float) -> None: ... - def Initialize(self, S: GeomAdaptor_HSurfaceOfRevolution, Umin: float, Usup: float, Vmin: float, Vsup: float, TolU: float, TolV: float) -> None: ... + def __init__(self, P: gp_Pnt, S: GeomAdaptor_SurfaceOfRevolution, TolU: float, TolV: float) -> None: ... + def Initialize(self, S: GeomAdaptor_SurfaceOfRevolution, Umin: float, Usup: float, Vmin: float, Vsup: float, TolU: float, TolV: float) -> None: ... def IsDone(self) -> bool: ... def NbExt(self) -> int: ... def Perform(self, P: gp_Pnt) -> None: ... @@ -988,6 +995,8 @@ class Extrema_GenLocateExtCS: class Extrema_GenLocateExtPS: def __init__(self, theS: Adaptor3d_Surface, theTolU: Optional[float] = precision_PConfusion(), theTolV: Optional[float] = precision_PConfusion()) -> None: ... def IsDone(self) -> bool: ... + @staticmethod + def IsMinDist(theP: gp_Pnt, theS: Adaptor3d_Surface, theU0: float, theV0: float) -> bool: ... def Perform(self, theP: gp_Pnt, theU0: float, theV0: float, isDistanceCriteria: Optional[bool] = False) -> None: ... def Point(self) -> Extrema_POnSurf: ... def SquareDistance(self) -> float: ... @@ -1336,14 +1345,6 @@ class Extrema_HArray2OfPOnSurf(Extrema_Array2OfPOnSurf, Standard_Transient): def __init__(self, theOther: Extrema_Array2OfPOnSurf) -> None: ... def Array2(self) -> Extrema_Array2OfPOnSurf: ... - -class Extrema_HArray2OfPOnSurfParams(Extrema_Array2OfPOnSurfParams, Standard_Transient): - @overload - def __init__(self, theRowLow: int, theRowUpp: int, theColLow: int, theColUpp: int) -> None: ... - @overload - def __init__(self, theOther: Extrema_Array2OfPOnSurfParams) -> None: ... - def Array2(self) -> Extrema_Array2OfPOnSurfParams: ... - # hsequence classes Extrema_Curve2dTool_BSpline = Extrema_Curve2dTool.BSpline @@ -1401,3 +1402,4 @@ Extrema_CurveTool_Parabola = Extrema_CurveTool.Parabola Extrema_CurveTool_Period = Extrema_CurveTool.Period Extrema_CurveTool_Resolution = Extrema_CurveTool.Resolution Extrema_CurveTool_Value = Extrema_CurveTool.Value +Extrema_GenLocateExtPS_IsMinDist = Extrema_GenLocateExtPS.IsMinDist diff --git a/src/SWIG_files/wrapper/FEmTool.i b/src/SWIG_files/wrapper/FEmTool.i index 098b6d8f4..f4440efae 100644 --- a/src/SWIG_files/wrapper/FEmTool.i +++ b/src/SWIG_files/wrapper/FEmTool.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define FEMTOOLDOCSTRING "FEmTool module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_femtool.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_femtool.html" %enddef %module (package="OCC.Core", docstring=FEMTOOLDOCSTRING) FEmTool @@ -67,7 +67,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -564,7 +564,7 @@ None /****************** Hessian ******************/ /**** md5 signature: afd9ce62ebfa0d84f7d2055f5de32ffd ****/ %feature("compactdefaultargs") Hessian; - %feature("autodoc", "To compute j(e) the coefficients of hessian matrix of j(e) wich are crossed derivatives in dimensions and . if dependencetable(dimension1,dimension2) is false. + %feature("autodoc", "To compute j(e) the coefficients of hessian matrix of j(e) which are crossed derivatives in dimensions and . if dependencetable(dimension1,dimension2) is false. Parameters ---------- diff --git a/src/SWIG_files/wrapper/FSD.i b/src/SWIG_files/wrapper/FSD.i index 3c4bbce44..0851d00be 100644 --- a/src/SWIG_files/wrapper/FSD.i +++ b/src/SWIG_files/wrapper/FSD.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define FSDDOCSTRING "FSD module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_fsd.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_fsd.html" %enddef %module (package="OCC.Core", docstring=FSDDOCSTRING) FSD @@ -58,7 +58,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -71,9 +71,9 @@ typedef FILE * FSD_BStream; typedef std::fstream FSD_FStream; /* end typedefs declaration */ -/************************** -* class FSD_Base64Decoder * -**************************/ +/******************* +* class FSD_Base64 * +*******************/ /*********************** * class FSD_BinaryFile * ***********************/ @@ -89,15 +89,15 @@ typedef std::fstream FSD_FStream; /* python proxy for excluded classes */ %pythoncode { @classnotwrapped -class FSD_Base64Decoder: +class FSD_File: pass @classnotwrapped -class FSD_File: +class FSD_BinaryFile: pass @classnotwrapped -class FSD_BinaryFile: +class FSD_Base64: pass @classnotwrapped diff --git a/src/SWIG_files/wrapper/FSD.pyi b/src/SWIG_files/wrapper/FSD.pyi index fb17de908..e83ac8c9d 100644 --- a/src/SWIG_files/wrapper/FSD.pyi +++ b/src/SWIG_files/wrapper/FSD.pyi @@ -8,15 +8,15 @@ FSD_BStream = NewType('FSD_BStream', FILE) #the following typedef cannot be wrapped as is FSD_FStream = NewType('FSD_FStream', Any) -#classnotwrapped -class FSD_Base64Decoder: ... - #classnotwrapped class FSD_File: ... #classnotwrapped class FSD_BinaryFile: ... +#classnotwrapped +class FSD_Base64: ... + #classnotwrapped class FSD_CmpFile: ... diff --git a/src/SWIG_files/wrapper/FairCurve.i b/src/SWIG_files/wrapper/FairCurve.i index 769d6947f..9bfeba38d 100644 --- a/src/SWIG_files/wrapper/FairCurve.i +++ b/src/SWIG_files/wrapper/FairCurve.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define FAIRCURVEDOCSTRING "FairCurve module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_faircurve.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_faircurve.html" %enddef %module (package="OCC.Core", docstring=FAIRCURVEDOCSTRING) FairCurve @@ -76,7 +76,7 @@ enum FairCurve_AnalysisCode { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class FairCurve_AnalysisCode(IntEnum): @@ -679,7 +679,7 @@ E: float /****************** Variable ******************/ /**** md5 signature: fa8df2d29e345b3cf776461e366afde6 ****/ %feature("compactdefaultargs") Variable; - %feature("autodoc", "Compute the variables wich correspond with the field . + %feature("autodoc", "Compute the variables which correspond with the field . Parameters ---------- @@ -978,7 +978,7 @@ FairCurve_AnalysisCode /****************** Variable ******************/ /**** md5 signature: 6b3488daaca93e6e9325a2eab7fcdfd7 ****/ %feature("compactdefaultargs") Variable; - %feature("autodoc", "Compute the variables wich correspond with the field . + %feature("autodoc", "Compute the variables which correspond with the field . Parameters ---------- @@ -1061,7 +1061,7 @@ FairCurve_AnalysisCode /****************** Variable ******************/ /**** md5 signature: 6b3488daaca93e6e9325a2eab7fcdfd7 ****/ %feature("compactdefaultargs") Variable; - %feature("autodoc", "Compute the variables wich correspond with the field . + %feature("autodoc", "Compute the variables which correspond with the field . Parameters ---------- diff --git a/src/SWIG_files/wrapper/FilletSurf.i b/src/SWIG_files/wrapper/FilletSurf.i index ecbc8f89f..7b2f3a1a2 100644 --- a/src/SWIG_files/wrapper/FilletSurf.i +++ b/src/SWIG_files/wrapper/FilletSurf.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define FILLETSURFDOCSTRING "FilletSurf module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_filletsurf.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_filletsurf.html" %enddef %module (package="OCC.Core", docstring=FILLETSURFDOCSTRING) FilletSurf @@ -109,7 +109,7 @@ enum FilletSurf_ErrorTypeStatus { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class FilletSurf_StatusDone(IntEnum): @@ -161,7 +161,7 @@ class FilletSurf_Builder { /****************** FilletSurf_Builder ******************/ /**** md5 signature: c321636a39909ce21004c881f9c9aefa ****/ %feature("compactdefaultargs") FilletSurf_Builder; - %feature("autodoc", "Initialize of the informations necessary for the computation of the fillet on the shape s from a list of edges e and a radius r. //! ta is the angular tolerance tapp3d is the 3d approximation tolerance tapp2d is the 2d approximation tolerance. + %feature("autodoc", "Initialize of the information necessary for the computation of the fillet on the shape s from a list of edges e and a radius r. //! ta is the angular tolerance tapp3d is the 3d approximation tolerance tapp2d is the 2d approximation tolerance. Parameters ---------- @@ -394,7 +394,7 @@ FilletSurf_StatusType /****************** StatusError ******************/ /**** md5 signature: 5167445f2539889d85097497988c0fab ****/ %feature("compactdefaultargs") StatusError; - %feature("autodoc", "Gives informations about error status if isdone=isnotok returns edgenotg1: the edges are not g1 facesnotg1 : two connected faces on a same support are not g1 edgenotonshape: the edge is not on shape notsharpedge: the edge is not sharp pbfilletcompute: problem during the computation of the fillet. + %feature("autodoc", "Gives information about error status if isdone=isnotok returns edgenotg1: the edges are not g1 facesnotg1 : two connected faces on a same support are not g1 edgenotonshape: the edge is not on shape notsharpedge: the edge is not sharp pbfilletcompute: problem during the computation of the fillet. Returns ------- diff --git a/src/SWIG_files/wrapper/GC.i b/src/SWIG_files/wrapper/GC.i index b4789d881..491a37654 100644 --- a/src/SWIG_files/wrapper/GC.i +++ b/src/SWIG_files/wrapper/GC.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GCDOCSTRING "GC module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_gc.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_gc.html" %enddef %module (package="OCC.Core", docstring=GCDOCSTRING) GC @@ -64,7 +64,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -131,7 +131,7 @@ None /****************** GC_MakeMirror ******************/ /**** md5 signature: 82477fa581c9380b0d7767eaecc42a9e ****/ %feature("compactdefaultargs") GC_MakeMirror; - %feature("autodoc", "Make a symetry transformation af axis defined by and . + %feature("autodoc", "Make a symmetry transformation af axis defined by and . Parameters ---------- @@ -147,7 +147,7 @@ None /****************** GC_MakeMirror ******************/ /**** md5 signature: 9c37a175b190c4d1aab7333ace288f71 ****/ %feature("compactdefaultargs") GC_MakeMirror; - %feature("autodoc", "Make a symetry transformation of plane . + %feature("autodoc", "Make a symmetry transformation of plane . Parameters ---------- @@ -162,7 +162,7 @@ None /****************** GC_MakeMirror ******************/ /**** md5 signature: 766d8b90ffc81811b7dc77c2db8faa2a ****/ %feature("compactdefaultargs") GC_MakeMirror; - %feature("autodoc", "Make a symetry transformation of plane . + %feature("autodoc", "Make a symmetry transformation of plane . Parameters ---------- @@ -1459,7 +1459,7 @@ None /****************** GC_MakePlane ******************/ /**** md5 signature: c2a22654c060500d6d24ceefed764443 ****/ %feature("compactdefaultargs") GC_MakePlane; - %feature("autodoc", "Make a plane from geom parallel to another pln at the distance which can be greater or lower than zero. in the first case the result is at the distance to the plane in the direction of the normal to . otherwize it is in the oposite direction. + %feature("autodoc", "Make a plane from geom parallel to another pln at the distance which can be greater or lower than zero. in the first case the result is at the distance to the plane in the direction of the normal to . otherwise it is in the opposite direction. Parameters ---------- @@ -1685,7 +1685,7 @@ class GC_MakeTrimmedCylinder : public GC_Root { /****************** GC_MakeTrimmedCylinder ******************/ /**** md5 signature: 4a35a8293ea23e9fd492e2bbf18ea8e6 ****/ %feature("compactdefaultargs") GC_MakeTrimmedCylinder; - %feature("autodoc", "Make a cylindricalsurface from geom its axis is is and its radius is the distance between and . the height is the distance between p1 and p2. + %feature("autodoc", "Make a cylindricalsurface from geom its axis is and its radius is the distance between and . the height is the distance between p1 and p2. Parameters ---------- diff --git a/src/SWIG_files/wrapper/GCE2d.i b/src/SWIG_files/wrapper/GCE2d.i index a7b9cf73c..11dd7b5ac 100644 --- a/src/SWIG_files/wrapper/GCE2d.i +++ b/src/SWIG_files/wrapper/GCE2d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GCE2DDOCSTRING "GCE2d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_gce2d.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_gce2d.html" %enddef %module (package="OCC.Core", docstring=GCE2DDOCSTRING) GCE2d @@ -64,7 +64,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -131,7 +131,7 @@ None /****************** GCE2d_MakeMirror ******************/ /**** md5 signature: 85ef46a2c1cffef606a4e9650e4feea1 ****/ %feature("compactdefaultargs") GCE2d_MakeMirror; - %feature("autodoc", "Make a symetry transformation af axis defined by and . + %feature("autodoc", "Make a symmetry transformation af axis defined by and . Parameters ---------- @@ -1311,7 +1311,7 @@ None /****************** GCE2d_MakeSegment ******************/ /**** md5 signature: ff0b4f2ad6a142afbb18a36fe5176f14 ****/ %feature("compactdefaultargs") GCE2d_MakeSegment; - %feature("autodoc", "Make a segment of line from the line between the two parameters u1 and u2. status is 'sameparamters' if is equal . + %feature("autodoc", "Make a segment of line from the line between the two parameters u1 and u2. status is 'sameparameters' if is equal . Parameters ---------- diff --git a/src/SWIG_files/wrapper/GCPnts.i b/src/SWIG_files/wrapper/GCPnts.i index a6581b8df..3b78d15f5 100644 --- a/src/SWIG_files/wrapper/GCPnts.i +++ b/src/SWIG_files/wrapper/GCPnts.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GCPNTSDOCSTRING "GCPnts module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_gcpnts.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_gcpnts.html" %enddef %module (package="OCC.Core", docstring=GCPNTSDOCSTRING) GCPnts @@ -84,7 +84,7 @@ enum GCPnts_AbscissaType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class GCPnts_DeflectionType(IntEnum): @@ -124,7 +124,7 @@ class GCPnts_AbscissaPoint { /****************** GCPnts_AbscissaPoint ******************/ /**** md5 signature: e9e9ed8389a2f8082b7f1c66900c4a47 ****/ %feature("compactdefaultargs") GCPnts_AbscissaPoint; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Empty constructor. Returns ------- @@ -133,148 +133,148 @@ None GCPnts_AbscissaPoint(); /****************** GCPnts_AbscissaPoint ******************/ - /**** md5 signature: 13fa7fec22d8738eacffcc71a526050d ****/ + /**** md5 signature: 994f7fd46e144d693934367c87eff7d8 ****/ %feature("compactdefaultargs") GCPnts_AbscissaPoint; - %feature("autodoc", "The algorithm computes a point on a curve at the distance from the point of parameter . + %feature("autodoc", "The algorithm computes a point on a curve at the distance theabscissa from the point of parameter theu0. Parameters ---------- -C: Adaptor3d_Curve -Abscissa: float -U0: float +theC: Adaptor3d_Curve +theAbscissa: float +theU0: float Returns ------- None ") GCPnts_AbscissaPoint; - GCPnts_AbscissaPoint(const Adaptor3d_Curve & C, const Standard_Real Abscissa, const Standard_Real U0); + GCPnts_AbscissaPoint(const Adaptor3d_Curve & theC, const Standard_Real theAbscissa, const Standard_Real theU0); /****************** GCPnts_AbscissaPoint ******************/ - /**** md5 signature: 39fc08c89f4b15376ce9f8b70371c087 ****/ + /**** md5 signature: e899defbc3b18b307a0f709838f26d36 ****/ %feature("compactdefaultargs") GCPnts_AbscissaPoint; - %feature("autodoc", "The algorithm computes a point on a curve at the distance from the point of parameter with the given tolerance. + %feature("autodoc", "The algorithm computes a point on a curve at the distance theabscissa from the point of parameter theu0 with the given tolerance. Parameters ---------- -Tol: float -C: Adaptor3d_Curve -Abscissa: float -U0: float +theTol: float +theC: Adaptor3d_Curve +theAbscissa: float +theU0: float Returns ------- None ") GCPnts_AbscissaPoint; - GCPnts_AbscissaPoint(const Standard_Real Tol, const Adaptor3d_Curve & C, const Standard_Real Abscissa, const Standard_Real U0); + GCPnts_AbscissaPoint(const Standard_Real theTol, const Adaptor3d_Curve & theC, const Standard_Real theAbscissa, const Standard_Real theU0); /****************** GCPnts_AbscissaPoint ******************/ - /**** md5 signature: e7e8411a006f0f65fb4638306f22291e ****/ + /**** md5 signature: bf74800bc5e96e7e6bece681096cc227 ****/ %feature("compactdefaultargs") GCPnts_AbscissaPoint; - %feature("autodoc", "The algorithm computes a point on a curve at the distance from the point of parameter with the given tolerance. + %feature("autodoc", "The algorithm computes a point on a curve at the distance theabscissa from the point of parameter theu0 with the given tolerance. Parameters ---------- -Tol: float -C: Adaptor2d_Curve2d -Abscissa: float -U0: float +theTol: float +theC: Adaptor2d_Curve2d +theAbscissa: float +theU0: float Returns ------- None ") GCPnts_AbscissaPoint; - GCPnts_AbscissaPoint(const Standard_Real Tol, const Adaptor2d_Curve2d & C, const Standard_Real Abscissa, const Standard_Real U0); + GCPnts_AbscissaPoint(const Standard_Real theTol, const Adaptor2d_Curve2d & theC, const Standard_Real theAbscissa, const Standard_Real theU0); /****************** GCPnts_AbscissaPoint ******************/ - /**** md5 signature: f663f2726ca2323b0a9fe699b88229e4 ****/ + /**** md5 signature: 149827954cacc4a64054884618228ebc ****/ %feature("compactdefaultargs") GCPnts_AbscissaPoint; - %feature("autodoc", "The algorithm computes a point on a curve at the distance from the point of parameter . + %feature("autodoc", "The algorithm computes a point on a curve at the distance theabscissa from the point of parameter theu0. Parameters ---------- -C: Adaptor2d_Curve2d -Abscissa: float -U0: float +theC: Adaptor2d_Curve2d +theAbscissa: float +theU0: float Returns ------- None ") GCPnts_AbscissaPoint; - GCPnts_AbscissaPoint(const Adaptor2d_Curve2d & C, const Standard_Real Abscissa, const Standard_Real U0); + GCPnts_AbscissaPoint(const Adaptor2d_Curve2d & theC, const Standard_Real theAbscissa, const Standard_Real theU0); /****************** GCPnts_AbscissaPoint ******************/ - /**** md5 signature: 02c0c16c94f3338047ec03f03649ea26 ****/ + /**** md5 signature: f0d4479d46145782f8e11143c82b6809 ****/ %feature("compactdefaultargs") GCPnts_AbscissaPoint; - %feature("autodoc", "The algorithm computes a point on a curve at the distance from the point of parameter . is the starting value used in the iterative process which find the solution, it must be close to the final solution. + %feature("autodoc", "The algorithm computes a point on a curve at the distance theabscissa from the point of parameter theu0. theui is the starting value used in the iterative process which find the solution, it must be close to the final solution. Parameters ---------- -C: Adaptor3d_Curve -Abscissa: float -U0: float -Ui: float +theC: Adaptor3d_Curve +theAbscissa: float +theU0: float +theUi: float Returns ------- None ") GCPnts_AbscissaPoint; - GCPnts_AbscissaPoint(const Adaptor3d_Curve & C, const Standard_Real Abscissa, const Standard_Real U0, const Standard_Real Ui); + GCPnts_AbscissaPoint(const Adaptor3d_Curve & theC, const Standard_Real theAbscissa, const Standard_Real theU0, const Standard_Real theUi); /****************** GCPnts_AbscissaPoint ******************/ - /**** md5 signature: bb7188368d709950161699b43569abd9 ****/ + /**** md5 signature: e276268e7f3319a5141ea9d9269d427e ****/ %feature("compactdefaultargs") GCPnts_AbscissaPoint; - %feature("autodoc", "The algorithm computes a point on a curve at the distance from the point of parameter . is the starting value used in the iterative process which find the solution, it must be closed to the final solution. + %feature("autodoc", "The algorithm computes a point on a curve at the distance theabscissa from the point of parameter theu0. theui is the starting value used in the iterative process which find the solution, it must be closed to the final solution. Parameters ---------- -C: Adaptor2d_Curve2d -Abscissa: float -U0: float -Ui: float +theC: Adaptor2d_Curve2d +theAbscissa: float +theU0: float +theUi: float Returns ------- None ") GCPnts_AbscissaPoint; - GCPnts_AbscissaPoint(const Adaptor2d_Curve2d & C, const Standard_Real Abscissa, const Standard_Real U0, const Standard_Real Ui); + GCPnts_AbscissaPoint(const Adaptor2d_Curve2d & theC, const Standard_Real theAbscissa, const Standard_Real theU0, const Standard_Real theUi); /****************** GCPnts_AbscissaPoint ******************/ - /**** md5 signature: c680835ef5a8e88805b58e15c8f414ed ****/ + /**** md5 signature: edb80e41eebb154b56723e549d17cd66 ****/ %feature("compactdefaultargs") GCPnts_AbscissaPoint; - %feature("autodoc", "The algorithm computes a point on a curve at the distance from the point of parameter . is the starting value used in the iterative process which find the solution, it must be close to the final solution. + %feature("autodoc", "The algorithm computes a point on a curve at the distance theabscissa from the point of parameter theu0. theui is the starting value used in the iterative process which find the solution, it must be close to the final solution. Parameters ---------- -C: Adaptor3d_Curve -Abscissa: float -U0: float -Ui: float -Tol: float +theC: Adaptor3d_Curve +theAbscissa: float +theU0: float +theUi: float +theTol: float Returns ------- None ") GCPnts_AbscissaPoint; - GCPnts_AbscissaPoint(const Adaptor3d_Curve & C, const Standard_Real Abscissa, const Standard_Real U0, const Standard_Real Ui, const Standard_Real Tol); + GCPnts_AbscissaPoint(const Adaptor3d_Curve & theC, const Standard_Real theAbscissa, const Standard_Real theU0, const Standard_Real theUi, const Standard_Real theTol); /****************** GCPnts_AbscissaPoint ******************/ - /**** md5 signature: 71164c1b7987746efc1115470883c54e ****/ + /**** md5 signature: e2821bf35681332a03f6bfe49874a10b ****/ %feature("compactdefaultargs") GCPnts_AbscissaPoint; - %feature("autodoc", "The algorithm computes a point on a curve at the distance from the point of parameter . is the starting value used in the iterative process which find the solution, it must be close to the final solution. + %feature("autodoc", "The algorithm computes a point on a curve at the distance theabscissa from the point of parameter theu0. theui is the starting value used in the iterative process which find the solution, it must be close to the final solution. Parameters ---------- -C: Adaptor2d_Curve2d -Abscissa: float -U0: float -Ui: float -Tol: float +theC: Adaptor2d_Curve2d +theAbscissa: float +theU0: float +theUi: float +theTol: float Returns ------- None ") GCPnts_AbscissaPoint; - GCPnts_AbscissaPoint(const Adaptor2d_Curve2d & C, const Standard_Real Abscissa, const Standard_Real U0, const Standard_Real Ui, const Standard_Real Tol); + GCPnts_AbscissaPoint(const Adaptor2d_Curve2d & theC, const Standard_Real theAbscissa, const Standard_Real theU0, const Standard_Real theUi, const Standard_Real theTol); /****************** IsDone ******************/ /**** md5 signature: e385477ab1bec806154173d4a550fd68 ****/ @@ -288,136 +288,136 @@ bool Standard_Boolean IsDone(); /****************** Length ******************/ - /**** md5 signature: eba769e16675af7987425cafd53458ca ****/ + /**** md5 signature: 042f9221edd3ab5e957807852ec69e0f ****/ %feature("compactdefaultargs") Length; - %feature("autodoc", "Computes the length of the curve . + %feature("autodoc", "Computes the length of the 3d curve. Parameters ---------- -C: Adaptor3d_Curve +theC: Adaptor3d_Curve Returns ------- float ") Length; - static Standard_Real Length(const Adaptor3d_Curve & C); + static Standard_Real Length(const Adaptor3d_Curve & theC); /****************** Length ******************/ - /**** md5 signature: 765cbebd0c62408a590e139d7941ff63 ****/ + /**** md5 signature: 2ab2e1b92a4eeed3a8a63ee4e4e8d78d ****/ %feature("compactdefaultargs") Length; - %feature("autodoc", "Computes the length of the curve . + %feature("autodoc", "Computes the length of the 2d curve. Parameters ---------- -C: Adaptor2d_Curve2d +theC: Adaptor2d_Curve2d Returns ------- float ") Length; - static Standard_Real Length(const Adaptor2d_Curve2d & C); + static Standard_Real Length(const Adaptor2d_Curve2d & theC); /****************** Length ******************/ - /**** md5 signature: 0c294f64dbc0f6a4115eef7dd6094c0a ****/ + /**** md5 signature: 9a1db470fe18f3a43cf1c177415bed7c ****/ %feature("compactdefaultargs") Length; - %feature("autodoc", "Computes the length of the curve with the given tolerance. + %feature("autodoc", "Computes the length of the 3d curve with the given tolerance. Parameters ---------- -C: Adaptor3d_Curve -Tol: float +theC: Adaptor3d_Curve +theTol: float Returns ------- float ") Length; - static Standard_Real Length(const Adaptor3d_Curve & C, const Standard_Real Tol); + static Standard_Real Length(const Adaptor3d_Curve & theC, const Standard_Real theTol); /****************** Length ******************/ - /**** md5 signature: 2369489a44197d1ca38f55d75b7ed4bb ****/ + /**** md5 signature: 4782e2d3c54640d45f3910856a523a0d ****/ %feature("compactdefaultargs") Length; - %feature("autodoc", "Computes the length of the curve with the given tolerance. + %feature("autodoc", "Computes the length of the 2d curve with the given tolerance. Parameters ---------- -C: Adaptor2d_Curve2d -Tol: float +theC: Adaptor2d_Curve2d +theTol: float Returns ------- float ") Length; - static Standard_Real Length(const Adaptor2d_Curve2d & C, const Standard_Real Tol); + static Standard_Real Length(const Adaptor2d_Curve2d & theC, const Standard_Real theTol); /****************** Length ******************/ - /**** md5 signature: 0ff9ac31546f5bd02057bb36f563f5d4 ****/ + /**** md5 signature: 92a3bd66d06c2f69fd7d3efcc4a1a170 ****/ %feature("compactdefaultargs") Length; - %feature("autodoc", "Computes the length of the curve . + %feature("autodoc", "Computes the length of the 3d curve. Parameters ---------- -C: Adaptor3d_Curve -U1: float -U2: float +theC: Adaptor3d_Curve +theU1: float +theU2: float Returns ------- float ") Length; - static Standard_Real Length(const Adaptor3d_Curve & C, const Standard_Real U1, const Standard_Real U2); + static Standard_Real Length(const Adaptor3d_Curve & theC, const Standard_Real theU1, const Standard_Real theU2); /****************** Length ******************/ - /**** md5 signature: 1e46daf657fccb259b7d9f58dc7e413b ****/ + /**** md5 signature: 2b066742b0469dfd4834243e7a135d11 ****/ %feature("compactdefaultargs") Length; - %feature("autodoc", "Computes the length of the curve . + %feature("autodoc", "Computes the length of the 2d curve. Parameters ---------- -C: Adaptor2d_Curve2d -U1: float -U2: float +theC: Adaptor2d_Curve2d +theU1: float +theU2: float Returns ------- float ") Length; - static Standard_Real Length(const Adaptor2d_Curve2d & C, const Standard_Real U1, const Standard_Real U2); + static Standard_Real Length(const Adaptor2d_Curve2d & theC, const Standard_Real theU1, const Standard_Real theU2); /****************** Length ******************/ - /**** md5 signature: 2e36ed9a5703e01dfe14dffcfd406a78 ****/ + /**** md5 signature: bb6b4be428e60ce7959343316ec50d58 ****/ %feature("compactdefaultargs") Length; - %feature("autodoc", "Computes the length of the curve with the given tolerance. + %feature("autodoc", "Computes the length of the 3d curve with the given tolerance. Parameters ---------- -C: Adaptor3d_Curve -U1: float -U2: float -Tol: float +theC: Adaptor3d_Curve +theU1: float +theU2: float +theTol: float Returns ------- float ") Length; - static Standard_Real Length(const Adaptor3d_Curve & C, const Standard_Real U1, const Standard_Real U2, const Standard_Real Tol); + static Standard_Real Length(const Adaptor3d_Curve & theC, const Standard_Real theU1, const Standard_Real theU2, const Standard_Real theTol); /****************** Length ******************/ - /**** md5 signature: 01305edaf2437396737fa3c58ad94127 ****/ + /**** md5 signature: 57f71acf7ac66837fcd814ff6da0c063 ****/ %feature("compactdefaultargs") Length; - %feature("autodoc", "Computes the length of the curve with the given tolerance. constructs an empty algorithm. this function is used only for initializing a framework to compute the length of a curve (or a series of curves). warning the function isdone will return the value false after the use of this function. + %feature("autodoc", "Computes the length of the curve with the given tolerance. Parameters ---------- -C: Adaptor2d_Curve2d -U1: float -U2: float -Tol: float +theC: Adaptor2d_Curve2d +theU1: float +theU2: float +theTol: float Returns ------- float ") Length; - static Standard_Real Length(const Adaptor2d_Curve2d & C, const Standard_Real U1, const Standard_Real U2, const Standard_Real Tol); + static Standard_Real Length(const Adaptor2d_Curve2d & theC, const Standard_Real theU1, const Standard_Real theU2, const Standard_Real theTol); /****************** Parameter ******************/ /**** md5 signature: a1c30d1196ee452cd8e422f1e25a0fbc ****/ @@ -572,140 +572,140 @@ None GCPnts_QuasiUniformAbscissa(); /****************** GCPnts_QuasiUniformAbscissa ******************/ - /**** md5 signature: 8fe67c8bf8bcaeb8dd81c44abc998e63 ****/ + /**** md5 signature: dd562f7cb1072dc4828085b7acd50b2f ****/ %feature("compactdefaultargs") GCPnts_QuasiUniformAbscissa; - %feature("autodoc", "Computes a uniform abscissa distribution of points - on the curve c where abscissa is the curvilinear distance between two consecutive points of the distribution. + %feature("autodoc", "Computes a uniform abscissa distribution of points - on the curve where abscissa is the curvilinear distance between two consecutive points of the distribution. Parameters ---------- -C: Adaptor3d_Curve -NbPoints: int +theC: Adaptor3d_Curve +theNbPoints: int Returns ------- None ") GCPnts_QuasiUniformAbscissa; - GCPnts_QuasiUniformAbscissa(const Adaptor3d_Curve & C, const Standard_Integer NbPoints); + GCPnts_QuasiUniformAbscissa(const Adaptor3d_Curve & theC, const Standard_Integer theNbPoints); /****************** GCPnts_QuasiUniformAbscissa ******************/ - /**** md5 signature: d6b8d649ee5bc9861491ee8690fc7ddd ****/ + /**** md5 signature: 208585ff814fd87a45d0395b14d6927b ****/ %feature("compactdefaultargs") GCPnts_QuasiUniformAbscissa; - %feature("autodoc", "Computes a uniform abscissa distribution of points on the part of curve c limited by the two parameter values u1 and u2, where abscissa is the curvilinear distance between two consecutive points of the distribution. the first point of the distribution is either the origin of curve c or the point of parameter u1. the following points are computed such that the curvilinear distance between two consecutive points is equal to abscissa. the last point of the distribution is either the end point of curve c or the point of parameter u2. however the curvilinear distance between this last point and the point just preceding it in the distribution is, of course, generally not equal to abscissa. use the function isdone to verify that the computation was successful, the function nbpoints to obtain the number of points of the computed distribution, and the function parameter to read the parameter of each point. warning the roles of u1 and u2 are inverted if u1 > u2 . warning c is an adapted curve, that is, an object which is an interface between: - the services provided by either a 2d curve from the package geom2d (in the case of an adaptor2d_curve2d curve) or a 3d curve from the package geom (in the case of an adaptor3d_curve curve), - and those required on the curve by the computation algorithm. + %feature("autodoc", "Computes a uniform abscissa distribution of points on the part of curve limited by the two parameter values theu1 and theu2, where abscissa is the curvilinear distance between two consecutive points of the distribution. the first point of the distribution is either the origin of curve or the point of parameter theu1. the following points are computed such that the curvilinear distance between two consecutive points is equal to abscissa. the last point of the distribution is either the end point of curve or the point of parameter theu2. however the curvilinear distance between this last point and the point just preceding it in the distribution is, of course, generally not equal to abscissa. use the function isdone() to verify that the computation was successful, the function nbpoints() to obtain the number of points of the computed distribution, and the function parameter() to read the parameter of each point. //! warning the roles of theu1 and theu2 are inverted if theu1 > theu2. warning thec is an adapted curve, that is, an object which is an interface between: - the services provided by either a 2d curve from the package geom2d (in the case of an adaptor2d_curve2d curve) or a 3d curve from the package geom (in the case of an adaptor3d_curve curve), - and those required on the curve by the computation algorithm. @param thec [in] input 3d curve @param thenbpoints [in] defines the number of desired points @param theu1 [in] first parameter on curve @param theu2 [in] last parameter on curve. Parameters ---------- -C: Adaptor3d_Curve -NbPoints: int -U1: float -U2: float +theC: Adaptor3d_Curve +theNbPoints: int +theU1: float +theU2: float Returns ------- None ") GCPnts_QuasiUniformAbscissa; - GCPnts_QuasiUniformAbscissa(const Adaptor3d_Curve & C, const Standard_Integer NbPoints, const Standard_Real U1, const Standard_Real U2); + GCPnts_QuasiUniformAbscissa(const Adaptor3d_Curve & theC, const Standard_Integer theNbPoints, const Standard_Real theU1, const Standard_Real theU2); /****************** GCPnts_QuasiUniformAbscissa ******************/ - /**** md5 signature: 91115d7f24542ea7b8be7fd060ecf888 ****/ + /**** md5 signature: 5b685a23d5e0c95b72641488537f0bb4 ****/ %feature("compactdefaultargs") GCPnts_QuasiUniformAbscissa; - %feature("autodoc", "Computes a uniform abscissa distribution of points on the curve2d . defines the nomber of desired points. + %feature("autodoc", "Computes a uniform abscissa distribution of points on the 2d curve. @param thec [in] input 2d curve @param thenbpoints [in] defines the number of desired points. Parameters ---------- -C: Adaptor2d_Curve2d -NbPoints: int +theC: Adaptor2d_Curve2d +theNbPoints: int Returns ------- None ") GCPnts_QuasiUniformAbscissa; - GCPnts_QuasiUniformAbscissa(const Adaptor2d_Curve2d & C, const Standard_Integer NbPoints); + GCPnts_QuasiUniformAbscissa(const Adaptor2d_Curve2d & theC, const Standard_Integer theNbPoints); /****************** GCPnts_QuasiUniformAbscissa ******************/ - /**** md5 signature: 30dc0733afd16e4522e4245467edee5a ****/ + /**** md5 signature: 68eba7225e3210dd556f8f7c730aed8f ****/ %feature("compactdefaultargs") GCPnts_QuasiUniformAbscissa; - %feature("autodoc", "Computes a uniform abscissa distribution of points on a part of the curve2d . + %feature("autodoc", "Computes a uniform abscissa distribution of points on a part of the 2d curve. @param thec [in] input 2d curve @param thenbpoints [in] defines the number of desired points @param theu1 [in] first parameter on curve @param theu2 [in] last parameter on curve. Parameters ---------- -C: Adaptor2d_Curve2d -NbPoints: int -U1: float -U2: float +theC: Adaptor2d_Curve2d +theNbPoints: int +theU1: float +theU2: float Returns ------- None ") GCPnts_QuasiUniformAbscissa; - GCPnts_QuasiUniformAbscissa(const Adaptor2d_Curve2d & C, const Standard_Integer NbPoints, const Standard_Real U1, const Standard_Real U2); + GCPnts_QuasiUniformAbscissa(const Adaptor2d_Curve2d & theC, const Standard_Integer theNbPoints, const Standard_Real theU1, const Standard_Real theU2); /****************** Initialize ******************/ - /**** md5 signature: 78e009081d465109cd710d1f4a75cd46 ****/ + /**** md5 signature: b84c4aadf7906dd0835d7108bad17a6f ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , and. + %feature("autodoc", "Initialize the algorithms with 3d curve and target number of points. @param thec [in] input 3d curve @param thenbpoints [in] defines the number of desired points. Parameters ---------- -C: Adaptor3d_Curve -NbPoints: int +theC: Adaptor3d_Curve +theNbPoints: int Returns ------- None ") Initialize; - void Initialize(const Adaptor3d_Curve & C, const Standard_Integer NbPoints); + void Initialize(const Adaptor3d_Curve & theC, const Standard_Integer theNbPoints); /****************** Initialize ******************/ - /**** md5 signature: b376ca3f00cc8baa31efada6f557917b ****/ + /**** md5 signature: 53ce7362fdacfdc7fff6d7912f75ef9f ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , , , . + %feature("autodoc", "Initialize the algorithms with 3d curve, target number of points and curve parameter range. @param thec [in] input 3d curve @param thenbpoints [in] defines the number of desired points @param theu1 [in] first parameter on curve @param theu2 [in] last parameter on curve. Parameters ---------- -C: Adaptor3d_Curve -NbPoints: int -U1: float -U2: float +theC: Adaptor3d_Curve +theNbPoints: int +theU1: float +theU2: float Returns ------- None ") Initialize; - void Initialize(const Adaptor3d_Curve & C, const Standard_Integer NbPoints, const Standard_Real U1, const Standard_Real U2); + void Initialize(const Adaptor3d_Curve & theC, const Standard_Integer theNbPoints, const Standard_Real theU1, const Standard_Real theU2); /****************** Initialize ******************/ - /**** md5 signature: e198761a4b69ce7c00e5cf592491a6f7 ****/ + /**** md5 signature: c0645af498cba44e7fdc2497f9e35b9d ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , and. + %feature("autodoc", "Initialize the algorithms with 2d curve and target number of points. @param thec [in] input 2d curve @param thenbpoints [in] defines the number of desired points. Parameters ---------- -C: Adaptor2d_Curve2d -NbPoints: int +theC: Adaptor2d_Curve2d +theNbPoints: int Returns ------- None ") Initialize; - void Initialize(const Adaptor2d_Curve2d & C, const Standard_Integer NbPoints); + void Initialize(const Adaptor2d_Curve2d & theC, const Standard_Integer theNbPoints); /****************** Initialize ******************/ - /**** md5 signature: dbb71176aee097012f26a1d2c4d8b47c ****/ + /**** md5 signature: ed4a2afda240c0f04b820d3a8e6dfb1a ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , , , . + %feature("autodoc", "Initialize the algorithms with 2d curve, target number of points and curve parameter range. @param thec [in] input 2d curve @param thenbpoints [in] defines the number of desired points @param theu1 [in] first parameter on curve @param theu2 [in] last parameter on curve. Parameters ---------- -C: Adaptor2d_Curve2d -NbPoints: int -U1: float -U2: float +theC: Adaptor2d_Curve2d +theNbPoints: int +theU1: float +theU2: float Returns ------- None ") Initialize; - void Initialize(const Adaptor2d_Curve2d & C, const Standard_Integer NbPoints, const Standard_Real U1, const Standard_Real U2); + void Initialize(const Adaptor2d_Curve2d & theC, const Standard_Integer theNbPoints, const Standard_Real theU1, const Standard_Real theU2); /****************** IsDone ******************/ /**** md5 signature: e385477ab1bec806154173d4a550fd68 ****/ @@ -761,7 +761,7 @@ class GCPnts_QuasiUniformDeflection { /****************** GCPnts_QuasiUniformDeflection ******************/ /**** md5 signature: efa98a17078c26984adf714d01a559d0 ****/ %feature("compactdefaultargs") GCPnts_QuasiUniformDeflection; - %feature("autodoc", "Constructs an empty algorithm. to define the problem to be solved, use the function initialize. + %feature("autodoc", "Constructs an empty algorithm. to define the problem to be solved, use the function initialize(). Returns ------- @@ -770,80 +770,80 @@ None GCPnts_QuasiUniformDeflection(); /****************** GCPnts_QuasiUniformDeflection ******************/ - /**** md5 signature: 21f3cdb414dfacc1adb769f5feeefaa5 ****/ + /**** md5 signature: 9f427f22da8d1765aa59c8978c365230 ****/ %feature("compactdefaultargs") GCPnts_QuasiUniformDeflection; - %feature("autodoc", "Computes a quasiuniform deflection distribution of points on the curve . + %feature("autodoc", "Computes a quasiuniform deflection distribution of points on the curve. Parameters ---------- -C: Adaptor3d_Curve -Deflection: float -Continuity: GeomAbs_Shape,optional +theC: Adaptor3d_Curve +theDeflection: float +theContinuity: GeomAbs_Shape,optional default value is GeomAbs_C1 Returns ------- None ") GCPnts_QuasiUniformDeflection; - GCPnts_QuasiUniformDeflection(const Adaptor3d_Curve & C, const Standard_Real Deflection, const GeomAbs_Shape Continuity = GeomAbs_C1); + GCPnts_QuasiUniformDeflection(const Adaptor3d_Curve & theC, const Standard_Real theDeflection, const GeomAbs_Shape theContinuity = GeomAbs_C1); /****************** GCPnts_QuasiUniformDeflection ******************/ - /**** md5 signature: 4406b6f8f6b53db0691121375ca5097b ****/ + /**** md5 signature: 47da4f025691c83a80f04c6175d1185d ****/ %feature("compactdefaultargs") GCPnts_QuasiUniformDeflection; - %feature("autodoc", "Computes a quasiuniform deflection distribution of points on the curve . + %feature("autodoc", "Computes a quasiuniform deflection distribution of points on the curve. Parameters ---------- -C: Adaptor2d_Curve2d -Deflection: float -Continuity: GeomAbs_Shape,optional +theC: Adaptor2d_Curve2d +theDeflection: float +theContinuity: GeomAbs_Shape,optional default value is GeomAbs_C1 Returns ------- None ") GCPnts_QuasiUniformDeflection; - GCPnts_QuasiUniformDeflection(const Adaptor2d_Curve2d & C, const Standard_Real Deflection, const GeomAbs_Shape Continuity = GeomAbs_C1); + GCPnts_QuasiUniformDeflection(const Adaptor2d_Curve2d & theC, const Standard_Real theDeflection, const GeomAbs_Shape theContinuity = GeomAbs_C1); /****************** GCPnts_QuasiUniformDeflection ******************/ - /**** md5 signature: e5c32f3d7419a9ad1125046a26eedbb9 ****/ + /**** md5 signature: 70a0f4989745d4e7d0413f64ba479aa8 ****/ %feature("compactdefaultargs") GCPnts_QuasiUniformDeflection; - %feature("autodoc", "Computes a quasiuniform deflection distribution of points on a part of the curve . + %feature("autodoc", "Computes a quasiuniform deflection distribution of points on a part of the curve. Parameters ---------- -C: Adaptor3d_Curve -Deflection: float -U1: float -U2: float -Continuity: GeomAbs_Shape,optional +theC: Adaptor3d_Curve +theDeflection: float +theU1: float +theU2: float +theContinuity: GeomAbs_Shape,optional default value is GeomAbs_C1 Returns ------- None ") GCPnts_QuasiUniformDeflection; - GCPnts_QuasiUniformDeflection(const Adaptor3d_Curve & C, const Standard_Real Deflection, const Standard_Real U1, const Standard_Real U2, const GeomAbs_Shape Continuity = GeomAbs_C1); + GCPnts_QuasiUniformDeflection(const Adaptor3d_Curve & theC, const Standard_Real theDeflection, const Standard_Real theU1, const Standard_Real theU2, const GeomAbs_Shape theContinuity = GeomAbs_C1); /****************** GCPnts_QuasiUniformDeflection ******************/ - /**** md5 signature: d88ae7d685789f15a2fd2e2380727de9 ****/ + /**** md5 signature: dbd5412a35e8329eb249a545ab74b89d ****/ %feature("compactdefaultargs") GCPnts_QuasiUniformDeflection; - %feature("autodoc", "Computes a quasiuniform deflection distribution of points on a part of the curve . this and the above algorithms compute a distribution of points: - on the curve c, or - on the part of curve c limited by the two parameter values u1 and u2, where the deflection resulting from the distributed points is not greater than deflection. the first point of the distribution is either the origin of curve c or the point of parameter u1. the last point of the distribution is either the end point of curve c or the point of parameter u2. intermediate points of the distribution are built such that the deflection is not greater than deflection. using the following evaluation of the deflection: if pi and pj are two consecutive points of the distribution, respectively of parameter ui and uj on the curve, the deflection is the distance between: - the mid-point of pi and pj (the center of the chord joining these two points) - and the point of mid-parameter of these two points (the point of parameter [(ui+uj) / 2 ] on curve c). continuity, defaulted to geomabs_c1, gives the degree of continuity of the curve c. (note that c is an adaptor3d_curve or an adaptor2d_curve2d object, and does not know the degree of continuity of the underlying curve). use the function isdone to verify that the computation was successful, the function nbpoints to obtain the number of points of the computed distribution, and the function parameter to read the parameter of each point. warning - the roles of u1 and u2 are inverted if u1 > u2. - derivative functions on the curve are called according to continuity. an error may occur if continuity is greater than the real degree of continuity of the curve. warning c is an adapted curve, i.e. an object which is an interface between: - the services provided by either a 2d curve from the package geom2d (in the case of an adaptor2d_curve2d curve) or a 3d curve from the package geom (in the case of an adaptor3d_curve curve), - and those required on the curve by the computation algorithm. + %feature("autodoc", "Computes a quasiuniform deflection distribution of points on a part of the curve. this and the above algorithms compute a distribution of points: - on the curve thec, or - on the part of curve thec limited by the two parameter values theu1 and theu2, where the deflection resulting from the distributed points is not greater than thedeflection. //! the first point of the distribution is either the origin of curve thec or the point of parameter theu1. the last point of the distribution is either the end point of curve thec or the point of parameter theu2. //! intermediate points of the distribution are built such that the deflection is not greater than thedeflection. using the following evaluation of the deflection: if pi and pj are two consecutive points of the distribution, respectively of parameter ui and uj on the curve, the deflection is the distance between: - the mid-point of pi and pj (the center of the chord joining these two points) - and the point of mid-parameter of these two points (the point of parameter [(ui+uj) / 2] on curve thec). thecontinuity, defaulted to geomabs_c1, gives the degree of continuity of the curve thec. (note that c is an adaptor3d_curve or an adaptor2d_curve2d object, and does not know the degree of continuity of the underlying curve). use the function isdone() to verify that the computation was successful, the function nbpoints() to obtain the number of points of the computed distribution, and the function parameter() to read the parameter of each point. //! warning - the roles of theu1 and theu2 are inverted if theu1 > theu2. - derivative functions on the curve are called according to thecontinuity. an error may occur if thecontinuity is greater than the real degree of continuity of the curve. //! warning thec is an adapted curve, i.e. an object which is an interface between: - the services provided by either a 2d curve from the package geom2d (in the case of an adaptor2d_curve2d curve) or a 3d curve from the package geom (in the case of an adaptor3d_curve curve), - and those required on the curve by the computation algorithm. Parameters ---------- -C: Adaptor2d_Curve2d -Deflection: float -U1: float -U2: float -Continuity: GeomAbs_Shape,optional +theC: Adaptor2d_Curve2d +theDeflection: float +theU1: float +theU2: float +theContinuity: GeomAbs_Shape,optional default value is GeomAbs_C1 Returns ------- None ") GCPnts_QuasiUniformDeflection; - GCPnts_QuasiUniformDeflection(const Adaptor2d_Curve2d & C, const Standard_Real Deflection, const Standard_Real U1, const Standard_Real U2, const GeomAbs_Shape Continuity = GeomAbs_C1); + GCPnts_QuasiUniformDeflection(const Adaptor2d_Curve2d & theC, const Standard_Real theDeflection, const Standard_Real theU1, const Standard_Real theU2, const GeomAbs_Shape theContinuity = GeomAbs_C1); /****************** Deflection ******************/ /**** md5 signature: 6fb4c31e8f4445c1597fc8b70a63cbfb ****/ @@ -857,80 +857,80 @@ float Standard_Real Deflection(); /****************** Initialize ******************/ - /**** md5 signature: 8037dff755addb429b7afa155db10600 ****/ + /**** md5 signature: 82b0287725f04e0899a9450752ed5d64 ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , . + %feature("autodoc", "Initialize the algorithms with 3d curve and deflection. Parameters ---------- -C: Adaptor3d_Curve -Deflection: float -Continuity: GeomAbs_Shape,optional +theC: Adaptor3d_Curve +theDeflection: float +theContinuity: GeomAbs_Shape,optional default value is GeomAbs_C1 Returns ------- None ") Initialize; - void Initialize(const Adaptor3d_Curve & C, const Standard_Real Deflection, const GeomAbs_Shape Continuity = GeomAbs_C1); + void Initialize(const Adaptor3d_Curve & theC, const Standard_Real theDeflection, const GeomAbs_Shape theContinuity = GeomAbs_C1); /****************** Initialize ******************/ - /**** md5 signature: 3d070484282d8ce5900ff21b78680257 ****/ + /**** md5 signature: 04b5bf695538016e85b1a76c8d15238f ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , . + %feature("autodoc", "Initialize the algorithms with 2d curve and deflection. Parameters ---------- -C: Adaptor2d_Curve2d -Deflection: float -Continuity: GeomAbs_Shape,optional +theC: Adaptor2d_Curve2d +theDeflection: float +theContinuity: GeomAbs_Shape,optional default value is GeomAbs_C1 Returns ------- None ") Initialize; - void Initialize(const Adaptor2d_Curve2d & C, const Standard_Real Deflection, const GeomAbs_Shape Continuity = GeomAbs_C1); + void Initialize(const Adaptor2d_Curve2d & theC, const Standard_Real theDeflection, const GeomAbs_Shape theContinuity = GeomAbs_C1); /****************** Initialize ******************/ - /**** md5 signature: c07ec77c5c33688ac1ac7c53a0f3a6bf ****/ + /**** md5 signature: 8d2138e60f7bf0b16e0be1feef9962ca ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , , ,. + %feature("autodoc", "Initialize the algorithms with 3d curve, deflection and parameter range. Parameters ---------- -C: Adaptor3d_Curve -Deflection: float -U1: float -U2: float -Continuity: GeomAbs_Shape,optional +theC: Adaptor3d_Curve +theDeflection: float +theU1: float +theU2: float +theContinuity: GeomAbs_Shape,optional default value is GeomAbs_C1 Returns ------- None ") Initialize; - void Initialize(const Adaptor3d_Curve & C, const Standard_Real Deflection, const Standard_Real U1, const Standard_Real U2, const GeomAbs_Shape Continuity = GeomAbs_C1); + void Initialize(const Adaptor3d_Curve & theC, const Standard_Real theDeflection, const Standard_Real theU1, const Standard_Real theU2, const GeomAbs_Shape theContinuity = GeomAbs_C1); /****************** Initialize ******************/ - /**** md5 signature: cbd8869806d86afcd8a644ce9d87c19a ****/ + /**** md5 signature: 367f2a9f47dcc2fe28b985d61eeb7da5 ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , , -- , this and the above algorithms initialize (or reinitialize) this algorithm and compute a distribution of points: - on the curve c, or - on the part of curve c limited by the two parameter values u1 and u2, where the deflection resulting from the distributed points is not greater than deflection. the first point of the distribution is either the origin of curve c or the point of parameter u1. the last point of the distribution is either the end point of curve c or the point of parameter u2. intermediate points of the distribution are built in such a way that the deflection is not greater than deflection. using the following evaluation of the deflection: if pi and pj are two consecutive points of the distribution, respectively of parameter ui and uj on the curve, the deflection is the distance between: - the mid-point of pi and pj (the center of the chord joining these two points) - and the point of mid-parameter of these two points (the point of parameter [(ui+uj) / 2 ] on curve c). continuity, defaulted to geomabs_c1, gives the degree of continuity of the curve c. (note that c is an adaptor3d_curve or an adaptor2d_curve2d object, and does not know the degree of continuity of the underlying curve). use the function isdone to verify that the computation was successful, the function nbpoints to obtain the number of points of the computed distribution, and the function parameter to read the parameter of each point. warning - the roles of u1 and u2 are inverted if u1 > u2. - derivative functions on the curve are called according to continuity. an error may occur if continuity is greater than the real degree of continuity of the curve. warning c is an adapted curve, i.e. an object which is an interface between: - the services provided by either a 2d curve from the package geom2d (in the case of an adaptor2d_curve2d curve) or a 3d curve from the package geom (in the case of an adaptor3d_curve curve), and those required on the curve by the computation algorithm. + %feature("autodoc", "Initialize the algorithms with thec, thedeflection, theu1, theu2. this and the above algorithms initialize (or reinitialize) this algorithm and compute a distribution of points: - on the curve thec, or - on the part of curve thec limited by the two parameter values theu1 and theu2, where the deflection resulting from the distributed points is not greater than thedeflection. //! the first point of the distribution is either the origin of curve thec or the point of parameter theu1. the last point of the distribution is either the end point of curve thec or the point of parameter theu2. //! intermediate points of the distribution are built in such a way that the deflection is not greater than thedeflection. using the following evaluation of the deflection: if pi and pj are two consecutive points of the distribution, respectively of parameter ui and uj on the curve, the deflection is the distance between: - the mid-point of pi and pj (the center of the chord joining these two points) - and the point of mid-parameter of these two points (the point of parameter [(ui+uj) / 2] on curve thec). thecontinuity, defaulted to geomabs_c1, gives the degree of continuity of the curve thec. (note that c is an adaptor3d_curve or an adaptor2d_curve2d object, and does not know the degree of continuity of the underlying curve). use the function isdone to verify that the computation was successful, the function nbpoints() to obtain the number of points of the computed distribution, and the function parameter() to read the parameter of each point. //! warning - the roles of theu1 and theu2 are inverted if theu1 > theu2. - derivative functions on the curve are called according to thecontinuity. an error may occur if thecontinuity is greater than the real degree of continuity of the curve. //! warning thec is an adapted curve, i.e. an object which is an interface between: - the services provided by either a 2d curve from the package geom2d (in the case of an adaptor2d_curve2d curve) or a 3d curve from the package geom (in the case of an adaptor3d_curve curve), and those required on the curve by the computation algorithm. Parameters ---------- -C: Adaptor2d_Curve2d -Deflection: float -U1: float -U2: float -Continuity: GeomAbs_Shape,optional +theC: Adaptor2d_Curve2d +theDeflection: float +theU1: float +theU2: float +theContinuity: GeomAbs_Shape,optional default value is GeomAbs_C1 Returns ------- None ") Initialize; - void Initialize(const Adaptor2d_Curve2d & C, const Standard_Real Deflection, const Standard_Real U1, const Standard_Real U2, const GeomAbs_Shape Continuity = GeomAbs_C1); + void Initialize(const Adaptor2d_Curve2d & theC, const Standard_Real theDeflection, const Standard_Real theU1, const Standard_Real theU2, const GeomAbs_Shape theContinuity = GeomAbs_C1); /****************** IsDone ******************/ /**** md5 signature: e385477ab1bec806154173d4a550fd68 ****/ @@ -993,6 +993,47 @@ gp_Pnt } }; +/*************************** +* class GCPnts_TCurveTypes * +***************************/ +/********************************************** +* class GCPnts_TCurveTypes * +**********************************************/ +class GCPnts_TCurveTypes { + public: +typedef gp_Pnt2d Point; +typedef Geom2d_BezierCurve BezierCurve; +typedef Geom2d_BSplineCurve BSplineCurve; +typedef GCPnts_DistFunction2d DistFunction; +typedef GCPnts_DistFunction2dMV DistFunctionMV; +}; + + +%extend GCPnts_TCurveTypes { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/******************************************** +* class GCPnts_TCurveTypes * +********************************************/ +class GCPnts_TCurveTypes { + public: +typedef gp_Pnt Point; +typedef Geom_BezierCurve BezierCurve; +typedef Geom_BSplineCurve BSplineCurve; +typedef GCPnts_DistFunction DistFunction; +typedef GCPnts_DistFunctionMV DistFunctionMV; +}; + + +%extend GCPnts_TCurveTypes { + %pythoncode { + __repr__ = _dumps_object + } +}; + /************************************ * class GCPnts_TangentialDeflection * ************************************/ @@ -1001,7 +1042,7 @@ class GCPnts_TangentialDeflection { /****************** GCPnts_TangentialDeflection ******************/ /**** md5 signature: d6a43ebbe398bf311982f493adb5385b ****/ %feature("compactdefaultargs") GCPnts_TangentialDeflection; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Empty constructor. @sa initialize(). Returns ------- @@ -1010,18 +1051,18 @@ None GCPnts_TangentialDeflection(); /****************** GCPnts_TangentialDeflection ******************/ - /**** md5 signature: c660a8d8e12a218029eb29218515686c ****/ + /**** md5 signature: e2876f14004b1580160f394dc792d41c ****/ %feature("compactdefaultargs") GCPnts_TangentialDeflection; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Constructor for 3d curve. @param thec [in] 3d curve @param theangulardeflection [in] angular deflection in radians @param thecurvaturedeflection [in] linear deflection @param theminimumofpoints [in] minimum number of points @param theutol [in] tolerance in curve parametric scope @param theminlen [in] minimal length. Parameters ---------- -C: Adaptor3d_Curve -AngularDeflection: float -CurvatureDeflection: float -MinimumOfPoints: int,optional +theC: Adaptor3d_Curve +theAngularDeflection: float +theCurvatureDeflection: float +theMinimumOfPoints: int,optional default value is 2 -UTol: float,optional +theUTol: float,optional default value is 1.0e-9 theMinLen: float,optional default value is 1.0e-7 @@ -1030,23 +1071,23 @@ Returns ------- None ") GCPnts_TangentialDeflection; - GCPnts_TangentialDeflection(const Adaptor3d_Curve & C, const Standard_Real AngularDeflection, const Standard_Real CurvatureDeflection, const Standard_Integer MinimumOfPoints = 2, const Standard_Real UTol = 1.0e-9, const Standard_Real theMinLen = 1.0e-7); + GCPnts_TangentialDeflection(const Adaptor3d_Curve & theC, const Standard_Real theAngularDeflection, const Standard_Real theCurvatureDeflection, const Standard_Integer theMinimumOfPoints = 2, const Standard_Real theUTol = 1.0e-9, const Standard_Real theMinLen = 1.0e-7); /****************** GCPnts_TangentialDeflection ******************/ - /**** md5 signature: f48b065a496b32f5dce300dd35e83635 ****/ + /**** md5 signature: e7a79d9031269c6fe80fc514568ab577 ****/ %feature("compactdefaultargs") GCPnts_TangentialDeflection; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Constructor for 3d curve with restricted range. @param thec [in] 3d curve @param thefirstparameter [in] first parameter on curve @param thelastparameter [in] last parameter on curve @param theangulardeflection [in] angular deflection in radians @param thecurvaturedeflection [in] linear deflection @param theminimumofpoints [in] minimum number of points @param theuto l [in] tolerance in curve parametric scope @param theminlen [in] minimal length. Parameters ---------- -C: Adaptor3d_Curve -FirstParameter: float -LastParameter: float -AngularDeflection: float -CurvatureDeflection: float -MinimumOfPoints: int,optional +theC: Adaptor3d_Curve +theFirstParameter: float +theLastParameter: float +theAngularDeflection: float +theCurvatureDeflection: float +theMinimumOfPoints: int,optional default value is 2 -UTol: float,optional +theUTol: float,optional default value is 1.0e-9 theMinLen: float,optional default value is 1.0e-7 @@ -1055,21 +1096,21 @@ Returns ------- None ") GCPnts_TangentialDeflection; - GCPnts_TangentialDeflection(const Adaptor3d_Curve & C, const Standard_Real FirstParameter, const Standard_Real LastParameter, const Standard_Real AngularDeflection, const Standard_Real CurvatureDeflection, const Standard_Integer MinimumOfPoints = 2, const Standard_Real UTol = 1.0e-9, const Standard_Real theMinLen = 1.0e-7); + GCPnts_TangentialDeflection(const Adaptor3d_Curve & theC, const Standard_Real theFirstParameter, const Standard_Real theLastParameter, const Standard_Real theAngularDeflection, const Standard_Real theCurvatureDeflection, const Standard_Integer theMinimumOfPoints = 2, const Standard_Real theUTol = 1.0e-9, const Standard_Real theMinLen = 1.0e-7); /****************** GCPnts_TangentialDeflection ******************/ - /**** md5 signature: 43c0c45cc41c56b61c30dfaf69e3bbbd ****/ + /**** md5 signature: 5e673103e112601047af3ac0bac3a4fd ****/ %feature("compactdefaultargs") GCPnts_TangentialDeflection; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Constructor for 2d curve. @param thec [in] 2d curve @param theangulardeflection [in] angular deflection in radians @param thecurvaturedeflection [in] linear deflection @param theminimumofpoints [in] minimum number of points @param theutol [in] tolerance in curve parametric scope @param theminlen [in] minimal length. Parameters ---------- -C: Adaptor2d_Curve2d -AngularDeflection: float -CurvatureDeflection: float -MinimumOfPoints: int,optional +theC: Adaptor2d_Curve2d +theAngularDeflection: float +theCurvatureDeflection: float +theMinimumOfPoints: int,optional default value is 2 -UTol: float,optional +theUTol: float,optional default value is 1.0e-9 theMinLen: float,optional default value is 1.0e-7 @@ -1078,23 +1119,23 @@ Returns ------- None ") GCPnts_TangentialDeflection; - GCPnts_TangentialDeflection(const Adaptor2d_Curve2d & C, const Standard_Real AngularDeflection, const Standard_Real CurvatureDeflection, const Standard_Integer MinimumOfPoints = 2, const Standard_Real UTol = 1.0e-9, const Standard_Real theMinLen = 1.0e-7); + GCPnts_TangentialDeflection(const Adaptor2d_Curve2d & theC, const Standard_Real theAngularDeflection, const Standard_Real theCurvatureDeflection, const Standard_Integer theMinimumOfPoints = 2, const Standard_Real theUTol = 1.0e-9, const Standard_Real theMinLen = 1.0e-7); /****************** GCPnts_TangentialDeflection ******************/ - /**** md5 signature: f8aa47debd82b4b67a49483e1077bc14 ****/ + /**** md5 signature: 02f053303f91ec596066601be7daba5c ****/ %feature("compactdefaultargs") GCPnts_TangentialDeflection; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Constructor for 2d curve with restricted range. @param thec [in] 2d curve @param thefirstparameter [in] first parameter on curve @param thelastparameter [in] last parameter on curve @param theangulardeflection [in] angular deflection in radians @param thecurvaturedeflection [in] linear deflection @param theminimumofpoints [in] minimum number of points @param theutol [in] tolerance in curve parametric scope @param theminlen [in] minimal length. Parameters ---------- -C: Adaptor2d_Curve2d -FirstParameter: float -LastParameter: float -AngularDeflection: float -CurvatureDeflection: float -MinimumOfPoints: int,optional +theC: Adaptor2d_Curve2d +theFirstParameter: float +theLastParameter: float +theAngularDeflection: float +theCurvatureDeflection: float +theMinimumOfPoints: int,optional default value is 2 -UTol: float,optional +theUTol: float,optional default value is 1.0e-9 theMinLen: float,optional default value is 1.0e-7 @@ -1103,7 +1144,7 @@ Returns ------- None ") GCPnts_TangentialDeflection; - GCPnts_TangentialDeflection(const Adaptor2d_Curve2d & C, const Standard_Real FirstParameter, const Standard_Real LastParameter, const Standard_Real AngularDeflection, const Standard_Real CurvatureDeflection, const Standard_Integer MinimumOfPoints = 2, const Standard_Real UTol = 1.0e-9, const Standard_Real theMinLen = 1.0e-7); + GCPnts_TangentialDeflection(const Adaptor2d_Curve2d & theC, const Standard_Real theFirstParameter, const Standard_Real theLastParameter, const Standard_Real theAngularDeflection, const Standard_Real theCurvatureDeflection, const Standard_Integer theMinimumOfPoints = 2, const Standard_Real theUTol = 1.0e-9, const Standard_Real theMinLen = 1.0e-7); /****************** AddPoint ******************/ /**** md5 signature: f541c04e71bbea5ee903e5e80a7a0852 ****/ @@ -1142,18 +1183,18 @@ float static Standard_Real ArcAngularStep(const Standard_Real theRadius, const Standard_Real theLinearDeflection, const Standard_Real theAngularDeflection, const Standard_Real theMinLength); /****************** Initialize ******************/ - /**** md5 signature: 3f4810501754bd962ba0f8c60ff6c7c8 ****/ + /**** md5 signature: 45dfbf57c6460a500be0ab7afd32d9a9 ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Initialize algorithm for 3d curve. @param thec [in] 3d curve @param theangulardeflection [in] angular deflection in radians @param thecurvaturedeflection [in] linear deflection @param theminimumofpoints [in] minimum number of points @param theutol [in] tolerance in curve parametric scope @param theminlen [in] minimal length. Parameters ---------- -C: Adaptor3d_Curve -AngularDeflection: float -CurvatureDeflection: float -MinimumOfPoints: int,optional +theC: Adaptor3d_Curve +theAngularDeflection: float +theCurvatureDeflection: float +theMinimumOfPoints: int,optional default value is 2 -UTol: float,optional +theUTol: float,optional default value is 1.0e-9 theMinLen: float,optional default value is 1.0e-7 @@ -1162,23 +1203,23 @@ Returns ------- None ") Initialize; - void Initialize(const Adaptor3d_Curve & C, const Standard_Real AngularDeflection, const Standard_Real CurvatureDeflection, const Standard_Integer MinimumOfPoints = 2, const Standard_Real UTol = 1.0e-9, const Standard_Real theMinLen = 1.0e-7); + void Initialize(const Adaptor3d_Curve & theC, const Standard_Real theAngularDeflection, const Standard_Real theCurvatureDeflection, const Standard_Integer theMinimumOfPoints = 2, const Standard_Real theUTol = 1.0e-9, const Standard_Real theMinLen = 1.0e-7); /****************** Initialize ******************/ - /**** md5 signature: 7b53b2f250c25c5924285ae631b934ac ****/ + /**** md5 signature: ceed2a4aeba90562a9390be05e1707d1 ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Initialize algorithm for 3d curve with restricted range. @param thec [in] 3d curve @param thefirstparameter [in] first parameter on curve @param thelastparameter [in] last parameter on curve @param theangulardeflection [in] angular deflection in radians @param thecurvaturedeflection [in] linear deflection @param theminimumofpoints [in] minimum number of points @param theutol [in] tolerance in curve parametric scope @param theminlen [in] minimal length. Parameters ---------- -C: Adaptor3d_Curve -FirstParameter: float -LastParameter: float -AngularDeflection: float -CurvatureDeflection: float -MinimumOfPoints: int,optional +theC: Adaptor3d_Curve +theFirstParameter: float +theLastParameter: float +theAngularDeflection: float +theCurvatureDeflection: float +theMinimumOfPoints: int,optional default value is 2 -UTol: float,optional +theUTol: float,optional default value is 1.0e-9 theMinLen: float,optional default value is 1.0e-7 @@ -1187,21 +1228,21 @@ Returns ------- None ") Initialize; - void Initialize(const Adaptor3d_Curve & C, const Standard_Real FirstParameter, const Standard_Real LastParameter, const Standard_Real AngularDeflection, const Standard_Real CurvatureDeflection, const Standard_Integer MinimumOfPoints = 2, const Standard_Real UTol = 1.0e-9, const Standard_Real theMinLen = 1.0e-7); + void Initialize(const Adaptor3d_Curve & theC, const Standard_Real theFirstParameter, const Standard_Real theLastParameter, const Standard_Real theAngularDeflection, const Standard_Real theCurvatureDeflection, const Standard_Integer theMinimumOfPoints = 2, const Standard_Real theUTol = 1.0e-9, const Standard_Real theMinLen = 1.0e-7); /****************** Initialize ******************/ - /**** md5 signature: c3a2bc0838a75a314ec8f5af318457e9 ****/ + /**** md5 signature: ab28884c050d2a18b4766f5812a89976 ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Initialize algorithm for 2d curve. @param thec [in] 2d curve @param theangulardeflection [in] angular deflection in radians @param thecurvaturedeflection [in] linear deflection @param theminimumofpoints [in] minimum number of points @param theutol [in] tolerance in curve parametric scope @param theminlen [in] minimal length. Parameters ---------- -C: Adaptor2d_Curve2d -AngularDeflection: float -CurvatureDeflection: float -MinimumOfPoints: int,optional +theC: Adaptor2d_Curve2d +theAngularDeflection: float +theCurvatureDeflection: float +theMinimumOfPoints: int,optional default value is 2 -UTol: float,optional +theUTol: float,optional default value is 1.0e-9 theMinLen: float,optional default value is 1.0e-7 @@ -1210,23 +1251,23 @@ Returns ------- None ") Initialize; - void Initialize(const Adaptor2d_Curve2d & C, const Standard_Real AngularDeflection, const Standard_Real CurvatureDeflection, const Standard_Integer MinimumOfPoints = 2, const Standard_Real UTol = 1.0e-9, const Standard_Real theMinLen = 1.0e-7); + void Initialize(const Adaptor2d_Curve2d & theC, const Standard_Real theAngularDeflection, const Standard_Real theCurvatureDeflection, const Standard_Integer theMinimumOfPoints = 2, const Standard_Real theUTol = 1.0e-9, const Standard_Real theMinLen = 1.0e-7); /****************** Initialize ******************/ - /**** md5 signature: f9dcd1eb0295207081e937bfab5b9041 ****/ + /**** md5 signature: f84b8cf525a400a6e86d7d8444bff702 ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Initialize algorithm for 2d curve with restricted range. @param thec [in] 2d curve @param thefirstparameter [in] first parameter on curve @param thelastparameter [in] last parameter on curve @param theangulardeflection [in] angular deflection in radians @param thecurvaturedeflection [in] linear deflection @param theminimumofpoints [in] minimum number of points @param theutol [in] tolerance in curve parametric scope @param theminlen [in] minimal length. Parameters ---------- -C: Adaptor2d_Curve2d -FirstParameter: float -LastParameter: float -AngularDeflection: float -CurvatureDeflection: float -MinimumOfPoints: int,optional +theC: Adaptor2d_Curve2d +theFirstParameter: float +theLastParameter: float +theAngularDeflection: float +theCurvatureDeflection: float +theMinimumOfPoints: int,optional default value is 2 -UTol: float,optional +theUTol: float,optional default value is 1.0e-9 theMinLen: float,optional default value is 1.0e-7 @@ -1235,7 +1276,7 @@ Returns ------- None ") Initialize; - void Initialize(const Adaptor2d_Curve2d & C, const Standard_Real FirstParameter, const Standard_Real LastParameter, const Standard_Real AngularDeflection, const Standard_Real CurvatureDeflection, const Standard_Integer MinimumOfPoints = 2, const Standard_Real UTol = 1.0e-9, const Standard_Real theMinLen = 1.0e-7); + void Initialize(const Adaptor2d_Curve2d & theC, const Standard_Real theFirstParameter, const Standard_Real theLastParameter, const Standard_Real theAngularDeflection, const Standard_Real theCurvatureDeflection, const Standard_Integer theMinimumOfPoints = 2, const Standard_Real theUTol = 1.0e-9, const Standard_Real theMinLen = 1.0e-7); /****************** NbPoints ******************/ /**** md5 signature: e92014a2f157c195ed77b7745c7eae3f ****/ @@ -1304,161 +1345,161 @@ None GCPnts_UniformAbscissa(); /****************** GCPnts_UniformAbscissa ******************/ - /**** md5 signature: 847d116290d70c3d449113ed2d5fa49b ****/ + /**** md5 signature: 067c34c9d2c8769449e50d61b02e7f5b ****/ %feature("compactdefaultargs") GCPnts_UniformAbscissa; - %feature("autodoc", "Computes a uniform abscissa distribution of points on the curve . parameter toler is equal precision::confusion by default. it is used for more precise calculation of curve length. + %feature("autodoc", "Computes a uniform abscissa distribution of points on the 3d curve. @param thec [in] input curve @param theabscissa [in] abscissa (distance between two consecutive points) @param thetoler [in] used for more precise calculation of curve length (precision::confusion() by default). Parameters ---------- -C: Adaptor3d_Curve -Abscissa: float -Toler: float,optional +theC: Adaptor3d_Curve +theAbscissa: float +theToler: float,optional default value is -1 Returns ------- None ") GCPnts_UniformAbscissa; - GCPnts_UniformAbscissa(const Adaptor3d_Curve & C, const Standard_Real Abscissa, const Standard_Real Toler = -1); + GCPnts_UniformAbscissa(const Adaptor3d_Curve & theC, const Standard_Real theAbscissa, const Standard_Real theToler = -1); /****************** GCPnts_UniformAbscissa ******************/ - /**** md5 signature: 6c78d0b33249d925e4a2f842e86b46a6 ****/ + /**** md5 signature: 0eb5f5a11094ce6bd3b46636cfc0f0d2 ****/ %feature("compactdefaultargs") GCPnts_UniformAbscissa; - %feature("autodoc", "Computes a uniform abscissa distribution of points on a part of the curve . parameter toler is equal precision::confusion by default. it is used for more precise calculation of curve length. + %feature("autodoc", "Computes a uniform abscissa distribution of points on a part of the 3d curve. @param thec [in] input curve @param theabscissa [in] abscissa (distance between two consecutive points) @param theu1 [in] first parameter on curve @param theu2 [in] last parameter on curve @param thetoler [in] used for more precise calculation of curve length (precision::confusion() by default). Parameters ---------- -C: Adaptor3d_Curve -Abscissa: float -U1: float -U2: float -Toler: float,optional +theC: Adaptor3d_Curve +theAbscissa: float +theU1: float +theU2: float +theToler: float,optional default value is -1 Returns ------- None ") GCPnts_UniformAbscissa; - GCPnts_UniformAbscissa(const Adaptor3d_Curve & C, const Standard_Real Abscissa, const Standard_Real U1, const Standard_Real U2, const Standard_Real Toler = -1); + GCPnts_UniformAbscissa(const Adaptor3d_Curve & theC, const Standard_Real theAbscissa, const Standard_Real theU1, const Standard_Real theU2, const Standard_Real theToler = -1); /****************** GCPnts_UniformAbscissa ******************/ - /**** md5 signature: 8adeb75e606dbe750d9590e3fbce5517 ****/ + /**** md5 signature: e3357fe7bf7c1f17214b690b4a50931b ****/ %feature("compactdefaultargs") GCPnts_UniformAbscissa; - %feature("autodoc", "Computes a uniform abscissa distribution of points on the curve . defines the nomber of desired points. parameter toler is equal precision::confusion by default. it is used for more precise calculation of curve length. + %feature("autodoc", "Computes a uniform abscissa distribution of points on the 3d curve. @param thec [in] input curve @param thenbpoints [in] defines the number of desired points @param thetoler [in] used for more precise calculation of curve length (precision::confusion() by default). Parameters ---------- -C: Adaptor3d_Curve -NbPoints: int -Toler: float,optional +theC: Adaptor3d_Curve +theNbPoints: int +theToler: float,optional default value is -1 Returns ------- None ") GCPnts_UniformAbscissa; - GCPnts_UniformAbscissa(const Adaptor3d_Curve & C, const Standard_Integer NbPoints, const Standard_Real Toler = -1); + GCPnts_UniformAbscissa(const Adaptor3d_Curve & theC, const Standard_Integer theNbPoints, const Standard_Real theToler = -1); /****************** GCPnts_UniformAbscissa ******************/ - /**** md5 signature: 73c98ea46a55c86c72f4e645b09c4908 ****/ + /**** md5 signature: b9d6d100e05d95af13a4f10cd1b4a3a0 ****/ %feature("compactdefaultargs") GCPnts_UniformAbscissa; - %feature("autodoc", "Computes a uniform abscissa distribution of points on a part of the curve . parameter toler is equal precision::confusion by default. it is used for more precise calculation of curve length. + %feature("autodoc", "Computes a uniform abscissa distribution of points on a part of the 3d curve. @param thec [in] input curve @param thenbpoints [in] defines the number of desired points @param theu1 [in] first parameter on curve @param theu2 [in] last parameter on curve @param thetoler [in] used for more precise calculation of curve length (precision::confusion() by default). Parameters ---------- -C: Adaptor3d_Curve -NbPoints: int -U1: float -U2: float -Toler: float,optional +theC: Adaptor3d_Curve +theNbPoints: int +theU1: float +theU2: float +theToler: float,optional default value is -1 Returns ------- None ") GCPnts_UniformAbscissa; - GCPnts_UniformAbscissa(const Adaptor3d_Curve & C, const Standard_Integer NbPoints, const Standard_Real U1, const Standard_Real U2, const Standard_Real Toler = -1); + GCPnts_UniformAbscissa(const Adaptor3d_Curve & theC, const Standard_Integer theNbPoints, const Standard_Real theU1, const Standard_Real theU2, const Standard_Real theToler = -1); /****************** GCPnts_UniformAbscissa ******************/ - /**** md5 signature: 203be95da802e634bc2e764ecf26cdfe ****/ + /**** md5 signature: dcc249075db75a8a30eec5756a74803d ****/ %feature("compactdefaultargs") GCPnts_UniformAbscissa; - %feature("autodoc", "Computes a uniform abscissa distribution of points on the curve2d . parameter toler is equal precision::confusion by default. it is used for more precise calculation of curve length. + %feature("autodoc", "Computes a uniform abscissa distribution of points on the 2d curve. @param thec [in] input curve @param theabscissa [in] abscissa (distance between two consecutive points) @param thetoler [in] used for more precise calculation of curve length (precision::confusion() by default). Parameters ---------- -C: Adaptor2d_Curve2d -Abscissa: float -Toler: float,optional +theC: Adaptor2d_Curve2d +theAbscissa: float +theToler: float,optional default value is -1 Returns ------- None ") GCPnts_UniformAbscissa; - GCPnts_UniformAbscissa(const Adaptor2d_Curve2d & C, const Standard_Real Abscissa, const Standard_Real Toler = -1); + GCPnts_UniformAbscissa(const Adaptor2d_Curve2d & theC, const Standard_Real theAbscissa, const Standard_Real theToler = -1); /****************** GCPnts_UniformAbscissa ******************/ - /**** md5 signature: fa4b7a0f35377ce7c9fd83832ce80d64 ****/ + /**** md5 signature: 4e52fdb748a3a0c4a321d10fe2d811d0 ****/ %feature("compactdefaultargs") GCPnts_UniformAbscissa; - %feature("autodoc", "Computes a uniform abscissa distribution of points on a part of the curve2d . parameter toler is equal precision::confusion by default. it is used for more precise calculation of curve length. + %feature("autodoc", "Computes a uniform abscissa distribution of points on a part of the 2d curve. @param thec [in] input curve @param theabscissa [in] abscissa (distance between two consecutive points) @param theu1 [in] first parameter on curve @param theu2 [in] last parameter on curve @param thetoler [in] used for more precise calculation of curve length (precision::confusion() by default). Parameters ---------- -C: Adaptor2d_Curve2d -Abscissa: float -U1: float -U2: float -Toler: float,optional +theC: Adaptor2d_Curve2d +theAbscissa: float +theU1: float +theU2: float +theToler: float,optional default value is -1 Returns ------- None ") GCPnts_UniformAbscissa; - GCPnts_UniformAbscissa(const Adaptor2d_Curve2d & C, const Standard_Real Abscissa, const Standard_Real U1, const Standard_Real U2, const Standard_Real Toler = -1); + GCPnts_UniformAbscissa(const Adaptor2d_Curve2d & theC, const Standard_Real theAbscissa, const Standard_Real theU1, const Standard_Real theU2, const Standard_Real theToler = -1); /****************** GCPnts_UniformAbscissa ******************/ - /**** md5 signature: 21d9281621986ccbc891e403456bbbe4 ****/ + /**** md5 signature: 7cf2d5fda64d545a74dfb6676b73c92b ****/ %feature("compactdefaultargs") GCPnts_UniformAbscissa; - %feature("autodoc", "Computes a uniform abscissa distribution of points on the curve2d . defines the nomber of desired points. parameter toler is equal precision::confusion by default. it is used for more precise calculation of curve length. + %feature("autodoc", "Computes a uniform abscissa distribution of points on the 2d curve. @param thec [in] input curve @param thenbpoints [in] defines the number of desired points @param thetoler [in] used for more precise calculation of curve length (precision::confusion() by default). Parameters ---------- -C: Adaptor2d_Curve2d -NbPoints: int -Toler: float,optional +theC: Adaptor2d_Curve2d +theNbPoints: int +theToler: float,optional default value is -1 Returns ------- None ") GCPnts_UniformAbscissa; - GCPnts_UniformAbscissa(const Adaptor2d_Curve2d & C, const Standard_Integer NbPoints, const Standard_Real Toler = -1); + GCPnts_UniformAbscissa(const Adaptor2d_Curve2d & theC, const Standard_Integer theNbPoints, const Standard_Real theToler = -1); /****************** GCPnts_UniformAbscissa ******************/ - /**** md5 signature: 9aa42f43a3eb602b4e98329d33781bb3 ****/ + /**** md5 signature: 3e022da984e879ec9bd91c909485d5b9 ****/ %feature("compactdefaultargs") GCPnts_UniformAbscissa; - %feature("autodoc", "Computes a uniform abscissa distribution of points on a part of the curve2d . parameter toler is equal precision::confusion by default. it is used for more precise calculation of curve length. + %feature("autodoc", "Computes a uniform abscissa distribution of points on a part of the 2d curve. @param thec [in] input curve @param thenbpoints [in] defines the number of desired points @param theu1 [in] first parameter on curve @param theu2 [in] last parameter on curve @param thetoler [in] used for more precise calculation of curve length (precision::confusion() by default). Parameters ---------- -C: Adaptor2d_Curve2d -NbPoints: int -U1: float -U2: float -Toler: float,optional +theC: Adaptor2d_Curve2d +theNbPoints: int +theU1: float +theU2: float +theToler: float,optional default value is -1 Returns ------- None ") GCPnts_UniformAbscissa; - GCPnts_UniformAbscissa(const Adaptor2d_Curve2d & C, const Standard_Integer NbPoints, const Standard_Real U1, const Standard_Real U2, const Standard_Real Toler = -1); + GCPnts_UniformAbscissa(const Adaptor2d_Curve2d & theC, const Standard_Integer theNbPoints, const Standard_Real theU1, const Standard_Real theU2, const Standard_Real theToler = -1); /****************** Abscissa ******************/ /**** md5 signature: c89bcc85ff4523eefe5f7f8d1fd84247 ****/ %feature("compactdefaultargs") Abscissa; - %feature("autodoc", "Returne the current abscissa ie the distance between two consecutive points. + %feature("autodoc", "Returns the current abscissa, i.e. the distance between two consecutive points. Returns ------- @@ -1467,156 +1508,156 @@ float Standard_Real Abscissa(); /****************** Initialize ******************/ - /**** md5 signature: 16a94ad18b431351ca533d12e2177995 ****/ + /**** md5 signature: ff8ed44ea9e8cfca56786c72d93727e4 ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , , . + %feature("autodoc", "Initialize the algorithms with 3d curve, abscissa, and tolerance. @param thec [in] input curve @param theabscissa [in] abscissa (distance between two consecutive points) @param thetoler [in] used for more precise calculation of curve length (precision::confusion() by default). Parameters ---------- -C: Adaptor3d_Curve -Abscissa: float -Toler: float,optional +theC: Adaptor3d_Curve +theAbscissa: float +theToler: float,optional default value is -1 Returns ------- None ") Initialize; - void Initialize(const Adaptor3d_Curve & C, const Standard_Real Abscissa, const Standard_Real Toler = -1); + void Initialize(const Adaptor3d_Curve & theC, const Standard_Real theAbscissa, const Standard_Real theToler = -1); /****************** Initialize ******************/ - /**** md5 signature: 5494ef79aef105455cbf21673f497861 ****/ + /**** md5 signature: 8b44b683fe0d6498b3497a9091ec2a9c ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , , , , . + %feature("autodoc", "Initialize the algorithms with 3d curve, abscissa, tolerance, and parameter range. @param thec [in] input curve @param theabscissa [in] abscissa (distance between two consecutive points) @param theu1 [in] first parameter on curve @param theu2 [in] last parameter on curve @param thetoler [in] used for more precise calculation of curve length (precision::confusion() by default). Parameters ---------- -C: Adaptor3d_Curve -Abscissa: float -U1: float -U2: float -Toler: float,optional +theC: Adaptor3d_Curve +theAbscissa: float +theU1: float +theU2: float +theToler: float,optional default value is -1 Returns ------- None ") Initialize; - void Initialize(const Adaptor3d_Curve & C, const Standard_Real Abscissa, const Standard_Real U1, const Standard_Real U2, const Standard_Real Toler = -1); + void Initialize(const Adaptor3d_Curve & theC, const Standard_Real theAbscissa, const Standard_Real theU1, const Standard_Real theU2, const Standard_Real theToler = -1); /****************** Initialize ******************/ - /**** md5 signature: a5eabf8785fe352212dc7ad8a71f52a1 ****/ + /**** md5 signature: 6eca052b89a1db443ccc9f720a731ca8 ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , , and. + %feature("autodoc", "Initialize the algorithms with 3d curve, number of points, and tolerance. @param thec [in] input curve @param thenbpoints [in] defines the number of desired points @param thetoler [in] used for more precise calculation of curve length (precision::confusion() by default). Parameters ---------- -C: Adaptor3d_Curve -NbPoints: int -Toler: float,optional +theC: Adaptor3d_Curve +theNbPoints: int +theToler: float,optional default value is -1 Returns ------- None ") Initialize; - void Initialize(const Adaptor3d_Curve & C, const Standard_Integer NbPoints, const Standard_Real Toler = -1); + void Initialize(const Adaptor3d_Curve & theC, const Standard_Integer theNbPoints, const Standard_Real theToler = -1); /****************** Initialize ******************/ - /**** md5 signature: b4462395334b1b9a81f5ac0f05f23836 ****/ + /**** md5 signature: 6eeb18455b67ea7baed1e86dfe5be46e ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , , , , . + %feature("autodoc", "Initialize the algorithms with 3d curve, number of points, tolerance, and parameter range. @param thec [in] input curve @param thenbpoints [in] defines the number of desired points @param theu1 [in] first parameter on curve @param theu2 [in] last parameter on curve @param thetoler [in] used for more precise calculation of curve length (precision::confusion() by default). Parameters ---------- -C: Adaptor3d_Curve -NbPoints: int -U1: float -U2: float -Toler: float,optional +theC: Adaptor3d_Curve +theNbPoints: int +theU1: float +theU2: float +theToler: float,optional default value is -1 Returns ------- None ") Initialize; - void Initialize(const Adaptor3d_Curve & C, const Standard_Integer NbPoints, const Standard_Real U1, const Standard_Real U2, const Standard_Real Toler = -1); + void Initialize(const Adaptor3d_Curve & theC, const Standard_Integer theNbPoints, const Standard_Real theU1, const Standard_Real theU2, const Standard_Real theToler = -1); /****************** Initialize ******************/ - /**** md5 signature: 963294d56d8ae76f3793d0e73f52b583 ****/ + /**** md5 signature: d082dd0da5c8b7e9d016381b64adbe8a ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , , . + %feature("autodoc", "Initialize the algorithms with 2d curve, abscissa, and tolerance. @param thec [in] input curve @param theabscissa [in] abscissa (distance between two consecutive points) @param thetoler [in] used for more precise calculation of curve length (precision::confusion() by default). Parameters ---------- -C: Adaptor2d_Curve2d -Abscissa: float -Toler: float,optional +theC: Adaptor2d_Curve2d +theAbscissa: float +theToler: float,optional default value is -1 Returns ------- None ") Initialize; - void Initialize(const Adaptor2d_Curve2d & C, const Standard_Real Abscissa, const Standard_Real Toler = -1); + void Initialize(const Adaptor2d_Curve2d & theC, const Standard_Real theAbscissa, const Standard_Real theToler = -1); /****************** Initialize ******************/ - /**** md5 signature: 8c8c47722deff6df8f0e6682f7c04be1 ****/ + /**** md5 signature: 5fed61a500498f1212f77bb22ba940f8 ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , , , , . + %feature("autodoc", "Initialize the algorithms with 2d curve, abscissa, tolerance, and parameter range. @param thec [in] input curve @param theabscissa [in] abscissa (distance between two consecutive points) @param theu1 [in] first parameter on curve @param theu2 [in] last parameter on curve @param thetoler [in] used for more precise calculation of curve length (precision::confusion() by default). Parameters ---------- -C: Adaptor2d_Curve2d -Abscissa: float -U1: float -U2: float -Toler: float,optional +theC: Adaptor2d_Curve2d +theAbscissa: float +theU1: float +theU2: float +theToler: float,optional default value is -1 Returns ------- None ") Initialize; - void Initialize(const Adaptor2d_Curve2d & C, const Standard_Real Abscissa, const Standard_Real U1, const Standard_Real U2, const Standard_Real Toler = -1); + void Initialize(const Adaptor2d_Curve2d & theC, const Standard_Real theAbscissa, const Standard_Real theU1, const Standard_Real theU2, const Standard_Real theToler = -1); /****************** Initialize ******************/ - /**** md5 signature: 243da27f5629ddff823669ce2b5eb0f7 ****/ + /**** md5 signature: 745a95a2b151a47cf5b22071d4b33bdc ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , , and. + %feature("autodoc", "Initialize the algorithms with 2d curve, number of points, and tolerance. @param thec [in] input curve @param thenbpoints [in] defines the number of desired points @param thetoler [in] used for more precise calculation of curve length (precision::confusion() by default). Parameters ---------- -C: Adaptor2d_Curve2d -NbPoints: int -Toler: float,optional +theC: Adaptor2d_Curve2d +theNbPoints: int +theToler: float,optional default value is -1 Returns ------- None ") Initialize; - void Initialize(const Adaptor2d_Curve2d & C, const Standard_Integer NbPoints, const Standard_Real Toler = -1); + void Initialize(const Adaptor2d_Curve2d & theC, const Standard_Integer theNbPoints, const Standard_Real theToler = -1); /****************** Initialize ******************/ - /**** md5 signature: e9fe989c38c211b313367cb90e4316f7 ****/ + /**** md5 signature: f19f9a0beef93e46dbd6b52969a74201 ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , , , , . + %feature("autodoc", "Initialize the algorithms with 2d curve, number of points, tolerance, and parameter range. @param thec [in] input curve @param thenbpoints [in] defines the number of desired points @param theu1 [in] first parameter on curve @param theu2 [in] last parameter on curve @param thetoler [in] used for more precise calculation of curve length (precision::confusion() by default). Parameters ---------- -C: Adaptor2d_Curve2d -NbPoints: int -U1: float -U2: float -Toler: float,optional +theC: Adaptor2d_Curve2d +theNbPoints: int +theU1: float +theU2: float +theToler: float,optional default value is -1 Returns ------- None ") Initialize; - void Initialize(const Adaptor2d_Curve2d & C, const Standard_Integer NbPoints, const Standard_Real U1, const Standard_Real U2, const Standard_Real Toler = -1); + void Initialize(const Adaptor2d_Curve2d & theC, const Standard_Integer theNbPoints, const Standard_Real theU1, const Standard_Real theU2, const Standard_Real theToler = -1); /****************** IsDone ******************/ /**** md5 signature: e385477ab1bec806154173d4a550fd68 ****/ @@ -1681,80 +1722,80 @@ None GCPnts_UniformDeflection(); /****************** GCPnts_UniformDeflection ******************/ - /**** md5 signature: 4a44af6e4fc70090fa58cc125f52be7e ****/ + /**** md5 signature: 474b0144d7ee1af0847eba83fb74e324 ****/ %feature("compactdefaultargs") GCPnts_UniformDeflection; - %feature("autodoc", "Computes a uniform deflection distribution of points on the curve . if is true,the algorithm controls the estimate deflection. + %feature("autodoc", "Computes a uniform deflection distribution of points on the curve. @param thec [in] input 3d curve @param thedeflection [in] target deflection @param thewithcontrol [in] when true, the algorithm controls the estimate deflection. Parameters ---------- -C: Adaptor3d_Curve -Deflection: float -WithControl: bool,optional +theC: Adaptor3d_Curve +theDeflection: float +theWithControl: bool,optional default value is Standard_True Returns ------- None ") GCPnts_UniformDeflection; - GCPnts_UniformDeflection(const Adaptor3d_Curve & C, const Standard_Real Deflection, const Standard_Boolean WithControl = Standard_True); + GCPnts_UniformDeflection(const Adaptor3d_Curve & theC, const Standard_Real theDeflection, const Standard_Boolean theWithControl = Standard_True); /****************** GCPnts_UniformDeflection ******************/ - /**** md5 signature: b818db46c02144d112c562e9d6b77dc3 ****/ + /**** md5 signature: c3b66ef8894abe8e285c7908a277a990 ****/ %feature("compactdefaultargs") GCPnts_UniformDeflection; - %feature("autodoc", "Computes a uniform deflection distribution of points on the curve . if is true,the algorithm controls the estimate deflection. + %feature("autodoc", "Computes a uniform deflection distribution of points on the curve. @param thec [in] input 2d curve @param thedeflection [in] target deflection @param thewithcontrol [in] when true, the algorithm controls the estimate deflection. Parameters ---------- -C: Adaptor2d_Curve2d -Deflection: float -WithControl: bool,optional +theC: Adaptor2d_Curve2d +theDeflection: float +theWithControl: bool,optional default value is Standard_True Returns ------- None ") GCPnts_UniformDeflection; - GCPnts_UniformDeflection(const Adaptor2d_Curve2d & C, const Standard_Real Deflection, const Standard_Boolean WithControl = Standard_True); + GCPnts_UniformDeflection(const Adaptor2d_Curve2d & theC, const Standard_Real theDeflection, const Standard_Boolean theWithControl = Standard_True); /****************** GCPnts_UniformDeflection ******************/ - /**** md5 signature: 4ece604037704318e350a35d09a7b882 ****/ + /**** md5 signature: 467225835404cd4e0f4b8fd6d878c18c ****/ %feature("compactdefaultargs") GCPnts_UniformDeflection; - %feature("autodoc", "Computes a uniform deflection distribution of points on a part of the curve . if is true,the algorithm controls the estimate deflection. + %feature("autodoc", "Computes a uniform deflection distribution of points on a part of the curve. @param thec [in] input 3d curve @param thedeflection [in] target deflection @param theu1 [in] first parameter on curve @param theu2 [in] last parameter on curve @param thewithcontrol [in] when true, the algorithm controls the estimate deflection. Parameters ---------- -C: Adaptor3d_Curve -Deflection: float -U1: float -U2: float -WithControl: bool,optional +theC: Adaptor3d_Curve +theDeflection: float +theU1: float +theU2: float +theWithControl: bool,optional default value is Standard_True Returns ------- None ") GCPnts_UniformDeflection; - GCPnts_UniformDeflection(const Adaptor3d_Curve & C, const Standard_Real Deflection, const Standard_Real U1, const Standard_Real U2, const Standard_Boolean WithControl = Standard_True); + GCPnts_UniformDeflection(const Adaptor3d_Curve & theC, const Standard_Real theDeflection, const Standard_Real theU1, const Standard_Real theU2, const Standard_Boolean theWithControl = Standard_True); /****************** GCPnts_UniformDeflection ******************/ - /**** md5 signature: 6db7439f6d931d574c8c10ee5c57a3ce ****/ + /**** md5 signature: bba43a3bb954557da4c6c6ab78fc8468 ****/ %feature("compactdefaultargs") GCPnts_UniformDeflection; - %feature("autodoc", "Computes a uniform deflection distribution of points on a part of the curve . if is true,the algorithm controls the estimate deflection. + %feature("autodoc", "Computes a uniform deflection distribution of points on a part of the curve. @param thec [in] input 2d curve @param thedeflection [in] target deflection @param theu1 [in] first parameter on curve @param theu2 [in] last parameter on curve @param thewithcontrol [in] when true, the algorithm controls the estimate deflection. Parameters ---------- -C: Adaptor2d_Curve2d -Deflection: float -U1: float -U2: float -WithControl: bool,optional +theC: Adaptor2d_Curve2d +theDeflection: float +theU1: float +theU2: float +theWithControl: bool,optional default value is Standard_True Returns ------- None ") GCPnts_UniformDeflection; - GCPnts_UniformDeflection(const Adaptor2d_Curve2d & C, const Standard_Real Deflection, const Standard_Real U1, const Standard_Real U2, const Standard_Boolean WithControl = Standard_True); + GCPnts_UniformDeflection(const Adaptor2d_Curve2d & theC, const Standard_Real theDeflection, const Standard_Real theU1, const Standard_Real theU2, const Standard_Boolean theWithControl = Standard_True); /****************** Deflection ******************/ /**** md5 signature: 6fb4c31e8f4445c1597fc8b70a63cbfb ****/ @@ -1768,80 +1809,80 @@ float Standard_Real Deflection(); /****************** Initialize ******************/ - /**** md5 signature: 2cd00e7a4e0e75cc1e5a6fb0cc956826 ****/ + /**** md5 signature: 7de03351085fb8daea53a5f412261592 ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , . + %feature("autodoc", "Initialize the algorithms with 3d curve and deflection. Parameters ---------- -C: Adaptor3d_Curve -Deflection: float -WithControl: bool,optional +theC: Adaptor3d_Curve +theDeflection: float +theWithControl: bool,optional default value is Standard_True Returns ------- None ") Initialize; - void Initialize(const Adaptor3d_Curve & C, const Standard_Real Deflection, const Standard_Boolean WithControl = Standard_True); + void Initialize(const Adaptor3d_Curve & theC, const Standard_Real theDeflection, const Standard_Boolean theWithControl = Standard_True); /****************** Initialize ******************/ - /**** md5 signature: ea7c6dd872adbb3c0e195071800fc25c ****/ + /**** md5 signature: 846a126a55a539a4287ae056e82c995c ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , . + %feature("autodoc", "Initialize the algorithms with 2d curve and deflection. Parameters ---------- -C: Adaptor2d_Curve2d -Deflection: float -WithControl: bool,optional +theC: Adaptor2d_Curve2d +theDeflection: float +theWithControl: bool,optional default value is Standard_True Returns ------- None ") Initialize; - void Initialize(const Adaptor2d_Curve2d & C, const Standard_Real Deflection, const Standard_Boolean WithControl = Standard_True); + void Initialize(const Adaptor2d_Curve2d & theC, const Standard_Real theDeflection, const Standard_Boolean theWithControl = Standard_True); /****************** Initialize ******************/ - /**** md5 signature: 526e683ceeb24974117f9305515bb24e ****/ + /**** md5 signature: a64a6e461e094380d38a15977c86637a ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , , ,. + %feature("autodoc", "Initialize the algorithms with 3d curve, deflection, parameter range. Parameters ---------- -C: Adaptor3d_Curve -Deflection: float -U1: float -U2: float -WithControl: bool,optional +theC: Adaptor3d_Curve +theDeflection: float +theU1: float +theU2: float +theWithControl: bool,optional default value is Standard_True Returns ------- None ") Initialize; - void Initialize(const Adaptor3d_Curve & C, const Standard_Real Deflection, const Standard_Real U1, const Standard_Real U2, const Standard_Boolean WithControl = Standard_True); + void Initialize(const Adaptor3d_Curve & theC, const Standard_Real theDeflection, const Standard_Real theU1, const Standard_Real theU2, const Standard_Boolean theWithControl = Standard_True); /****************** Initialize ******************/ - /**** md5 signature: f4240e246b02ba5995cb4b23215d0dc4 ****/ + /**** md5 signature: 2d624d7604e4e23f6a84fe4515c62859 ****/ %feature("compactdefaultargs") Initialize; - %feature("autodoc", "Initialize the algoritms with , , , this and the above methods initialize (or reinitialize) this algorithm and compute a distribution of points: - on the curve c, or - on the part of curve c limited by the two parameter values u1 and u2, where the maximum distance between c and the polygon that results from the points of the distribution is not greater than deflection. the first point of the distribution is either the origin of curve c or the point of parameter u1. the last point of the distribution is either the end point of curve c or the point of parameter u2. intermediate points of the distribution are built using interpolations of segments of the curve limited at the 2nd degree. the construction ensures, in a first step, that the chordal deviation for this interpolation of the curve is less than or equal to deflection. however, it does not ensure that the chordal deviation for the curve itself is less than or equal to deflection. to do this a check is necessary, which may generate (second step) additional intermediate points. this check is time consuming, and can be avoided by setting withcontrol to false. note that by default withcontrol is true and check is performed. use the function isdone to verify that the computation was successful, the function nbpoints to obtain the number of points of the computed distribution, and the function parameter to read the parameter of each point. warning - c is necessary, 'c2' continuous. this property is not checked at construction time. - the roles of u1 and u2 are inverted if u1 > u2. warning c is an adapted curve, i.e. an object which is an interface between: - the services provided by either a 2d curve from the package geom2d (in the case of an adaptor2d_curve2d curve) or a 3d curve from the package geom (in the case of an adaptor3d_curve curve), - and those required on the curve by the computation algorithm. + %feature("autodoc", "Initialize the algorithms with curve, deflection, parameter range. this and the above methods initialize (or reinitialize) this algorithm and compute a distribution of points: - on the curve thec, or - on the part of curve thec limited by the two parameter values theu1 and theu2, where the maximum distance between thec and the polygon that results from the points of the distribution is not greater than thedeflection. the first point of the distribution is either the origin of curve thec or the point of parameter theu1. the last point of the distribution is either the end point of curve thec or the point of parameter theu2. intermediate points of the distribution are built using interpolations of segments of the curve limited at the 2nd degree. the construction ensures, in a first step, that the chordal deviation for this interpolation of the curve is less than or equal to thedeflection. however, it does not ensure that the chordal deviation for the curve itself is less than or equal to thedeflection. to do this a check is necessary, which may generate (second step) additional intermediate points. this check is time consuming, and can be avoided by setting thewithcontrol to false. note that by default thewithcontrol is true and check is performed. use the function isdone to verify that the computation was successful, the function nbpoints() to obtain the number of points of the computed distribution, and the function parameter to read the parameter of each point. //! warning - thec is necessary, 'c2' continuous. this property is not checked at construction time. - the roles of theu1 and theu2 are inverted if theu1 > theu2. //! warning thec is an adapted curve, i.e. an object which is an interface between: - the services provided by either a 2d curve from the package geom2d (in the case of an adaptor2d_curve2d curve) or a 3d curve from the package geom (in the case of an adaptor3d_curve curve), - and those required on the curve by the computation algorithm. Parameters ---------- -C: Adaptor2d_Curve2d -Deflection: float -U1: float -U2: float -WithControl: bool,optional +theC: Adaptor2d_Curve2d +theDeflection: float +theU1: float +theU2: float +theWithControl: bool,optional default value is Standard_True Returns ------- None ") Initialize; - void Initialize(const Adaptor2d_Curve2d & C, const Standard_Real Deflection, const Standard_Real U1, const Standard_Real U2, const Standard_Boolean WithControl = Standard_True); + void Initialize(const Adaptor2d_Curve2d & theC, const Standard_Real theDeflection, const Standard_Real theU1, const Standard_Real theU2, const Standard_Boolean theWithControl = Standard_True); /****************** IsDone ******************/ /**** md5 signature: e385477ab1bec806154173d4a550fd68 ****/ @@ -1914,6 +1955,10 @@ class GCPnts_DistFunction: class GCPnts_DistFunction2d: pass +@classnotwrapped +class GCPnts_TCurveTypes: + pass + } /* end python proxy for excluded classes */ /* harray1 classes */ diff --git a/src/SWIG_files/wrapper/GCPnts.pyi b/src/SWIG_files/wrapper/GCPnts.pyi index f29129954..e21083113 100644 --- a/src/SWIG_files/wrapper/GCPnts.pyi +++ b/src/SWIG_files/wrapper/GCPnts.pyi @@ -34,46 +34,46 @@ class GCPnts_AbscissaPoint: @overload def __init__(self) -> None: ... @overload - def __init__(self, C: Adaptor3d_Curve, Abscissa: float, U0: float) -> None: ... + def __init__(self, theC: Adaptor3d_Curve, theAbscissa: float, theU0: float) -> None: ... @overload - def __init__(self, Tol: float, C: Adaptor3d_Curve, Abscissa: float, U0: float) -> None: ... + def __init__(self, theTol: float, theC: Adaptor3d_Curve, theAbscissa: float, theU0: float) -> None: ... @overload - def __init__(self, Tol: float, C: Adaptor2d_Curve2d, Abscissa: float, U0: float) -> None: ... + def __init__(self, theTol: float, theC: Adaptor2d_Curve2d, theAbscissa: float, theU0: float) -> None: ... @overload - def __init__(self, C: Adaptor2d_Curve2d, Abscissa: float, U0: float) -> None: ... + def __init__(self, theC: Adaptor2d_Curve2d, theAbscissa: float, theU0: float) -> None: ... @overload - def __init__(self, C: Adaptor3d_Curve, Abscissa: float, U0: float, Ui: float) -> None: ... + def __init__(self, theC: Adaptor3d_Curve, theAbscissa: float, theU0: float, theUi: float) -> None: ... @overload - def __init__(self, C: Adaptor2d_Curve2d, Abscissa: float, U0: float, Ui: float) -> None: ... + def __init__(self, theC: Adaptor2d_Curve2d, theAbscissa: float, theU0: float, theUi: float) -> None: ... @overload - def __init__(self, C: Adaptor3d_Curve, Abscissa: float, U0: float, Ui: float, Tol: float) -> None: ... + def __init__(self, theC: Adaptor3d_Curve, theAbscissa: float, theU0: float, theUi: float, theTol: float) -> None: ... @overload - def __init__(self, C: Adaptor2d_Curve2d, Abscissa: float, U0: float, Ui: float, Tol: float) -> None: ... + def __init__(self, theC: Adaptor2d_Curve2d, theAbscissa: float, theU0: float, theUi: float, theTol: float) -> None: ... def IsDone(self) -> bool: ... @overload @staticmethod - def Length(C: Adaptor3d_Curve) -> float: ... + def Length(theC: Adaptor3d_Curve) -> float: ... @overload @staticmethod - def Length(C: Adaptor2d_Curve2d) -> float: ... + def Length(theC: Adaptor2d_Curve2d) -> float: ... @overload @staticmethod - def Length(C: Adaptor3d_Curve, Tol: float) -> float: ... + def Length(theC: Adaptor3d_Curve, theTol: float) -> float: ... @overload @staticmethod - def Length(C: Adaptor2d_Curve2d, Tol: float) -> float: ... + def Length(theC: Adaptor2d_Curve2d, theTol: float) -> float: ... @overload @staticmethod - def Length(C: Adaptor3d_Curve, U1: float, U2: float) -> float: ... + def Length(theC: Adaptor3d_Curve, theU1: float, theU2: float) -> float: ... @overload @staticmethod - def Length(C: Adaptor2d_Curve2d, U1: float, U2: float) -> float: ... + def Length(theC: Adaptor2d_Curve2d, theU1: float, theU2: float) -> float: ... @overload @staticmethod - def Length(C: Adaptor3d_Curve, U1: float, U2: float, Tol: float) -> float: ... + def Length(theC: Adaptor3d_Curve, theU1: float, theU2: float, theTol: float) -> float: ... @overload @staticmethod - def Length(C: Adaptor2d_Curve2d, U1: float, U2: float, Tol: float) -> float: ... + def Length(theC: Adaptor2d_Curve2d, theU1: float, theU2: float, theTol: float) -> float: ... def Parameter(self) -> float: ... class GCPnts_DistFunction2dMV(math_MultipleVarFunction): @@ -90,21 +90,21 @@ class GCPnts_QuasiUniformAbscissa: @overload def __init__(self) -> None: ... @overload - def __init__(self, C: Adaptor3d_Curve, NbPoints: int) -> None: ... + def __init__(self, theC: Adaptor3d_Curve, theNbPoints: int) -> None: ... @overload - def __init__(self, C: Adaptor3d_Curve, NbPoints: int, U1: float, U2: float) -> None: ... + def __init__(self, theC: Adaptor3d_Curve, theNbPoints: int, theU1: float, theU2: float) -> None: ... @overload - def __init__(self, C: Adaptor2d_Curve2d, NbPoints: int) -> None: ... + def __init__(self, theC: Adaptor2d_Curve2d, theNbPoints: int) -> None: ... @overload - def __init__(self, C: Adaptor2d_Curve2d, NbPoints: int, U1: float, U2: float) -> None: ... + def __init__(self, theC: Adaptor2d_Curve2d, theNbPoints: int, theU1: float, theU2: float) -> None: ... @overload - def Initialize(self, C: Adaptor3d_Curve, NbPoints: int) -> None: ... + def Initialize(self, theC: Adaptor3d_Curve, theNbPoints: int) -> None: ... @overload - def Initialize(self, C: Adaptor3d_Curve, NbPoints: int, U1: float, U2: float) -> None: ... + def Initialize(self, theC: Adaptor3d_Curve, theNbPoints: int, theU1: float, theU2: float) -> None: ... @overload - def Initialize(self, C: Adaptor2d_Curve2d, NbPoints: int) -> None: ... + def Initialize(self, theC: Adaptor2d_Curve2d, theNbPoints: int) -> None: ... @overload - def Initialize(self, C: Adaptor2d_Curve2d, NbPoints: int, U1: float, U2: float) -> None: ... + def Initialize(self, theC: Adaptor2d_Curve2d, theNbPoints: int, theU1: float, theU2: float) -> None: ... def IsDone(self) -> bool: ... def NbPoints(self) -> int: ... def Parameter(self, Index: int) -> float: ... @@ -113,49 +113,55 @@ class GCPnts_QuasiUniformDeflection: @overload def __init__(self) -> None: ... @overload - def __init__(self, C: Adaptor3d_Curve, Deflection: float, Continuity: Optional[GeomAbs_Shape] = GeomAbs_C1) -> None: ... + def __init__(self, theC: Adaptor3d_Curve, theDeflection: float, theContinuity: Optional[GeomAbs_Shape] = GeomAbs_C1) -> None: ... @overload - def __init__(self, C: Adaptor2d_Curve2d, Deflection: float, Continuity: Optional[GeomAbs_Shape] = GeomAbs_C1) -> None: ... + def __init__(self, theC: Adaptor2d_Curve2d, theDeflection: float, theContinuity: Optional[GeomAbs_Shape] = GeomAbs_C1) -> None: ... @overload - def __init__(self, C: Adaptor3d_Curve, Deflection: float, U1: float, U2: float, Continuity: Optional[GeomAbs_Shape] = GeomAbs_C1) -> None: ... + def __init__(self, theC: Adaptor3d_Curve, theDeflection: float, theU1: float, theU2: float, theContinuity: Optional[GeomAbs_Shape] = GeomAbs_C1) -> None: ... @overload - def __init__(self, C: Adaptor2d_Curve2d, Deflection: float, U1: float, U2: float, Continuity: Optional[GeomAbs_Shape] = GeomAbs_C1) -> None: ... + def __init__(self, theC: Adaptor2d_Curve2d, theDeflection: float, theU1: float, theU2: float, theContinuity: Optional[GeomAbs_Shape] = GeomAbs_C1) -> None: ... def Deflection(self) -> float: ... @overload - def Initialize(self, C: Adaptor3d_Curve, Deflection: float, Continuity: Optional[GeomAbs_Shape] = GeomAbs_C1) -> None: ... + def Initialize(self, theC: Adaptor3d_Curve, theDeflection: float, theContinuity: Optional[GeomAbs_Shape] = GeomAbs_C1) -> None: ... @overload - def Initialize(self, C: Adaptor2d_Curve2d, Deflection: float, Continuity: Optional[GeomAbs_Shape] = GeomAbs_C1) -> None: ... + def Initialize(self, theC: Adaptor2d_Curve2d, theDeflection: float, theContinuity: Optional[GeomAbs_Shape] = GeomAbs_C1) -> None: ... @overload - def Initialize(self, C: Adaptor3d_Curve, Deflection: float, U1: float, U2: float, Continuity: Optional[GeomAbs_Shape] = GeomAbs_C1) -> None: ... + def Initialize(self, theC: Adaptor3d_Curve, theDeflection: float, theU1: float, theU2: float, theContinuity: Optional[GeomAbs_Shape] = GeomAbs_C1) -> None: ... @overload - def Initialize(self, C: Adaptor2d_Curve2d, Deflection: float, U1: float, U2: float, Continuity: Optional[GeomAbs_Shape] = GeomAbs_C1) -> None: ... + def Initialize(self, theC: Adaptor2d_Curve2d, theDeflection: float, theU1: float, theU2: float, theContinuity: Optional[GeomAbs_Shape] = GeomAbs_C1) -> None: ... def IsDone(self) -> bool: ... def NbPoints(self) -> int: ... def Parameter(self, Index: int) -> float: ... def Value(self, Index: int) -> gp_Pnt: ... +class GCPnts_TCurveTypes: + pass + +class GCPnts_TCurveTypes: + pass + class GCPnts_TangentialDeflection: @overload def __init__(self) -> None: ... @overload - def __init__(self, C: Adaptor3d_Curve, AngularDeflection: float, CurvatureDeflection: float, MinimumOfPoints: Optional[int] = 2, UTol: Optional[float] = 1.0e-9, theMinLen: Optional[float] = 1.0e-7) -> None: ... + def __init__(self, theC: Adaptor3d_Curve, theAngularDeflection: float, theCurvatureDeflection: float, theMinimumOfPoints: Optional[int] = 2, theUTol: Optional[float] = 1.0e-9, theMinLen: Optional[float] = 1.0e-7) -> None: ... @overload - def __init__(self, C: Adaptor3d_Curve, FirstParameter: float, LastParameter: float, AngularDeflection: float, CurvatureDeflection: float, MinimumOfPoints: Optional[int] = 2, UTol: Optional[float] = 1.0e-9, theMinLen: Optional[float] = 1.0e-7) -> None: ... + def __init__(self, theC: Adaptor3d_Curve, theFirstParameter: float, theLastParameter: float, theAngularDeflection: float, theCurvatureDeflection: float, theMinimumOfPoints: Optional[int] = 2, theUTol: Optional[float] = 1.0e-9, theMinLen: Optional[float] = 1.0e-7) -> None: ... @overload - def __init__(self, C: Adaptor2d_Curve2d, AngularDeflection: float, CurvatureDeflection: float, MinimumOfPoints: Optional[int] = 2, UTol: Optional[float] = 1.0e-9, theMinLen: Optional[float] = 1.0e-7) -> None: ... + def __init__(self, theC: Adaptor2d_Curve2d, theAngularDeflection: float, theCurvatureDeflection: float, theMinimumOfPoints: Optional[int] = 2, theUTol: Optional[float] = 1.0e-9, theMinLen: Optional[float] = 1.0e-7) -> None: ... @overload - def __init__(self, C: Adaptor2d_Curve2d, FirstParameter: float, LastParameter: float, AngularDeflection: float, CurvatureDeflection: float, MinimumOfPoints: Optional[int] = 2, UTol: Optional[float] = 1.0e-9, theMinLen: Optional[float] = 1.0e-7) -> None: ... + def __init__(self, theC: Adaptor2d_Curve2d, theFirstParameter: float, theLastParameter: float, theAngularDeflection: float, theCurvatureDeflection: float, theMinimumOfPoints: Optional[int] = 2, theUTol: Optional[float] = 1.0e-9, theMinLen: Optional[float] = 1.0e-7) -> None: ... def AddPoint(self, thePnt: gp_Pnt, theParam: float, theIsReplace: Optional[bool] = True) -> int: ... @staticmethod def ArcAngularStep(theRadius: float, theLinearDeflection: float, theAngularDeflection: float, theMinLength: float) -> float: ... @overload - def Initialize(self, C: Adaptor3d_Curve, AngularDeflection: float, CurvatureDeflection: float, MinimumOfPoints: Optional[int] = 2, UTol: Optional[float] = 1.0e-9, theMinLen: Optional[float] = 1.0e-7) -> None: ... + def Initialize(self, theC: Adaptor3d_Curve, theAngularDeflection: float, theCurvatureDeflection: float, theMinimumOfPoints: Optional[int] = 2, theUTol: Optional[float] = 1.0e-9, theMinLen: Optional[float] = 1.0e-7) -> None: ... @overload - def Initialize(self, C: Adaptor3d_Curve, FirstParameter: float, LastParameter: float, AngularDeflection: float, CurvatureDeflection: float, MinimumOfPoints: Optional[int] = 2, UTol: Optional[float] = 1.0e-9, theMinLen: Optional[float] = 1.0e-7) -> None: ... + def Initialize(self, theC: Adaptor3d_Curve, theFirstParameter: float, theLastParameter: float, theAngularDeflection: float, theCurvatureDeflection: float, theMinimumOfPoints: Optional[int] = 2, theUTol: Optional[float] = 1.0e-9, theMinLen: Optional[float] = 1.0e-7) -> None: ... @overload - def Initialize(self, C: Adaptor2d_Curve2d, AngularDeflection: float, CurvatureDeflection: float, MinimumOfPoints: Optional[int] = 2, UTol: Optional[float] = 1.0e-9, theMinLen: Optional[float] = 1.0e-7) -> None: ... + def Initialize(self, theC: Adaptor2d_Curve2d, theAngularDeflection: float, theCurvatureDeflection: float, theMinimumOfPoints: Optional[int] = 2, theUTol: Optional[float] = 1.0e-9, theMinLen: Optional[float] = 1.0e-7) -> None: ... @overload - def Initialize(self, C: Adaptor2d_Curve2d, FirstParameter: float, LastParameter: float, AngularDeflection: float, CurvatureDeflection: float, MinimumOfPoints: Optional[int] = 2, UTol: Optional[float] = 1.0e-9, theMinLen: Optional[float] = 1.0e-7) -> None: ... + def Initialize(self, theC: Adaptor2d_Curve2d, theFirstParameter: float, theLastParameter: float, theAngularDeflection: float, theCurvatureDeflection: float, theMinimumOfPoints: Optional[int] = 2, theUTol: Optional[float] = 1.0e-9, theMinLen: Optional[float] = 1.0e-7) -> None: ... def NbPoints(self) -> int: ... def Parameter(self, I: int) -> float: ... def Value(self, I: int) -> gp_Pnt: ... @@ -164,38 +170,38 @@ class GCPnts_UniformAbscissa: @overload def __init__(self) -> None: ... @overload - def __init__(self, C: Adaptor3d_Curve, Abscissa: float, Toler: Optional[float] = -1) -> None: ... + def __init__(self, theC: Adaptor3d_Curve, theAbscissa: float, theToler: Optional[float] = -1) -> None: ... @overload - def __init__(self, C: Adaptor3d_Curve, Abscissa: float, U1: float, U2: float, Toler: Optional[float] = -1) -> None: ... + def __init__(self, theC: Adaptor3d_Curve, theAbscissa: float, theU1: float, theU2: float, theToler: Optional[float] = -1) -> None: ... @overload - def __init__(self, C: Adaptor3d_Curve, NbPoints: int, Toler: Optional[float] = -1) -> None: ... + def __init__(self, theC: Adaptor3d_Curve, theNbPoints: int, theToler: Optional[float] = -1) -> None: ... @overload - def __init__(self, C: Adaptor3d_Curve, NbPoints: int, U1: float, U2: float, Toler: Optional[float] = -1) -> None: ... + def __init__(self, theC: Adaptor3d_Curve, theNbPoints: int, theU1: float, theU2: float, theToler: Optional[float] = -1) -> None: ... @overload - def __init__(self, C: Adaptor2d_Curve2d, Abscissa: float, Toler: Optional[float] = -1) -> None: ... + def __init__(self, theC: Adaptor2d_Curve2d, theAbscissa: float, theToler: Optional[float] = -1) -> None: ... @overload - def __init__(self, C: Adaptor2d_Curve2d, Abscissa: float, U1: float, U2: float, Toler: Optional[float] = -1) -> None: ... + def __init__(self, theC: Adaptor2d_Curve2d, theAbscissa: float, theU1: float, theU2: float, theToler: Optional[float] = -1) -> None: ... @overload - def __init__(self, C: Adaptor2d_Curve2d, NbPoints: int, Toler: Optional[float] = -1) -> None: ... + def __init__(self, theC: Adaptor2d_Curve2d, theNbPoints: int, theToler: Optional[float] = -1) -> None: ... @overload - def __init__(self, C: Adaptor2d_Curve2d, NbPoints: int, U1: float, U2: float, Toler: Optional[float] = -1) -> None: ... + def __init__(self, theC: Adaptor2d_Curve2d, theNbPoints: int, theU1: float, theU2: float, theToler: Optional[float] = -1) -> None: ... def Abscissa(self) -> float: ... @overload - def Initialize(self, C: Adaptor3d_Curve, Abscissa: float, Toler: Optional[float] = -1) -> None: ... + def Initialize(self, theC: Adaptor3d_Curve, theAbscissa: float, theToler: Optional[float] = -1) -> None: ... @overload - def Initialize(self, C: Adaptor3d_Curve, Abscissa: float, U1: float, U2: float, Toler: Optional[float] = -1) -> None: ... + def Initialize(self, theC: Adaptor3d_Curve, theAbscissa: float, theU1: float, theU2: float, theToler: Optional[float] = -1) -> None: ... @overload - def Initialize(self, C: Adaptor3d_Curve, NbPoints: int, Toler: Optional[float] = -1) -> None: ... + def Initialize(self, theC: Adaptor3d_Curve, theNbPoints: int, theToler: Optional[float] = -1) -> None: ... @overload - def Initialize(self, C: Adaptor3d_Curve, NbPoints: int, U1: float, U2: float, Toler: Optional[float] = -1) -> None: ... + def Initialize(self, theC: Adaptor3d_Curve, theNbPoints: int, theU1: float, theU2: float, theToler: Optional[float] = -1) -> None: ... @overload - def Initialize(self, C: Adaptor2d_Curve2d, Abscissa: float, Toler: Optional[float] = -1) -> None: ... + def Initialize(self, theC: Adaptor2d_Curve2d, theAbscissa: float, theToler: Optional[float] = -1) -> None: ... @overload - def Initialize(self, C: Adaptor2d_Curve2d, Abscissa: float, U1: float, U2: float, Toler: Optional[float] = -1) -> None: ... + def Initialize(self, theC: Adaptor2d_Curve2d, theAbscissa: float, theU1: float, theU2: float, theToler: Optional[float] = -1) -> None: ... @overload - def Initialize(self, C: Adaptor2d_Curve2d, NbPoints: int, Toler: Optional[float] = -1) -> None: ... + def Initialize(self, theC: Adaptor2d_Curve2d, theNbPoints: int, theToler: Optional[float] = -1) -> None: ... @overload - def Initialize(self, C: Adaptor2d_Curve2d, NbPoints: int, U1: float, U2: float, Toler: Optional[float] = -1) -> None: ... + def Initialize(self, theC: Adaptor2d_Curve2d, theNbPoints: int, theU1: float, theU2: float, theToler: Optional[float] = -1) -> None: ... def IsDone(self) -> bool: ... def NbPoints(self) -> int: ... def Parameter(self, Index: int) -> float: ... @@ -204,22 +210,22 @@ class GCPnts_UniformDeflection: @overload def __init__(self) -> None: ... @overload - def __init__(self, C: Adaptor3d_Curve, Deflection: float, WithControl: Optional[bool] = True) -> None: ... + def __init__(self, theC: Adaptor3d_Curve, theDeflection: float, theWithControl: Optional[bool] = True) -> None: ... @overload - def __init__(self, C: Adaptor2d_Curve2d, Deflection: float, WithControl: Optional[bool] = True) -> None: ... + def __init__(self, theC: Adaptor2d_Curve2d, theDeflection: float, theWithControl: Optional[bool] = True) -> None: ... @overload - def __init__(self, C: Adaptor3d_Curve, Deflection: float, U1: float, U2: float, WithControl: Optional[bool] = True) -> None: ... + def __init__(self, theC: Adaptor3d_Curve, theDeflection: float, theU1: float, theU2: float, theWithControl: Optional[bool] = True) -> None: ... @overload - def __init__(self, C: Adaptor2d_Curve2d, Deflection: float, U1: float, U2: float, WithControl: Optional[bool] = True) -> None: ... + def __init__(self, theC: Adaptor2d_Curve2d, theDeflection: float, theU1: float, theU2: float, theWithControl: Optional[bool] = True) -> None: ... def Deflection(self) -> float: ... @overload - def Initialize(self, C: Adaptor3d_Curve, Deflection: float, WithControl: Optional[bool] = True) -> None: ... + def Initialize(self, theC: Adaptor3d_Curve, theDeflection: float, theWithControl: Optional[bool] = True) -> None: ... @overload - def Initialize(self, C: Adaptor2d_Curve2d, Deflection: float, WithControl: Optional[bool] = True) -> None: ... + def Initialize(self, theC: Adaptor2d_Curve2d, theDeflection: float, theWithControl: Optional[bool] = True) -> None: ... @overload - def Initialize(self, C: Adaptor3d_Curve, Deflection: float, U1: float, U2: float, WithControl: Optional[bool] = True) -> None: ... + def Initialize(self, theC: Adaptor3d_Curve, theDeflection: float, theU1: float, theU2: float, theWithControl: Optional[bool] = True) -> None: ... @overload - def Initialize(self, C: Adaptor2d_Curve2d, Deflection: float, U1: float, U2: float, WithControl: Optional[bool] = True) -> None: ... + def Initialize(self, theC: Adaptor2d_Curve2d, theDeflection: float, theU1: float, theU2: float, theWithControl: Optional[bool] = True) -> None: ... def IsDone(self) -> bool: ... def NbPoints(self) -> int: ... def Parameter(self, Index: int) -> float: ... @@ -231,6 +237,9 @@ class GCPnts_DistFunction: ... #classnotwrapped class GCPnts_DistFunction2d: ... +#classnotwrapped +class GCPnts_TCurveTypes: ... + # harray1 classes # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/GProp.i b/src/SWIG_files/wrapper/GProp.i index 0d6d3b1bf..1c530190a 100644 --- a/src/SWIG_files/wrapper/GProp.i +++ b/src/SWIG_files/wrapper/GProp.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GPROPDOCSTRING "GProp module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_gprop.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_gprop.html" %enddef %module (package="OCC.Core", docstring=GPROPDOCSTRING) GProp @@ -86,7 +86,7 @@ enum GProp_ValueType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class GProp_EquaType(IntEnum): @@ -188,7 +188,7 @@ None /****************** GProp_GProps ******************/ /**** md5 signature: 5161631c7b51e73b531a2d56f3a2fb17 ****/ %feature("compactdefaultargs") GProp_GProps; - %feature("autodoc", "The point systemlocation is used to compute the gobal properties of the system. for more accuracy it is better to define this point closed to the location of the system. for example it could be a point around the centre of mass of the system. this point is referred to as the reference point for this framework. for greater accuracy it is better for the reference point to be close to the location of the system. it can, for example, be a point near the center of mass of the system. at initialization, the framework is empty; i.e. it retains no dimensional information such as mass, or inertia. however, it is now able to bring together global properties of various other systems, whose global properties have already been computed using another framework. to do this, use the function add to define the components of the system. use it once per component of the system, and then use the interrogation functions available to access the computed values. + %feature("autodoc", "The point systemlocation is used to compute the global properties of the system. for more accuracy it is better to define this point closed to the location of the system. for example it could be a point around the centre of mass of the system. this point is referred to as the reference point for this framework. for greater accuracy it is better for the reference point to be close to the location of the system. it can, for example, be a point near the center of mass of the system. at initialization, the framework is empty; i.e. it retains no dimensional information such as mass, or inertia. however, it is now able to bring together global properties of various other systems, whose global properties have already been computed using another framework. to do this, use the function add to define the components of the system. use it once per component of the system, and then use the interrogation functions available to access the computed values. Parameters ---------- @@ -482,7 +482,7 @@ bool /****************** HasSymmetryAxis ******************/ /**** md5 signature: 0aa705126b824246c5a299d56663b6c9 ****/ %feature("compactdefaultargs") HasSymmetryAxis; - %feature("autodoc", "Returns true if the geometric system has an axis of symmetry. atol is relative tolerance for cheking equality of moments if atol == 0, relative tolerance is ~ 1.e-16 (epsilon(i)). + %feature("autodoc", "Returns true if the geometric system has an axis of symmetry. atol is relative tolerance for checking equality of moments if atol == 0, relative tolerance is ~ 1.e-16 (epsilon(i)). Parameters ---------- @@ -508,7 +508,7 @@ bool /****************** HasSymmetryPoint ******************/ /**** md5 signature: fbe20b9573893063e40615b48635d22a ****/ %feature("compactdefaultargs") HasSymmetryPoint; - %feature("autodoc", "Returns true if the geometric system has a point of symmetry. atol is relative tolerance for cheking equality of moments if atol == 0, relative tolerance is ~ 1.e-16 (epsilon(i)). + %feature("autodoc", "Returns true if the geometric system has a point of symmetry. atol is relative tolerance for checking equality of moments if atol == 0, relative tolerance is ~ 1.e-16 (epsilon(i)). Parameters ---------- diff --git a/src/SWIG_files/wrapper/GccAna.i b/src/SWIG_files/wrapper/GccAna.i index 8cb8750ff..b7df6ce2c 100644 --- a/src/SWIG_files/wrapper/GccAna.i +++ b/src/SWIG_files/wrapper/GccAna.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GCCANADOCSTRING "GccAna module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_gccana.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_gccana.html" %enddef %module (package="OCC.Core", docstring=GCCANADOCSTRING) GccAna @@ -64,7 +64,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -302,7 +302,7 @@ None /****************** CenterOn3 ******************/ /**** md5 signature: b84288e9132f5c4ac31073a7171b086e ****/ %feature("compactdefaultargs") CenterOn3; - %feature("autodoc", "Returns the informations about the center (on the curv) of the result number index and the third argument. pararg is the intrinsic parameter of the point pntarg on the third argument. exceptions standard_outofrange if index is less than zero or greater than the number of solutions computed by this algorithm. stdfail_notdone if the construction fails. + %feature("autodoc", "Returns the information about the center (on the curv) of the result number index and the third argument. pararg is the intrinsic parameter of the point pntarg on the third argument. exceptions standard_outofrange if index is less than zero or greater than the number of solutions computed by this algorithm. stdfail_notdone if the construction fails. Parameters ---------- @@ -370,7 +370,7 @@ int /****************** Tangency1 ******************/ /**** md5 signature: 2560a863e327c3fcf6bbfde26d55fd79 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns the informations about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution pararg is the intrinsic parameter of the point pntsol on the first argument. raises outofrange if index is greater than the number of solutions and notdone if isdone returns false. + %feature("autodoc", "Returns the information about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution pararg is the intrinsic parameter of the point pntsol on the first argument. raises outofrange if index is greater than the number of solutions and notdone if isdone returns false. Parameters ---------- @@ -387,7 +387,7 @@ ParArg: float /****************** Tangency2 ******************/ /**** md5 signature: aa2c229192467eeb8e5b8843ab43ae52 ****/ %feature("compactdefaultargs") Tangency2; - %feature("autodoc", "Returns the informations about the tangency point between the result number index and the second argument. parsol is the intrinsic parameter of the point pntsol on the solution. pararg is the intrinsic parameter of the point pntsol on the second argument. raises outofrange if index is greater than the number of solutions and notdone if isdone returns false. + %feature("autodoc", "Returns the information about the tangency point between the result number index and the second argument. parsol is the intrinsic parameter of the point pntsol on the solution. pararg is the intrinsic parameter of the point pntsol on the second argument. raises outofrange if index is greater than the number of solutions and notdone if isdone returns false. Parameters ---------- @@ -816,7 +816,7 @@ None /****************** GccAna_Circ2d3Tan ******************/ /**** md5 signature: ccacbacc59448541d378a070840f3b7a ****/ %feature("compactdefaultargs") GccAna_Circ2d3Tan; - %feature("autodoc", "This method implements the algorithms used to create 2d circles tangent to a circle and passing thrue 2 points. constructionerror is raised if there is a problem during the computation. + %feature("autodoc", "This method implements the algorithms used to create 2d circles tangent to a circle and passing through 2 points. constructionerror is raised if there is a problem during the computation. Parameters ---------- @@ -834,7 +834,7 @@ None /****************** GccAna_Circ2d3Tan ******************/ /**** md5 signature: c4207c6b3d25b5c4cb5841f1daf562df ****/ %feature("compactdefaultargs") GccAna_Circ2d3Tan; - %feature("autodoc", "This method implements the algorithms used to create 2d circles tangent to a line and passing thrue 2 points. constructionerror is raised if there is a problem during the computation. + %feature("autodoc", "This method implements the algorithms used to create 2d circles tangent to a line and passing through 2 points. constructionerror is raised if there is a problem during the computation. Parameters ---------- @@ -852,7 +852,7 @@ None /****************** GccAna_Circ2d3Tan ******************/ /**** md5 signature: 4ae692732419aa36f01019d6400237da ****/ %feature("compactdefaultargs") GccAna_Circ2d3Tan; - %feature("autodoc", "This method implements the algorithms used to create 2d circles passing thrue 3 points. constructionerror is raised if there is a problem during the computation. + %feature("autodoc", "This method implements the algorithms used to create 2d circles passing through 3 points. constructionerror is raised if there is a problem during the computation. Parameters ---------- @@ -937,7 +937,7 @@ int /****************** Tangency1 ******************/ /**** md5 signature: 2560a863e327c3fcf6bbfde26d55fd79 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntarg on the argument curv. raises outofrange if index is greater than the number of solutions. it raises notdone if the algorithm failed. + %feature("autodoc", "Returns information about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntarg on the argument curv. raises outofrange if index is greater than the number of solutions. it raises notdone if the algorithm failed. Parameters ---------- @@ -954,7 +954,7 @@ ParArg: float /****************** Tangency2 ******************/ /**** md5 signature: aa2c229192467eeb8e5b8843ab43ae52 ****/ %feature("compactdefaultargs") Tangency2; - %feature("autodoc", "Returns informations about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. raises outofrange if index is greater than the number of solutions. it raises notdone if the algorithm failed. + %feature("autodoc", "Returns information about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. raises outofrange if index is greater than the number of solutions. it raises notdone if the algorithm failed. Parameters ---------- @@ -971,7 +971,7 @@ ParArg: float /****************** Tangency3 ******************/ /**** md5 signature: 0aa5ec0c7341ae28374df63d96d61594 ****/ %feature("compactdefaultargs") Tangency3; - %feature("autodoc", "Returns informations about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. raises outofrange if index is greater than the number of solutions. it raises notdone if the algorithm failed. + %feature("autodoc", "Returns information about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. raises outofrange if index is greater than the number of solutions. it raises notdone if the algorithm failed. Parameters ---------- @@ -1003,7 +1003,7 @@ gp_Circ2d /****************** WhichQualifier ******************/ /**** md5 signature: a7c8640b1f68ed172a2307977dbf7e77 ****/ %feature("compactdefaultargs") WhichQualifier; - %feature("autodoc", "Returns the informations about the qualifiers of the tangency arguments concerning the solution number index. it returns the real qualifiers (the qualifiers given to the constructor method in case of enclosed, enclosing and outside and the qualifiers computedin case of unqualified). + %feature("autodoc", "Returns the information about the qualifiers of the tangency arguments concerning the solution number index. it returns the real qualifiers (the qualifiers given to the constructor method in case of enclosed, enclosing and outside and the qualifiers computedin case of unqualified). Parameters ---------- @@ -1135,7 +1135,7 @@ None /****************** GccAna_Circ2dTanCen ******************/ /**** md5 signature: e4011363fd322219f6eccfea846244d4 ****/ %feature("compactdefaultargs") GccAna_Circ2dTanCen; - %feature("autodoc", "This method implements the algorithms used to create 2d circles passing thrue a point and centered on a point. tolerance is a tolerance criterion used by the algorithm to find a solution when, mathematically, the problem posed does not have a solution, but where there is numeric uncertainty attached to the arguments. in these algorithms tolerance is only used in very specific cases where the center of the solution is very close to the circle to which it is tangential, and where the solution is therefore a very small circle. exceptions gccent_badqualifier if a qualifier is inconsistent with the argument it qualifies (for example, enclosing for a line). + %feature("autodoc", "This method implements the algorithms used to create 2d circles passing through a point and centered on a point. tolerance is a tolerance criterion used by the algorithm to find a solution when, mathematically, the problem posed does not have a solution, but where there is numeric uncertainty attached to the arguments. in these algorithms tolerance is only used in very specific cases where the center of the solution is very close to the circle to which it is tangential, and where the solution is therefore a very small circle. exceptions gccent_badqualifier if a qualifier is inconsistent with the argument it qualifies (for example, enclosing for a line). Parameters ---------- @@ -1188,7 +1188,7 @@ int /****************** Tangency1 ******************/ /**** md5 signature: 2560a863e327c3fcf6bbfde26d55fd79 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntarg on the argument curv. it raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions or less than zero. + %feature("autodoc", "Returns information about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntarg on the argument curv. it raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions or less than zero. Parameters ---------- @@ -1205,7 +1205,7 @@ ParArg: float /****************** ThisSolution ******************/ /**** md5 signature: 6411fa8d68e628aba08bd186d18a6e49 ****/ %feature("compactdefaultargs") ThisSolution; - %feature("autodoc", "Returns the circle, representing the solution number index and raises outofrange exception if index is greater than the number of solutions. be carefull: the index is only a way to get all the solutions, but is not associated to theses outside the context of the algorithm-object. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions or less than zer. + %feature("autodoc", "Returns the circle, representing the solution number index and raises outofrange exception if index is greater than the number of solutions. be careful: the index is only a way to get all the solutions, but is not associated to these outside the context of the algorithm-object. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions or less than zer. Parameters ---------- @@ -1358,7 +1358,7 @@ None /****************** CenterOn3 ******************/ /**** md5 signature: 713cefd806df05d39f2ba710d8a8d081 ****/ %feature("compactdefaultargs") CenterOn3; - %feature("autodoc", "Returns informations about the center (on the curv) of the result. pararg is the intrinsic parameter of the point on the argument curv. pntsol is the center point of the solution curv. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. + %feature("autodoc", "Returns information about the center (on the curv) of the result. pararg is the intrinsic parameter of the point on the argument curv. pntsol is the center point of the solution curv. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. Parameters ---------- @@ -1411,7 +1411,7 @@ int /****************** Tangency1 ******************/ /**** md5 signature: 2560a863e327c3fcf6bbfde26d55fd79 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point on the solution curv. pararg is the intrinsic parameter of the point on the argument curv. pntsol is the tangency point on the solution curv. pntarg is the tangency point on the argument curv. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. + %feature("autodoc", "Returns information about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point on the solution curv. pararg is the intrinsic parameter of the point on the argument curv. pntsol is the tangency point on the solution curv. pntarg is the tangency point on the argument curv. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. Parameters ---------- @@ -1428,7 +1428,7 @@ ParArg: float /****************** ThisSolution ******************/ /**** md5 signature: 6411fa8d68e628aba08bd186d18a6e49 ****/ %feature("compactdefaultargs") ThisSolution; - %feature("autodoc", "Returns the solution number index and raises outofrange exception if index is greater than the number of solutions. be careful: the index is only a way to get all the solutions, but is not associated to theses outside the context of the algorithm-object. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. + %feature("autodoc", "Returns the solution number index and raises outofrange exception if index is greater than the number of solutions. be careful: the index is only a way to get all the solutions, but is not associated to these outside the context of the algorithm-object. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. Parameters ---------- @@ -1624,7 +1624,7 @@ class GccAna_Lin2d2Tan { /****************** GccAna_Lin2d2Tan ******************/ /**** md5 signature: d217055dd19c4ad537b6670197044029 ****/ %feature("compactdefaultargs") GccAna_Lin2d2Tan; - %feature("autodoc", "This methods implements the algorithms used to create 2d lines passing thrue 2 points. tolerance is used because we can't create a line when the distance between the two points is too small. + %feature("autodoc", "This methods implements the algorithms used to create 2d lines passing through 2 points. tolerance is used because we can't create a line when the distance between the two points is too small. Parameters ---------- @@ -1641,7 +1641,7 @@ None /****************** GccAna_Lin2d2Tan ******************/ /**** md5 signature: bdc59b7aa8cd6b8f75211b5ebd7a8b08 ****/ %feature("compactdefaultargs") GccAna_Lin2d2Tan; - %feature("autodoc", "This methods implements the algorithms used to create 2d lines tangent to one circle and passing thrue a point. exception badqualifier is raised in the case of enclosedcirc tolerance is used because there is no solution when the point is inside the solution according to the tolerance. + %feature("autodoc", "This methods implements the algorithms used to create 2d lines tangent to one circle and passing through a point. exception badqualifier is raised in the case of enclosedcirc tolerance is used because there is no solution when the point is inside the solution according to the tolerance. Parameters ---------- @@ -1697,7 +1697,7 @@ int /****************** Tangency1 ******************/ /**** md5 signature: 2560a863e327c3fcf6bbfde26d55fd79 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. raises outofrange is raised if index is greater than the number of solutions. it raises notdone if the algorithm failed. + %feature("autodoc", "Returns information about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. raises outofrange is raised if index is greater than the number of solutions. it raises notdone if the algorithm failed. Parameters ---------- @@ -1714,7 +1714,7 @@ ParArg: float /****************** Tangency2 ******************/ /**** md5 signature: aa2c229192467eeb8e5b8843ab43ae52 ****/ %feature("compactdefaultargs") Tangency2; - %feature("autodoc", "Returns informations about the tangency point between the result number index and the second argument. parsol is the intrinsic parameter of the point parsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. raises outofrange is raised if index is greater than the number of solutions. it raises notdone if the algorithm failed. + %feature("autodoc", "Returns information about the tangency point between the result number index and the second argument. parsol is the intrinsic parameter of the point parsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. raises outofrange is raised if index is greater than the number of solutions. it raises notdone if the algorithm failed. Parameters ---------- @@ -1731,7 +1731,7 @@ ParArg: float /****************** ThisSolution ******************/ /**** md5 signature: 96dd6b3b788fc0b155d75bed87794c74 ****/ %feature("compactdefaultargs") ThisSolution; - %feature("autodoc", "Returns the solution number index and raises outofrange exception if index is greater than the number of solutions. be carefull: the index is only a way to get all the solutions, but is not associated to theses outside the context of the algorithm-object. raises outofrange is raised if index is greater than the number of solutions. it raises notdone if the algorithm failed. + %feature("autodoc", "Returns the solution number index and raises outofrange exception if index is greater than the number of solutions. be careful: the index is only a way to get all the solutions, but is not associated to these outside the context of the algorithm-object. raises outofrange is raised if index is greater than the number of solutions. it raises notdone if the algorithm failed. Parameters ---------- @@ -1793,7 +1793,7 @@ None /****************** Intersection1 ******************/ /**** md5 signature: 77db5554380ec88a636c5d923715b5a3 ****/ %feature("compactdefaultargs") Intersection1; - %feature("autodoc", "Returns informations about the intersection point between the result number index and the first argument. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. + %feature("autodoc", "Returns information about the intersection point between the result number index and the first argument. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. Parameters ---------- @@ -1810,7 +1810,7 @@ ParArg: float /****************** Intersection2 ******************/ /**** md5 signature: 3a8002e96f3bc12ac0919f98e024e3f2 ****/ %feature("compactdefaultargs") Intersection2; - %feature("autodoc", "Returns informations about the intersection point between the result number index and the second argument. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. + %feature("autodoc", "Returns information about the intersection point between the result number index and the second argument. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. Parameters ---------- @@ -1827,7 +1827,7 @@ ParArg: float /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true when the algorithm succeded. + %feature("autodoc", "Returns true when the algorithm succeeded. Returns ------- @@ -1912,7 +1912,7 @@ None /****************** Intersection2 ******************/ /**** md5 signature: 3a8002e96f3bc12ac0919f98e024e3f2 ****/ %feature("compactdefaultargs") Intersection2; - %feature("autodoc", "Returns informations about the intersection between the result number index and the third argument. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. + %feature("autodoc", "Returns information about the intersection between the result number index and the third argument. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. Parameters ---------- @@ -1951,7 +1951,7 @@ int /****************** Tangency1 ******************/ /**** md5 signature: 2560a863e327c3fcf6bbfde26d55fd79 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point parsol on the solution curv. pararg is the intrinsic parameter of the point pararg on the argument curv. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. + %feature("autodoc", "Returns information about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point parsol on the solution curv. pararg is the intrinsic parameter of the point pararg on the argument curv. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. Parameters ---------- @@ -1968,7 +1968,7 @@ ParArg: float /****************** ThisSolution ******************/ /**** md5 signature: 96dd6b3b788fc0b155d75bed87794c74 ****/ %feature("compactdefaultargs") ThisSolution; - %feature("autodoc", "Returns the solution number index. be careful: the index is only a way to get all the solutions, but is not associated to theses outside the context of the algorithm-object. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. + %feature("autodoc", "Returns the solution number index. be careful: the index is only a way to get all the solutions, but is not associated to these outside the context of the algorithm-object. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. Parameters ---------- @@ -2067,7 +2067,7 @@ int /****************** Tangency1 ******************/ /**** md5 signature: ac6b428c3f88d193815480de09ccbe56 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point on the solution curv. pararg is the intrinsic parameter of the point on the argument curv. pararg is equal 0 when the solution is passing thrue a point. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. + %feature("autodoc", "Returns information about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point on the solution curv. pararg is the intrinsic parameter of the point on the argument curv. pararg is equal 0 when the solution is passing through a point. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. Parameters ---------- @@ -2099,7 +2099,7 @@ gp_Lin2d /****************** WhichQualifier ******************/ /**** md5 signature: 0ea2282c206094fba20eed9ca0e0787e ****/ %feature("compactdefaultargs") WhichQualifier; - %feature("autodoc", "Returns the informations about the qualifiers of the tangency arguments concerning the solution number index. it returns the real qualifiers (the qualifiers given to the constructor method in case of enclosed, enclosing and outside and the qualifiers computed in case of unqualified). raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. + %feature("autodoc", "Returns the information about the qualifiers of the tangency arguments concerning the solution number index. it returns the real qualifiers (the qualifiers given to the constructor method in case of enclosed, enclosing and outside and the qualifiers computed in case of unqualified). raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. Parameters ---------- @@ -2193,7 +2193,7 @@ None /****************** Intersection2 ******************/ /**** md5 signature: 3a8002e96f3bc12ac0919f98e024e3f2 ****/ %feature("compactdefaultargs") Intersection2; - %feature("autodoc", "Returns informations about the intersection between the solution number index and the second argument. it returns the first intersection in a case of lin2dtanper which is perpendicular to a circle . parsol is the intrinsic parameter of the point on the solution curv. pararg is the intrinsic parameter of the point on the argument curv. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. + %feature("autodoc", "Returns information about the intersection between the solution number index and the second argument. it returns the first intersection in a case of lin2dtanper which is perpendicular to a circle . parsol is the intrinsic parameter of the point on the solution curv. pararg is the intrinsic parameter of the point on the argument curv. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. Parameters ---------- @@ -2232,7 +2232,7 @@ int /****************** Tangency1 ******************/ /**** md5 signature: ac6b428c3f88d193815480de09ccbe56 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point on the solution curv. pararg is the intrinsic parameter of the point on the argument curv. if the first argument is a point pararg is equal zero. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. + %feature("autodoc", "Returns information about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point on the solution curv. pararg is the intrinsic parameter of the point on the argument curv. if the first argument is a point pararg is equal zero. raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. Parameters ---------- diff --git a/src/SWIG_files/wrapper/GccEnt.i b/src/SWIG_files/wrapper/GccEnt.i index d821c35d6..1d2afdffa 100644 --- a/src/SWIG_files/wrapper/GccEnt.i +++ b/src/SWIG_files/wrapper/GccEnt.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GCCENTDOCSTRING "GccEnt module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_gccent.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_gccent.html" %enddef %module (package="OCC.Core", docstring=GCCENTDOCSTRING) GccEnt @@ -68,7 +68,7 @@ enum GccEnt_Position { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class GccEnt_Position(IntEnum): diff --git a/src/SWIG_files/wrapper/GccInt.i b/src/SWIG_files/wrapper/GccInt.i index 6be7899f9..a51303299 100644 --- a/src/SWIG_files/wrapper/GccInt.i +++ b/src/SWIG_files/wrapper/GccInt.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GCCINTDOCSTRING "GccInt module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_gccint.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_gccint.html" %enddef %module (package="OCC.Core", docstring=GCCINTDOCSTRING) GccInt @@ -69,7 +69,7 @@ enum GccInt_IType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class GccInt_IType(IntEnum): diff --git a/src/SWIG_files/wrapper/Geom.i b/src/SWIG_files/wrapper/Geom.i index e65c64b5d..0087b12ba 100644 --- a/src/SWIG_files/wrapper/Geom.i +++ b/src/SWIG_files/wrapper/Geom.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOMDOCSTRING "Geom module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geom.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geom.html" %enddef %module (package="OCC.Core", docstring=GEOMDOCSTRING) Geom @@ -66,7 +66,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -340,7 +340,7 @@ opencascade::handle /****************** Translate ******************/ /**** md5 signature: b3667af07c9a238180bc31cc15803f78 ****/ %feature("compactdefaultargs") Translate; - %feature("autodoc", "Translates a geometry. v is the vector of the tanslation. + %feature("autodoc", "Translates a geometry. v is the vector of the translation. Parameters ---------- @@ -429,7 +429,7 @@ None /****************** Geom_OsculatingSurface ******************/ /**** md5 signature: 6805f264f7a2aca9c843e15662924f3b ****/ %feature("compactdefaultargs") Geom_OsculatingSurface; - %feature("autodoc", "Detects if the surface has punctual u or v isoparametric curve along on the bounds of the surface relativly to the tolerance tol and builds the corresponding osculating surfaces. + %feature("autodoc", "Detects if the surface has punctual u or v isoparametric curve along on the bounds of the surface relatively to the tolerance tol and builds the corresponding osculating surfaces. Parameters ---------- @@ -597,7 +597,7 @@ gp_TrsfForm /****************** Invert ******************/ /**** md5 signature: 27ae24404e0570a708e2e3589a9d9074 ****/ %feature("compactdefaultargs") Invert; - %feature("autodoc", "Raised if the the transformation is singular. this means that the scalefactor is lower or equal to resolution from package gp. + %feature("autodoc", "Raised if the transformation is singular. this means that the scalefactor is lower or equal to resolution from package gp. Returns ------- @@ -608,7 +608,7 @@ None /****************** Inverted ******************/ /**** md5 signature: a7f4838eb23ef8226ce1998df318c767 ****/ %feature("compactdefaultargs") Inverted; - %feature("autodoc", "Raised if the the transformation is singular. this means that the scalefactor is lower or equal to resolution from package gp. + %feature("autodoc", "Raised if the transformation is singular. this means that the scalefactor is lower or equal to resolution from package gp. Returns ------- @@ -1171,7 +1171,7 @@ bool /****************** IsClosed ******************/ /**** md5 signature: be44ba5ab9beeb7f60f33a5068f1446b ****/ %feature("compactdefaultargs") IsClosed; - %feature("autodoc", "Returns true if the curve is closed. some curves such as circle are always closed, others such as line are never closed (by definition). some curves such as offsetcurve can be closed or not. these curves are considered as closed if the distance between the first point and the last point of the curve is lower or equal to the resolution from package gp wich is a fixed criterion independant of the application. + %feature("autodoc", "Returns true if the curve is closed. some curves such as circle are always closed, others such as line are never closed (by definition). some curves such as offsetcurve can be closed or not. these curves are considered as closed if the distance between the first point and the last point of the curve is lower or equal to the resolution from package gp which is a fixed criterion independent of the application. Returns ------- @@ -1634,7 +1634,7 @@ bool /****************** ParametricTransformation ******************/ /**** md5 signature: 40e23eaf2984de2985d125adc2919a99 ****/ %feature("compactdefaultargs") ParametricTransformation; - %feature("autodoc", "Returns a 2d transformation used to find the new parameters of a point on the transformed surface. //! me->transformed(t)->value(u',v') //! is the same point as //! me->value(u,v).transformed(t) //! where u',v' are obtained by transforming u,v with th 2d transformation returned by //! me->parametrictransformation(t) //! this methods returns an identity transformation //! it can be redefined. for example on the plane, cylinder, cone, revolved and extruded surfaces. + %feature("autodoc", "Returns a 2d transformation used to find the new parameters of a point on the transformed surface. @code me->transformed(t)->value(u',v') @endcode is the same point as @code me->value(u,v).transformed(t) @endcode where u',v' are obtained by transforming u,v with the 2d transformation returned by @code me->parametrictransformation(t) @endcode this method returns an identity transformation //! it can be redefined. for example on the plane, cylinder, cone, revolved and extruded surfaces. Parameters ---------- @@ -1649,7 +1649,7 @@ gp_GTrsf2d /****************** TransformParameters ******************/ /**** md5 signature: 0142b5420374870689e386ed7648e08a ****/ %feature("compactdefaultargs") TransformParameters; - %feature("autodoc", "Computes the parameters on the transformed surface for the transform of the point of parameters u,v on . //! me->transformed(t)->value(u',v') //! is the same point as //! me->value(u,v).transformed(t) //! where u',v' are the new values of u,v after calling //! me->tranformparameters(u,v,t) //! this methods does not change and //! it can be redefined. for example on the plane, cylinder, cone, revolved and extruded surfaces. + %feature("autodoc", "Computes the parameters on the transformed surface for the transform of the point of parameters u,v on . @code me->transformed(t)->value(u',v') @endcode is the same point as @code me->value(u,v).transformed(t) @endcode where u',v' are the new values of u,v after calling @code me->transformparameters(u,v,t) @endcode this method does not change and //! it can be redefined. for example on the plane, cylinder, cone, revolved and extruded surfaces. Parameters ---------- @@ -1713,7 +1713,7 @@ opencascade::handle /****************** UReversedParameter ******************/ /**** md5 signature: 7fd7d20296a57b638e5ad7571b2de083 ****/ %feature("compactdefaultargs") UReversedParameter; - %feature("autodoc", "Returns the parameter on the ureversed surface for the point of parameter u on . //! me->ureversed()->value(me->ureversedparameter(u),v) //! is the same point as //! me->value(u,v). + %feature("autodoc", "Returns the parameter on the ureversed surface for the point of parameter u on . @code me->ureversed()->value(me->ureversedparameter(u),v) @endcode is the same point as @code me->value(u,v) @endcode. Parameters ---------- @@ -1776,7 +1776,7 @@ opencascade::handle /****************** VReversedParameter ******************/ /**** md5 signature: 1d95298bde777a8594bd52e1249dc41e ****/ %feature("compactdefaultargs") VReversedParameter; - %feature("autodoc", "Returns the parameter on the vreversed surface for the point of parameter v on . //! me->vreversed()->value(u,me->vreversedparameter(v)) //! is the same point as //! me->value(u,v). + %feature("autodoc", "Returns the parameter on the vreversed surface for the point of parameter v on . @code me->vreversed()->value(u,me->vreversedparameter(v)) @endcode is the same point as @code me->value(u,v) @endcode. Parameters ---------- @@ -4104,7 +4104,7 @@ opencascade::handle /****************** D0 ******************/ /**** md5 signature: 909f7ecc223d561155c9c3ba4b8e7b64 ****/ %feature("compactdefaultargs") D0; - %feature("autodoc", "P (u, v) = pbasis + offset * ndir where ndir = d1ubasis ^ d1vbasis / ||d1ubasis ^ d1vbasis|| is the normal direction of the basis surface. pbasis, d1ubasis, d1vbasis are the point and the first derivatives on the basis surface. if ndir is undefined this method computes an approched normal direction using the following limited development : ndir = n0 + dndir/du + dndir/dv + eps with eps->0 which requires to compute the second derivatives on the basis surface. if the normal direction cannot be approximate for this order of derivation the exception undefinedvalue is raised. //! raised if the continuity of the basis surface is not c1. raised if the order of derivation required to compute the normal direction is greater than the second order. + %feature("autodoc", "@code p (u, v) = pbasis + offset * ndir @endcode where @code ndir = d1ubasis ^ d1vbasis / ||d1ubasis ^ d1vbasis|| @endcode is the normal direction of the basis surface. pbasis, d1ubasis, d1vbasis are the point and the first derivatives on the basis surface. if ndir is undefined this method computes an approached normal direction using the following limited development: @code ndir = n0 + dndir/du + dndir/dv + eps @endcode with eps->0 which requires to compute the second derivatives on the basis surface. if the normal direction cannot be approximate for this order of derivation the exception undefinedvalue is raised. //! raised if the continuity of the basis surface is not c1. raised if the order of derivation required to compute the normal direction is greater than the second order. Parameters ---------- @@ -4140,7 +4140,7 @@ None /****************** D2 ******************/ /**** md5 signature: 5bdb029d3f1561c55d7ab1d1b0b0282a ****/ %feature("compactdefaultargs") D2; - %feature("autodoc", "---purpose ; raised if the continuity of the basis surface is not c3. + %feature("autodoc", "Raised if the continuity of the basis surface is not c3. Parameters ---------- @@ -4188,7 +4188,7 @@ None /****************** DN ******************/ /**** md5 signature: 78200f5fa5a4060f4022c2e3d9d8ac0e ****/ %feature("compactdefaultargs") DN; - %feature("autodoc", "Computes the derivative of order nu in the direction u and nv in the direction v. ---purpose ; raised if the continuity of the basis surface is not cnu + 1 in the u direction and cnv + 1 in the v direction. raised if nu + nv < 1 or nu < 0 or nv < 0. //! the following methods compute the value and derivatives on the offset surface and returns the derivatives on the basis surface too. the computation of the value and derivatives on the basis surface are used to evaluate the offset surface. //! warnings : the exception undefinedvalue or undefinedderivative is raised if it is not possible to compute a unique offset direction. + %feature("autodoc", "Computes the derivative of order nu in the direction u and nv in the direction v. //! raised if the continuity of the basis surface is not cnu + 1 in the u direction and cnv + 1 in the v direction. raised if nu + nv < 1 or nu < 0 or nv < 0. //! the following methods compute the value and derivatives on the offset surface and returns the derivatives on the basis surface too. the computation of the value and derivatives on the basis surface are used to evaluate the offset surface. //! warnings: the exception undefinedvalue or undefinedderivative is raised if it is not possible to compute a unique offset direction. Parameters ---------- @@ -4321,7 +4321,7 @@ opencascade::handle /****************** ParametricTransformation ******************/ /**** md5 signature: 019b69215b9dcafd8e9b0052b449ea05 ****/ %feature("compactdefaultargs") ParametricTransformation; - %feature("autodoc", "Returns a 2d transformation used to find the new parameters of a point on the transformed surface. //! me->transformed(t)->value(u',v') //! is the same point as //! me->value(u,v).transformed(t) //! where u',v' are obtained by transforming u,v with th 2d transformation returned by //! me->parametrictransformation(t) //! this methods calls the basis surface method. + %feature("autodoc", "Returns a 2d transformation used to find the new parameters of a point on the transformed surface. @code me->transformed(t)->value(u',v') @endcode is the same point as @code me->value(u,v).transformed(t) @endcode where u',v' are obtained by transforming u,v with the 2d transformation returned by @code me->parametrictransformation(t) @endcode this method calls the basis surface method. Parameters ---------- @@ -4394,7 +4394,7 @@ None /****************** TransformParameters ******************/ /**** md5 signature: 2d9e8651399bacbb299466ac222a6ca8 ****/ %feature("compactdefaultargs") TransformParameters; - %feature("autodoc", "Computes the parameters on the transformed surface for the transform of the point of parameters u,v on . //! me->transformed(t)->value(u',v') //! is the same point as //! me->value(u,v).transformed(t) //! where u',v' are the new values of u,v after calling //! me->tranformparameters(u,v,t) this methods calls the basis surface method. + %feature("autodoc", "Computes the parameters on the transformed surface for the transform of the point of parameters u,v on . @code me->transformed(t)->value(u',v') @endcode is the same point as @code me->value(u,v).transformed(t) @endcode where u',v' are the new values of u,v after calling @code me->transformparameters(u,v,t) @endcode this method calls the basis surface method. Parameters ---------- @@ -4479,7 +4479,7 @@ float /****************** VIso ******************/ /**** md5 signature: ef8726fc193d6cf33f54c94b9ed952a5 ****/ %feature("compactdefaultargs") VIso; - %feature("autodoc", "Computes the v isoparametric curve. //! te followings methods compute value and derivatives. //! warnings an exception is raised if a unique normal vector is not defined on the basis surface for the parametric value (u,v). no check is done at the creation time and we suppose in this package that the offset surface can be defined at any point. + %feature("autodoc", "Computes the v isoparametric curve. //! the following methods compute value and derivatives. //! warnings an exception is raised if a unique normal vector is not defined on the basis surface for the parametric value (u,v). no check is done at the creation time and we suppose in this package that the offset surface can be defined at any point. Parameters ---------- @@ -5035,7 +5035,7 @@ None /****************** Geom_BSplineCurve ******************/ /**** md5 signature: febe71f9f4b62c4419f66a23769ade54 ****/ %feature("compactdefaultargs") Geom_BSplineCurve; - %feature("autodoc", "Creates a rational b_spline curve on the basis of degree . raises constructionerror subject to the following conditions 0 < degree <= maxdegree. //! weights.length() == poles.length() //! knots.length() == mults.length() >= 2 //! knots(i) < knots(i+1) (knots are increasing) //! 1 <= mults(i) <= degree //! on a non periodic curve the first and last multiplicities may be degree+1 (this is even recommanded if you want the curve to start and finish on the first and last pole). //! on a periodic curve the first and the last multicities must be the same. //! on non-periodic curves //! poles.length() == sum(mults(i)) - degree - 1 >= 2 //! on periodic curves //! poles.length() == sum(mults(i)) except the first or last. + %feature("autodoc", "Creates a rational b_spline curve on the basis of degree . raises constructionerror subject to the following conditions 0 < degree <= maxdegree. //! weights.length() == poles.length() //! knots.length() == mults.length() >= 2 //! knots(i) < knots(i+1) (knots are increasing) //! 1 <= mults(i) <= degree //! on a non periodic curve the first and last multiplicities may be degree+1 (this is even recommended if you want the curve to start and finish on the first and last pole). //! on a periodic curve the first and the last multicities must be the same. //! on non-periodic curves //! poles.length() == sum(mults(i)) - degree - 1 >= 2 //! on periodic curves //! poles.length() == sum(mults(i)) except the first or last. Parameters ---------- @@ -5366,7 +5366,7 @@ bool /****************** IsG1 ******************/ /**** md5 signature: 9f6daa5a840326c7c14dda9f95a957d1 ****/ %feature("compactdefaultargs") IsG1; - %feature("autodoc", "Check if curve has at least g1 continuity in interval [thetf, thetl] returns true if iscn(1) or angle betweem 'left' and 'right' first derivatives at knots with c0 continuity is less then theangtol only knots in interval [thetf, thetl] is checked. + %feature("autodoc", "Check if curve has at least g1 continuity in interval [thetf, thetl] returns true if iscn(1) or angle between 'left' and 'right' first derivatives at knots with c0 continuity is less then theangtol only knots in interval [thetf, thetl] is checked. Parameters ---------- @@ -5667,7 +5667,7 @@ LastModifiedPole: int /****************** MovePointAndTangent ******************/ /**** md5 signature: 5d9cf04ee9481c575090c788835bb070 ****/ %feature("compactdefaultargs") MovePointAndTangent; - %feature("autodoc", "Move a point with parameter u to p. and makes it tangent at u be tangent. startingcondition = -1 means first can move endingcondition = -1 means last point can move startingcondition = 0 means the first point cannot move endingcondition = 0 means the last point cannot move startingcondition = 1 means the first point and tangent cannot move endingcondition = 1 means the last point and tangent cannot move and so forth errorstatus != 0 means that there are not enought degree of freedom with the constrain to deform the curve accordingly. + %feature("autodoc", "Move a point with parameter u to p. and makes it tangent at u be tangent. startingcondition = -1 means first can move endingcondition = -1 means last point can move startingcondition = 0 means the first point cannot move endingcondition = 0 means the last point cannot move startingcondition = 1 means the first point and tangent cannot move endingcondition = 1 means the last point and tangent cannot move and so forth errorstatus != 0 means that there are not enough degree of freedom with the constrain to deform the curve accordingly. Parameters ---------- @@ -5955,7 +5955,7 @@ None /****************** SetOrigin ******************/ /**** md5 signature: 6ec07ce42052ea40f10882071071f1bc ****/ %feature("compactdefaultargs") SetOrigin; - %feature("autodoc", "Set the origin of a periodic curve at knot u. if u is not a knot of the bspline a new knot is inseted. knotvector and poles are modified. raised if the curve is not periodic. + %feature("autodoc", "Set the origin of a periodic curve at knot u. if u is not a knot of the bspline a new knot is inserted. knotvector and poles are modified. raised if the curve is not periodic. Parameters ---------- @@ -6114,7 +6114,7 @@ class Geom_BSplineSurface : public Geom_BoundedSurface { /****************** Geom_BSplineSurface ******************/ /**** md5 signature: d0e79094e818d7c29ef7d04c55973c13 ****/ %feature("compactdefaultargs") Geom_BSplineSurface; - %feature("autodoc", "Creates a non-rational b-spline surface (weights default value is 1.). the following conditions must be verified. 0 < udegree <= maxdegree. uknots.length() == umults.length() >= 2 uknots(i) < uknots(i+1) (knots are increasing) 1 <= umults(i) <= udegree on a non uperiodic surface the first and last umultiplicities may be udegree+1 (this is even recommanded if you want the curve to start and finish on the first and last pole). on a uperiodic surface the first and the last umultiplicities must be the same. on non-uperiodic surfaces poles.collength() == sum(umults(i)) - udegree - 1 >= 2 on uperiodic surfaces poles.collength() == sum(umults(i)) except the first or last the previous conditions for u holds also for v, with the rowlength of the poles. + %feature("autodoc", "Creates a non-rational b-spline surface (weights default value is 1.). the following conditions must be verified. 0 < udegree <= maxdegree. uknots.length() == umults.length() >= 2 uknots(i) < uknots(i+1) (knots are increasing) 1 <= umults(i) <= udegree on a non uperiodic surface the first and last umultiplicities may be udegree+1 (this is even recommended if you want the curve to start and finish on the first and last pole). on a uperiodic surface the first and the last umultiplicities must be the same. on non-uperiodic surfaces poles.collength() == sum(umults(i)) - udegree - 1 >= 2 on uperiodic surfaces poles.collength() == sum(umults(i)) except the first or last the previous conditions for u holds also for v, with the rowlength of the poles. Parameters ---------- @@ -6139,7 +6139,7 @@ None /****************** Geom_BSplineSurface ******************/ /**** md5 signature: 52fa5de422f3f634c1a7b0a56209d8b5 ****/ %feature("compactdefaultargs") Geom_BSplineSurface; - %feature("autodoc", "Creates a non-rational b-spline surface (weights default value is 1.). //! the following conditions must be verified. 0 < udegree <= maxdegree. //! uknots.length() == umults.length() >= 2 //! uknots(i) < uknots(i+1) (knots are increasing) 1 <= umults(i) <= udegree //! on a non uperiodic surface the first and last umultiplicities may be udegree+1 (this is even recommanded if you want the curve to start and finish on the first and last pole). //! on a uperiodic surface the first and the last umultiplicities must be the same. //! on non-uperiodic surfaces //! poles.collength() == sum(umults(i)) - udegree - 1 >= 2 //! on uperiodic surfaces //! poles.collength() == sum(umults(i)) except the first or last //! the previous conditions for u holds also for v, with the rowlength of the poles. + %feature("autodoc", "Creates a non-rational b-spline surface (weights default value is 1.). //! the following conditions must be verified. 0 < udegree <= maxdegree. //! uknots.length() == umults.length() >= 2 //! uknots(i) < uknots(i+1) (knots are increasing) 1 <= umults(i) <= udegree //! on a non uperiodic surface the first and last umultiplicities may be udegree+1 (this is even recommended if you want the curve to start and finish on the first and last pole). //! on a uperiodic surface the first and the last umultiplicities must be the same. //! on non-uperiodic surfaces //! poles.collength() == sum(umults(i)) - udegree - 1 >= 2 //! on uperiodic surfaces //! poles.collength() == sum(umults(i)) except the first or last //! the previous conditions for u holds also for v, with the rowlength of the poles. Parameters ---------- @@ -6182,7 +6182,7 @@ V2: float /****************** CheckAndSegment ******************/ /**** md5 signature: dfc5bea5858729c40332110aa28e7bb8 ****/ %feature("compactdefaultargs") CheckAndSegment; - %feature("autodoc", "Segments the surface between u1 and u2 in the u-direction. between v1 and v2 in the v-direction. //! same as segment but do nothing if u1 and u2 (resp. v1 and v2) are equal to the bounds in u (resp. in v) of . for example, if is periodic in v, it will be always periodic in v after the segmentation if the bounds in v are unchanged //! parameters theutolerance, thevtolerance define the possible proximity along the correponding direction of the segment boundaries and b-spline knots to treat them as equal. //! warnings : even if is not closed it can become closed after the segmentation for example if u1 or u2 are out of the bounds of the surface or if the surface makes loop. raises if u2 < u1 or v2 < v1. standard_domainerror if u2 - u1 exceeds the uperiod for uperiodic surfaces. i.e. ((u2 - u1) - uperiod) > precision::pconfusion(). standard_domainerror if v2 - v1 exceeds the vperiod for vperiodic surfaces. i.e. ((v2 - v1) - vperiod) > precision::pconfusion()). + %feature("autodoc", "Segments the surface between u1 and u2 in the u-direction. between v1 and v2 in the v-direction. //! same as segment but do nothing if u1 and u2 (resp. v1 and v2) are equal to the bounds in u (resp. in v) of . for example, if is periodic in v, it will be always periodic in v after the segmentation if the bounds in v are unchanged //! parameters theutolerance, thevtolerance define the possible proximity along the corresponding direction of the segment boundaries and b-spline knots to treat them as equal. //! warnings : even if is not closed it can become closed after the segmentation for example if u1 or u2 are out of the bounds of the surface or if the surface makes loop. raises if u2 < u1 or v2 < v1. standard_domainerror if u2 - u1 exceeds the uperiod for uperiodic surfaces. i.e. ((u2 - u1) - uperiod) > precision::pconfusion(). standard_domainerror if v2 - v1 exceeds the vperiod for vperiodic surfaces. i.e. ((v2 - v1) - vperiod) > precision::pconfusion()). Parameters ---------- @@ -6204,7 +6204,7 @@ None /****************** Continuity ******************/ /**** md5 signature: 9381b370dfdd50af7f1b79ce202f0c6f ****/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "Returns the continuity of the surface : c0 : only geometric continuity, c1 : continuity of the first derivative all along the surface, c2 : continuity of the second derivative all along the surface, c3 : continuity of the third derivative all along the surface, cn : the order of continuity is infinite. a b-spline surface is infinitely continuously differentiable for the couple of parameters u, v such thats u != uknots(i) and v != vknots(i). the continuity of the surface at a knot value depends on the multiplicity of this knot. example : if the surface is c1 in the v direction and c2 in the u direction this function returns shape = c1. + %feature("autodoc", "Returns the continuity of the surface : c0 : only geometric continuity, c1 : continuity of the first derivative all along the surface, c2 : continuity of the second derivative all along the surface, c3 : continuity of the third derivative all along the surface, cn : the order of continuity is infinite. a b-spline surface is infinitely continuously differentiable for the couple of parameters u, v such that u != uknots(i) and v != vknots(i). the continuity of the surface at a knot value depends on the multiplicity of this knot. example : if the surface is c1 in the v direction and c2 in the u direction this function returns shape = c1. Returns ------- @@ -7047,7 +7047,7 @@ VTolerance: float /****************** Segment ******************/ /**** md5 signature: fd76d320a01952f2645e752c81f84bc9 ****/ %feature("compactdefaultargs") Segment; - %feature("autodoc", "Segments the surface between u1 and u2 in the u-direction. between v1 and v2 in the v-direction. the control points are modified, the first and the last point are not the same. //! parameters theutolerance, thevtolerance define the possible proximity along the correponding direction of the segment boundaries and b-spline knots to treat them as equal. //! warnings : even if is not closed it can become closed after the segmentation for example if u1 or u2 are out of the bounds of the surface or if the surface makes loop. raises if u2 < u1 or v2 < v1. standard_domainerror if u2 - u1 exceeds the uperiod for uperiodic surfaces. i.e. ((u2 - u1) - uperiod) > precision::pconfusion(). standard_domainerror if v2 - v1 exceeds the vperiod for vperiodic surfaces. i.e. ((v2 - v1) - vperiod) > precision::pconfusion()). + %feature("autodoc", "Segments the surface between u1 and u2 in the u-direction. between v1 and v2 in the v-direction. the control points are modified, the first and the last point are not the same. //! parameters theutolerance, thevtolerance define the possible proximity along the corresponding direction of the segment boundaries and b-spline knots to treat them as equal. //! warnings : even if is not closed it can become closed after the segmentation for example if u1 or u2 are out of the bounds of the surface or if the surface makes loop. raises if u2 < u1 or v2 < v1. standard_domainerror if u2 - u1 exceeds the uperiod for uperiodic surfaces. i.e. ((u2 - u1) - uperiod) > precision::pconfusion(). standard_domainerror if v2 - v1 exceeds the vperiod for vperiodic surfaces. i.e. ((v2 - v1) - vperiod) > precision::pconfusion()). Parameters ---------- @@ -9630,7 +9630,7 @@ None /****************** Geom_ConicalSurface ******************/ /**** md5 signature: 517bd27c841c28046143c5aadd886c4a ****/ %feature("compactdefaultargs") Geom_ConicalSurface; - %feature("autodoc", "Creates a conicalsurface from a non transient cone from package gp. + %feature("autodoc", "Creates a conicalsurface from a non transient gp_cone. Parameters ---------- @@ -9673,7 +9673,7 @@ V2: float /****************** Coefficients ******************/ /**** md5 signature: 922ffb066c913dfb924eafd175a6358f ****/ %feature("compactdefaultargs") Coefficients; - %feature("autodoc", "Returns the coefficients of the implicit equation of the quadric in the absolute cartesian coordinate system : these coefficients are normalized. a1.x**2 + a2.y**2 + a3.z**2 + 2.(b1.x.y + b2.x.z + b3.y.z) + 2.(c1.x + c2.y + c3.z) + d = 0.0. + %feature("autodoc", "Returns the coefficients of the implicit equation of the quadric in the absolute cartesian coordinate system : these coefficients are normalized. @code a1.x**2 + a2.y**2 + a3.z**2 + 2.(b1.x.y + b2.x.z + b3.y.z) + 2.(c1.x + c2.y + c3.z) + d = 0.0 @endcode. Parameters ---------- @@ -9718,7 +9718,7 @@ opencascade::handle /****************** D0 ******************/ /**** md5 signature: 909f7ecc223d561155c9c3ba4b8e7b64 ****/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Computes the point p (u, v) on the surface. p (u, v) = loc + (refradius + v * sin (semi-angle)) * (cos (u) * xdir + sin (u) * ydir) + v * cos (semi-angle) * zdir where loc is the origin of the placement plane (xaxis, yaxis) xdir is the direction of the xaxis and ydir the direction of the yaxis. + %feature("autodoc", "Computes the point p (u, v) on the surface. @code p (u, v) = loc + (refradius + v * sin (semi-angle)) * (cos (u) * xdir + sin (u) * ydir) + v * cos (semi-angle) * zdir @endcode where loc is the origin of the placement plane (xaxis, yaxis) xdir is the direction of the xaxis and ydir the direction of the yaxis. Parameters ---------- @@ -9872,7 +9872,7 @@ bool /****************** ParametricTransformation ******************/ /**** md5 signature: 019b69215b9dcafd8e9b0052b449ea05 ****/ %feature("compactdefaultargs") ParametricTransformation; - %feature("autodoc", "Returns a 2d transformation used to find the new parameters of a point on the transformed surface. //! me->transformed(t)->value(u',v') //! is the same point as //! me->value(u,v).transformed(t) //! where u',v' are obtained by transforming u,v with th 2d transformation returned by //! me->parametrictransformation(t) //! this methods returns a scale centered on the u axis with t.scalefactor. + %feature("autodoc", "Returns a 2d transformation used to find the new parameters of a point on the transformed surface. @code me->transformed(t)->value(u',v') @endcode is the same point as @code me->value(u,v).transformed(t) @endcode where u',v' are obtained by transforming u,v with the 2d transformation returned by @code me->parametrictransformation(t) @endcode this method returns a scale centered on the u axis with t.scalefactor. Parameters ---------- @@ -9969,7 +9969,7 @@ None /****************** TransformParameters ******************/ /**** md5 signature: 2d9e8651399bacbb299466ac222a6ca8 ****/ %feature("compactdefaultargs") TransformParameters; - %feature("autodoc", "Computes the parameters on the transformed surface for the transform of the point of parameters u,v on . //! me->transformed(t)->value(u',v') //! is the same point as //! me->value(u,v).transformed(t) //! where u',v' are the new values of u,v after calling //! me->tranformparameters(u,v,t) //! this methods multiplies v by t.scalefactor(). + %feature("autodoc", "Computes the parameters on the transformed surface for the transform of the point of parameters u,v on . @code me->transformed(t)->value(u',v') @endcode is the same point as @code me->value(u,v).transformed(t) @endcode where u',v' are the new values of u,v after calling @code me->transformparameters(u,v,t) @endcode this method multiplies v by t.scalefactor(). Parameters ---------- @@ -10000,7 +10000,7 @@ opencascade::handle /****************** UReversedParameter ******************/ /**** md5 signature: 0071925b176316f0aaaf26f369ac410c ****/ %feature("compactdefaultargs") UReversedParameter; - %feature("autodoc", "Return 2.pi - u. + %feature("autodoc", "Eeturn 2.pi - u. Parameters ---------- @@ -10072,7 +10072,7 @@ class Geom_CylindricalSurface : public Geom_ElementarySurface { /****************** Geom_CylindricalSurface ******************/ /**** md5 signature: 1045dba72c04cccaf7e24ea1f8070e1a ****/ %feature("compactdefaultargs") Geom_CylindricalSurface; - %feature("autodoc", "A3 defines the local coordinate system of the cylindrical surface. the 'zdirection' of a3 defines the direction of the surface's axis of symmetry. at the creation the parametrization of the surface is defined such that the normal vector (n = d1u ^ d1v) is oriented towards the 'outside region' of the surface. warnings : it is not forbidden to create a cylindrical surface with radius = 0.0 raised if radius < 0.0. + %feature("autodoc", "A3 defines the local coordinate system of the cylindrical surface. the 'zdirection' of a3 defines the direction of the surface's axis of symmetry. at the creation the parametrization of the surface is defined such that the normal vector (n = d1u ^ d1v) is oriented towards the 'outside region' of the surface. warnings: it is not forbidden to create a cylindrical surface with radius = 0.0 raised if radius < 0.0. Parameters ---------- @@ -10088,7 +10088,7 @@ None /****************** Geom_CylindricalSurface ******************/ /**** md5 signature: 6c266d29cc5bbdf322667ddabfeb2ff7 ****/ %feature("compactdefaultargs") Geom_CylindricalSurface; - %feature("autodoc", "Creates a cylindricalsurface from a non transient cylinder from package gp. + %feature("autodoc", "Creates a cylindricalsurface from a non transient gp_cylinder. Parameters ---------- @@ -10120,7 +10120,7 @@ V2: float /****************** Coefficients ******************/ /**** md5 signature: 922ffb066c913dfb924eafd175a6358f ****/ %feature("compactdefaultargs") Coefficients; - %feature("autodoc", "Returns the coefficients of the implicit equation of the quadric in the absolute cartesian coordinate system : these coefficients are normalized. a1.x**2 + a2.y**2 + a3.z**2 + 2.(b1.x.y + b2.x.z + b3.y.z) + 2.(c1.x + c2.y + c3.z) + d = 0.0. + %feature("autodoc", "Returns the coefficients of the implicit equation of the quadric in the absolute cartesian coordinate system : these coefficients are normalized. @code a1.x**2 + a2.y**2 + a3.z**2 + 2.(b1.x.y + b2.x.z + b3.y.z) + 2.(c1.x + c2.y + c3.z) + d = 0.0 @endcode. Parameters ---------- @@ -10319,7 +10319,7 @@ bool /****************** ParametricTransformation ******************/ /**** md5 signature: 019b69215b9dcafd8e9b0052b449ea05 ****/ %feature("compactdefaultargs") ParametricTransformation; - %feature("autodoc", "Returns a 2d transformation used to find the new parameters of a point on the transformed surface. me->transformed(t)->value(u',v') is the same point as me->value(u,v).transformed(t) where u',v' are obtained by transforming u,v with th 2d transformation returned by me->parametrictransformation(t) this methods returns a scale centered on the u axis with t.scalefactor. + %feature("autodoc", "Returns a 2d transformation used to find the new parameters of a point on the transformed surface. @code me->transformed(t)->value(u',v') @endcode is the same point as @code me->value(u,v).transformed(t) @endcode where u',v' are obtained by transforming u,v with the 2d transformation returned by @code me->parametrictransformation(t) @endcode this method returns a scale centered on the u axis with t.scalefactor. Parameters ---------- @@ -10390,7 +10390,7 @@ None /****************** TransformParameters ******************/ /**** md5 signature: 2d9e8651399bacbb299466ac222a6ca8 ****/ %feature("compactdefaultargs") TransformParameters; - %feature("autodoc", "Computes the parameters on the transformed surface for the transform of the point of parameters u,v on . me->transformed(t)->value(u',v') is the same point as me->value(u,v).transformed(t) where u',v' are the new values of u,v after calling me->tranformparameters(u,v,t) this methods multiplies v by t.scalefactor(). + %feature("autodoc", "Computes the parameters on the transformed surface for the transform of the point of parameters u,v on . @code me->transformed(t)->value(u',v') @endcode is the same point as @code me->value(u,v).transformed(t) @endcode where u',v' are the new values of u,v after calling @code me->transformparameters(u,v,t) @endcode this method multiplies v by t.scalefactor(). Parameters ---------- @@ -11067,7 +11067,7 @@ gp_Ax1 /****************** Eccentricity ******************/ /**** md5 signature: 7cc0cae0413ab4c2d528df125e42b57e ****/ %feature("compactdefaultargs") Eccentricity; - %feature("autodoc", "Returns the excentricity of the hyperbola (e > 1). if f is the distance between the location of the hyperbola and the focus1 then the eccentricity e = f / majorradius. raised if majorradius = 0.0. + %feature("autodoc", "Returns the eccentricity of the hyperbola (e > 1). if f is the distance between the location of the hyperbola and the focus1 then the eccentricity e = f / majorradius. raised if majorradius = 0.0. Returns ------- @@ -11716,7 +11716,7 @@ None /****************** Geom_Plane ******************/ /**** md5 signature: 06c0ffe19922feef3a5e812341930d38 ****/ %feature("compactdefaultargs") Geom_Plane; - %feature("autodoc", "Creates a plane from its cartesian equation : ax + by + cz + d = 0.0 //! raised if sqrt (a*a + b*b + c*c) <= resolution from gp. + %feature("autodoc", "Creates a plane from its cartesian equation: @code ax + by + cz + d = 0.0 @endcode raised if sqrt (a*a + b*b + c*c) <= resolution from gp. Parameters ---------- @@ -11751,7 +11751,7 @@ V2: float /****************** Coefficients ******************/ /**** md5 signature: 5b10aec82a9daa5f313dd60e84b2b00b ****/ %feature("compactdefaultargs") Coefficients; - %feature("autodoc", "Computes the normalized coefficients of the plane's cartesian equation : ax + by + cz + d = 0.0. + %feature("autodoc", "Computes the normalized coefficients of the plane's cartesian equation: @code ax + by + cz + d = 0.0 @endcode. Parameters ---------- @@ -11779,7 +11779,7 @@ opencascade::handle /****************** D0 ******************/ /**** md5 signature: 909f7ecc223d561155c9c3ba4b8e7b64 ****/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Computes the point p (u, v) on . p = o + u * xdir + v * ydir. where o is the 'location' point of the plane, xdir the 'xdirection' and ydir the 'ydirection' of the plane's local coordinate system. + %feature("autodoc", "Computes the point p (u, v) on . @code p = o + u * xdir + v * ydir. @endcode where o is the 'location' point of the plane, xdir the 'xdirection' and ydir the 'ydirection' of the plane's local coordinate system. Parameters ---------- @@ -11933,7 +11933,7 @@ bool /****************** ParametricTransformation ******************/ /**** md5 signature: 019b69215b9dcafd8e9b0052b449ea05 ****/ %feature("compactdefaultargs") ParametricTransformation; - %feature("autodoc", "Returns a 2d transformation used to find the new parameters of a point on the transformed surface. me->transformed(t)->value(u',v') is the same point as me->value(u,v).transformed(t) where u',v' are obtained by transforming u,v with th 2d transformation returned by me->parametrictransformation(t) this methods returns a scale centered on the origin with t.scalefactor. + %feature("autodoc", "Returns a 2d transformation used to find the new parameters of a point on the transformed surface. @code me->transformed(t)->value(u',v') @endcode is the same point as @code me->value(u,v).transformed(t) @endcode where u',v' are obtained by transforming u,v with the 2d transformation returned by @code me->parametrictransformation(t) @endcode this method returns a scale centered on the origin with t.scalefactor. Parameters ---------- @@ -11989,7 +11989,7 @@ None /****************** TransformParameters ******************/ /**** md5 signature: 2d9e8651399bacbb299466ac222a6ca8 ****/ %feature("compactdefaultargs") TransformParameters; - %feature("autodoc", "Computes the parameters on the transformed surface for the transform of the point of parameters u,v on . me->transformed(t)->value(u',v') is the same point as me->value(u,v).transformed(t) where u',v' are the new values of u,v after calling me->tranformparameters(u,v,t) this methods multiplies u and v by t.scalefactor(). + %feature("autodoc", "Computes the parameters on the transformed surface for the transform of the point of parameters u,v on . @code me->transformed(t)->value(u',v') @endcode is the same point as @code me->value(u,v).transformed(t) @endcode where u',v' are the new values of u,v after calling @code me->transformparameters(u,v,t) @endcode this method multiplies u and v by t.scalefactor(). Parameters ---------- @@ -12380,7 +12380,7 @@ bool /****************** ParametricTransformation ******************/ /**** md5 signature: 019b69215b9dcafd8e9b0052b449ea05 ****/ %feature("compactdefaultargs") ParametricTransformation; - %feature("autodoc", "Returns a 2d transformation used to find the new parameters of a point on the transformed surface. //! me->transformed(t)->value(u',v') //! is the same point as //! me->value(u,v).transformed(t) //! where u',v' are obtained by transforming u,v with th 2d transformation returned by //! me->parametrictransformation(t) //! this methods calls the basis surface method. + %feature("autodoc", "Returns a 2d transformation used to find the new parameters of a point on the transformed surface. @code me->transformed(t)->value(u',v') @endcode is the same point as @code me->value(u,v).transformed(t) @endcode where u',v' are obtained by transforming u,v with the 2d transformation returned by @code me->parametrictransformation(t) @endcode this method calls the basis surface method. Parameters ---------- @@ -12451,7 +12451,7 @@ None /****************** TransformParameters ******************/ /**** md5 signature: 2d9e8651399bacbb299466ac222a6ca8 ****/ %feature("compactdefaultargs") TransformParameters; - %feature("autodoc", "Computes the parameters on the transformed surface for the transform of the point of parameters u,v on . //! me->transformed(t)->value(u',v') //! is the same point as //! me->value(u,v).transformed(t) //! where u',v' are the new values of u,v after calling //! me->tranformparameters(u,v,t) //! this methods calls the basis surface method. + %feature("autodoc", "Computes the parameters on the transformed surface for the transform of the point of parameters u,v on . @code me->transformed(t)->value(u',v') @endcode is the same point as @code me->value(u,v).transformed(t) @endcode where u',v' are the new values of u,v after calling @code me->transformparameters(u,v,t) @endcode this method calls the basis surface method. Parameters ---------- @@ -13216,7 +13216,7 @@ bool /****************** ParametricTransformation ******************/ /**** md5 signature: 019b69215b9dcafd8e9b0052b449ea05 ****/ %feature("compactdefaultargs") ParametricTransformation; - %feature("autodoc", "Returns a 2d transformation used to find the new parameters of a point on the transformed surface. //! me->transformed(t)->value(u',v') //! is the same point as //! me->value(u,v).transformed(t) //! where u',v' are obtained by transforming u,v with th 2d transformation returned by //! me->parametrictransformation(t) //! this methods returns a scale u by basiscurve()->parametrictransformation(t) v by t.scalefactor(). + %feature("autodoc", "Returns a 2d transformation used to find the new parameters of a point on the transformed surface. @code me->transformed(t)->value(u',v') @endcode is the same point as @code me->value(u,v).transformed(t) @endcode where u',v' are obtained by transforming u,v with the 2d transformation returned by @code me->parametrictransformation(t) @endcode this method returns a scale u by basiscurve()->parametrictransformation(t) v by t.scalefactor(). Parameters ---------- @@ -13276,7 +13276,7 @@ None /****************** TransformParameters ******************/ /**** md5 signature: 2d9e8651399bacbb299466ac222a6ca8 ****/ %feature("compactdefaultargs") TransformParameters; - %feature("autodoc", "Computes the parameters on the transformed surface for the transform of the point of parameters u,v on . //! me->transformed(t)->value(u',v') //! is the same point as //! me->value(u,v).transformed(t) //! where u',v' are the new values of u,v after calling //! me->tranformparameters(u,v,t) //! this methods multiplies : u by basiscurve()->parametrictransformation(t) v by t.scalefactor(). + %feature("autodoc", "Computes the parameters on the transformed surface for the transform of the point of parameters u,v on . @code me->transformed(t)->value(u',v') @endcode is the same point as @code me->value(u,v).transformed(t) @endcode where u',v' are the new values of u,v after calling @code me->transformparameters(u,v,t) @endcode this method multiplies: u by basiscurve()->parametrictransformation(t) v by t.scalefactor(). Parameters ---------- @@ -13640,7 +13640,7 @@ gp_Pnt /****************** ParametricTransformation ******************/ /**** md5 signature: 019b69215b9dcafd8e9b0052b449ea05 ****/ %feature("compactdefaultargs") ParametricTransformation; - %feature("autodoc", "Returns a 2d transformation used to find the new parameters of a point on the transformed surface. //! me->transformed(t)->value(u',v') //! is the same point as //! me->value(u,v).transformed(t) //! where u',v' are obtained by transforming u,v with th 2d transformation returned by //! me->parametrictransformation(t) //! this methods returns a scale centered on the u axis with basiscurve()->parametrictransformation(t). + %feature("autodoc", "Returns a 2d transformation used to find the new parameters of a point on the transformed surface. @code me->transformed(t)->value(u',v') @endcode is the same point as @code me->value(u,v).transformed(t) @endcode where u',v' are obtained by transforming u,v with the 2d transformation returned by @code me->parametrictransformation(t) @endcode this method returns a scale centered on the u axis with basiscurve()->parametrictransformation(t). Parameters ---------- @@ -13741,7 +13741,7 @@ None /****************** TransformParameters ******************/ /**** md5 signature: 2d9e8651399bacbb299466ac222a6ca8 ****/ %feature("compactdefaultargs") TransformParameters; - %feature("autodoc", "Computes the parameters on the transformed surface for the transform of the point of parameters u,v on . //! me->transformed(t)->value(u',v') //! is the same point as //! me->value(u,v).transformed(t) //! where u',v' are the new values of u,v after calling //! me->tranformparameters(u,v,t) //! this methods multiplies v by basiscurve()->parametrictransformation(t). + %feature("autodoc", "Computes the parameters on the transformed surface for the transform of the point of parameters u,v on . @code me->transformed(t)->value(u',v') @endcode is the same point as @code me->value(u,v).transformed(t) @endcode where u',v' are the new values of u,v after calling @code me->transformparameters(u,v,t) @endcode this method multiplies v by basiscurve()->parametrictransformation(t). Parameters ---------- diff --git a/src/SWIG_files/wrapper/Geom2d.i b/src/SWIG_files/wrapper/Geom2d.i index 83a8ed0dc..957ab9537 100644 --- a/src/SWIG_files/wrapper/Geom2d.i +++ b/src/SWIG_files/wrapper/Geom2d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOM2DDOCSTRING "Geom2d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geom2d.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geom2d.html" %enddef %module (package="OCC.Core", docstring=GEOM2DDOCSTRING) Geom2d @@ -66,7 +66,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -282,7 +282,7 @@ opencascade::handle /****************** Translate ******************/ /**** md5 signature: 1cd2e000b85692a9f89a6bf8e8e4782c ****/ %feature("compactdefaultargs") Translate; - %feature("autodoc", "Translates a geometry. v is the vector of the tanslation. + %feature("autodoc", "Translates a geometry. v is the vector of the translation. Parameters ---------- @@ -408,7 +408,7 @@ gp_TrsfForm /****************** Invert ******************/ /**** md5 signature: 980f166f600d23a8c77565829af2eeff ****/ %feature("compactdefaultargs") Invert; - %feature("autodoc", "Computes the inverse of this transformation. and assigns the result to this transformatio //! raised if the the transformation is singular. this means that the scalefactor is lower or equal to resolution from package gp. + %feature("autodoc", "Computes the inverse of this transformation. and assigns the result to this transformatio //! raised if the transformation is singular. this means that the scalefactor is lower or equal to resolution from package gp. Returns ------- @@ -419,7 +419,7 @@ None /****************** Inverted ******************/ /**** md5 signature: ac7792d594b6e5d63f643761efff806c ****/ %feature("compactdefaultargs") Inverted; - %feature("autodoc", "Computes the inverse of this transformation and creates a new one. raises constructionerror if the the transformation is singular. this means that the scalefactor is lower or equal to resolution from package gp. + %feature("autodoc", "Computes the inverse of this transformation and creates a new one. raises constructionerror if the transformation is singular. this means that the scalefactor is lower or equal to resolution from package gp. Returns ------- @@ -692,7 +692,7 @@ gp_Trsf2d /****************** Value ******************/ /**** md5 signature: 1f17b21423db514e298b820a9dd11211 ****/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the coefficients of the global matrix of tranformation. it is a 2 rows x 3 columns matrix. //! raised if row < 1 or row > 2 or col < 1 or col > 2 //! computes the reverse transformation. + %feature("autodoc", "Returns the coefficients of the global matrix of transformation. it is a 2 rows x 3 columns matrix. //! raised if row < 1 or row > 2 or col < 1 or col > 2 //! computes the reverse transformation. Parameters ---------- @@ -1070,7 +1070,7 @@ bool /****************** IsClosed ******************/ /**** md5 signature: be44ba5ab9beeb7f60f33a5068f1446b ****/ %feature("compactdefaultargs") IsClosed; - %feature("autodoc", "Returns true if the curve is closed. examples : some curves such as circle are always closed, others such as line are never closed (by definition). some curves such as offsetcurve can be closed or not. these curves are considered as closed if the distance between the first point and the last point of the curve is lower or equal to the resolution from package gp wich is a fixed criterion independant of the application. + %feature("autodoc", "Returns true if the curve is closed. examples : some curves such as circle are always closed, others such as line are never closed (by definition). some curves such as offsetcurve can be closed or not. these curves are considered as closed if the distance between the first point and the last point of the curve is lower or equal to the resolution from package gp which is a fixed criterion independent of the application. Returns ------- @@ -1118,7 +1118,7 @@ float /****************** Period ******************/ /**** md5 signature: e4913c399f3a0a7037e498c5a9da8e1f ****/ %feature("compactdefaultargs") Period; - %feature("autodoc", "Returns thne period of this curve. raises if the curve is not periodic. + %feature("autodoc", "Returns the period of this curve. raises if the curve is not periodic. Returns ------- @@ -3284,7 +3284,7 @@ class Geom2d_BSplineCurve : public Geom2d_BoundedCurve { /****************** Geom2d_BSplineCurve ******************/ /**** md5 signature: 11a20905aef4367dd31844768a3e3683 ****/ %feature("compactdefaultargs") Geom2d_BSplineCurve; - %feature("autodoc", "Creates a non-rational b_spline curve on the basis of degree . the following conditions must be verified. 0 < degree <= maxdegree. //! knots.length() == mults.length() >= 2 //! knots(i) < knots(i+1) (knots are increasing) //! 1 <= mults(i) <= degree //! on a non periodic curve the first and last multiplicities may be degree+1 (this is even recommanded if you want the curve to start and finish on the first and last pole). //! on a periodic curve the first and the last multicities must be the same. //! on non-periodic curves //! poles.length() == sum(mults(i)) - degree - 1 >= 2 //! on periodic curves //! poles.length() == sum(mults(i)) except the first or last. + %feature("autodoc", "Creates a non-rational b_spline curve on the basis of degree . the following conditions must be verified. 0 < degree <= maxdegree. //! knots.length() == mults.length() >= 2 //! knots(i) < knots(i+1) (knots are increasing) //! 1 <= mults(i) <= degree //! on a non periodic curve the first and last multiplicities may be degree+1 (this is even recommended if you want the curve to start and finish on the first and last pole). //! on a periodic curve the first and the last multicities must be the same. //! on non-periodic curves //! poles.length() == sum(mults(i)) - degree - 1 >= 2 //! on periodic curves //! poles.length() == sum(mults(i)) except the first or last. Parameters ---------- @@ -3304,7 +3304,7 @@ None /****************** Geom2d_BSplineCurve ******************/ /**** md5 signature: bfc846dbbd0da2db80352d8b9059ba5b ****/ %feature("compactdefaultargs") Geom2d_BSplineCurve; - %feature("autodoc", "Creates a rational b_spline curve on the basis of degree . the following conditions must be verified. 0 < degree <= maxdegree. //! knots.length() == mults.length() >= 2 //! knots(i) < knots(i+1) (knots are increasing) //! 1 <= mults(i) <= degree //! on a non periodic curve the first and last multiplicities may be degree+1 (this is even recommanded if you want the curve to start and finish on the first and last pole). //! on a periodic curve the first and the last multicities must be the same. //! on non-periodic curves //! poles.length() == sum(mults(i)) - degree - 1 >= 2 //! on periodic curves //! poles.length() == sum(mults(i)) except the first or last. + %feature("autodoc", "Creates a rational b_spline curve on the basis of degree . the following conditions must be verified. 0 < degree <= maxdegree. //! knots.length() == mults.length() >= 2 //! knots(i) < knots(i+1) (knots are increasing) //! 1 <= mults(i) <= degree //! on a non periodic curve the first and last multiplicities may be degree+1 (this is even recommended if you want the curve to start and finish on the first and last pole). //! on a periodic curve the first and the last multicities must be the same. //! on non-periodic curves //! poles.length() == sum(mults(i)) - degree - 1 >= 2 //! on periodic curves //! poles.length() == sum(mults(i)) except the first or last. Parameters ---------- @@ -3651,7 +3651,7 @@ bool /****************** IsG1 ******************/ /**** md5 signature: 9f6daa5a840326c7c14dda9f95a957d1 ****/ %feature("compactdefaultargs") IsG1; - %feature("autodoc", "Check if curve has at least g1 continuity in interval [thetf, thetl] returns true if iscn(1) or angle betweem 'left' and 'right' first derivatives at knots with c0 continuity is less then theangtol only knots in interval [thetf, thetl] is checked. + %feature("autodoc", "Check if curve has at least g1 continuity in interval [thetf, thetl] returns true if iscn(1) or angle between 'left' and 'right' first derivatives at knots with c0 continuity is less then theangtol only knots in interval [thetf, thetl] is checked. Parameters ---------- @@ -3952,7 +3952,7 @@ LastModifiedPole: int /****************** MovePointAndTangent ******************/ /**** md5 signature: b6aeba81982b81257d85b0fd1b73a01d ****/ %feature("compactdefaultargs") MovePointAndTangent; - %feature("autodoc", "Move a point with parameter u to p. and makes it tangent at u be tangent. startingcondition = -1 means first can move endingcondition = -1 means last point can move startingcondition = 0 means the first point cannot move endingcondition = 0 means the last point cannot move startingcondition = 1 means the first point and tangent cannot move endingcondition = 1 means the last point and tangent cannot move and so forth errorstatus != 0 means that there are not enought degree of freedom with the constrain to deform the curve accordingly. + %feature("autodoc", "Move a point with parameter u to p. and makes it tangent at u be tangent. startingcondition = -1 means first can move endingcondition = -1 means last point can move startingcondition = 0 means the first point cannot move endingcondition = 0 means the last point cannot move startingcondition = 1 means the first point and tangent cannot move endingcondition = 1 means the last point and tangent cannot move and so forth errorstatus != 0 means that there are not enough degree of freedom with the constrain to deform the curve accordingly. Parameters ---------- @@ -5885,7 +5885,7 @@ gp_Ax2d /****************** Eccentricity ******************/ /**** md5 signature: 7cc0cae0413ab4c2d528df125e42b57e ****/ %feature("compactdefaultargs") Eccentricity; - %feature("autodoc", "Returns the excentricity of the hyperbola (e > 1). if f is the distance between the location of the hyperbola and the focus1 then the eccentricity e = f / majorradius. raised if majorradius = 0.0. + %feature("autodoc", "Returns the eccentricity of the hyperbola (e > 1). if f is the distance between the location of the hyperbola and the focus1 then the eccentricity e = f / majorradius. raised if majorradius = 0.0. Returns ------- diff --git a/src/SWIG_files/wrapper/Geom2dAPI.i b/src/SWIG_files/wrapper/Geom2dAPI.i index 3dd12f440..6770a61fe 100644 --- a/src/SWIG_files/wrapper/Geom2dAPI.i +++ b/src/SWIG_files/wrapper/Geom2dAPI.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOM2DAPIDOCSTRING "Geom2dAPI module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geom2dapi.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geom2dapi.html" %enddef %module (package="OCC.Core", docstring=GEOM2DAPIDOCSTRING) Geom2dAPI @@ -81,7 +81,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/Geom2dAdaptor.i b/src/SWIG_files/wrapper/Geom2dAdaptor.i index 706093b0a..224f1b390 100644 --- a/src/SWIG_files/wrapper/Geom2dAdaptor.i +++ b/src/SWIG_files/wrapper/Geom2dAdaptor.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOM2DADAPTORDOCSTRING "Geom2dAdaptor module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geom2dadaptor.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geom2dadaptor.html" %enddef %module (package="OCC.Core", docstring=GEOM2DADAPTORDOCSTRING) Geom2dAdaptor @@ -68,14 +68,13 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ /* handles */ -%wrap_handle(Geom2dAdaptor_GHCurve) -%wrap_handle(Geom2dAdaptor_HCurve) +%wrap_handle(Geom2dAdaptor_Curve) /* end handles declaration */ /* templates */ @@ -148,7 +147,7 @@ None /****************** Geom2dAdaptor_Curve ******************/ /**** md5 signature: 68f15594f006f79ed7f5d7313c319ebe ****/ %feature("compactdefaultargs") Geom2dAdaptor_Curve; - %feature("autodoc", "Constructionerror is raised if ufirst>ulast. + %feature("autodoc", "Standard_constructionerror is raised if ufirst>ulast. Parameters ---------- @@ -207,7 +206,7 @@ GeomAbs_Shape GeomAbs_Shape Continuity(); /****************** Curve ******************/ - /**** md5 signature: ddf7a75e69fe58663e31cac16bd20e3b ****/ + /**** md5 signature: e09aeee135451614c1573555e3da507c ****/ %feature("compactdefaultargs") Curve; %feature("autodoc", "No available documentation. @@ -326,7 +325,7 @@ gp_Elips2d gp_Elips2d Ellipse(); /****************** FirstParameter ******************/ - /**** md5 signature: eb9ebe94572bd67588fe8811eac261fb ****/ + /**** md5 signature: 93c381754667baab23468a195644e410 ****/ %feature("compactdefaultargs") FirstParameter; %feature("autodoc", "No available documentation. @@ -334,10 +333,10 @@ Returns ------- float ") FirstParameter; - Standard_Real FirstParameter(); + virtual Standard_Real FirstParameter(); /****************** GetType ******************/ - /**** md5 signature: 0ad61dcbb5497908c1b536e766f0fcb9 ****/ + /**** md5 signature: eaef05bb051ab4b74eda73aca8930d16 ****/ %feature("compactdefaultargs") GetType; %feature("autodoc", "No available documentation. @@ -345,7 +344,7 @@ Returns ------- GeomAbs_CurveType ") GetType; - GeomAbs_CurveType GetType(); + virtual GeomAbs_CurveType GetType(); /****************** Hyperbola ******************/ /**** md5 signature: 951e1971b5974627f011740e5c4c9ecb ****/ @@ -361,7 +360,7 @@ gp_Hypr2d /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -408,7 +407,7 @@ bool Standard_Boolean IsRational(); /****************** LastParameter ******************/ - /**** md5 signature: cb4925a2d4a451ceec8f6ad486530f9c ****/ + /**** md5 signature: a2893a92f9c4af09acb0cd59d959d964 ****/ %feature("compactdefaultargs") LastParameter; %feature("autodoc", "No available documentation. @@ -416,7 +415,7 @@ Returns ------- float ") LastParameter; - Standard_Real LastParameter(); + virtual Standard_Real LastParameter(); /****************** Line ******************/ /**** md5 signature: d41344e9c3febf8a7347a9e78e837373 ****/ @@ -430,36 +429,36 @@ gp_Lin2d gp_Lin2d Line(); /****************** Load ******************/ - /**** md5 signature: fdcf9322cc527774508b69d52c733d85 ****/ + /**** md5 signature: 2541208b3ec77b0ab58dcd00b56be7d9 ****/ %feature("compactdefaultargs") Load; %feature("autodoc", "No available documentation. Parameters ---------- -C: Geom2d_Curve +theCurve: Geom2d_Curve Returns ------- None ") Load; - void Load(const opencascade::handle & C); + void Load(const opencascade::handle & theCurve); /****************** Load ******************/ - /**** md5 signature: e53bb00b8959a1147c6b209edebcdf9d ****/ + /**** md5 signature: 7a0e04bf8c70800ef741c293e6f1853c ****/ %feature("compactdefaultargs") Load; - %feature("autodoc", "Constructionerror is raised if ufirst>ulast. + %feature("autodoc", "Standard_constructionerror is raised if theufirst>theulast. Parameters ---------- -C: Geom2d_Curve -UFirst: float -ULast: float +theCurve: Geom2d_Curve +theUFirst: float +theULast: float Returns ------- None ") Load; - void Load(const opencascade::handle & C, const Standard_Real UFirst, const Standard_Real ULast); + void Load(const opencascade::handle & theCurve, const Standard_Real theUFirst, const Standard_Real theULast); /****************** NbIntervals ******************/ /**** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ****/ @@ -558,7 +557,7 @@ float Standard_Real Resolution(const Standard_Real Ruv); /****************** Trim ******************/ - /**** md5 signature: e1eef64565323d75c47ee19ca861de8d ****/ + /**** md5 signature: b5ce1c7f3b02aa6680da8e9ad704acc6 ****/ %feature("compactdefaultargs") Trim; %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -570,9 +569,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: 91dcf5c5229f25c64d3a714347090b29 ****/ @@ -592,160 +591,9 @@ gp_Pnt2d }; -%extend Geom2dAdaptor_Curve { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/****************************** -* class Geom2dAdaptor_GHCurve * -******************************/ -class Geom2dAdaptor_GHCurve : public Adaptor2d_HCurve2d { - public: - /****************** Geom2dAdaptor_GHCurve ******************/ - /**** md5 signature: 072a27b96ff59badfe117194272d84ef ****/ - %feature("compactdefaultargs") Geom2dAdaptor_GHCurve; - %feature("autodoc", "Creates an empty genhcurve2d. - -Returns -------- -None -") Geom2dAdaptor_GHCurve; - Geom2dAdaptor_GHCurve(); - - /****************** Geom2dAdaptor_GHCurve ******************/ - /**** md5 signature: 7c7fc9f77e7805886189b20b8c2739c8 ****/ - %feature("compactdefaultargs") Geom2dAdaptor_GHCurve; - %feature("autodoc", "Creates a genhcurve2d from a curve. - -Parameters ----------- -C: Geom2dAdaptor_Curve - -Returns -------- -None -") Geom2dAdaptor_GHCurve; - Geom2dAdaptor_GHCurve(const Geom2dAdaptor_Curve & C); - - /****************** ChangeCurve2d ******************/ - /**** md5 signature: 2140fe22e7b7d159cfd1852d556180a2 ****/ - %feature("compactdefaultargs") ChangeCurve2d; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -Geom2dAdaptor_Curve -") ChangeCurve2d; - Geom2dAdaptor_Curve & ChangeCurve2d(); - - /****************** Curve2d ******************/ - /**** md5 signature: 87546edb35f2000a54f99255bb8c94db ****/ - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", "Returns the curve used to create the genhcurve2d. this is redefined from hcurve2d, cannot be inline. - -Returns -------- -Adaptor2d_Curve2d -") Curve2d; - const Adaptor2d_Curve2d & Curve2d(); - - /****************** Set ******************/ - /**** md5 signature: d491bd141bf3f5da75523d4d4b7f3963 ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve2d. - -Parameters ----------- -C: Geom2dAdaptor_Curve - -Returns -------- -None -") Set; - void Set(const Geom2dAdaptor_Curve & C); - -}; - - -%make_alias(Geom2dAdaptor_GHCurve) - -%extend Geom2dAdaptor_GHCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/***************************** -* class Geom2dAdaptor_HCurve * -*****************************/ -class Geom2dAdaptor_HCurve : public Geom2dAdaptor_GHCurve { - public: - /****************** Geom2dAdaptor_HCurve ******************/ - /**** md5 signature: 28a68b1bba9232a7107bed887b344ce3 ****/ - %feature("compactdefaultargs") Geom2dAdaptor_HCurve; - %feature("autodoc", "No available documentation. - -Returns -------- -None -") Geom2dAdaptor_HCurve; - Geom2dAdaptor_HCurve(); - - /****************** Geom2dAdaptor_HCurve ******************/ - /**** md5 signature: 76fd083adc9318ad2d733c03244a4eb2 ****/ - %feature("compactdefaultargs") Geom2dAdaptor_HCurve; - %feature("autodoc", "No available documentation. - -Parameters ----------- -AS: Geom2dAdaptor_Curve - -Returns -------- -None -") Geom2dAdaptor_HCurve; - Geom2dAdaptor_HCurve(const Geom2dAdaptor_Curve & AS); - - /****************** Geom2dAdaptor_HCurve ******************/ - /**** md5 signature: 119924484c2907c195d5fb93400a3ddf ****/ - %feature("compactdefaultargs") Geom2dAdaptor_HCurve; - %feature("autodoc", "No available documentation. - -Parameters ----------- -S: Geom2d_Curve - -Returns -------- -None -") Geom2dAdaptor_HCurve; - Geom2dAdaptor_HCurve(const opencascade::handle & S); - - /****************** Geom2dAdaptor_HCurve ******************/ - /**** md5 signature: 2dc2ff6c60097225fbf5a6294824e18b ****/ - %feature("compactdefaultargs") Geom2dAdaptor_HCurve; - %feature("autodoc", "Constructionerror is raised if ufirst>ulast or vfirst>vlast. - -Parameters ----------- -S: Geom2d_Curve -UFirst: float -ULast: float - -Returns -------- -None -") Geom2dAdaptor_HCurve; - Geom2dAdaptor_HCurve(const opencascade::handle & S, const Standard_Real UFirst, const Standard_Real ULast); - -}; - - -%make_alias(Geom2dAdaptor_HCurve) +%make_alias(Geom2dAdaptor_Curve) -%extend Geom2dAdaptor_HCurve { +%extend Geom2dAdaptor_Curve { %pythoncode { __repr__ = _dumps_object } diff --git a/src/SWIG_files/wrapper/Geom2dAdaptor.pyi b/src/SWIG_files/wrapper/Geom2dAdaptor.pyi index 5d5d28be2..8887f6f95 100644 --- a/src/SWIG_files/wrapper/Geom2dAdaptor.pyi +++ b/src/SWIG_files/wrapper/Geom2dAdaptor.pyi @@ -43,9 +43,9 @@ class Geom2dAdaptor_Curve(Adaptor2d_Curve2d): def LastParameter(self) -> float: ... def Line(self) -> gp_Lin2d: ... @overload - def Load(self, C: Geom2d_Curve) -> None: ... + def Load(self, theCurve: Geom2d_Curve) -> None: ... @overload - def Load(self, C: Geom2d_Curve, UFirst: float, ULast: float) -> None: ... + def Load(self, theCurve: Geom2d_Curve, theUFirst: float, theULast: float) -> None: ... def NbIntervals(self, S: GeomAbs_Shape) -> int: ... def NbKnots(self) -> int: ... def NbPoles(self) -> int: ... @@ -54,28 +54,9 @@ class Geom2dAdaptor_Curve(Adaptor2d_Curve2d): def Period(self) -> float: ... def Reset(self) -> None: ... def Resolution(self, Ruv: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor2d_HCurve2d: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor2d_Curve2d: ... def Value(self, U: float) -> gp_Pnt2d: ... -class Geom2dAdaptor_GHCurve(Adaptor2d_HCurve2d): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: Geom2dAdaptor_Curve) -> None: ... - def ChangeCurve2d(self) -> Geom2dAdaptor_Curve: ... - def Curve2d(self) -> Adaptor2d_Curve2d: ... - def Set(self, C: Geom2dAdaptor_Curve) -> None: ... - -class Geom2dAdaptor_HCurve(Geom2dAdaptor_GHCurve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, AS: Geom2dAdaptor_Curve) -> None: ... - @overload - def __init__(self, S: Geom2d_Curve) -> None: ... - @overload - def __init__(self, S: Geom2d_Curve, UFirst: float, ULast: float) -> None: ... - # harray1 classes # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/Geom2dConvert.i b/src/SWIG_files/wrapper/Geom2dConvert.i index cf807f28a..e69026d05 100644 --- a/src/SWIG_files/wrapper/Geom2dConvert.i +++ b/src/SWIG_files/wrapper/Geom2dConvert.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOM2DCONVERTDOCSTRING "Geom2dConvert module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geom2dconvert.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geom2dconvert.html" %enddef %module (package="OCC.Core", docstring=GEOM2DCONVERTDOCSTRING) Geom2dConvert @@ -71,7 +71,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -202,7 +202,7 @@ ClosedFlag: bool /****************** CurveToBSplineCurve ******************/ /**** md5 signature: 2605e8125c6f357bc9c5d1ed97296078 ****/ %feature("compactdefaultargs") CurveToBSplineCurve; - %feature("autodoc", "This function converts a non infinite curve from geom into a b-spline curve. c must be an ellipse or a circle or a trimmed conic or a trimmed line or a bezier curve or a trimmed bezier curve or a bspline curve or a trimmed bspline curve or an offset curve or a trimmed offset curve. the returned b-spline is not periodic except if c is a circle or an ellipse. parameterisationtype applies only if the curve is a circle or an ellipse : tgtthetaover2, tgtthetaover2_1, tgtthetaover2_2, tgtthetaover2_3, tgtthetaover2_4, purpose: this is the classical rational parameterisation 2 1 - t cos(theta) = ------ 2 1 + t //! 2t sin(theta) = ------ 2 1 + t //! t = tan (theta/2) //! with tgtthetaover2 the routine will compute the number of spans using the rule num_spans = [ (ulast - ufirst) / 1.2 ] + 1 with tgtthetaover2_n, n spans will be forced: an error will be raized if (ulast - ufirst) >= pi and n = 1, ulast - ufirst >= 2 pi and n = 2 //! quasiangular, here t is a rational function that approximates theta ----> tan(theta/2). neverthless the composing with above function yields exact functions whose square sum up to 1 rationalc1 ; t is replaced by a polynomial function of u so as to grant c1 contiuity across knots. exceptions standard_domainerror if the curve c is infinite. standard_constructionerror: - if c is a complete circle or ellipse, and if parameterisation is not equal to convert_tgtthetaover2 or to convert_rationalc1, or - if c is a trimmed circle or ellipse and if parameterisation is equal to convert_tgtthetaover2_1 and if u2 - u1 > 0.9999 * pi where u1 and u2 are respectively the first and the last parameters of the trimmed curve (this method of parameterization cannot be used to convert a half-circle or a half-ellipse, for example), or - if c is a trimmed circle or ellipse and parameterisation is equal to convert_tgtthetaover2_2 and u2 - u1 > 1.9999 * pi where u1 and u2 are respectively the first and the last parameters of the trimmed curve (this method of parameterization cannot be used to convert a quasi-complete circle or ellipse). + %feature("autodoc", "This function converts a non infinite curve from geom into a b-spline curve. c must be an ellipse or a circle or a trimmed conic or a trimmed line or a bezier curve or a trimmed bezier curve or a bspline curve or a trimmed bspline curve or an offset curve or a trimmed offset curve. the returned b-spline is not periodic except if c is a circle or an ellipse. parameterisationtype applies only if the curve is a circle or an ellipse : tgtthetaover2, tgtthetaover2_1, tgtthetaover2_2, tgtthetaover2_3, tgtthetaover2_4, purpose: this is the classical rational parameterisation 2 1 - t cos(theta) = ------ 2 1 + t //! 2t sin(theta) = ------ 2 1 + t //! t = tan (theta/2) //! with tgtthetaover2 the routine will compute the number of spans using the rule num_spans = [ (ulast - ufirst) / 1.2 ] + 1 with tgtthetaover2_n, n spans will be forced: an error will be raized if (ulast - ufirst) >= pi and n = 1, ulast - ufirst >= 2 pi and n = 2 //! quasiangular, here t is a rational function that approximates theta ----> tan(theta/2). nevetheless the composing with above function yields exact functions whose square sum up to 1 rationalc1 ; t is replaced by a polynomial function of u so as to grant c1 contiuity across knots. exceptions standard_domainerror if the curve c is infinite. standard_constructionerror: - if c is a complete circle or ellipse, and if parameterisation is not equal to convert_tgtthetaover2 or to convert_rationalc1, or - if c is a trimmed circle or ellipse and if parameterisation is equal to convert_tgtthetaover2_1 and if u2 - u1 > 0.9999 * pi where u1 and u2 are respectively the first and the last parameters of the trimmed curve (this method of parameterization cannot be used to convert a half-circle or a half-ellipse, for example), or - if c is a trimmed circle or ellipse and parameterisation is equal to convert_tgtthetaover2_2 and u2 - u1 > 1.9999 * pi where u1 and u2 are respectively the first and the last parameters of the trimmed curve (this method of parameterization cannot be used to convert a quasi-complete circle or ellipse). Parameters ---------- @@ -289,13 +289,13 @@ None Geom2dConvert_ApproxCurve(const opencascade::handle & Curve, const Standard_Real Tol2d, const GeomAbs_Shape Order, const Standard_Integer MaxSegments, const Standard_Integer MaxDegree); /****************** Geom2dConvert_ApproxCurve ******************/ - /**** md5 signature: e6eca249274f5c886609133bcc1802b6 ****/ + /**** md5 signature: fef67c6afa73a6f1c88612fc7cbae9d5 ****/ %feature("compactdefaultargs") Geom2dConvert_ApproxCurve; %feature("autodoc", "Constructs an approximation framework defined by - the 2d conic curve - the tolerance value tol2d - the degree of continuity order - the maximum number of segments allowed maxsegments - the highest degree maxdegree which the polynomial defining the bspline is allowed to have. Parameters ---------- -Curve: Adaptor2d_HCurve2d +Curve: Adaptor2d_Curve2d Tol2d: float Order: GeomAbs_Shape MaxSegments: int @@ -305,7 +305,7 @@ Returns ------- None ") Geom2dConvert_ApproxCurve; - Geom2dConvert_ApproxCurve(const opencascade::handle & Curve, const Standard_Real Tol2d, const GeomAbs_Shape Order, const Standard_Integer MaxSegments, const Standard_Integer MaxDegree); + Geom2dConvert_ApproxCurve(const opencascade::handle & Curve, const Standard_Real Tol2d, const GeomAbs_Shape Order, const Standard_Integer MaxSegments, const Standard_Integer MaxDegree); /****************** Curve ******************/ /**** md5 signature: 1960069de54819d72fccc75ab85806ec ****/ @@ -340,7 +340,7 @@ bool /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns standard_true if the approximation has been done with within requiered tolerance. + %feature("autodoc", "Returns standard_true if the approximation has been done with within required tolerance. Returns ------- @@ -583,7 +583,7 @@ None /****************** Add ******************/ /**** md5 signature: 98a5e3fa8e5a538111199b5b805f80b1 ****/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Append a curve in the bspline return false if the curve is not g0 with the bsplinecurve. tolerance is used to check continuity and decrease multiplicty at the common knot after is usefull if basiscurve is a closed curve . + %feature("autodoc", "Append a curve in the bspline return false if the curve is not g0 with the bsplinecurve. tolerance is used to check continuity and decrease multiplicty at the common knot after is useful if basiscurve is a closed curve . Parameters ---------- diff --git a/src/SWIG_files/wrapper/Geom2dConvert.pyi b/src/SWIG_files/wrapper/Geom2dConvert.pyi index 067b0f72c..5c3a0399b 100644 --- a/src/SWIG_files/wrapper/Geom2dConvert.pyi +++ b/src/SWIG_files/wrapper/Geom2dConvert.pyi @@ -41,7 +41,7 @@ class Geom2dConvert_ApproxCurve: @overload def __init__(self, Curve: Geom2d_Curve, Tol2d: float, Order: GeomAbs_Shape, MaxSegments: int, MaxDegree: int) -> None: ... @overload - def __init__(self, Curve: Adaptor2d_HCurve2d, Tol2d: float, Order: GeomAbs_Shape, MaxSegments: int, MaxDegree: int) -> None: ... + def __init__(self, Curve: Adaptor2d_Curve2d, Tol2d: float, Order: GeomAbs_Shape, MaxSegments: int, MaxDegree: int) -> None: ... def Curve(self) -> Geom2d_BSplineCurve: ... def HasResult(self) -> bool: ... def IsDone(self) -> bool: ... diff --git a/src/SWIG_files/wrapper/Geom2dEvaluator.i b/src/SWIG_files/wrapper/Geom2dEvaluator.i index d6298d47b..4999ea311 100644 --- a/src/SWIG_files/wrapper/Geom2dEvaluator.i +++ b/src/SWIG_files/wrapper/Geom2dEvaluator.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOM2DEVALUATORDOCSTRING "Geom2dEvaluator module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geom2devaluator.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geom2devaluator.html" %enddef %module (package="OCC.Core", docstring=GEOM2DEVALUATORDOCSTRING) Geom2dEvaluator @@ -66,7 +66,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -362,20 +362,20 @@ None Geom2dEvaluator_OffsetCurve(const opencascade::handle & theBase, const Standard_Real theOffset); /****************** Geom2dEvaluator_OffsetCurve ******************/ - /**** md5 signature: 8ce815f243f2cfc044f385720d494d24 ****/ + /**** md5 signature: 3388eba04f937ebc239e3d148abc5d3a ****/ %feature("compactdefaultargs") Geom2dEvaluator_OffsetCurve; %feature("autodoc", "Initialize evaluator by curve adaptor. Parameters ---------- -theBase: Geom2dAdaptor_HCurve +theBase: Geom2dAdaptor_Curve theOffset: float Returns ------- None ") Geom2dEvaluator_OffsetCurve; - Geom2dEvaluator_OffsetCurve(const opencascade::handle & theBase, const Standard_Real theOffset); + Geom2dEvaluator_OffsetCurve(const opencascade::handle & theBase, const Standard_Real theOffset); /****************** D0 ******************/ /**** md5 signature: 9cca4337d408090f3abc160255ae26e1 ****/ diff --git a/src/SWIG_files/wrapper/Geom2dEvaluator.pyi b/src/SWIG_files/wrapper/Geom2dEvaluator.pyi index 6a47e033b..66ebaa360 100644 --- a/src/SWIG_files/wrapper/Geom2dEvaluator.pyi +++ b/src/SWIG_files/wrapper/Geom2dEvaluator.pyi @@ -29,7 +29,7 @@ class Geom2dEvaluator_OffsetCurve(Geom2dEvaluator_Curve): @overload def __init__(self, theBase: Geom2d_Curve, theOffset: float) -> None: ... @overload - def __init__(self, theBase: Geom2dAdaptor_HCurve, theOffset: float) -> None: ... + def __init__(self, theBase: Geom2dAdaptor_Curve, theOffset: float) -> None: ... def D0(self, theU: float, theValue: gp_Pnt2d) -> None: ... def D1(self, theU: float, theValue: gp_Pnt2d, theD1: gp_Vec2d) -> None: ... def D2(self, theU: float, theValue: gp_Pnt2d, theD1: gp_Vec2d, theD2: gp_Vec2d) -> None: ... diff --git a/src/SWIG_files/wrapper/Geom2dGcc.i b/src/SWIG_files/wrapper/Geom2dGcc.i index d2e500282..266761c7e 100644 --- a/src/SWIG_files/wrapper/Geom2dGcc.i +++ b/src/SWIG_files/wrapper/Geom2dGcc.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOM2DGCCDOCSTRING "Geom2dGcc module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geom2dgcc.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geom2dgcc.html" %enddef %module (package="OCC.Core", docstring=GEOM2DGCCDOCSTRING) Geom2dGcc @@ -102,7 +102,7 @@ enum Geom2dGcc_Type1 { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Geom2dGcc_Type2(IntEnum): @@ -402,7 +402,7 @@ None /****************** Tangency1 ******************/ /**** md5 signature: 2560a863e327c3fcf6bbfde26d55fd79 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. + %feature("autodoc", "Returns information about the tangency point between the result and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. Parameters ---------- @@ -419,7 +419,7 @@ ParArg: float /****************** Tangency2 ******************/ /**** md5 signature: aa2c229192467eeb8e5b8843ab43ae52 ****/ %feature("compactdefaultargs") Tangency2; - %feature("autodoc", "Returns informations about the tangency point between the result and the second argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. + %feature("autodoc", "Returns information about the tangency point between the result and the second argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. Parameters ---------- @@ -436,7 +436,7 @@ ParArg: float /****************** ThisSolution ******************/ /**** md5 signature: 6411fa8d68e628aba08bd186d18a6e49 ****/ %feature("compactdefaultargs") ThisSolution; - %feature("autodoc", "Returns the solution number index and raises outofrange exception if index is greater than the number of solutions. be carefull: the index is only a way to get all the solutions, but is not associated to theses outside the context of the algorithm-object. exceptions standard_outofrange if index is less than or equal to zero or greater than the number of solutions computed by this algorithm. stdfail_notdone if the construction fails. + %feature("autodoc", "Returns the solution number index and raises outofrange exception if index is greater than the number of solutions. be careful: the index is only a way to get all the solutions, but is not associated to these outside the context of the algorithm-object. exceptions standard_outofrange if index is less than or equal to zero or greater than the number of solutions computed by this algorithm. stdfail_notdone if the construction fails. Parameters ---------- @@ -451,7 +451,7 @@ gp_Circ2d /****************** WhichQualifier ******************/ /**** md5 signature: 6aa541a02c7988b37a04a532d9174284 ****/ %feature("compactdefaultargs") WhichQualifier; - %feature("autodoc", "It returns the informations about the qualifiers of the tangency arguments concerning the solution number index. it returns the real qualifiers (the qualifiers given to the constructor method in case of enclosed, enclosing and outside and the qualifiers computedin case of unqualified). exceptions standard_outofrange if index is less than zero or greater than the number of solutions computed by this algorithm. stdfail_notdone if the construction fails. + %feature("autodoc", "It returns the information about the qualifiers of the tangency arguments concerning the solution number index. it returns the real qualifiers (the qualifiers given to the constructor method in case of enclosed, enclosing and outside and the qualifiers computedin case of unqualified). exceptions standard_outofrange if index is less than zero or greater than the number of solutions computed by this algorithm. stdfail_notdone if the construction fails. Parameters ---------- @@ -589,7 +589,7 @@ None /****************** CenterOn3 ******************/ /**** md5 signature: 713cefd806df05d39f2ba710d8a8d081 ****/ %feature("compactdefaultargs") CenterOn3; - %feature("autodoc", "Returns informations about the center (on the curv) of the result. pararg is the intrinsic parameter of the point on the argument curv. pntsol is the center point of the solution curv. it raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. + %feature("autodoc", "Returns information about the center (on the curv) of the result. pararg is the intrinsic parameter of the point on the argument curv. pntsol is the center point of the solution curv. it raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. Parameters ---------- @@ -657,7 +657,7 @@ int /****************** Tangency1 ******************/ /**** md5 signature: 2560a863e327c3fcf6bbfde26d55fd79 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point on the solution curv. pararg is the intrinsic parameter of the point on the argument curv. pntsol is the tangency point on the solution curv. pntarg is the tangency point on the argument curv. it raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. + %feature("autodoc", "Returns information about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point on the solution curv. pararg is the intrinsic parameter of the point on the argument curv. pntsol is the tangency point on the solution curv. pntarg is the tangency point on the argument curv. it raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. Parameters ---------- @@ -674,7 +674,7 @@ ParArg: float /****************** Tangency2 ******************/ /**** md5 signature: aa2c229192467eeb8e5b8843ab43ae52 ****/ %feature("compactdefaultargs") Tangency2; - %feature("autodoc", "Returns informations about the tangency point between the result number index and the second argument. parsol is the intrinsic parameter of the point on the solution curv. pararg is the intrinsic parameter of the point on the argument curv. pntsol is the tangency point on the solution curv. pntarg is the tangency point on the argument curv. it raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. + %feature("autodoc", "Returns information about the tangency point between the result number index and the second argument. parsol is the intrinsic parameter of the point on the solution curv. pararg is the intrinsic parameter of the point on the argument curv. pntsol is the tangency point on the solution curv. pntarg is the tangency point on the argument curv. it raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. Parameters ---------- @@ -706,7 +706,7 @@ gp_Circ2d /****************** WhichQualifier ******************/ /**** md5 signature: 6aa541a02c7988b37a04a532d9174284 ****/ %feature("compactdefaultargs") WhichQualifier; - %feature("autodoc", "It returns the informations about the qualifiers of the tangency arguments concerning the solution number index. it returns the real qualifiers (the qualifiers given to the constructor method in case of enclosed, enclosing and outside and the qualifiers computedin case of unqualified). + %feature("autodoc", "It returns the information about the qualifiers of the tangency arguments concerning the solution number index. it returns the real qualifiers (the qualifiers given to the constructor method in case of enclosed, enclosing and outside and the qualifiers computedin case of unqualified). Parameters ---------- @@ -1241,7 +1241,7 @@ None /****************** Tangency1 ******************/ /**** md5 signature: 2560a863e327c3fcf6bbfde26d55fd79 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. outofrange is raised if index is greater than the number of solutions. notdone is raised if the construction algorithm did not succeed. + %feature("autodoc", "Returns information about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. outofrange is raised if index is greater than the number of solutions. notdone is raised if the construction algorithm did not succeed. Parameters ---------- @@ -1258,7 +1258,7 @@ ParArg: float /****************** Tangency2 ******************/ /**** md5 signature: aa2c229192467eeb8e5b8843ab43ae52 ****/ %feature("compactdefaultargs") Tangency2; - %feature("autodoc", "Returns informations about the tangency point between the result number index and the second argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. outofrange is raised if index is greater than the number of solutions. notdone is raised if the construction algorithm did not succeed. + %feature("autodoc", "Returns information about the tangency point between the result number index and the second argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. outofrange is raised if index is greater than the number of solutions. notdone is raised if the construction algorithm did not succeed. Parameters ---------- @@ -1275,7 +1275,7 @@ ParArg: float /****************** ThisSolution ******************/ /**** md5 signature: 6411fa8d68e628aba08bd186d18a6e49 ****/ %feature("compactdefaultargs") ThisSolution; - %feature("autodoc", "Returns the solution number index and raises outofrange exception if index is greater than the number of solutions. be carefull: the index is only a way to get all the solutions, but is not associated to theses outside the context of the algorithm-object. warning this indexing simply provides a means of consulting the solutions. the index values are not associated with these solutions outside the context of the algorithm object. exceptions standard_outofrange if index is less than zero or greater than the number of solutions computed by this algorithm. stdfail_notdone if the construction fails. + %feature("autodoc", "Returns the solution number index and raises outofrange exception if index is greater than the number of solutions. be careful: the index is only a way to get all the solutions, but is not associated to these outside the context of the algorithm-object. warning this indexing simply provides a means of consulting the solutions. the index values are not associated with these solutions outside the context of the algorithm object. exceptions standard_outofrange if index is less than zero or greater than the number of solutions computed by this algorithm. stdfail_notdone if the construction fails. Parameters ---------- @@ -1686,7 +1686,7 @@ None /****************** Tangency1 ******************/ /**** md5 signature: 2560a863e327c3fcf6bbfde26d55fd79 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. + %feature("autodoc", "Returns information about the tangency point between the result and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. Parameters ---------- @@ -1703,7 +1703,7 @@ ParArg: float /****************** Tangency2 ******************/ /**** md5 signature: aa2c229192467eeb8e5b8843ab43ae52 ****/ %feature("compactdefaultargs") Tangency2; - %feature("autodoc", "Returns informations about the tangency point between the result and the second argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. + %feature("autodoc", "Returns information about the tangency point between the result and the second argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. Parameters ---------- @@ -1720,7 +1720,7 @@ ParArg: float /****************** Tangency3 ******************/ /**** md5 signature: 0aa5ec0c7341ae28374df63d96d61594 ****/ %feature("compactdefaultargs") Tangency3; - %feature("autodoc", "Returns informations about the tangency point between the result and the third argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. + %feature("autodoc", "Returns information about the tangency point between the result and the third argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. Parameters ---------- @@ -1737,7 +1737,7 @@ ParArg: float /****************** ThisSolution ******************/ /**** md5 signature: 6411fa8d68e628aba08bd186d18a6e49 ****/ %feature("compactdefaultargs") ThisSolution; - %feature("autodoc", "Returns the solution number index and raises outofrange exception if index is greater than the number of solutions. be carefull: the index is only a way to get all the solutions, but is not associated to theses outside the context of the algorithm-object. + %feature("autodoc", "Returns the solution number index and raises outofrange exception if index is greater than the number of solutions. be careful: the index is only a way to get all the solutions, but is not associated to these outside the context of the algorithm-object. Parameters ---------- @@ -1752,7 +1752,7 @@ gp_Circ2d /****************** WhichQualifier ******************/ /**** md5 signature: a7c8640b1f68ed172a2307977dbf7e77 ****/ %feature("compactdefaultargs") WhichQualifier; - %feature("autodoc", "It returns the informations about the qualifiers of the tangency arguments concerning the solution number index. it returns the real qualifiers (the qualifiers given to the constructor method in case of enclosed, enclosing and outside and the qualifiers computedin case of unqualified). + %feature("autodoc", "It returns the information about the qualifiers of the tangency arguments concerning the solution number index. it returns the real qualifiers (the qualifiers given to the constructor method in case of enclosed, enclosing and outside and the qualifiers computedin case of unqualified). Parameters ---------- @@ -2032,7 +2032,7 @@ bool /****************** Tangency1 ******************/ /**** md5 signature: eb3e26d6c89cf56c2fe9a459f6569682 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. it raises notdone if the construction algorithm didn't succeed. + %feature("autodoc", "Returns information about the tangency point between the result and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. it raises notdone if the construction algorithm didn't succeed. Parameters ---------- @@ -2048,7 +2048,7 @@ ParArg: float /****************** Tangency2 ******************/ /**** md5 signature: 752e76c01e6a36a96360d28145e295d8 ****/ %feature("compactdefaultargs") Tangency2; - %feature("autodoc", "Returns informations about the tangency point between the result and the second argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. it raises notdone if the construction algorithm didn't succeed. + %feature("autodoc", "Returns information about the tangency point between the result and the second argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. it raises notdone if the construction algorithm didn't succeed. Parameters ---------- @@ -2064,7 +2064,7 @@ ParArg: float /****************** Tangency3 ******************/ /**** md5 signature: 8f6aaf015a3c19b8634a08f17e6978f9 ****/ %feature("compactdefaultargs") Tangency3; - %feature("autodoc", "Returns informations about the tangency point between the result and the third argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. it raises notdone if the construction algorithm didn't succeed. + %feature("autodoc", "Returns information about the tangency point between the result and the third argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. it raises notdone if the construction algorithm didn't succeed. Parameters ---------- @@ -2175,7 +2175,7 @@ int /****************** Tangency1 ******************/ /**** md5 signature: 2560a863e327c3fcf6bbfde26d55fd79 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. exceptions standard_outofrange if index is less than zero or greater than the number of solutions computed by this algorithm. stdfail_notdone if the construction fails. + %feature("autodoc", "Returns information about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. exceptions standard_outofrange if index is less than zero or greater than the number of solutions computed by this algorithm. stdfail_notdone if the construction fails. Parameters ---------- @@ -2275,7 +2275,7 @@ int /****************** Tangency1 ******************/ /**** md5 signature: 2560a863e327c3fcf6bbfde26d55fd79 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntarg on the argument curv. it raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions or less than zero. + %feature("autodoc", "Returns information about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntarg on the argument curv. it raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions or less than zero. Parameters ---------- @@ -2292,7 +2292,7 @@ ParArg: float /****************** ThisSolution ******************/ /**** md5 signature: 6411fa8d68e628aba08bd186d18a6e49 ****/ %feature("compactdefaultargs") ThisSolution; - %feature("autodoc", "Returns the solution number index and raises outofrange exception if index is greater than the number of solutions. be carefull: the index is only a way to get all the solutions, but is not associated to theses outside the context of the algorithm-object. it raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions or less than zero. + %feature("autodoc", "Returns the solution number index and raises outofrange exception if index is greater than the number of solutions. be careful: the index is only a way to get all the solutions, but is not associated to these outside the context of the algorithm-object. it raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions or less than zero. Parameters ---------- @@ -2455,7 +2455,7 @@ None /****************** Tangency1 ******************/ /**** md5 signature: 2560a863e327c3fcf6bbfde26d55fd79 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point on the solution curv. pararg is the intrinsic parameter of the point on the argument curv. pntsol is the tangency point on the solution curv. pntarg is the tangency point on the argument curv. exceptions standard_outofrange if index is less than zero or greater than the number of solutions computed by this algorithm. stdfail_notdone if the construction fails. + %feature("autodoc", "Returns information about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point on the solution curv. pararg is the intrinsic parameter of the point on the argument curv. pntsol is the tangency point on the solution curv. pntarg is the tangency point on the argument curv. exceptions standard_outofrange if index is less than zero or greater than the number of solutions computed by this algorithm. stdfail_notdone if the construction fails. Parameters ---------- @@ -2472,7 +2472,7 @@ ParArg: float /****************** ThisSolution ******************/ /**** md5 signature: 6411fa8d68e628aba08bd186d18a6e49 ****/ %feature("compactdefaultargs") ThisSolution; - %feature("autodoc", "Returns the solution number index and raises outofrange exception if index is greater than the number of solutions. be carefull: the index is only a way to get all the solutions, but is not associated to theses outside the context of the algorithm-object. exceptions standard_outofrange if index is less than zero or greater than the number of solutions computed by this algorithm. stdfail_notdone if the construction fails. + %feature("autodoc", "Returns the solution number index and raises outofrange exception if index is greater than the number of solutions. be careful: the index is only a way to get all the solutions, but is not associated to these outside the context of the algorithm-object. exceptions standard_outofrange if index is less than zero or greater than the number of solutions computed by this algorithm. stdfail_notdone if the construction fails. Parameters ---------- @@ -2624,7 +2624,7 @@ None /****************** CenterOn3 ******************/ /**** md5 signature: 713cefd806df05d39f2ba710d8a8d081 ****/ %feature("compactdefaultargs") CenterOn3; - %feature("autodoc", "Returns informations about the center (on the curv) of the result. pararg is the intrinsic parameter of the point on the argument curv. pntsol is the center point of the solution curv. it raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. + %feature("autodoc", "Returns information about the center (on the curv) of the result. pararg is the intrinsic parameter of the point on the argument curv. pntsol is the center point of the solution curv. it raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. Parameters ---------- @@ -2677,7 +2677,7 @@ int /****************** Tangency1 ******************/ /**** md5 signature: 2560a863e327c3fcf6bbfde26d55fd79 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point on the solution curv. pararg is the intrinsic parameter of the point on the argument curv. pntsol is the tangency point on the solution curv. pntarg is the tangency point on the argument curv. it raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. + %feature("autodoc", "Returns information about the tangency point between the result number index and the first argument. parsol is the intrinsic parameter of the point on the solution curv. pararg is the intrinsic parameter of the point on the argument curv. pntsol is the tangency point on the solution curv. pntarg is the tangency point on the argument curv. it raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. Parameters ---------- @@ -2694,7 +2694,7 @@ ParArg: float /****************** ThisSolution ******************/ /**** md5 signature: 6411fa8d68e628aba08bd186d18a6e49 ****/ %feature("compactdefaultargs") ThisSolution; - %feature("autodoc", "Returns the solution number index and raises outofrange exception if index is greater than the number of solutions. be careful: the index is only a way to get all the solutions, but is not associated to theses outside the context of the algorithm-object. it raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. + %feature("autodoc", "Returns the solution number index and raises outofrange exception if index is greater than the number of solutions. be careful: the index is only a way to get all the solutions, but is not associated to these outside the context of the algorithm-object. it raises notdone if the construction algorithm didn't succeed. it raises outofrange if index is greater than the number of solutions. Parameters ---------- @@ -3597,7 +3597,7 @@ None /****************** Geom2dGcc_Lin2d2Tan ******************/ /**** md5 signature: 2621d50df4f179763d2197196ff1fb3d ****/ %feature("compactdefaultargs") Geom2dGcc_Lin2d2Tan; - %feature("autodoc", "This class implements the algorithms used to create 2d lines passing thrue a point and tangent to a curve. tolang is used to determine the tolerance for the tangency points. + %feature("autodoc", "This class implements the algorithms used to create 2d lines passing through a point and tangent to a curve. tolang is used to determine the tolerance for the tangency points. Parameters ---------- @@ -3633,7 +3633,7 @@ None /****************** Geom2dGcc_Lin2d2Tan ******************/ /**** md5 signature: 94d7ae99649a94076e1d29376fcea8c3 ****/ %feature("compactdefaultargs") Geom2dGcc_Lin2d2Tan; - %feature("autodoc", "This class implements the algorithms used to create 2d lines passing thrue a point and tangent to a curve. tolang is used to determine the tolerance for the tangency points. param2 is used for the initial guess on the curve. + %feature("autodoc", "This class implements the algorithms used to create 2d lines passing through a point and tangent to a curve. tolang is used to determine the tolerance for the tangency points. param2 is used for the initial guess on the curve. Parameters ---------- @@ -3673,7 +3673,7 @@ int /****************** Tangency1 ******************/ /**** md5 signature: 2560a863e327c3fcf6bbfde26d55fd79 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. exceptions standard_outofrange if index is less than zero or greater than the number of solutions computed by this algorithm. stdfail_notdone if the construction fails. + %feature("autodoc", "Returns information about the tangency point between the result and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. exceptions standard_outofrange if index is less than zero or greater than the number of solutions computed by this algorithm. stdfail_notdone if the construction fails. Parameters ---------- @@ -3690,7 +3690,7 @@ ParArg: float /****************** Tangency2 ******************/ /**** md5 signature: aa2c229192467eeb8e5b8843ab43ae52 ****/ %feature("compactdefaultargs") Tangency2; - %feature("autodoc", "Returns informations about the tangency point between the result and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. exceptions standard_outofrange if index is less than zero or greater than the number of solutions computed by this algorithm. stdfail_notdone if the construction fails. + %feature("autodoc", "Returns information about the tangency point between the result and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. exceptions standard_outofrange if index is less than zero or greater than the number of solutions computed by this algorithm. stdfail_notdone if the construction fails. Parameters ---------- @@ -3752,7 +3752,7 @@ class Geom2dGcc_Lin2d2TanIter { /****************** Geom2dGcc_Lin2d2TanIter ******************/ /**** md5 signature: c26fe92a4e68e7bd11b14af7e30e2645 ****/ %feature("compactdefaultargs") Geom2dGcc_Lin2d2TanIter; - %feature("autodoc", "This class implements the algorithms used to create 2d lines passing thrue a point and tangent to a curve. tolang is used to determine the tolerance for the tangency points. param2 is used for the initial guess on the curve. + %feature("autodoc", "This class implements the algorithms used to create 2d lines passing through a point and tangent to a curve. tolang is used to determine the tolerance for the tangency points. param2 is used for the initial guess on the curve. Parameters ---------- @@ -3770,7 +3770,7 @@ None /****************** Geom2dGcc_Lin2d2TanIter ******************/ /**** md5 signature: ac66e6af336f0384b9e0df9fa8cee871 ****/ %feature("compactdefaultargs") Geom2dGcc_Lin2d2TanIter; - %feature("autodoc", "This class implements the algorithms used to create 2d line tangent to a circle and to a cuve. tolang is used to determine the tolerance for the tangency points. param2 is used for the initial guess on the curve. exception badqualifier is raised in the case of enclosedcirc. + %feature("autodoc", "This class implements the algorithms used to create 2d line tangent to a circle and to a curve. tolang is used to determine the tolerance for the tangency points. param2 is used for the initial guess on the curve. exception badqualifier is raised in the case of enclosedcirc. Parameters ---------- @@ -3818,7 +3818,7 @@ bool /****************** Tangency1 ******************/ /**** md5 signature: eb3e26d6c89cf56c2fe9a459f6569682 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. + %feature("autodoc", "Returns information about the tangency point between the result and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. Parameters ---------- @@ -3966,7 +3966,7 @@ int /****************** Tangency1 ******************/ /**** md5 signature: 2560a863e327c3fcf6bbfde26d55fd79 ****/ %feature("compactdefaultargs") Tangency1; - %feature("autodoc", "Returns informations about the tangency point between the result and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. + %feature("autodoc", "Returns information about the tangency point between the result and the first argument. parsol is the intrinsic parameter of the point pntsol on the solution curv. pararg is the intrinsic parameter of the point pntsol on the argument curv. Parameters ---------- diff --git a/src/SWIG_files/wrapper/Geom2dHatch.i b/src/SWIG_files/wrapper/Geom2dHatch.i index e5d817d85..04e5bd8fa 100644 --- a/src/SWIG_files/wrapper/Geom2dHatch.i +++ b/src/SWIG_files/wrapper/Geom2dHatch.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOM2DHATCHDOCSTRING "Geom2dHatch module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geom2dhatch.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geom2dhatch.html" %enddef %module (package="OCC.Core", docstring=GEOM2DHATCHDOCSTRING) Geom2dHatch @@ -81,7 +81,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -1635,7 +1635,7 @@ float /****************** Intersect ******************/ /**** md5 signature: ed6de426a99bea19436b81b6be37110e ****/ %feature("compactdefaultargs") Intersect; - %feature("autodoc", "Intersects the curves c1 and c2. the results are retreived by the usual methods described in intres2d_intersection. creates an intersector. + %feature("autodoc", "Intersects the curves c1 and c2. the results are retrieved by the usual methods described in intres2d_intersection. creates an intersector. Parameters ---------- diff --git a/src/SWIG_files/wrapper/Geom2dInt.i b/src/SWIG_files/wrapper/Geom2dInt.i index 680db3942..950ccd04a 100644 --- a/src/SWIG_files/wrapper/Geom2dInt.i +++ b/src/SWIG_files/wrapper/Geom2dInt.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOM2DINTDOCSTRING "Geom2dInt module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geom2dint.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geom2dint.html" %enddef %module (package="OCC.Core", docstring=GEOM2DINTDOCSTRING) Geom2dInt @@ -83,7 +83,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -1257,7 +1257,7 @@ bool /****************** NbExt ******************/ /**** md5 signature: 84ada636e4651cacf916eb056265a1d9 ****/ %feature("compactdefaultargs") NbExt; - %feature("autodoc", "Return the nunber of found extrema. + %feature("autodoc", "Return the number of found extrema. Returns ------- @@ -1957,7 +1957,7 @@ None /****************** Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter ******************/ /**** md5 signature: a971c67190a2ca3f6addaffb1bbdce56 ****/ %feature("compactdefaultargs") Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter; - %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs a zero near the close point. tolu is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolu. + %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches a zero near the close point. tolu is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolu. Parameters ---------- @@ -1975,7 +1975,7 @@ None /****************** Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter ******************/ /**** md5 signature: a8c07ef8b33afcd3aa84d7cbfb06958e ****/ %feature("compactdefaultargs") Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter; - %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs a zero near the close point. zeros are searched between umin et usup. tolu is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolu. + %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches a zero near the close point. zeros are searched between umin et usup. tolu is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolu. Parameters ---------- @@ -2178,7 +2178,7 @@ bool /****************** ComputeWithBox ******************/ /**** md5 signature: a2577e286c7447afd172b5be81ef7131 ****/ %feature("compactdefaultargs") ComputeWithBox; - %feature("autodoc", "The current polygon is modified if most of the points of the polygon are are outside the box . in this situation, bounds are computed to build a polygon inside or near the otherbox. + %feature("autodoc", "The current polygon is modified if most of the points of the polygon are outside the box . in this situation, bounds are computed to build a polygon inside or near the otherbox. Parameters ---------- @@ -2295,7 +2295,7 @@ class Geom2dInt_TheProjPCurOfGInter { /****************** FindParameter ******************/ /**** md5 signature: 09dfdffb4b5220d74013e1ecd50cdbd5 ****/ %feature("compactdefaultargs") FindParameter; - %feature("autodoc", "Returns the parameter v of the point on the parametric curve corresponding to the point pnt. the correspondance between pnt and the point p(v) on the parametric curve must be coherent with the way of determination of the signed distance between a point and the implicit curve. tol is the tolerance on the distance between a point and the parametrised curve. in that case, no bounds are given. the research of the rigth parameter has to be made on the natural parametric domain of the curve. + %feature("autodoc", "Returns the parameter v of the point on the parametric curve corresponding to the point pnt. the correspondence between pnt and the point p(v) on the parametric curve must be coherent with the way of determination of the signed distance between a point and the implicit curve. tol is the tolerance on the distance between a point and the parametrised curve. in that case, no bounds are given. the research of the right parameter has to be made on the natural parametric domain of the curve. Parameters ---------- @@ -2312,7 +2312,7 @@ float /****************** FindParameter ******************/ /**** md5 signature: 62d40694d41fa21c773faec789a5ba56 ****/ %feature("compactdefaultargs") FindParameter; - %feature("autodoc", "Returns the parameter v of the point on the parametric curve corresponding to the point pnt. the correspondance between pnt and the point p(v) on the parametric curve must be coherent with the way of determination of the signed distance between a point and the implicit curve. tol is the tolerance on the distance between a point and the parametrised curve. lowparameter and highparameter give the boundaries of the interval in wich the parameter certainly lies. these parameters are given to implement a more efficient algoritm. so, it is not necessary to check that the returned value verifies lowparameter <= value <= highparameter. + %feature("autodoc", "Returns the parameter v of the point on the parametric curve corresponding to the point pnt. the correspondence between pnt and the point p(v) on the parametric curve must be coherent with the way of determination of the signed distance between a point and the implicit curve. tol is the tolerance on the distance between a point and the parametrised curve. lowparameter and highparameter give the boundaries of the interval in which the parameter certainly lies. these parameters are given to implement a more efficient algorithm. so, it is not necessary to check that the returned value verifies lowparameter <= value <= highparameter. Parameters ---------- diff --git a/src/SWIG_files/wrapper/Geom2dLProp.i b/src/SWIG_files/wrapper/Geom2dLProp.i index 6ae5526ce..7d3b80d22 100644 --- a/src/SWIG_files/wrapper/Geom2dLProp.i +++ b/src/SWIG_files/wrapper/Geom2dLProp.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOM2DLPROPDOCSTRING "Geom2dLProp module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geom2dlprop.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geom2dlprop.html" %enddef %module (package="OCC.Core", docstring=GEOM2DLPROPDOCSTRING) Geom2dLProp @@ -67,7 +67,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -713,7 +713,7 @@ None /****************** PerformCurExt ******************/ /**** md5 signature: 8d4a271f7ea31764c51bc7d5d6517548 ****/ %feature("compactdefaultargs") PerformCurExt; - %feature("autodoc", "Computes the locals extremas of curvature. in the interval of parmeters [umin,umax]. + %feature("autodoc", "Computes the locals extremas of curvature. in the interval of parameters [umin,umax]. Parameters ---------- @@ -747,7 +747,7 @@ None /****************** PerformInf ******************/ /**** md5 signature: 4ccd98235aecb6f55130f7303d06d7cd ****/ %feature("compactdefaultargs") PerformInf; - %feature("autodoc", "Computes the inflections in the interval of parmeters [umin,umax]. + %feature("autodoc", "Computes the inflections in the interval of parameters [umin,umax]. Parameters ---------- diff --git a/src/SWIG_files/wrapper/GeomAPI.i b/src/SWIG_files/wrapper/GeomAPI.i index e9ad81e37..1d1ca68c1 100644 --- a/src/SWIG_files/wrapper/GeomAPI.i +++ b/src/SWIG_files/wrapper/GeomAPI.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOMAPIDOCSTRING "GeomAPI module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomapi.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geomapi.html" %enddef %module (package="OCC.Core", docstring=GEOMAPIDOCSTRING) GeomAPI @@ -79,7 +79,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -254,6 +254,17 @@ None ") Init; void Init(const opencascade::handle & C1, const opencascade::handle & C2, const Standard_Real U1min, const Standard_Real U1max, const Standard_Real U2min, const Standard_Real U2max); + /****************** IsParallel ******************/ + /**** md5 signature: 1a61f067818333b9699057e51665b906 ****/ + %feature("compactdefaultargs") IsParallel; + %feature("autodoc", "Returns true if the two curves are parallel. + +Returns +------- +bool +") IsParallel; + Standard_Boolean IsParallel(); + /****************** LowerDistance ******************/ /**** md5 signature: 9f0e68fdb00336442bc7528a9d585436 ****/ %feature("compactdefaultargs") LowerDistance; @@ -509,6 +520,17 @@ None ") Init; void Init(const opencascade::handle & Curve, const opencascade::handle & Surface, const Standard_Real Wmin, const Standard_Real Wmax, const Standard_Real Umin, const Standard_Real Umax, const Standard_Real Vmin, const Standard_Real Vmax); + /****************** IsParallel ******************/ + /**** md5 signature: 1a61f067818333b9699057e51665b906 ****/ + %feature("compactdefaultargs") IsParallel; + %feature("autodoc", "Returns true if the curve is on a parallel surface. + +Returns +------- +bool +") IsParallel; + Standard_Boolean IsParallel(); + /****************** LowerDistance ******************/ /**** md5 signature: 9f0e68fdb00336442bc7528a9d585436 ****/ %feature("compactdefaultargs") LowerDistance; @@ -728,6 +750,17 @@ None ") Init; void Init(const opencascade::handle & S1, const opencascade::handle & S2, const Standard_Real U1min, const Standard_Real U1max, const Standard_Real V1min, const Standard_Real V1max, const Standard_Real U2min, const Standard_Real U2max, const Standard_Real V2min, const Standard_Real V2max); + /****************** IsParallel ******************/ + /**** md5 signature: 1a61f067818333b9699057e51665b906 ****/ + %feature("compactdefaultargs") IsParallel; + %feature("autodoc", "Returns true if the surfaces are parallel. + +Returns +------- +bool +") IsParallel; + Standard_Boolean IsParallel(); + /****************** LowerDistance ******************/ /**** md5 signature: 9f0e68fdb00336442bc7528a9d585436 ****/ %feature("compactdefaultargs") LowerDistance; diff --git a/src/SWIG_files/wrapper/GeomAPI.pyi b/src/SWIG_files/wrapper/GeomAPI.pyi index f30ed8073..01db2bc0a 100644 --- a/src/SWIG_files/wrapper/GeomAPI.pyi +++ b/src/SWIG_files/wrapper/GeomAPI.pyi @@ -32,6 +32,7 @@ class GeomAPI_ExtremaCurveCurve: def Init(self, C1: Geom_Curve, C2: Geom_Curve) -> None: ... @overload def Init(self, C1: Geom_Curve, C2: Geom_Curve, U1min: float, U1max: float, U2min: float, U2max: float) -> None: ... + def IsParallel(self) -> bool: ... def LowerDistance(self) -> float: ... def LowerDistanceParameters(self) -> Tuple[float, float]: ... def NbExtrema(self) -> int: ... @@ -55,6 +56,7 @@ class GeomAPI_ExtremaCurveSurface: def Init(self, Curve: Geom_Curve, Surface: Geom_Surface) -> None: ... @overload def Init(self, Curve: Geom_Curve, Surface: Geom_Surface, Wmin: float, Wmax: float, Umin: float, Umax: float, Vmin: float, Vmax: float) -> None: ... + def IsParallel(self) -> bool: ... def LowerDistance(self) -> float: ... def LowerDistanceParameters(self) -> Tuple[float, float, float]: ... def NbExtrema(self) -> int: ... @@ -75,6 +77,7 @@ class GeomAPI_ExtremaSurfaceSurface: def Init(self, S1: Geom_Surface, S2: Geom_Surface) -> None: ... @overload def Init(self, S1: Geom_Surface, S2: Geom_Surface, U1min: float, U1max: float, V1min: float, V1max: float, U2min: float, U2max: float, V2min: float, V2max: float) -> None: ... + def IsParallel(self) -> bool: ... def LowerDistance(self) -> float: ... def LowerDistanceParameters(self) -> Tuple[float, float, float, float]: ... def NbExtrema(self) -> int: ... diff --git a/src/SWIG_files/wrapper/GeomAbs.i b/src/SWIG_files/wrapper/GeomAbs.i index bf71ecb23..c3a46547a 100644 --- a/src/SWIG_files/wrapper/GeomAbs.i +++ b/src/SWIG_files/wrapper/GeomAbs.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOMABSDOCSTRING "GeomAbs module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomabs.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geomabs.html" %enddef %module (package="OCC.Core", docstring=GEOMABSDOCSTRING) GeomAbs @@ -113,7 +113,7 @@ enum GeomAbs_BSplKnotDistribution { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class GeomAbs_IsoType(IntEnum): diff --git a/src/SWIG_files/wrapper/GeomAdaptor.i b/src/SWIG_files/wrapper/GeomAdaptor.i index 61070aee3..87e521294 100644 --- a/src/SWIG_files/wrapper/GeomAdaptor.i +++ b/src/SWIG_files/wrapper/GeomAdaptor.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOMADAPTORDOCSTRING "GeomAdaptor module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomadaptor.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geomadaptor.html" %enddef %module (package="OCC.Core", docstring=GEOMADAPTORDOCSTRING) GeomAdaptor @@ -71,18 +71,16 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ /* handles */ -%wrap_handle(GeomAdaptor_GHCurve) -%wrap_handle(GeomAdaptor_GHSurface) -%wrap_handle(GeomAdaptor_HSurfaceOfLinearExtrusion) -%wrap_handle(GeomAdaptor_HSurfaceOfRevolution) -%wrap_handle(GeomAdaptor_HCurve) -%wrap_handle(GeomAdaptor_HSurface) +%wrap_handle(GeomAdaptor_Curve) +%wrap_handle(GeomAdaptor_Surface) +%wrap_handle(GeomAdaptor_SurfaceOfLinearExtrusion) +%wrap_handle(GeomAdaptor_SurfaceOfRevolution) /* end handles declaration */ /* templates */ @@ -100,7 +98,7 @@ class GeomAdaptor { /****************** MakeCurve ******************/ /**** md5 signature: b2a0867e843655f110e2f5dd5ef19022 ****/ %feature("compactdefaultargs") MakeCurve; - %feature("autodoc", "Inherited from ghcurve. provides a curve handled by reference. build a geom_curve using the informations from the curve from adaptor3d. + %feature("autodoc", "Inherited from ghcurve. provides a curve handled by reference. build a geom_curve using the information from the curve from adaptor3d. Parameters ---------- @@ -115,7 +113,7 @@ opencascade::handle /****************** MakeSurface ******************/ /**** md5 signature: e2d97ddab298fadfa35fcf5d3da46eb5 ****/ %feature("compactdefaultargs") MakeSurface; - %feature("autodoc", "Build a geom_surface using the informations from the surface from adaptor3d @param thes - surface adaptor to convert. @param thetrimflag - true if perform trim surface values by adaptor and false otherwise. + %feature("autodoc", "Build a geom_surface using the information from the surface from adaptor3d @param thes - surface adaptor to convert. @param thetrimflag - true if perform trim surface values by adaptor and false otherwise. Parameters ---------- @@ -144,7 +142,7 @@ opencascade::handle class GeomAdaptor_Curve : public Adaptor3d_Curve { public: /****************** GeomAdaptor_Curve ******************/ - /**** md5 signature: 2e3639f153333a8265adcebe4a8aaee3 ****/ + /**** md5 signature: ccb204f3ef4733cff0b86e86ac3d5f12 ****/ %feature("compactdefaultargs") GeomAdaptor_Curve; %feature("autodoc", "No available documentation. @@ -155,36 +153,36 @@ None GeomAdaptor_Curve(); /****************** GeomAdaptor_Curve ******************/ - /**** md5 signature: 1cf8518026dc83d09b39472a54f58c4c ****/ + /**** md5 signature: 649b37dd8045d083fefebcda0e3e12fb ****/ %feature("compactdefaultargs") GeomAdaptor_Curve; %feature("autodoc", "No available documentation. Parameters ---------- -C: Geom_Curve +theCurve: Geom_Curve Returns ------- None ") GeomAdaptor_Curve; - GeomAdaptor_Curve(const opencascade::handle & C); + GeomAdaptor_Curve(const opencascade::handle & theCurve); /****************** GeomAdaptor_Curve ******************/ - /**** md5 signature: ecf089bdf6152ef66a45b9ee30f39cb5 ****/ + /**** md5 signature: 1a10d0efcbd8197e53d90228c15a2809 ****/ %feature("compactdefaultargs") GeomAdaptor_Curve; - %feature("autodoc", "Constructionerror is raised if ufirst>ulast. + %feature("autodoc", "Standard_constructionerror is raised if theufirst>theulast. Parameters ---------- -C: Geom_Curve -UFirst: float -ULast: float +theCurve: Geom_Curve +theUFirst: float +theULast: float Returns ------- None ") GeomAdaptor_Curve; - GeomAdaptor_Curve(const opencascade::handle & C, const Standard_Real UFirst, const Standard_Real ULast); + GeomAdaptor_Curve(const opencascade::handle & theCurve, const Standard_Real theUFirst, const Standard_Real theULast); /****************** BSpline ******************/ /**** md5 signature: 3ccc0d851302bffb5de6344e3eb3e58d ****/ @@ -231,7 +229,7 @@ GeomAbs_Shape GeomAbs_Shape Continuity(); /****************** Curve ******************/ - /**** md5 signature: 976a03829ec92d091e0b58dd7f58e869 ****/ + /**** md5 signature: 62a16889fb975efa1b2de012099c169b ****/ %feature("compactdefaultargs") Curve; %feature("autodoc", "Provides a curve inherited from hcurve from adaptor. this is inherited to provide easy to use constructors. @@ -350,7 +348,7 @@ gp_Elips gp_Elips Ellipse(); /****************** FirstParameter ******************/ - /**** md5 signature: eb9ebe94572bd67588fe8811eac261fb ****/ + /**** md5 signature: 93c381754667baab23468a195644e410 ****/ %feature("compactdefaultargs") FirstParameter; %feature("autodoc", "No available documentation. @@ -358,10 +356,10 @@ Returns ------- float ") FirstParameter; - Standard_Real FirstParameter(); + virtual Standard_Real FirstParameter(); /****************** GetType ******************/ - /**** md5 signature: 0ad61dcbb5497908c1b536e766f0fcb9 ****/ + /**** md5 signature: eaef05bb051ab4b74eda73aca8930d16 ****/ %feature("compactdefaultargs") GetType; %feature("autodoc", "No available documentation. @@ -369,7 +367,7 @@ Returns ------- GeomAbs_CurveType ") GetType; - GeomAbs_CurveType GetType(); + virtual GeomAbs_CurveType GetType(); /****************** Hyperbola ******************/ /**** md5 signature: a96ca49b2ad017b35bb09d0b86cb690d ****/ @@ -385,7 +383,7 @@ gp_Hypr /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -432,7 +430,7 @@ bool Standard_Boolean IsRational(); /****************** LastParameter ******************/ - /**** md5 signature: cb4925a2d4a451ceec8f6ad486530f9c ****/ + /**** md5 signature: a2893a92f9c4af09acb0cd59d959d964 ****/ %feature("compactdefaultargs") LastParameter; %feature("autodoc", "No available documentation. @@ -440,7 +438,7 @@ Returns ------- float ") LastParameter; - Standard_Real LastParameter(); + virtual Standard_Real LastParameter(); /****************** Line ******************/ /**** md5 signature: cf28f5541e4e744dd8038e2a9ac75a8f ****/ @@ -454,36 +452,36 @@ gp_Lin gp_Lin Line(); /****************** Load ******************/ - /**** md5 signature: 899eefc9d66620ea5d2dc41c69ab5bc1 ****/ + /**** md5 signature: e05559f93c046e47a8be3d9ab64ebec8 ****/ %feature("compactdefaultargs") Load; %feature("autodoc", "No available documentation. Parameters ---------- -C: Geom_Curve +theCurve: Geom_Curve Returns ------- None ") Load; - void Load(const opencascade::handle & C); + void Load(const opencascade::handle & theCurve); /****************** Load ******************/ - /**** md5 signature: d8ca48df01d7825d5d8f75cada300511 ****/ + /**** md5 signature: 870dfd0d647afc03a8ecd96c1d9b3367 ****/ %feature("compactdefaultargs") Load; - %feature("autodoc", "Constructionerror is raised if ufirst>ulast. + %feature("autodoc", "Standard_constructionerror is raised if theufirst>theulast. Parameters ---------- -C: Geom_Curve -UFirst: float -ULast: float +theCurve: Geom_Curve +theUFirst: float +theULast: float Returns ------- None ") Load; - void Load(const opencascade::handle & C, const Standard_Real UFirst, const Standard_Real ULast); + void Load(const opencascade::handle & theCurve, const Standard_Real theUFirst, const Standard_Real theULast); /****************** NbIntervals ******************/ /**** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ****/ @@ -582,7 +580,7 @@ float Standard_Real Resolution(const Standard_Real R3d); /****************** Trim ******************/ - /**** md5 signature: 113944489c8ce9efcb5cb2d44fff51d7 ****/ + /**** md5 signature: 40a46ffe7379c6d919968b501b8343a5 ****/ %feature("compactdefaultargs") Trim; %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -594,9 +592,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: d7f310c73762cbaa285ace0a141bc7bf ****/ @@ -616,334 +614,9 @@ gp_Pnt }; -%extend GeomAdaptor_Curve { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/**************************** -* class GeomAdaptor_GHCurve * -****************************/ -class GeomAdaptor_GHCurve : public Adaptor3d_HCurve { - public: - /****************** GeomAdaptor_GHCurve ******************/ - /**** md5 signature: 66df95bfdb5af02bb57cff21584ceac1 ****/ - %feature("compactdefaultargs") GeomAdaptor_GHCurve; - %feature("autodoc", "Creates an empty genhcurve. - -Returns -------- -None -") GeomAdaptor_GHCurve; - GeomAdaptor_GHCurve(); - - /****************** GeomAdaptor_GHCurve ******************/ - /**** md5 signature: a7b31df0246ff5de418101f37544ca21 ****/ - %feature("compactdefaultargs") GeomAdaptor_GHCurve; - %feature("autodoc", "Creates a genhcurve from a curve. - -Parameters ----------- -C: GeomAdaptor_Curve - -Returns -------- -None -") GeomAdaptor_GHCurve; - GeomAdaptor_GHCurve(const GeomAdaptor_Curve & C); - - /****************** ChangeCurve ******************/ - /**** md5 signature: 56ba926d853c1f7e3f37e0d13025a6d9 ****/ - %feature("compactdefaultargs") ChangeCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -GeomAdaptor_Curve -") ChangeCurve; - GeomAdaptor_Curve & ChangeCurve(); - - /****************** Curve ******************/ - /**** md5 signature: a89f0959dbb9c3c030843720c3636148 ****/ - %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") Curve; - const Adaptor3d_Curve & Curve(); - - /****************** GetCurve ******************/ - /**** md5 signature: 73b397b3522011e6948956523664e20c ****/ - %feature("compactdefaultargs") GetCurve; - %feature("autodoc", "Returns the curve used to create the genhcurve. this is redefined from hcurve, cannot be inline. - -Returns -------- -Adaptor3d_Curve -") GetCurve; - Adaptor3d_Curve & GetCurve(); - - /****************** Set ******************/ - /**** md5 signature: 364f648c603a50c8ec85f59fb2e2db78 ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve. - -Parameters ----------- -C: GeomAdaptor_Curve - -Returns -------- -None -") Set; - void Set(const GeomAdaptor_Curve & C); - -}; - - -%make_alias(GeomAdaptor_GHCurve) - -%extend GeomAdaptor_GHCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/****************************** -* class GeomAdaptor_GHSurface * -******************************/ -class GeomAdaptor_GHSurface : public Adaptor3d_HSurface { - public: - /****************** GeomAdaptor_GHSurface ******************/ - /**** md5 signature: 1f20037030cf86b14b3f31a0835aa53d ****/ - %feature("compactdefaultargs") GeomAdaptor_GHSurface; - %feature("autodoc", "Creates an empty genhsurface. - -Returns -------- -None -") GeomAdaptor_GHSurface; - GeomAdaptor_GHSurface(); - - /****************** GeomAdaptor_GHSurface ******************/ - /**** md5 signature: aaa0ec5b0bd11c34dd24dc2d97071a39 ****/ - %feature("compactdefaultargs") GeomAdaptor_GHSurface; - %feature("autodoc", "Creates a genhsurface from a surface. - -Parameters ----------- -S: GeomAdaptor_Surface - -Returns -------- -None -") GeomAdaptor_GHSurface; - GeomAdaptor_GHSurface(const GeomAdaptor_Surface & S); - - /****************** ChangeSurface ******************/ - /**** md5 signature: ead718e69fe53e8fd677c1b9c64ff5a3 ****/ - %feature("compactdefaultargs") ChangeSurface; - %feature("autodoc", "Returns the surface used to create the genhsurface. - -Returns -------- -GeomAdaptor_Surface -") ChangeSurface; - GeomAdaptor_Surface & ChangeSurface(); - - /****************** Set ******************/ - /**** md5 signature: fa7596577a6a4647ffbc512e7051e359 ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhsurface. - -Parameters ----------- -S: GeomAdaptor_Surface - -Returns -------- -None -") Set; - void Set(const GeomAdaptor_Surface & S); - - /****************** Surface ******************/ - /**** md5 signature: 87b43b57a8dc79c19df787e8ef796cad ****/ - %feature("compactdefaultargs") Surface; - %feature("autodoc", "Returns a reference to the surface inside the hsurface. this is redefined from hsurface, cannot be inline. - -Returns -------- -Adaptor3d_Surface -") Surface; - const Adaptor3d_Surface & Surface(); - -}; - - -%make_alias(GeomAdaptor_GHSurface) - -%extend GeomAdaptor_GHSurface { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/********************************************** -* class GeomAdaptor_HSurfaceOfLinearExtrusion * -**********************************************/ -class GeomAdaptor_HSurfaceOfLinearExtrusion : public Adaptor3d_HSurface { - public: - /****************** GeomAdaptor_HSurfaceOfLinearExtrusion ******************/ - /**** md5 signature: 29c21f93981f5a9e384e8c2e7e8ccbfd ****/ - %feature("compactdefaultargs") GeomAdaptor_HSurfaceOfLinearExtrusion; - %feature("autodoc", "Creates an empty genhsurface. - -Returns -------- -None -") GeomAdaptor_HSurfaceOfLinearExtrusion; - GeomAdaptor_HSurfaceOfLinearExtrusion(); - - /****************** GeomAdaptor_HSurfaceOfLinearExtrusion ******************/ - /**** md5 signature: 3fc98513baf1a28f33c8f95e1425a7c7 ****/ - %feature("compactdefaultargs") GeomAdaptor_HSurfaceOfLinearExtrusion; - %feature("autodoc", "Creates a genhsurface from a surface. - -Parameters ----------- -S: GeomAdaptor_SurfaceOfLinearExtrusion - -Returns -------- -None -") GeomAdaptor_HSurfaceOfLinearExtrusion; - GeomAdaptor_HSurfaceOfLinearExtrusion(const GeomAdaptor_SurfaceOfLinearExtrusion & S); - - /****************** ChangeSurface ******************/ - /**** md5 signature: 88f6234b60f7b94be962df5f60d9c3bb ****/ - %feature("compactdefaultargs") ChangeSurface; - %feature("autodoc", "Returns the surface used to create the genhsurface. - -Returns -------- -GeomAdaptor_SurfaceOfLinearExtrusion -") ChangeSurface; - GeomAdaptor_SurfaceOfLinearExtrusion & ChangeSurface(); - - /****************** Set ******************/ - /**** md5 signature: a47de1aa7f251202af0223a81a688836 ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhsurface. - -Parameters ----------- -S: GeomAdaptor_SurfaceOfLinearExtrusion - -Returns -------- -None -") Set; - void Set(const GeomAdaptor_SurfaceOfLinearExtrusion & S); - - /****************** Surface ******************/ - /**** md5 signature: 87b43b57a8dc79c19df787e8ef796cad ****/ - %feature("compactdefaultargs") Surface; - %feature("autodoc", "Returns a reference to the surface inside the hsurface. this is redefined from hsurface, cannot be inline. - -Returns -------- -Adaptor3d_Surface -") Surface; - const Adaptor3d_Surface & Surface(); - -}; - - -%make_alias(GeomAdaptor_HSurfaceOfLinearExtrusion) - -%extend GeomAdaptor_HSurfaceOfLinearExtrusion { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/***************************************** -* class GeomAdaptor_HSurfaceOfRevolution * -*****************************************/ -class GeomAdaptor_HSurfaceOfRevolution : public Adaptor3d_HSurface { - public: - /****************** GeomAdaptor_HSurfaceOfRevolution ******************/ - /**** md5 signature: 2b25fa58fed2cfb834be68dbae4fd6a9 ****/ - %feature("compactdefaultargs") GeomAdaptor_HSurfaceOfRevolution; - %feature("autodoc", "Creates an empty genhsurface. - -Returns -------- -None -") GeomAdaptor_HSurfaceOfRevolution; - GeomAdaptor_HSurfaceOfRevolution(); - - /****************** GeomAdaptor_HSurfaceOfRevolution ******************/ - /**** md5 signature: cf0bba20d36d67f32e6dc52e0a69aa68 ****/ - %feature("compactdefaultargs") GeomAdaptor_HSurfaceOfRevolution; - %feature("autodoc", "Creates a genhsurface from a surface. - -Parameters ----------- -S: GeomAdaptor_SurfaceOfRevolution - -Returns -------- -None -") GeomAdaptor_HSurfaceOfRevolution; - GeomAdaptor_HSurfaceOfRevolution(const GeomAdaptor_SurfaceOfRevolution & S); - - /****************** ChangeSurface ******************/ - /**** md5 signature: e08ac869ef99885c0dc21e7ab1f36098 ****/ - %feature("compactdefaultargs") ChangeSurface; - %feature("autodoc", "Returns the surface used to create the genhsurface. +%make_alias(GeomAdaptor_Curve) -Returns -------- -GeomAdaptor_SurfaceOfRevolution -") ChangeSurface; - GeomAdaptor_SurfaceOfRevolution & ChangeSurface(); - - /****************** Set ******************/ - /**** md5 signature: 4b0b3067c9317fc23cf46f719a7594fd ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhsurface. - -Parameters ----------- -S: GeomAdaptor_SurfaceOfRevolution - -Returns -------- -None -") Set; - void Set(const GeomAdaptor_SurfaceOfRevolution & S); - - /****************** Surface ******************/ - /**** md5 signature: 87b43b57a8dc79c19df787e8ef796cad ****/ - %feature("compactdefaultargs") Surface; - %feature("autodoc", "Returns a reference to the surface inside the hsurface. this is redefined from hsurface, cannot be inline. - -Returns -------- -Adaptor3d_Surface -") Surface; - const Adaptor3d_Surface & Surface(); - -}; - - -%make_alias(GeomAdaptor_HSurfaceOfRevolution) - -%extend GeomAdaptor_HSurfaceOfRevolution { +%extend GeomAdaptor_Curve { %pythoncode { __repr__ = _dumps_object } @@ -955,7 +628,7 @@ Adaptor3d_Surface class GeomAdaptor_Surface : public Adaptor3d_Surface { public: /****************** GeomAdaptor_Surface ******************/ - /**** md5 signature: 21ab546b646fdc58756459205ecf38d7 ****/ + /**** md5 signature: e4d8f69fd067a07f447e80b193ed4e6d ****/ %feature("compactdefaultargs") GeomAdaptor_Surface; %feature("autodoc", "No available documentation. @@ -966,42 +639,42 @@ None GeomAdaptor_Surface(); /****************** GeomAdaptor_Surface ******************/ - /**** md5 signature: 60491b015be1a7a3c5e273da96f802bc ****/ + /**** md5 signature: 10dc0d4a45b263adcecf88a448666f99 ****/ %feature("compactdefaultargs") GeomAdaptor_Surface; %feature("autodoc", "No available documentation. Parameters ---------- -S: Geom_Surface +theSurf: Geom_Surface Returns ------- None ") GeomAdaptor_Surface; - GeomAdaptor_Surface(const opencascade::handle & S); + GeomAdaptor_Surface(const opencascade::handle & theSurf); /****************** GeomAdaptor_Surface ******************/ - /**** md5 signature: 4d2cb33c30cf8f5255802589a9e34500 ****/ + /**** md5 signature: bd6e4cc11ebb04ed69b2ff924099da48 ****/ %feature("compactdefaultargs") GeomAdaptor_Surface; - %feature("autodoc", "Constructionerror is raised if ufirst>ulast or vfirst>vlast. + %feature("autodoc", "Standard_constructionerror is raised if ufirst>ulast or vfirst>vlast. Parameters ---------- -S: Geom_Surface -UFirst: float -ULast: float -VFirst: float -VLast: float -TolU: float,optional +theSurf: Geom_Surface +theUFirst: float +theULast: float +theVFirst: float +theVLast: float +theTolU: float,optional default value is 0.0 -TolV: float,optional +theTolV: float,optional default value is 0.0 Returns ------- None ") GeomAdaptor_Surface; - GeomAdaptor_Surface(const opencascade::handle & S, const Standard_Real UFirst, const Standard_Real ULast, const Standard_Real VFirst, const Standard_Real VLast, const Standard_Real TolU = 0.0, const Standard_Real TolV = 0.0); + GeomAdaptor_Surface(const opencascade::handle & theSurf, const Standard_Real theUFirst, const Standard_Real theULast, const Standard_Real theVFirst, const Standard_Real theVLast, const Standard_Real theTolU = 0.0, const Standard_Real theTolV = 0.0); /****************** AxeOfRevolution ******************/ /**** md5 signature: ba4a8d5fbd6cead47ee1b295e5469d5d ****/ @@ -1026,26 +699,26 @@ opencascade::handle opencascade::handle BSpline(); /****************** BasisCurve ******************/ - /**** md5 signature: 649d212d15fc34b20cfbf05abf61b226 ****/ + /**** md5 signature: 3da13dd15bd6f8a74a4a076b13266260 ****/ %feature("compactdefaultargs") BasisCurve; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") BasisCurve; - opencascade::handle BasisCurve(); + opencascade::handle BasisCurve(); /****************** BasisSurface ******************/ - /**** md5 signature: 421ea038c6d9bcc3b023d9c1239bea84 ****/ + /**** md5 signature: de63a8a43356a45f5d395e828ec0014c ****/ %feature("compactdefaultargs") BasisSurface; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") BasisSurface; - opencascade::handle BasisSurface(); + opencascade::handle BasisSurface(); /****************** Bezier ******************/ /**** md5 signature: 98b7293dc91af28a1a57c0bfbd1e467a ****/ @@ -1194,7 +867,7 @@ gp_Dir gp_Dir Direction(); /****************** FirstUParameter ******************/ - /**** md5 signature: 62341804d7e1ffc3de87fae2bf43b512 ****/ + /**** md5 signature: 9f6a318ef39f30d9051cc243f6edc9ac ****/ %feature("compactdefaultargs") FirstUParameter; %feature("autodoc", "No available documentation. @@ -1202,10 +875,10 @@ Returns ------- float ") FirstUParameter; - Standard_Real FirstUParameter(); + virtual Standard_Real FirstUParameter(); /****************** FirstVParameter ******************/ - /**** md5 signature: 982af8f353fd309c87f6c3698af95089 ****/ + /**** md5 signature: 026c8b687e22be56263a275efcb1a191 ****/ %feature("compactdefaultargs") FirstVParameter; %feature("autodoc", "No available documentation. @@ -1213,10 +886,10 @@ Returns ------- float ") FirstVParameter; - Standard_Real FirstVParameter(); + virtual Standard_Real FirstVParameter(); /****************** GetType ******************/ - /**** md5 signature: 96aa962fbb94c2c631f870283212b1d3 ****/ + /**** md5 signature: 936170b269276a5a12605a71a86272c0 ****/ %feature("compactdefaultargs") GetType; %feature("autodoc", "Returns the type of the surface : plane, cylinder, cone, sphere, torus, beziersurface, bsplinesurface, surfaceofrevolution, surfaceofextrusion, othersurface. @@ -1224,7 +897,7 @@ Returns ------- GeomAbs_SurfaceType ") GetType; - GeomAbs_SurfaceType GetType(); + virtual GeomAbs_SurfaceType GetType(); /****************** IsUClosed ******************/ /**** md5 signature: d1e8bae29b90dc447f4693c94ad31c37 ****/ @@ -1293,7 +966,7 @@ bool Standard_Boolean IsVRational(); /****************** LastUParameter ******************/ - /**** md5 signature: 1d079dee0cfc1756347bcb2471c5c822 ****/ + /**** md5 signature: 3133997e2ee3ea09c0b46a884e833ca4 ****/ %feature("compactdefaultargs") LastUParameter; %feature("autodoc", "No available documentation. @@ -1301,10 +974,10 @@ Returns ------- float ") LastUParameter; - Standard_Real LastUParameter(); + virtual Standard_Real LastUParameter(); /****************** LastVParameter ******************/ - /**** md5 signature: 2b4acdfbc345aaeedbb1d34eef2873f2 ****/ + /**** md5 signature: f1f64233932dd0768276d78ffb537717 ****/ %feature("compactdefaultargs") LastVParameter; %feature("autodoc", "No available documentation. @@ -1312,45 +985,45 @@ Returns ------- float ") LastVParameter; - Standard_Real LastVParameter(); + virtual Standard_Real LastVParameter(); /****************** Load ******************/ - /**** md5 signature: d0b9098abc9bc3f25b7f5df94bc1cfa0 ****/ + /**** md5 signature: 9ae80bb85601d8887024ee162e816c42 ****/ %feature("compactdefaultargs") Load; %feature("autodoc", "No available documentation. Parameters ---------- -S: Geom_Surface +theSurf: Geom_Surface Returns ------- None ") Load; - void Load(const opencascade::handle & S); + void Load(const opencascade::handle & theSurf); /****************** Load ******************/ - /**** md5 signature: 44185344f9f3393fe225f4f93b554724 ****/ + /**** md5 signature: ad45ae5b785f93959bfca62c6c7fcaca ****/ %feature("compactdefaultargs") Load; - %feature("autodoc", "Constructionerror is raised if ufirst>ulast or vfirst>vlast. + %feature("autodoc", "Standard_constructionerror is raised if theufirst>theulast or thevfirst>thevlast. Parameters ---------- -S: Geom_Surface -UFirst: float -ULast: float -VFirst: float -VLast: float -TolU: float,optional +theSurf: Geom_Surface +theUFirst: float +theULast: float +theVFirst: float +theVLast: float +theTolU: float,optional default value is 0.0 -TolV: float,optional +theTolV: float,optional default value is 0.0 Returns ------- None ") Load; - void Load(const opencascade::handle & S, const Standard_Real UFirst, const Standard_Real ULast, const Standard_Real VFirst, const Standard_Real VLast, const Standard_Real TolU = 0.0, const Standard_Real TolV = 0.0); + void Load(const opencascade::handle & theSurf, const Standard_Real theUFirst, const Standard_Real theULast, const Standard_Real theVFirst, const Standard_Real theVLast, const Standard_Real theTolU = 0.0, const Standard_Real theTolV = 0.0); /****************** NbUIntervals ******************/ /**** md5 signature: 36290e0c805f559fce0d4de0d4d51789 ****/ @@ -1460,7 +1133,7 @@ gp_Sphere gp_Sphere Sphere(); /****************** Surface ******************/ - /**** md5 signature: a469e18cbceeb351572a461f96ff0f4d ****/ + /**** md5 signature: 3aa31a6d63da8a25f018cf96599c0928 ****/ %feature("compactdefaultargs") Surface; %feature("autodoc", "No available documentation. @@ -1546,7 +1219,7 @@ float Standard_Real UResolution(const Standard_Real R3d); /****************** UTrim ******************/ - /**** md5 signature: 2f1effe4b247d770d76c6bb7e909f894 ****/ + /**** md5 signature: 3604326125cf753b2a6722a946fb54be ****/ %feature("compactdefaultargs") UTrim; %feature("autodoc", "Returns a surface trimmed in the u direction equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -1558,9 +1231,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") UTrim; - opencascade::handle UTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle UTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** VContinuity ******************/ /**** md5 signature: 147ea173efc6a600ed241c35c98936ea ****/ @@ -1627,7 +1300,7 @@ float Standard_Real VResolution(const Standard_Real R3d); /****************** VTrim ******************/ - /**** md5 signature: acb52a48cbc4aa80908911477b02f7f4 ****/ + /**** md5 signature: d094345261a4439c6edc98b200ea4e3d ****/ %feature("compactdefaultargs") VTrim; %feature("autodoc", "Returns a surface trimmed in the v direction between parameters and . is used to test for 3d points confusion. if >= . @@ -1639,9 +1312,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") VTrim; - opencascade::handle VTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle VTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: bc01a119296408176c75cc0dfb0636ae ****/ @@ -1662,161 +1335,9 @@ gp_Pnt }; -%extend GeomAdaptor_Surface { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/*************************** -* class GeomAdaptor_HCurve * -***************************/ -class GeomAdaptor_HCurve : public GeomAdaptor_GHCurve { - public: - /****************** GeomAdaptor_HCurve ******************/ - /**** md5 signature: dcb8b3078ce766051e9b0d1fd01109c9 ****/ - %feature("compactdefaultargs") GeomAdaptor_HCurve; - %feature("autodoc", "No available documentation. - -Returns -------- -None -") GeomAdaptor_HCurve; - GeomAdaptor_HCurve(); - - /****************** GeomAdaptor_HCurve ******************/ - /**** md5 signature: 2cc1b5bdee121aaef79597be486db881 ****/ - %feature("compactdefaultargs") GeomAdaptor_HCurve; - %feature("autodoc", "No available documentation. - -Parameters ----------- -AS: GeomAdaptor_Curve - -Returns -------- -None -") GeomAdaptor_HCurve; - GeomAdaptor_HCurve(const GeomAdaptor_Curve & AS); - - /****************** GeomAdaptor_HCurve ******************/ - /**** md5 signature: 16638445fd6ef9090e72a296a1b36f15 ****/ - %feature("compactdefaultargs") GeomAdaptor_HCurve; - %feature("autodoc", "No available documentation. - -Parameters ----------- -S: Geom_Curve - -Returns -------- -None -") GeomAdaptor_HCurve; - GeomAdaptor_HCurve(const opencascade::handle & S); - - /****************** GeomAdaptor_HCurve ******************/ - /**** md5 signature: c424d26828bf38d6da26c4e5dc5e5cc5 ****/ - %feature("compactdefaultargs") GeomAdaptor_HCurve; - %feature("autodoc", "Constructionerror is raised if ufirst>ulast or vfirst>vlast. - -Parameters ----------- -S: Geom_Curve -UFirst: float -ULast: float - -Returns -------- -None -") GeomAdaptor_HCurve; - GeomAdaptor_HCurve(const opencascade::handle & S, const Standard_Real UFirst, const Standard_Real ULast); - -}; - - -%make_alias(GeomAdaptor_HCurve) - -%extend GeomAdaptor_HCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/***************************** -* class GeomAdaptor_HSurface * -*****************************/ -class GeomAdaptor_HSurface : public GeomAdaptor_GHSurface { - public: - /****************** GeomAdaptor_HSurface ******************/ - /**** md5 signature: d0a5881b3295693d6a0cec0575104ca5 ****/ - %feature("compactdefaultargs") GeomAdaptor_HSurface; - %feature("autodoc", "No available documentation. - -Returns -------- -None -") GeomAdaptor_HSurface; - GeomAdaptor_HSurface(); - - /****************** GeomAdaptor_HSurface ******************/ - /**** md5 signature: a8d76e380bea089f3cedb726bec0876e ****/ - %feature("compactdefaultargs") GeomAdaptor_HSurface; - %feature("autodoc", "No available documentation. - -Parameters ----------- -AS: GeomAdaptor_Surface - -Returns -------- -None -") GeomAdaptor_HSurface; - GeomAdaptor_HSurface(const GeomAdaptor_Surface & AS); - - /****************** GeomAdaptor_HSurface ******************/ - /**** md5 signature: 8b911ff5dd9b2d885482b29fbc85d279 ****/ - %feature("compactdefaultargs") GeomAdaptor_HSurface; - %feature("autodoc", "No available documentation. - -Parameters ----------- -S: Geom_Surface - -Returns -------- -None -") GeomAdaptor_HSurface; - GeomAdaptor_HSurface(const opencascade::handle & S); - - /****************** GeomAdaptor_HSurface ******************/ - /**** md5 signature: 96e2719c9293ae2c2e0f4c80cca57fd1 ****/ - %feature("compactdefaultargs") GeomAdaptor_HSurface; - %feature("autodoc", "Constructionerror is raised if ufirst>ulast or vfirst>vlast. - -Parameters ----------- -S: Geom_Surface -UFirst: float -ULast: float -VFirst: float -VLast: float -TolU: float,optional - default value is 0.0 -TolV: float,optional - default value is 0.0 - -Returns -------- -None -") GeomAdaptor_HSurface; - GeomAdaptor_HSurface(const opencascade::handle & S, const Standard_Real UFirst, const Standard_Real ULast, const Standard_Real VFirst, const Standard_Real VLast, const Standard_Real TolU = 0.0, const Standard_Real TolV = 0.0); - -}; - - -%make_alias(GeomAdaptor_HSurface) +%make_alias(GeomAdaptor_Surface) -%extend GeomAdaptor_HSurface { +%extend GeomAdaptor_Surface { %pythoncode { __repr__ = _dumps_object } @@ -1839,35 +1360,35 @@ None GeomAdaptor_SurfaceOfLinearExtrusion(); /****************** GeomAdaptor_SurfaceOfLinearExtrusion ******************/ - /**** md5 signature: 4c65062dd46aedac697341c979041789 ****/ + /**** md5 signature: 6fc0bf3ff5b9ed8b1c76db7c0d314a74 ****/ %feature("compactdefaultargs") GeomAdaptor_SurfaceOfLinearExtrusion; %feature("autodoc", "The curve is loaded. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") GeomAdaptor_SurfaceOfLinearExtrusion; - GeomAdaptor_SurfaceOfLinearExtrusion(const opencascade::handle & C); + GeomAdaptor_SurfaceOfLinearExtrusion(const opencascade::handle & C); /****************** GeomAdaptor_SurfaceOfLinearExtrusion ******************/ - /**** md5 signature: 1aeea78225d0ffee9431607880f2bd98 ****/ + /**** md5 signature: 1314165a9ad1384da79bfc20a35c4df2 ****/ %feature("compactdefaultargs") GeomAdaptor_SurfaceOfLinearExtrusion; %feature("autodoc", "Thew curve and the direction are loaded. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve V: gp_Dir Returns ------- None ") GeomAdaptor_SurfaceOfLinearExtrusion; - GeomAdaptor_SurfaceOfLinearExtrusion(const opencascade::handle & C, const gp_Dir & V); + GeomAdaptor_SurfaceOfLinearExtrusion(const opencascade::handle & C, const gp_Dir & V); /****************** AxeOfRevolution ******************/ /**** md5 signature: ba4a8d5fbd6cead47ee1b295e5469d5d ****/ @@ -1892,15 +1413,15 @@ opencascade::handle opencascade::handle BSpline(); /****************** BasisCurve ******************/ - /**** md5 signature: 649d212d15fc34b20cfbf05abf61b226 ****/ + /**** md5 signature: 3da13dd15bd6f8a74a4a076b13266260 ****/ %feature("compactdefaultargs") BasisCurve; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") BasisCurve; - opencascade::handle BasisCurve(); + opencascade::handle BasisCurve(); /****************** Bezier ******************/ /**** md5 signature: 98b7293dc91af28a1a57c0bfbd1e467a ****/ @@ -2068,19 +1589,19 @@ float Standard_Real LastVParameter(); /****************** Load ******************/ - /**** md5 signature: 7ec2d3d2173b0cd6b7f2097ff67dfa81 ****/ + /**** md5 signature: 01185c022b32d6c381a2144e2963295b ****/ %feature("compactdefaultargs") Load; %feature("autodoc", "Changes the curve. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") Load; - void Load(const opencascade::handle & C); + void Load(const opencascade::handle & C); /****************** Load ******************/ /**** md5 signature: 62bf4c300fca896dad63b0ed0af0b96a ****/ @@ -2236,7 +1757,7 @@ float Standard_Real UResolution(const Standard_Real R3d); /****************** UTrim ******************/ - /**** md5 signature: 2f1effe4b247d770d76c6bb7e909f894 ****/ + /**** md5 signature: 3604326125cf753b2a6722a946fb54be ****/ %feature("compactdefaultargs") UTrim; %feature("autodoc", "Returns a surface trimmed in the u direction equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -2248,9 +1769,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") UTrim; - opencascade::handle UTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle UTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** VContinuity ******************/ /**** md5 signature: 147ea173efc6a600ed241c35c98936ea ****/ @@ -2306,7 +1827,7 @@ float Standard_Real VResolution(const Standard_Real R3d); /****************** VTrim ******************/ - /**** md5 signature: acb52a48cbc4aa80908911477b02f7f4 ****/ + /**** md5 signature: d094345261a4439c6edc98b200ea4e3d ****/ %feature("compactdefaultargs") VTrim; %feature("autodoc", "Returns a surface trimmed in the v direction between parameters and . is used to test for 3d points confusion. if >= . @@ -2318,13 +1839,15 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") VTrim; - opencascade::handle VTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle VTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); }; +%make_alias(GeomAdaptor_SurfaceOfLinearExtrusion) + %extend GeomAdaptor_SurfaceOfLinearExtrusion { %pythoncode { __repr__ = _dumps_object @@ -2348,35 +1871,35 @@ None GeomAdaptor_SurfaceOfRevolution(); /****************** GeomAdaptor_SurfaceOfRevolution ******************/ - /**** md5 signature: bf5d6561180f2d31f1a5a85f0a6318bf ****/ + /**** md5 signature: 33135053ae058233a68d69faed20e511 ****/ %feature("compactdefaultargs") GeomAdaptor_SurfaceOfRevolution; %feature("autodoc", "The curve is loaded. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") GeomAdaptor_SurfaceOfRevolution; - GeomAdaptor_SurfaceOfRevolution(const opencascade::handle & C); + GeomAdaptor_SurfaceOfRevolution(const opencascade::handle & C); /****************** GeomAdaptor_SurfaceOfRevolution ******************/ - /**** md5 signature: 47a0cec0a7bf1264c273ea0232ea616e ****/ + /**** md5 signature: 5fe135ade63c133d688341669e4f605a ****/ %feature("compactdefaultargs") GeomAdaptor_SurfaceOfRevolution; %feature("autodoc", "The curve and the direction are loaded. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve V: gp_Ax1 Returns ------- None ") GeomAdaptor_SurfaceOfRevolution; - GeomAdaptor_SurfaceOfRevolution(const opencascade::handle & C, const gp_Ax1 & V); + GeomAdaptor_SurfaceOfRevolution(const opencascade::handle & C, const gp_Ax1 & V); /****************** AxeOfRevolution ******************/ /**** md5 signature: ba4a8d5fbd6cead47ee1b295e5469d5d ****/ @@ -2412,15 +1935,15 @@ opencascade::handle opencascade::handle BSpline(); /****************** BasisCurve ******************/ - /**** md5 signature: 649d212d15fc34b20cfbf05abf61b226 ****/ + /**** md5 signature: 3da13dd15bd6f8a74a4a076b13266260 ****/ %feature("compactdefaultargs") BasisCurve; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") BasisCurve; - opencascade::handle BasisCurve(); + opencascade::handle BasisCurve(); /****************** Bezier ******************/ /**** md5 signature: 98b7293dc91af28a1a57c0bfbd1e467a ****/ @@ -2577,19 +2100,19 @@ float Standard_Real LastVParameter(); /****************** Load ******************/ - /**** md5 signature: 7ec2d3d2173b0cd6b7f2097ff67dfa81 ****/ + /**** md5 signature: 01185c022b32d6c381a2144e2963295b ****/ %feature("compactdefaultargs") Load; %feature("autodoc", "Changes the curve. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") Load; - void Load(const opencascade::handle & C); + void Load(const opencascade::handle & C); /****************** Load ******************/ /**** md5 signature: 4064dc62b92d8ef68aed2949a77022a0 ****/ @@ -2745,7 +2268,7 @@ float Standard_Real UResolution(const Standard_Real R3d); /****************** UTrim ******************/ - /**** md5 signature: 2f1effe4b247d770d76c6bb7e909f894 ****/ + /**** md5 signature: 3604326125cf753b2a6722a946fb54be ****/ %feature("compactdefaultargs") UTrim; %feature("autodoc", "Returns a surface trimmed in the u direction equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -2757,9 +2280,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") UTrim; - opencascade::handle UTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle UTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** VContinuity ******************/ /**** md5 signature: 147ea173efc6a600ed241c35c98936ea ****/ @@ -2826,7 +2349,7 @@ float Standard_Real VResolution(const Standard_Real R3d); /****************** VTrim ******************/ - /**** md5 signature: acb52a48cbc4aa80908911477b02f7f4 ****/ + /**** md5 signature: d094345261a4439c6edc98b200ea4e3d ****/ %feature("compactdefaultargs") VTrim; %feature("autodoc", "Returns a surface trimmed in the v direction between parameters and . is used to test for 3d points confusion. if >= . @@ -2838,13 +2361,15 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") VTrim; - opencascade::handle VTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle VTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); }; +%make_alias(GeomAdaptor_SurfaceOfRevolution) + %extend GeomAdaptor_SurfaceOfRevolution { %pythoncode { __repr__ = _dumps_object diff --git a/src/SWIG_files/wrapper/GeomAdaptor.pyi b/src/SWIG_files/wrapper/GeomAdaptor.pyi index cc2f1f333..ff93b0fda 100644 --- a/src/SWIG_files/wrapper/GeomAdaptor.pyi +++ b/src/SWIG_files/wrapper/GeomAdaptor.pyi @@ -20,9 +20,9 @@ class GeomAdaptor_Curve(Adaptor3d_Curve): @overload def __init__(self) -> None: ... @overload - def __init__(self, C: Geom_Curve) -> None: ... + def __init__(self, theCurve: Geom_Curve) -> None: ... @overload - def __init__(self, C: Geom_Curve, UFirst: float, ULast: float) -> None: ... + def __init__(self, theCurve: Geom_Curve, theUFirst: float, theULast: float) -> None: ... def BSpline(self) -> Geom_BSplineCurve: ... def Bezier(self) -> Geom_BezierCurve: ... def Circle(self) -> gp_Circ: ... @@ -45,9 +45,9 @@ class GeomAdaptor_Curve(Adaptor3d_Curve): def LastParameter(self) -> float: ... def Line(self) -> gp_Lin: ... @overload - def Load(self, C: Geom_Curve) -> None: ... + def Load(self, theCurve: Geom_Curve) -> None: ... @overload - def Load(self, C: Geom_Curve, UFirst: float, ULast: float) -> None: ... + def Load(self, theCurve: Geom_Curve, theUFirst: float, theULast: float) -> None: ... def NbIntervals(self, S: GeomAbs_Shape) -> int: ... def NbKnots(self) -> int: ... def NbPoles(self) -> int: ... @@ -56,57 +56,20 @@ class GeomAdaptor_Curve(Adaptor3d_Curve): def Period(self) -> float: ... def Reset(self) -> None: ... def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HCurve: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Curve: ... def Value(self, U: float) -> gp_Pnt: ... -class GeomAdaptor_GHCurve(Adaptor3d_HCurve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: GeomAdaptor_Curve) -> None: ... - def ChangeCurve(self) -> GeomAdaptor_Curve: ... - def Curve(self) -> Adaptor3d_Curve: ... - def GetCurve(self) -> Adaptor3d_Curve: ... - def Set(self, C: GeomAdaptor_Curve) -> None: ... - -class GeomAdaptor_GHSurface(Adaptor3d_HSurface): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: GeomAdaptor_Surface) -> None: ... - def ChangeSurface(self) -> GeomAdaptor_Surface: ... - def Set(self, S: GeomAdaptor_Surface) -> None: ... - def Surface(self) -> Adaptor3d_Surface: ... - -class GeomAdaptor_HSurfaceOfLinearExtrusion(Adaptor3d_HSurface): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: GeomAdaptor_SurfaceOfLinearExtrusion) -> None: ... - def ChangeSurface(self) -> GeomAdaptor_SurfaceOfLinearExtrusion: ... - def Set(self, S: GeomAdaptor_SurfaceOfLinearExtrusion) -> None: ... - def Surface(self) -> Adaptor3d_Surface: ... - -class GeomAdaptor_HSurfaceOfRevolution(Adaptor3d_HSurface): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, S: GeomAdaptor_SurfaceOfRevolution) -> None: ... - def ChangeSurface(self) -> GeomAdaptor_SurfaceOfRevolution: ... - def Set(self, S: GeomAdaptor_SurfaceOfRevolution) -> None: ... - def Surface(self) -> Adaptor3d_Surface: ... - class GeomAdaptor_Surface(Adaptor3d_Surface): @overload def __init__(self) -> None: ... @overload - def __init__(self, S: Geom_Surface) -> None: ... + def __init__(self, theSurf: Geom_Surface) -> None: ... @overload - def __init__(self, S: Geom_Surface, UFirst: float, ULast: float, VFirst: float, VLast: float, TolU: Optional[float] = 0.0, TolV: Optional[float] = 0.0) -> None: ... + def __init__(self, theSurf: Geom_Surface, theUFirst: float, theULast: float, theVFirst: float, theVLast: float, theTolU: Optional[float] = 0.0, theTolV: Optional[float] = 0.0) -> None: ... def AxeOfRevolution(self) -> gp_Ax1: ... def BSpline(self) -> Geom_BSplineSurface: ... - def BasisCurve(self) -> Adaptor3d_HCurve: ... - def BasisSurface(self) -> Adaptor3d_HSurface: ... + def BasisCurve(self) -> Adaptor3d_Curve: ... + def BasisSurface(self) -> Adaptor3d_Surface: ... def Bezier(self) -> Geom_BezierSurface: ... def Cone(self) -> gp_Cone: ... def Cylinder(self) -> gp_Cylinder: ... @@ -128,9 +91,9 @@ class GeomAdaptor_Surface(Adaptor3d_Surface): def LastUParameter(self) -> float: ... def LastVParameter(self) -> float: ... @overload - def Load(self, S: Geom_Surface) -> None: ... + def Load(self, theSurf: Geom_Surface) -> None: ... @overload - def Load(self, S: Geom_Surface, UFirst: float, ULast: float, VFirst: float, VLast: float, TolU: Optional[float] = 0.0, TolV: Optional[float] = 0.0) -> None: ... + def Load(self, theSurf: Geom_Surface, theUFirst: float, theULast: float, theVFirst: float, theVLast: float, theTolU: Optional[float] = 0.0, theTolV: Optional[float] = 0.0) -> None: ... def NbUIntervals(self, S: GeomAbs_Shape) -> int: ... def NbUKnots(self) -> int: ... def NbUPoles(self) -> int: ... @@ -147,45 +110,25 @@ class GeomAdaptor_Surface(Adaptor3d_Surface): def UIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... def UPeriod(self) -> float: ... def UResolution(self, R3d: float) -> float: ... - def UTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... + def UTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Surface: ... def VContinuity(self) -> GeomAbs_Shape: ... def VDegree(self) -> int: ... def VIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... def VPeriod(self) -> float: ... def VResolution(self, R3d: float) -> float: ... - def VTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... + def VTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Surface: ... def Value(self, U: float, V: float) -> gp_Pnt: ... -class GeomAdaptor_HCurve(GeomAdaptor_GHCurve): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, AS: GeomAdaptor_Curve) -> None: ... - @overload - def __init__(self, S: Geom_Curve) -> None: ... - @overload - def __init__(self, S: Geom_Curve, UFirst: float, ULast: float) -> None: ... - -class GeomAdaptor_HSurface(GeomAdaptor_GHSurface): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, AS: GeomAdaptor_Surface) -> None: ... - @overload - def __init__(self, S: Geom_Surface) -> None: ... - @overload - def __init__(self, S: Geom_Surface, UFirst: float, ULast: float, VFirst: float, VLast: float, TolU: Optional[float] = 0.0, TolV: Optional[float] = 0.0) -> None: ... - class GeomAdaptor_SurfaceOfLinearExtrusion(GeomAdaptor_Surface): @overload def __init__(self) -> None: ... @overload - def __init__(self, C: Adaptor3d_HCurve) -> None: ... + def __init__(self, C: Adaptor3d_Curve) -> None: ... @overload - def __init__(self, C: Adaptor3d_HCurve, V: gp_Dir) -> None: ... + def __init__(self, C: Adaptor3d_Curve, V: gp_Dir) -> None: ... def AxeOfRevolution(self) -> gp_Ax1: ... def BSpline(self) -> Geom_BSplineSurface: ... - def BasisCurve(self) -> Adaptor3d_HCurve: ... + def BasisCurve(self) -> Adaptor3d_Curve: ... def Bezier(self) -> Geom_BezierSurface: ... def Cone(self) -> gp_Cone: ... def Cylinder(self) -> gp_Cylinder: ... @@ -202,7 +145,7 @@ class GeomAdaptor_SurfaceOfLinearExtrusion(GeomAdaptor_Surface): def LastUParameter(self) -> float: ... def LastVParameter(self) -> float: ... @overload - def Load(self, C: Adaptor3d_HCurve) -> None: ... + def Load(self, C: Adaptor3d_Curve) -> None: ... @overload def Load(self, V: gp_Dir) -> None: ... def NbUIntervals(self, S: GeomAbs_Shape) -> int: ... @@ -216,24 +159,24 @@ class GeomAdaptor_SurfaceOfLinearExtrusion(GeomAdaptor_Surface): def UIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... def UPeriod(self) -> float: ... def UResolution(self, R3d: float) -> float: ... - def UTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... + def UTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Surface: ... def VContinuity(self) -> GeomAbs_Shape: ... def VIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... def VPeriod(self) -> float: ... def VResolution(self, R3d: float) -> float: ... - def VTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... + def VTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Surface: ... class GeomAdaptor_SurfaceOfRevolution(GeomAdaptor_Surface): @overload def __init__(self) -> None: ... @overload - def __init__(self, C: Adaptor3d_HCurve) -> None: ... + def __init__(self, C: Adaptor3d_Curve) -> None: ... @overload - def __init__(self, C: Adaptor3d_HCurve, V: gp_Ax1) -> None: ... + def __init__(self, C: Adaptor3d_Curve, V: gp_Ax1) -> None: ... def AxeOfRevolution(self) -> gp_Ax1: ... def Axis(self) -> gp_Ax3: ... def BSpline(self) -> Geom_BSplineSurface: ... - def BasisCurve(self) -> Adaptor3d_HCurve: ... + def BasisCurve(self) -> Adaptor3d_Curve: ... def Bezier(self) -> Geom_BezierSurface: ... def Cone(self) -> gp_Cone: ... def Cylinder(self) -> gp_Cylinder: ... @@ -249,7 +192,7 @@ class GeomAdaptor_SurfaceOfRevolution(GeomAdaptor_Surface): def LastUParameter(self) -> float: ... def LastVParameter(self) -> float: ... @overload - def Load(self, C: Adaptor3d_HCurve) -> None: ... + def Load(self, C: Adaptor3d_Curve) -> None: ... @overload def Load(self, V: gp_Ax1) -> None: ... def NbUIntervals(self, S: GeomAbs_Shape) -> int: ... @@ -263,13 +206,13 @@ class GeomAdaptor_SurfaceOfRevolution(GeomAdaptor_Surface): def UIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... def UPeriod(self) -> float: ... def UResolution(self, R3d: float) -> float: ... - def UTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... + def UTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Surface: ... def VContinuity(self) -> GeomAbs_Shape: ... def VDegree(self) -> int: ... def VIntervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... def VPeriod(self) -> float: ... def VResolution(self, R3d: float) -> float: ... - def VTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... + def VTrim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Surface: ... # harray1 classes # harray2 classes diff --git a/src/SWIG_files/wrapper/GeomConvert.i b/src/SWIG_files/wrapper/GeomConvert.i index 2208a2944..5d1f2b9d2 100644 --- a/src/SWIG_files/wrapper/GeomConvert.i +++ b/src/SWIG_files/wrapper/GeomConvert.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOMCONVERTDOCSTRING "GeomConvert module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomconvert.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geomconvert.html" %enddef %module (package="OCC.Core", docstring=GEOMCONVERTDOCSTRING) GeomConvert @@ -50,6 +50,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomconvert.html" #include #include #include +#include #include #include #include @@ -67,6 +68,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomconvert.html" %import GeomAbs.i %import Adaptor3d.i %import TColgp.i +%import Geom2d.i %pythoncode { from enum import IntEnum @@ -76,7 +78,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -116,7 +118,7 @@ None /****************** C0BSplineToArrayOfC1BSplineCurve ******************/ /**** md5 signature: 642848ca313fd2ca0214d071305bb2e0 ****/ %feature("compactdefaultargs") C0BSplineToArrayOfC1BSplineCurve; - %feature("autodoc", "This method reduces as far as it is possible the multiplicities of the knots of the bspline bs.(keeping the geometry). it returns an array of bspline c1. tolerance is a geometrical tolerance : it allows for the maximum deformation the angular tolerance is in radians and mesures the angle of the tangents on the left and on the right to decide if the curve is c1 or not at a given point. + %feature("autodoc", "This method reduces as far as it is possible the multiplicities of the knots of the bspline bs.(keeping the geometry). it returns an array of bspline c1. tolerance is a geometrical tolerance : it allows for the maximum deformation the angular tolerance is in radians and measures the angle of the tangents on the left and on the right to decide if the curve is c1 or not at a given point. Parameters ---------- @@ -134,7 +136,7 @@ None /****************** C0BSplineToC1BSplineCurve ******************/ /**** md5 signature: ef882946a5c095f1fb37b97f8bd44ee6 ****/ %feature("compactdefaultargs") C0BSplineToC1BSplineCurve; - %feature("autodoc", "This method reduces as far as it is possible the multiplicities of the knots of the bspline bs.(keeping the geometry). it returns a new bspline which could still be c0. tolerance is a geometrical tolerance. the angular toleranceis in radians and mesures the angle of the tangents on the left and on the right to decide if the curve is g1 or not at a given point. + %feature("autodoc", "This method reduces as far as it is possible the multiplicities of the knots of the bspline bs.(keeping the geometry). it returns a new bspline which could still be c0. tolerance is a geometrical tolerance. the angular toleranceis in radians and measures the angle of the tangents on the left and on the right to decide if the curve is g1 or not at a given point. Parameters ---------- @@ -209,7 +211,7 @@ ClosedFlag: bool /****************** CurveToBSplineCurve ******************/ /**** md5 signature: 3e5139193c14a02aa43c1594a7f95e33 ****/ %feature("compactdefaultargs") CurveToBSplineCurve; - %feature("autodoc", "This function converts a non infinite curve from geom into a b-spline curve. c must be an ellipse or a circle or a trimmed conic or a trimmed line or a bezier curve or a trimmed bezier curve or a bspline curve or a trimmed bspline curve or an offsetcurve. the returned b-spline is not periodic except if c is a circle or an ellipse. if the parameterisation is quasiangular than the returned curve is not periodic in case a periodic geom_circle or geom_ellipse. for tgtthetaover2_1 and tgtthetaover2_2 the method raises an exception in case of a periodic geom_circle or a geom_ellipse parameterisationtype applies only if the curve is a circle or an ellipse : tgtthetaover2, -- tgtthetaover2_1, -- tgtthetaover2_2, -- tgtthetaover2_3, -- tgtthetaover2_4, //! purpose: this is the classical rational parameterisation 2 1 - t cos(theta) = ------ 2 1 + t //! 2t sin(theta) = ------ 2 1 + t //! t = tan (theta/2) //! with tgtthetaover2 the routine will compute the number of spans using the rule num_spans = [ (ulast - ufirst) / 1.2 ] + 1 with tgtthetaover2_n, n spans will be forced: an error will be raized if (ulast - ufirst) >= pi and n = 1, ulast - ufirst >= 2 pi and n = 2 //! quasiangular, here t is a rational function that approximates theta ----> tan(theta/2). neverthless the composing with above function yields exact functions whose square sum up to 1 rationalc1 ; t is replaced by a polynomial function of u so as to grant c1 contiuity across knots. exceptions standard_domainerror: - if the curve c is infinite, or - if c is a (complete) circle or ellipse, and parameterisation is equal to convert_tgtthetaover2_1 or convert_tgtthetaover2_2. standard_constructionerror: - if c is a (complete) circle or ellipse, and if parameterisation is not equal to convert_tgtthetaover2, convert_rationalc1, convert_quasiangular (the curve is converted in these three cases) or to convert_tgtthetaover2_1 or convert_tgtthetaover2_2 (another exception is raised in these two cases). - if c is a trimmed circle or ellipse, if parameterisation is equal to convert_tgtthetaover2_1 and if u2 - u1 > 0.9999 * pi, where u1 and u2 are respectively the first and the last parameters of the trimmed curve (this method of parameterization cannot be used to convert a half-circle or a half-ellipse, for example), or - if c is a trimmed circle or ellipse, if parameterisation is equal to convert_tgtthetaover2_2 and u2 - u1 > 1.9999 * pi where u1 and u2 are respectively the first and the last parameters of the trimmed curve (this method of parameterization cannot be used to convert a quasi-complete circle or ellipse). + %feature("autodoc", "This function converts a non infinite curve from geom into a b-spline curve. c must be an ellipse or a circle or a trimmed conic or a trimmed line or a bezier curve or a trimmed bezier curve or a bspline curve or a trimmed bspline curve or an offsetcurve. the returned b-spline is not periodic except if c is a circle or an ellipse. if the parameterisation is quasiangular than the returned curve is not periodic in case a periodic geom_circle or geom_ellipse. for tgtthetaover2_1 and tgtthetaover2_2 the method raises an exception in case of a periodic geom_circle or a geom_ellipse parameterisationtype applies only if the curve is a circle or an ellipse : tgtthetaover2, -- tgtthetaover2_1, -- tgtthetaover2_2, -- tgtthetaover2_3, -- tgtthetaover2_4, //! purpose: this is the classical rational parameterisation 2 1 - t cos(theta) = ------ 2 1 + t //! 2t sin(theta) = ------ 2 1 + t //! t = tan (theta/2) //! with tgtthetaover2 the routine will compute the number of spans using the rule num_spans = [ (ulast - ufirst) / 1.2 ] + 1 with tgtthetaover2_n, n spans will be forced: an error will be raized if (ulast - ufirst) >= pi and n = 1, ulast - ufirst >= 2 pi and n = 2 //! quasiangular, here t is a rational function that approximates theta ----> tan(theta/2). nevetheless the composing with above function yields exact functions whose square sum up to 1 rationalc1 ; t is replaced by a polynomial function of u so as to grant c1 contiuity across knots. exceptions standard_domainerror: - if the curve c is infinite, or - if c is a (complete) circle or ellipse, and parameterisation is equal to convert_tgtthetaover2_1 or convert_tgtthetaover2_2. standard_constructionerror: - if c is a (complete) circle or ellipse, and if parameterisation is not equal to convert_tgtthetaover2, convert_rationalc1, convert_quasiangular (the curve is converted in these three cases) or to convert_tgtthetaover2_1 or convert_tgtthetaover2_2 (another exception is raised in these two cases). - if c is a trimmed circle or ellipse, if parameterisation is equal to convert_tgtthetaover2_1 and if u2 - u1 > 0.9999 * pi, where u1 and u2 are respectively the first and the last parameters of the trimmed curve (this method of parameterization cannot be used to convert a half-circle or a half-ellipse, for example), or - if c is a trimmed circle or ellipse, if parameterisation is equal to convert_tgtthetaover2_2 and u2 - u1 > 1.9999 * pi where u1 and u2 are respectively the first and the last parameters of the trimmed curve (this method of parameterization cannot be used to convert a quasi-complete circle or ellipse). Parameters ---------- @@ -399,13 +401,13 @@ None GeomConvert_ApproxCurve(const opencascade::handle & Curve, const Standard_Real Tol3d, const GeomAbs_Shape Order, const Standard_Integer MaxSegments, const Standard_Integer MaxDegree); /****************** GeomConvert_ApproxCurve ******************/ - /**** md5 signature: 10547b6f112ca61b9926eaf1d844b331 ****/ + /**** md5 signature: 07ff5ce50e6da2c21caae83805537027 ****/ %feature("compactdefaultargs") GeomConvert_ApproxCurve; %feature("autodoc", "Constructs a curve approximation framework defined by - - the curve, - the tolerance value tol3d, - the degree of continuity order, - the maximum number of segments maxsegments allowed in the resulting bspline curve, and - the highest degree maxdeg which the polynomial defining the bspline curve may have. Parameters ---------- -Curve: Adaptor3d_HCurve +Curve: Adaptor3d_Curve Tol3d: float Order: GeomAbs_Shape MaxSegments: int @@ -415,7 +417,7 @@ Returns ------- None ") GeomConvert_ApproxCurve; - GeomConvert_ApproxCurve(const opencascade::handle & Curve, const Standard_Real Tol3d, const GeomAbs_Shape Order, const Standard_Integer MaxSegments, const Standard_Integer MaxDegree); + GeomConvert_ApproxCurve(const opencascade::handle & Curve, const Standard_Real Tol3d, const GeomAbs_Shape Order, const Standard_Integer MaxSegments, const Standard_Integer MaxDegree); /****************** Curve ******************/ /**** md5 signature: 8f61eb8bebb31bbd1fd75a7da450accd ****/ @@ -450,7 +452,7 @@ bool /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns standard_true if the approximation has been done within requiered tolerance. + %feature("autodoc", "Returns standard_true if the approximation has been done within required tolerance. Returns ------- @@ -506,13 +508,13 @@ None GeomConvert_ApproxSurface(const opencascade::handle & Surf, const Standard_Real Tol3d, const GeomAbs_Shape UContinuity, const GeomAbs_Shape VContinuity, const Standard_Integer MaxDegU, const Standard_Integer MaxDegV, const Standard_Integer MaxSegments, const Standard_Integer PrecisCode); /****************** GeomConvert_ApproxSurface ******************/ - /**** md5 signature: 4b6f372a9d65bd2c2460c1ce1f5e6de9 ****/ + /**** md5 signature: d94294b366a492bb4f771c6129ee0101 ****/ %feature("compactdefaultargs") GeomConvert_ApproxSurface; %feature("autodoc", "Constructs a surface approximation framework defined by - the surf - the tolerance value tol3d - the degree of continuity ucontinuity, vcontinuity in the directions of the u and v parameters - the highest degree maxdegu, maxdegv which the polynomial defining the bspline curve may have in the directions of the u and v parameters - the maximum number of segments maxsegments allowed in the resulting bspline curve - the index of precision preciscode. Parameters ---------- -Surf: Adaptor3d_HSurface +Surf: Adaptor3d_Surface Tol3d: float UContinuity: GeomAbs_Shape VContinuity: GeomAbs_Shape @@ -525,7 +527,7 @@ Returns ------- None ") GeomConvert_ApproxSurface; - GeomConvert_ApproxSurface(const opencascade::handle & Surf, const Standard_Real Tol3d, const GeomAbs_Shape UContinuity, const GeomAbs_Shape VContinuity, const Standard_Integer MaxDegU, const Standard_Integer MaxDegV, const Standard_Integer MaxSegments, const Standard_Integer PrecisCode); + GeomConvert_ApproxSurface(const opencascade::handle & Surf, const Standard_Real Tol3d, const GeomAbs_Shape UContinuity, const GeomAbs_Shape VContinuity, const Standard_Integer MaxDegU, const Standard_Integer MaxDegV, const Standard_Integer MaxSegments, const Standard_Integer PrecisCode); %feature("autodoc", "1"); @@ -1016,7 +1018,7 @@ None /****************** GeomConvert_CompBezierSurfacesToBSplineSurface ******************/ /**** md5 signature: e7dce0cc47287d475aec5981c18bd406 ****/ %feature("compactdefaultargs") GeomConvert_CompBezierSurfacesToBSplineSurface; - %feature("autodoc", "Build an ci uniform (rational) bspline surface the higest continuity ci is imposed, like the maximal deformation is lower than . warning: the continuity c0 is imposed without any check. + %feature("autodoc", "Build an ci uniform (rational) bspline surface the highest continuity ci is imposed, like the maximal deformation is lower than . warning: the continuity c0 is imposed without any check. Parameters ---------- @@ -1279,6 +1281,71 @@ opencascade::handle } }; +/************************** +* class GeomConvert_Units * +**************************/ +class GeomConvert_Units { + public: + /****************** DegreeToRadian ******************/ + /**** md5 signature: 69ed7e606bb67cc6d9c8165770462427 ****/ + %feature("compactdefaultargs") DegreeToRadian; + %feature("autodoc", "Convert 2d curve for change angle unit from degree to radian. + +Parameters +---------- +theCurve: Geom2d_Curve +theSurface: Geom_Surface +theLengthFactor: float +theFactorRadianDegree: float + +Returns +------- +opencascade::handle +") DegreeToRadian; + static opencascade::handle DegreeToRadian(const opencascade::handle & theCurve, const opencascade::handle & theSurface, const Standard_Real theLengthFactor, const Standard_Real theFactorRadianDegree); + + /****************** MirrorPCurve ******************/ + /**** md5 signature: 96315e1e393b6c68ef42cbc8bec665c6 ****/ + %feature("compactdefaultargs") MirrorPCurve; + %feature("autodoc", "Return 2d curve as 'mirror' for given. + +Parameters +---------- +theCurve: Geom2d_Curve + +Returns +------- +opencascade::handle +") MirrorPCurve; + static opencascade::handle MirrorPCurve(const opencascade::handle & theCurve); + + /****************** RadianToDegree ******************/ + /**** md5 signature: 97864706bc2811ff080d2cdd739d339c ****/ + %feature("compactdefaultargs") RadianToDegree; + %feature("autodoc", "Convert 2d curve for change angle unit from radian to degree . + +Parameters +---------- +theCurve: Geom2d_Curve +theSurface: Geom_Surface +theLengthFactor: float +theFactorRadianDegree: float + +Returns +------- +opencascade::handle +") RadianToDegree; + static opencascade::handle RadianToDegree(const opencascade::handle & theCurve, const opencascade::handle & theSurface, const Standard_Real theLengthFactor, const Standard_Real theFactorRadianDegree); + +}; + + +%extend GeomConvert_Units { + %pythoncode { + __repr__ = _dumps_object + } +}; + /* harray1 classes */ /* harray2 classes */ /* hsequence classes */ diff --git a/src/SWIG_files/wrapper/GeomConvert.pyi b/src/SWIG_files/wrapper/GeomConvert.pyi index d3f440b55..246f6ad81 100644 --- a/src/SWIG_files/wrapper/GeomConvert.pyi +++ b/src/SWIG_files/wrapper/GeomConvert.pyi @@ -10,6 +10,7 @@ from OCC.Core.Convert import * from OCC.Core.GeomAbs import * from OCC.Core.Adaptor3d import * from OCC.Core.TColgp import * +from OCC.Core.Geom2d import * class geomconvert: @@ -56,7 +57,7 @@ class GeomConvert_ApproxCurve: @overload def __init__(self, Curve: Geom_Curve, Tol3d: float, Order: GeomAbs_Shape, MaxSegments: int, MaxDegree: int) -> None: ... @overload - def __init__(self, Curve: Adaptor3d_HCurve, Tol3d: float, Order: GeomAbs_Shape, MaxSegments: int, MaxDegree: int) -> None: ... + def __init__(self, Curve: Adaptor3d_Curve, Tol3d: float, Order: GeomAbs_Shape, MaxSegments: int, MaxDegree: int) -> None: ... def Curve(self) -> Geom_BSplineCurve: ... def HasResult(self) -> bool: ... def IsDone(self) -> bool: ... @@ -66,7 +67,7 @@ class GeomConvert_ApproxSurface: @overload def __init__(self, Surf: Geom_Surface, Tol3d: float, UContinuity: GeomAbs_Shape, VContinuity: GeomAbs_Shape, MaxDegU: int, MaxDegV: int, MaxSegments: int, PrecisCode: int) -> None: ... @overload - def __init__(self, Surf: Adaptor3d_HSurface, Tol3d: float, UContinuity: GeomAbs_Shape, VContinuity: GeomAbs_Shape, MaxDegU: int, MaxDegV: int, MaxSegments: int, PrecisCode: int) -> None: ... + def __init__(self, Surf: Adaptor3d_Surface, Tol3d: float, UContinuity: GeomAbs_Shape, VContinuity: GeomAbs_Shape, MaxDegU: int, MaxDegV: int, MaxSegments: int, PrecisCode: int) -> None: ... def HasResult(self) -> bool: ... def IsDone(self) -> bool: ... def MaxError(self) -> float: ... @@ -136,6 +137,14 @@ class GeomConvert_CompCurveToBSplineCurve: def Add(self, NewCurve: Geom_BoundedCurve, Tolerance: float, After: Optional[bool] = False, WithRatio: Optional[bool] = True, MinM: Optional[int] = 0) -> bool: ... def BSplineCurve(self) -> Geom_BSplineCurve: ... +class GeomConvert_Units: + @staticmethod + def DegreeToRadian(theCurve: Geom2d_Curve, theSurface: Geom_Surface, theLengthFactor: float, theFactorRadianDegree: float) -> Geom2d_Curve: ... + @staticmethod + def MirrorPCurve(theCurve: Geom2d_Curve) -> Geom2d_Curve: ... + @staticmethod + def RadianToDegree(theCurve: Geom2d_Curve, theSurface: Geom_Surface, theLengthFactor: float, theFactorRadianDegree: float) -> Geom2d_Curve: ... + # harray1 classes # harray2 classes # hsequence classes @@ -154,3 +163,6 @@ geomconvert_SplitBSplineSurface = geomconvert.SplitBSplineSurface geomconvert_SplitBSplineSurface = geomconvert.SplitBSplineSurface geomconvert_SplitBSplineSurface = geomconvert.SplitBSplineSurface geomconvert_SurfaceToBSplineSurface = geomconvert.SurfaceToBSplineSurface +GeomConvert_Units_DegreeToRadian = GeomConvert_Units.DegreeToRadian +GeomConvert_Units_MirrorPCurve = GeomConvert_Units.MirrorPCurve +GeomConvert_Units_RadianToDegree = GeomConvert_Units.RadianToDegree diff --git a/src/SWIG_files/wrapper/GeomEvaluator.i b/src/SWIG_files/wrapper/GeomEvaluator.i index 62b7242cb..154eddcd9 100644 --- a/src/SWIG_files/wrapper/GeomEvaluator.i +++ b/src/SWIG_files/wrapper/GeomEvaluator.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOMEVALUATORDOCSTRING "GeomEvaluator module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomevaluator.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geomevaluator.html" %enddef %module (package="OCC.Core", docstring=GEOMEVALUATORDOCSTRING) GeomEvaluator @@ -70,7 +70,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -335,13 +335,13 @@ None GeomEvaluator_OffsetCurve(const opencascade::handle & theBase, const Standard_Real theOffset, const gp_Dir & theDirection); /****************** GeomEvaluator_OffsetCurve ******************/ - /**** md5 signature: 59defa2d450255c06571ebdefa7e2895 ****/ + /**** md5 signature: 8420eeb2fd48f6a959e9185e74f5fbe5 ****/ %feature("compactdefaultargs") GeomEvaluator_OffsetCurve; %feature("autodoc", "Initialize evaluator by curve adaptor. Parameters ---------- -theBase: GeomAdaptor_HCurve +theBase: GeomAdaptor_Curve theOffset: float theDirection: gp_Dir @@ -349,7 +349,7 @@ Returns ------- None ") GeomEvaluator_OffsetCurve; - GeomEvaluator_OffsetCurve(const opencascade::handle & theBase, const Standard_Real theOffset, const gp_Dir & theDirection); + GeomEvaluator_OffsetCurve(const opencascade::handle & theBase, const Standard_Real theOffset, const gp_Dir & theDirection); /****************** D0 ******************/ /**** md5 signature: 66474176b3d6e773fa82e2e75db9adbb ****/ @@ -502,13 +502,13 @@ None GeomEvaluator_OffsetSurface(const opencascade::handle & theBase, const Standard_Real theOffset, const opencascade::handle & theOscSurf = opencascade::handle()); /****************** GeomEvaluator_OffsetSurface ******************/ - /**** md5 signature: 856f854074e0d8dd5a4515eac8f4836e ****/ + /**** md5 signature: e3bc6f3b2d5210513e3b544eee3ebaa6 ****/ %feature("compactdefaultargs") GeomEvaluator_OffsetSurface; %feature("autodoc", "Initialize evaluator by surface adaptor. Parameters ---------- -theBase: GeomAdaptor_HSurface +theBase: GeomAdaptor_Surface theOffset: float theOscSurf: Geom_OsculatingSurface,optional default value is opencascade::handle() @@ -517,7 +517,7 @@ Returns ------- None ") GeomEvaluator_OffsetSurface; - GeomEvaluator_OffsetSurface(const opencascade::handle & theBase, const Standard_Real theOffset, const opencascade::handle & theOscSurf = opencascade::handle()); + GeomEvaluator_OffsetSurface(const opencascade::handle & theBase, const Standard_Real theOffset, const opencascade::handle & theOscSurf = opencascade::handle()); /****************** D0 ******************/ /**** md5 signature: 2d6a7e09cbdc01a4df050802195d3171 ****/ @@ -669,20 +669,20 @@ None GeomEvaluator_SurfaceOfExtrusion(const opencascade::handle & theBase, const gp_Dir & theExtrusionDir); /****************** GeomEvaluator_SurfaceOfExtrusion ******************/ - /**** md5 signature: 9f58f1181fd474e6af39b7510a9797d7 ****/ + /**** md5 signature: e3cfee6ab38d3d48bacd1ea362d5426a ****/ %feature("compactdefaultargs") GeomEvaluator_SurfaceOfExtrusion; %feature("autodoc", "Initialize evaluator by surface adaptor. Parameters ---------- -theBase: Adaptor3d_HCurve +theBase: Adaptor3d_Curve theExtrusionDir: gp_Dir Returns ------- None ") GeomEvaluator_SurfaceOfExtrusion; - GeomEvaluator_SurfaceOfExtrusion(const opencascade::handle & theBase, const gp_Dir & theExtrusionDir); + GeomEvaluator_SurfaceOfExtrusion(const opencascade::handle & theBase, const gp_Dir & theExtrusionDir); /****************** D0 ******************/ /**** md5 signature: 2d6a7e09cbdc01a4df050802195d3171 ****/ @@ -835,13 +835,13 @@ None GeomEvaluator_SurfaceOfRevolution(const opencascade::handle & theBase, const gp_Dir & theRevolDir, const gp_Pnt & theRevolLoc); /****************** GeomEvaluator_SurfaceOfRevolution ******************/ - /**** md5 signature: 485936d71c59e278d1d488c847ebe986 ****/ + /**** md5 signature: c0d248a0845d27bb2b25e4ec8a363cc5 ****/ %feature("compactdefaultargs") GeomEvaluator_SurfaceOfRevolution; %feature("autodoc", "Initialize evaluator by adaptor of the revolved curve, the axis of revolution and the location. Parameters ---------- -theBase: Adaptor3d_HCurve +theBase: Adaptor3d_Curve theRevolDir: gp_Dir theRevolLoc: gp_Pnt @@ -849,7 +849,7 @@ Returns ------- None ") GeomEvaluator_SurfaceOfRevolution; - GeomEvaluator_SurfaceOfRevolution(const opencascade::handle & theBase, const gp_Dir & theRevolDir, const gp_Pnt & theRevolLoc); + GeomEvaluator_SurfaceOfRevolution(const opencascade::handle & theBase, const gp_Dir & theRevolDir, const gp_Pnt & theRevolLoc); /****************** D0 ******************/ /**** md5 signature: 2d6a7e09cbdc01a4df050802195d3171 ****/ diff --git a/src/SWIG_files/wrapper/GeomEvaluator.pyi b/src/SWIG_files/wrapper/GeomEvaluator.pyi index dd7823fa6..66b5541cf 100644 --- a/src/SWIG_files/wrapper/GeomEvaluator.pyi +++ b/src/SWIG_files/wrapper/GeomEvaluator.pyi @@ -27,7 +27,7 @@ class GeomEvaluator_OffsetCurve(GeomEvaluator_Curve): @overload def __init__(self, theBase: Geom_Curve, theOffset: float, theDirection: gp_Dir) -> None: ... @overload - def __init__(self, theBase: GeomAdaptor_HCurve, theOffset: float, theDirection: gp_Dir) -> None: ... + def __init__(self, theBase: GeomAdaptor_Curve, theOffset: float, theDirection: gp_Dir) -> None: ... def D0(self, theU: float, theValue: gp_Pnt) -> None: ... def D1(self, theU: float, theValue: gp_Pnt, theD1: gp_Vec) -> None: ... def D2(self, theU: float, theValue: gp_Pnt, theD1: gp_Vec, theD2: gp_Vec) -> None: ... @@ -40,7 +40,7 @@ class GeomEvaluator_OffsetSurface(GeomEvaluator_Surface): @overload def __init__(self, theBase: Geom_Surface, theOffset: float, theOscSurf: Optional[Geom_OsculatingSurface] = Geom_OsculatingSurface()) -> None: ... @overload - def __init__(self, theBase: GeomAdaptor_HSurface, theOffset: float, theOscSurf: Optional[Geom_OsculatingSurface] = Geom_OsculatingSurface()) -> None: ... + def __init__(self, theBase: GeomAdaptor_Surface, theOffset: float, theOscSurf: Optional[Geom_OsculatingSurface] = Geom_OsculatingSurface()) -> None: ... def D0(self, theU: float, theV: float, theValue: gp_Pnt) -> None: ... def D1(self, theU: float, theV: float, theValue: gp_Pnt, theD1U: gp_Vec, theD1V: gp_Vec) -> None: ... def D2(self, theU: float, theV: float, theValue: gp_Pnt, theD1U: gp_Vec, theD1V: gp_Vec, theD2U: gp_Vec, theD2V: gp_Vec, theD2UV: gp_Vec) -> None: ... @@ -52,7 +52,7 @@ class GeomEvaluator_SurfaceOfExtrusion(GeomEvaluator_Surface): @overload def __init__(self, theBase: Geom_Curve, theExtrusionDir: gp_Dir) -> None: ... @overload - def __init__(self, theBase: Adaptor3d_HCurve, theExtrusionDir: gp_Dir) -> None: ... + def __init__(self, theBase: Adaptor3d_Curve, theExtrusionDir: gp_Dir) -> None: ... def D0(self, theU: float, theV: float, theValue: gp_Pnt) -> None: ... def D1(self, theU: float, theV: float, theValue: gp_Pnt, theD1U: gp_Vec, theD1V: gp_Vec) -> None: ... def D2(self, theU: float, theV: float, theValue: gp_Pnt, theD1U: gp_Vec, theD1V: gp_Vec, theD2U: gp_Vec, theD2V: gp_Vec, theD2UV: gp_Vec) -> None: ... @@ -64,7 +64,7 @@ class GeomEvaluator_SurfaceOfRevolution(GeomEvaluator_Surface): @overload def __init__(self, theBase: Geom_Curve, theRevolDir: gp_Dir, theRevolLoc: gp_Pnt) -> None: ... @overload - def __init__(self, theBase: Adaptor3d_HCurve, theRevolDir: gp_Dir, theRevolLoc: gp_Pnt) -> None: ... + def __init__(self, theBase: Adaptor3d_Curve, theRevolDir: gp_Dir, theRevolLoc: gp_Pnt) -> None: ... def D0(self, theU: float, theV: float, theValue: gp_Pnt) -> None: ... def D1(self, theU: float, theV: float, theValue: gp_Pnt, theD1U: gp_Vec, theD1V: gp_Vec) -> None: ... def D2(self, theU: float, theV: float, theValue: gp_Pnt, theD1U: gp_Vec, theD1V: gp_Vec, theD2U: gp_Vec, theD2V: gp_Vec, theD2UV: gp_Vec) -> None: ... diff --git a/src/SWIG_files/wrapper/GeomFill.i b/src/SWIG_files/wrapper/GeomFill.i index 5fe4e24aa..705663130 100644 --- a/src/SWIG_files/wrapper/GeomFill.i +++ b/src/SWIG_files/wrapper/GeomFill.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOMFILLDOCSTRING "GeomFill module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomfill.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geomfill.html" %enddef %module (package="OCC.Core", docstring=GEOMFILLDOCSTRING) GeomFill @@ -120,7 +120,7 @@ enum GeomFill_PipeError { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class GeomFill_ApproxStyle(IntEnum): @@ -178,6 +178,7 @@ GeomFill_ImpossibleContact = GeomFill_PipeError.GeomFill_ImpossibleContact %wrap_handle(GeomFill_Line) %wrap_handle(GeomFill_LocationLaw) %wrap_handle(GeomFill_SectionLaw) +%wrap_handle(GeomFill_SnglrFunc) %wrap_handle(GeomFill_SweepFunction) %wrap_handle(GeomFill_TgtField) %wrap_handle(GeomFill_TrihedronLaw) @@ -1948,15 +1949,15 @@ gp_Pnt class GeomFill_CircularBlendFunc : public Approx_SweepFunction { public: /****************** GeomFill_CircularBlendFunc ******************/ - /**** md5 signature: bafdd660219fe39f80e3292e9c6aa0f4 ****/ + /**** md5 signature: 83f6c8e8a78d3d9b9d1c32c9733c80f7 ****/ %feature("compactdefaultargs") GeomFill_CircularBlendFunc; %feature("autodoc", "Create a blend with a constant radius with 2 guide-line. sets the type of fillet surface. the -- default value is convert_tgtthetaover2 (classical -- nurbs -- representation of circles). chfi3d_quasiangular -- corresponds to a nurbs representation of circles -- which parameterisation matches the circle one. -- chfi3d_polynomial corresponds to a polynomial -- representation of circles. Parameters ---------- -Path: Adaptor3d_HCurve -Curve1: Adaptor3d_HCurve -Curve2: Adaptor3d_HCurve +Path: Adaptor3d_Curve +Curve1: Adaptor3d_Curve +Curve2: Adaptor3d_Curve Radius: float Polynomial: bool,optional default value is Standard_False @@ -1965,12 +1966,12 @@ Returns ------- None ") GeomFill_CircularBlendFunc; - GeomFill_CircularBlendFunc(const opencascade::handle & Path, const opencascade::handle & Curve1, const opencascade::handle & Curve2, const Standard_Real Radius, const Standard_Boolean Polynomial = Standard_False); + GeomFill_CircularBlendFunc(const opencascade::handle & Path, const opencascade::handle & Curve1, const opencascade::handle & Curve2, const Standard_Real Radius, const Standard_Boolean Polynomial = Standard_False); /****************** BarycentreOfSurf ******************/ /**** md5 signature: a691940df52b45c198f3414d0790e091 ****/ %feature("compactdefaultargs") BarycentreOfSurf; - %feature("autodoc", "Get the barycentre of surface. an very poor estimation is sufficent. this information is usefull to perform well conditionned rational approximation. + %feature("autodoc", "Get the barycentre of surface. an very poor estimation is sufficient. this information is useful to perform well conditioned rational approximation. Returns ------- @@ -2050,7 +2051,7 @@ bool /****************** GetMinimalWeight ******************/ /**** md5 signature: 36fb20110448cba55b750bc7db93d222 ****/ %feature("compactdefaultargs") GetMinimalWeight; - %feature("autodoc", "Compute the minimal value of weight for each poles of all sections. this information is usefull to perform well conditionned rational approximation. + %feature("autodoc", "Compute the minimal value of weight for each poles of all sections. this information is useful to perform well conditioned rational approximation. Parameters ---------- @@ -2083,7 +2084,7 @@ None /****************** Intervals ******************/ /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -2125,7 +2126,7 @@ None /****************** MaximalSection ******************/ /**** md5 signature: b8f0d759fcd21b95d400b3aae3c12cfc ****/ %feature("compactdefaultargs") MaximalSection; - %feature("autodoc", "Returns the length of the maximum section. this information is usefull to perform well conditionned rational approximation. + %feature("autodoc", "Returns the length of the maximum section. this information is useful to perform well conditioned rational approximation. Returns ------- @@ -2398,7 +2399,7 @@ None /****************** SetDomain ******************/ /**** md5 signature: f15e2b06830a710fdf8f11f792509cfd ****/ %feature("compactdefaultargs") SetDomain; - %feature("autodoc", "Allows to modify domain on witch the blending function associated to the constrained boundary b will propag the influence of the field of tangency. can be usefull to reduce influence of boundaries on whitch the coons compatibility conditions are not respected. l is a relative value of the parametric range of b. default value for l is 1 (used in init). warning: must be called after init with a constrained boundary used in the call to init. + %feature("autodoc", "Allows to modify domain on witch the blending function associated to the constrained boundary b will propag the influence of the field of tangency. can be useful to reduce influence of boundaries on which the coons compatibility conditions are not respected. l is a relative value of the parametric range of b. default value for l is 1 (used in init). warning: must be called after init with a constrained boundary used in the call to init. Parameters ---------- @@ -2854,29 +2855,29 @@ bool class GeomFill_FunctionDraft : public math_FunctionSetWithDerivatives { public: /****************** GeomFill_FunctionDraft ******************/ - /**** md5 signature: 178271c5b9c2baec39e6e9142ced9d7f ****/ + /**** md5 signature: e0b75f20f9ca33331d77d2796abf9e26 ****/ %feature("compactdefaultargs") GeomFill_FunctionDraft; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S: Adaptor3d_Surface +C: Adaptor3d_Curve Returns ------- None ") GeomFill_FunctionDraft; - GeomFill_FunctionDraft(const opencascade::handle & S, const opencascade::handle & C); + GeomFill_FunctionDraft(const opencascade::handle & S, const opencascade::handle & C); /****************** Deriv2T ******************/ - /**** md5 signature: 296f64e4925be19b19e0a50ae54545cf ****/ + /**** md5 signature: ed865b0d80ade12a428d221ca18ba8bf ****/ %feature("compactdefaultargs") Deriv2T; %feature("autodoc", "Returns the values of the t2 derivatives for the parameter param . Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Param: float W: float d2N: gp_Vec @@ -2887,7 +2888,7 @@ Returns ------- bool ") Deriv2T; - Standard_Boolean Deriv2T(const opencascade::handle & C, const Standard_Real Param, const Standard_Real W, const gp_Vec & d2N, const Standard_Real teta, math_Vector & F); + Standard_Boolean Deriv2T(const opencascade::handle & C, const Standard_Real Param, const Standard_Real W, const gp_Vec & d2N, const Standard_Real teta, math_Vector & F); /****************** Deriv2X ******************/ /**** md5 signature: 3717235c7a0694bb0026f224747d3335 ****/ @@ -2906,13 +2907,13 @@ bool Standard_Boolean Deriv2X(const math_Vector & X, GeomFill_Tensor & T); /****************** DerivT ******************/ - /**** md5 signature: 4d36763de463ed3975bad9df69ce4b17 ****/ + /**** md5 signature: 009f827b0251fad55638995d4292a3f9 ****/ %feature("compactdefaultargs") DerivT; %feature("autodoc", "Returns the values of the t derivatives for the parameter param . Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Param: float W: float dN: gp_Vec @@ -2923,7 +2924,7 @@ Returns ------- bool ") DerivT; - Standard_Boolean DerivT(const opencascade::handle & C, const Standard_Real Param, const Standard_Real W, const gp_Vec & dN, const Standard_Real teta, math_Vector & F); + Standard_Boolean DerivT(const opencascade::handle & C, const Standard_Real Param, const Standard_Real W, const gp_Vec & dN, const Standard_Real teta, math_Vector & F); /****************** DerivTX ******************/ /**** md5 signature: 364759ce3f6d1a901ce6394ecbbe5652 ****/ @@ -3028,14 +3029,14 @@ bool class GeomFill_FunctionGuide : public math_FunctionSetWithDerivatives { public: /****************** GeomFill_FunctionGuide ******************/ - /**** md5 signature: c0add4de311a84100121077f637a58d1 ****/ + /**** md5 signature: 126009e7c37512c316697b8b2d32329a ****/ %feature("compactdefaultargs") GeomFill_FunctionGuide; %feature("autodoc", "No available documentation. Parameters ---------- S: GeomFill_SectionLaw -Guide: Adaptor3d_HCurve +Guide: Adaptor3d_Curve ParamOnLaw: float,optional default value is 0.0 @@ -3043,7 +3044,7 @@ Returns ------- None ") GeomFill_FunctionGuide; - GeomFill_FunctionGuide(const opencascade::handle & S, const opencascade::handle & Guide, const Standard_Real ParamOnLaw = 0.0); + GeomFill_FunctionGuide(const opencascade::handle & S, const opencascade::handle & Guide, const Standard_Real ParamOnLaw = 0.0); /****************** DerivT ******************/ /**** md5 signature: 8497a0e1c79d28b9784f7f110d8384d9 ****/ @@ -3387,7 +3388,7 @@ bool /****************** D1 ******************/ /**** md5 signature: 86f0d1b0166d91c445bbc4baeef97928 ****/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Compute location 2d points and associated first derivatives. warning : it used only for c1 or c2 aproximation. + %feature("autodoc", "Compute location 2d points and associated first derivatives. warning : it used only for c1 or c2 approximation. Parameters ---------- @@ -3408,7 +3409,7 @@ bool /****************** D2 ******************/ /**** md5 signature: b8394f0997756eb2e29dda1a7f0fba5e ****/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Compute location 2d points and associated first and seconde derivatives. warning : it used only for c2 aproximation. + %feature("autodoc", "Compute location 2d points and associated first and seconde derivatives. warning : it used only for c2 approximation. Parameters ---------- @@ -3457,15 +3458,15 @@ None virtual void GetAverageLaw(gp_Mat & AM, gp_Vec & AV); /****************** GetCurve ******************/ - /**** md5 signature: 4a1ef3d9ce66db54e3e4d47a7b4fc050 ****/ + /**** md5 signature: 1afa1565b694007fff9dce84f020382d ****/ %feature("compactdefaultargs") GetCurve; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") GetCurve; - virtual const opencascade::handle & GetCurve(); + virtual const opencascade::handle & GetCurve(); /****************** GetDomain ******************/ /**** md5 signature: cf4b59a00ac748986e419ee48c8333d6 ****/ @@ -3533,7 +3534,7 @@ bool /****************** Intervals ******************/ /**** md5 signature: 7d2bf038a9213acf1609cc1244a3ee03 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -3633,19 +3634,19 @@ None virtual void Rotation(gp_Pnt & Center); /****************** SetCurve ******************/ - /**** md5 signature: b1fda43a9cad4ea0461b36c87a954013 ****/ + /**** md5 signature: 7370f78ae703bcab1430cb6db96778d3 ****/ %feature("compactdefaultargs") SetCurve; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") SetCurve; - virtual void SetCurve(const opencascade::handle & C); + virtual void SetCurve(const opencascade::handle & C); /****************** SetInterval ******************/ /**** md5 signature: 0547f3a9c04c5f6c0363c26295b2e795 ****/ @@ -3666,7 +3667,7 @@ None /****************** SetTolerance ******************/ /**** md5 signature: 1565024762efa75936883ee9558fa99d ****/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "Is usefull, if (me) have to run numerical algorithm to perform d0, d1 or d2 the default implementation make nothing. + %feature("autodoc", "Is useful, if (me) have to run numerical algorithm to perform d0, d1 or d2 the default implementation make nothing. Parameters ---------- @@ -3697,7 +3698,7 @@ None /****************** TraceNumber ******************/ /**** md5 signature: d8da584be0a6e10afb5206d653daab74 ****/ %feature("compactdefaultargs") TraceNumber; - %feature("autodoc", "Give the number of trace (curves 2d wich are not restriction) returns 0 (default implementation). + %feature("autodoc", "Give the number of trace (curves 2d which are not restriction) returns 0 (default implementation). Returns ------- @@ -3803,7 +3804,7 @@ None /****************** GeomFill_Pipe ******************/ /**** md5 signature: 21e998388a5fd330c89065860278090b ****/ %feature("compactdefaultargs") GeomFill_Pipe; - %feature("autodoc", "Create a pipe with an evolving section the section evoluate from first to last section. + %feature("autodoc", "Create a pipe with an evolving section the section evaluate from first to last section. Parameters ---------- @@ -3820,7 +3821,7 @@ None /****************** GeomFill_Pipe ******************/ /**** md5 signature: d33e1011fa11db81b148eb3e78127152 ****/ %feature("compactdefaultargs") GeomFill_Pipe; - %feature("autodoc", "Create a pipe with n sections the section evoluate from first to last section. + %feature("autodoc", "Create a pipe with n sections the section evaluate from first to last section. Parameters ---------- @@ -3852,32 +3853,32 @@ None GeomFill_Pipe(const opencascade::handle & Path, const opencascade::handle & Curve1, const opencascade::handle & Curve2, const Standard_Real Radius); /****************** GeomFill_Pipe ******************/ - /**** md5 signature: bbe271d79f8412ad875968c53c099387 ****/ + /**** md5 signature: 4530f1063599f6222f5a997daa03b7d8 ****/ %feature("compactdefaultargs") GeomFill_Pipe; %feature("autodoc", "Create a pipe with a constant radius with 2 guide-line. Parameters ---------- -Path: Adaptor3d_HCurve -Curve1: Adaptor3d_HCurve -Curve2: Adaptor3d_HCurve +Path: Adaptor3d_Curve +Curve1: Adaptor3d_Curve +Curve2: Adaptor3d_Curve Radius: float Returns ------- None ") GeomFill_Pipe; - GeomFill_Pipe(const opencascade::handle & Path, const opencascade::handle & Curve1, const opencascade::handle & Curve2, const Standard_Real Radius); + GeomFill_Pipe(const opencascade::handle & Path, const opencascade::handle & Curve1, const opencascade::handle & Curve2, const Standard_Real Radius); /****************** GeomFill_Pipe ******************/ - /**** md5 signature: ad01ec3b93107af5be5d298fb4c00be1 ****/ + /**** md5 signature: 62a6afc55ea058c5a6fba97090c13c8d ****/ %feature("compactdefaultargs") GeomFill_Pipe; %feature("autodoc", "Create a pipe with a constant section and with 1 guide-line. use the function perform to build the surface. all standard specific cases are detected in order to construct, according to the respective geometric nature of path and the sections, a planar, cylindrical, conical, spherical or toroidal surface, a surface of linear extrusion or a surface of revolution. in the general case, the result is a bspline surface (nurbs) built by approximation of a series of sections where: - the number of sections n is chosen automatically by the algorithm according to the respective geometries of path and the sections. n is greater than or equal to 2; - n points pi (with i in the range [ 1,n ]) are defined at regular intervals along the curve path from its first point to its end point. at each point pi, a coordinate system ti is computed with pi as origin, and with the tangential and normal vectors to path defining two of its coordinate axes. in the case of a pipe with a constant circular section, the first section is a circle of radius radius centered on the origin of path and whose 'z axis' is aligned along the vector tangential to the origin of path. in the case of a pipe with a constant section, the first section is the curve firstsect. in these two cases, the ith section (for values of i greater than 1) is obtained by applying to a copy of this first section the geometric transformation which transforms coordinate system t1 into coordinate system ti. in the case of an evolving section, n-2 intermediate curves si are first computed (if n is greater than 2, and with i in the range [ 2,n-1 ]) whose geometry evolves regularly from the curve s1=firstsect to the curve sn=lastsect. the first section is firstsect, and the ith section (for values of i greater than 1) is obtained by applying to the curve si the geometric transformation which transforms coordinate system t1 into coordinate system ti. Parameters ---------- Path: Geom_Curve -Guide: Adaptor3d_HCurve +Guide: Adaptor3d_Curve FirstSect: Geom_Curve ByACR: bool rotat: bool @@ -3886,7 +3887,7 @@ Returns ------- None ") GeomFill_Pipe; - GeomFill_Pipe(const opencascade::handle & Path, const opencascade::handle & Guide, const opencascade::handle & FirstSect, const Standard_Boolean ByACR, const Standard_Boolean rotat); + GeomFill_Pipe(const opencascade::handle & Path, const opencascade::handle & Guide, const opencascade::handle & FirstSect, const Standard_Boolean ByACR, const Standard_Boolean rotat); /****************** ErrorOnSurf ******************/ /**** md5 signature: 8f3f314d7b67e1d3eba24c5bbbfc1bbe ****/ @@ -4038,32 +4039,32 @@ None void Init(const opencascade::handle & Path, const TColGeom_SequenceOfCurve & NSections); /****************** Init ******************/ - /**** md5 signature: 6b8c033e7f0e709d08fa123d51eebb91 ****/ + /**** md5 signature: 12794c57e4e9e1d3f57a21a8225d0fc9 ****/ %feature("compactdefaultargs") Init; %feature("autodoc", "Create a pipe with a constant radius with 2 guide-line. Parameters ---------- -Path: Adaptor3d_HCurve -Curve1: Adaptor3d_HCurve -Curve2: Adaptor3d_HCurve +Path: Adaptor3d_Curve +Curve1: Adaptor3d_Curve +Curve2: Adaptor3d_Curve Radius: float Returns ------- None ") Init; - void Init(const opencascade::handle & Path, const opencascade::handle & Curve1, const opencascade::handle & Curve2, const Standard_Real Radius); + void Init(const opencascade::handle & Path, const opencascade::handle & Curve1, const opencascade::handle & Curve2, const Standard_Real Radius); /****************** Init ******************/ - /**** md5 signature: 2c9856fb0aa3957df108423b1312aea7 ****/ + /**** md5 signature: d595c424249c2e943c3d6b16e9369ce8 ****/ %feature("compactdefaultargs") Init; %feature("autodoc", "Initializes this pipe algorithm to build the following surface: - a pipe with a constant circular section of radius radius along the path path, or - a pipe with constant section firstsect along the path path, or - a pipe where the section evolves from firstsect to lastsect along the path path. use the function perform to build the surface. note: a description of the resulting surface is given under constructors. Parameters ---------- Path: Geom_Curve -Guide: Adaptor3d_HCurve +Guide: Adaptor3d_Curve FirstSect: Geom_Curve ByACR: bool rotat: bool @@ -4072,7 +4073,7 @@ Returns ------- None ") Init; - void Init(const opencascade::handle & Path, const opencascade::handle & Guide, const opencascade::handle & FirstSect, const Standard_Boolean ByACR, const Standard_Boolean rotat); + void Init(const opencascade::handle & Path, const opencascade::handle & Guide, const opencascade::handle & FirstSect, const Standard_Boolean ByACR, const Standard_Boolean rotat); /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ @@ -4151,7 +4152,7 @@ opencascade::handle class GeomFill_PlanFunc : public math_FunctionWithDerivative { public: /****************** GeomFill_PlanFunc ******************/ - /**** md5 signature: 7f7996e42c119051df0fe4e37e9b1d0a ****/ + /**** md5 signature: d2111f7e04703bf5d8e4b88603c7da47 ****/ %feature("compactdefaultargs") GeomFill_PlanFunc; %feature("autodoc", "No available documentation. @@ -4159,13 +4160,13 @@ Parameters ---------- P: gp_Pnt V: gp_Vec -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") GeomFill_PlanFunc; - GeomFill_PlanFunc(const gp_Pnt & P, const gp_Vec & V, const opencascade::handle & C); + GeomFill_PlanFunc(const gp_Pnt & P, const gp_Vec & V, const opencascade::handle & C); /****************** D2 ******************/ /**** md5 signature: 3593cd3677dd66060bb00c05ef08ee1e ****/ @@ -4467,7 +4468,7 @@ bool /****************** KnotsAndMults ******************/ /**** md5 signature: 19787aa39b0400d3a08b5785b90459e8 ****/ %feature("compactdefaultargs") KnotsAndMults; - %feature("autodoc", "Raises if not yet perform raises if the lengthes of and are not equal to nbknots(). + %feature("autodoc", "Raises if not yet perform raises if the lengths of and are not equal to nbknots(). Parameters ---------- @@ -4703,7 +4704,7 @@ opencascade::handle /****************** BarycentreOfSurf ******************/ /**** md5 signature: cbc6eaf5619edbfc0f2839466f8de856 ****/ %feature("compactdefaultargs") BarycentreOfSurf; - %feature("autodoc", "Get the barycentre of surface. an very poor estimation is sufficent. this information is usefull to perform well conditioned rational approximation. warning: used only if isrational. + %feature("autodoc", "Get the barycentre of surface. an very poor estimation is sufficient. this information is useful to perform well conditioned rational approximation. warning: used only if isrational. Returns ------- @@ -4757,7 +4758,7 @@ bool /****************** D1 ******************/ /**** md5 signature: e3c6434afb03815d368e10617d5a7f5b ****/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Compute the first derivative in v direction of the section for v = param warning : it used only for c1 or c2 aproximation. + %feature("autodoc", "Compute the first derivative in v direction of the section for v = param warning : it used only for c1 or c2 approximation. Parameters ---------- @@ -4776,7 +4777,7 @@ bool /****************** D2 ******************/ /**** md5 signature: 8e60d2fe6644e0ec8d5c8468e973d40c ****/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Compute the second derivative in v direction of the section for v = param warning : it used only for c2 aproximation. + %feature("autodoc", "Compute the second derivative in v direction of the section for v = param warning : it used only for c2 approximation. Parameters ---------- @@ -4827,7 +4828,7 @@ Last: float /****************** GetMinimalWeight ******************/ /**** md5 signature: 6fdd12d5da1669c5217b9449c91c0d9e ****/ %feature("compactdefaultargs") GetMinimalWeight; - %feature("autodoc", "Compute the minimal value of weight for each poles in all sections. this information is usefull to control error in rational approximation. warning: used only if isrational. + %feature("autodoc", "Compute the minimal value of weight for each poles in all sections. this information is useful to control error in rational approximation. warning: used only if isrational. Parameters ---------- @@ -4860,7 +4861,7 @@ None /****************** Intervals ******************/ /**** md5 signature: 7d2bf038a9213acf1609cc1244a3ee03 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -4952,7 +4953,7 @@ None /****************** MaximalSection ******************/ /**** md5 signature: 138e071f49741ba955ed2185c4c8ab9f ****/ %feature("compactdefaultargs") MaximalSection; - %feature("autodoc", "Returns the length of the greater section. this information is usefull to g1's control. warning: with an little value, approximation can be slower. + %feature("autodoc", "Returns the length of the greater section. this information is useful to g1's control. warning: with an little value, approximation can be slower. Returns ------- @@ -5025,7 +5026,7 @@ None /****************** SetTolerance ******************/ /**** md5 signature: 1565024762efa75936883ee9558fa99d ****/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "Is usefull, if (me) have to run numerical algorithm to perform d0, d1 or d2 the default implementation make nothing. + %feature("autodoc", "Is useful, if (me) have to run numerical algorithm to perform d0, d1 or d2 the default implementation make nothing. Parameters ---------- @@ -5106,7 +5107,7 @@ bool /****************** ModifiedSection ******************/ /**** md5 signature: d50774cace5784c6bcc30e9f082ed831 ****/ %feature("compactdefaultargs") ModifiedSection; - %feature("autodoc", "Compute the section, in the coordinate syteme given by the location law. to have the normal to section equal to the location law normal. if contact beetween

and is forced. + %feature("autodoc", "Compute the section, in the coordinate system given by the location law. to have the normal to section equal to the location law normal. if contact between
and is forced. Parameters ---------- @@ -5156,20 +5157,20 @@ None void Perform(const Standard_Real Tol); /****************** Perform ******************/ - /**** md5 signature: 542185d2c15c97da6e95ee9fb149834c ****/ + /**** md5 signature: 323bd7995787fb3c31cb6a2a0269c1cc ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "No available documentation. Parameters ---------- -Path: Adaptor3d_HCurve +Path: Adaptor3d_Curve Tol: float Returns ------- None ") Perform; - void Perform(const opencascade::handle & Path, const Standard_Real Tol); + void Perform(const opencascade::handle & Path, const Standard_Real Tol); /****************** Perform ******************/ /**** md5 signature: 1247c2342803e8af98196331e0da37ff ****/ @@ -5190,7 +5191,7 @@ None /****************** Section ******************/ /**** md5 signature: 06d8ebfd837653e5db544efc38571dc8 ****/ %feature("compactdefaultargs") Section; - %feature("autodoc", "Compute the section, in the coordinate syteme given by the location law. if contact beetween
and is forced. + %feature("autodoc", "Compute the section, in the coordinate system given by the location law. if contact between
and is forced. Parameters ---------- @@ -5249,19 +5250,19 @@ gp_Trsf class GeomFill_SnglrFunc : public Adaptor3d_Curve { public: /****************** GeomFill_SnglrFunc ******************/ - /**** md5 signature: 9d23a6d56ef665fed92eb38743540c2d ****/ + /**** md5 signature: 11e312347af8bf4b41690fc0fcf50e44 ****/ %feature("compactdefaultargs") GeomFill_SnglrFunc; %feature("autodoc", "No available documentation. Parameters ---------- -HC: Adaptor3d_HCurve +HC: Adaptor3d_Curve Returns ------- None ") GeomFill_SnglrFunc; - GeomFill_SnglrFunc(const opencascade::handle & HC); + GeomFill_SnglrFunc(const opencascade::handle & HC); /****************** D0 ******************/ /**** md5 signature: 5f7d08d8d17afc516aac9ef64bf9711f ****/ @@ -5374,7 +5375,7 @@ GeomAbs_CurveType /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -5483,6 +5484,8 @@ gp_Pnt }; +%make_alias(GeomFill_SnglrFunc) + %extend GeomFill_SnglrFunc { %pythoncode { __repr__ = _dumps_object @@ -5514,7 +5517,7 @@ None /****************** Build ******************/ /**** md5 signature: 81671eb89e696302d692cbf60bef48d7 ****/ %feature("compactdefaultargs") Build; - %feature("autodoc", "Build the sweeep surface approxstyle defines approximation strategy - geomfill_section : the composed function : location x section is directly approximed. - geomfill_location : the location law is approximed, and the sweepsurface is build algebric composition of approximed location law and section law this option is ok, if section.surface() methode is effective. continuity : the continuity in v waiting on the surface degmax : the maximum degree in v requiered on the surface segmax : the maximum number of span in v requiered on the surface //! raise if domain are infinite or profile not setted. + %feature("autodoc", "Build the sweeep surface approxstyle defines approximation strategy - geomfill_section : the composed function : location x section is directly approximated. - geomfill_location : the location law is approximated, and the sweepsurface is build algebric composition of approximated location law and section law this option is ok, if section.surface() methode is effective. continuity : the continuity in v waiting on the surface degmax : the maximum degree in v required on the surface segmax : the maximum number of span in v required on the surface //! raise if domain are infinite or profile not set. Parameters ---------- @@ -5628,7 +5631,7 @@ opencascade::handle /****************** SetDomain ******************/ /**** md5 signature: cd38e538169c6afd28f46a7bef651d8c ****/ %feature("compactdefaultargs") SetDomain; - %feature("autodoc", "Set parametric information [, ] sets the parametric bound of the sweeping surface to build. , gives coresponding bounds parameter on the section law of and //! v-iso on sweeping surface s(u,v) is defined by location(v) and section(w) where w = sectionfirst + (v - first) / (last-first) * (sectionlast - sectionfirst) //! by default w = v, and first and last are given by first and last parameter stored in locationlaw. + %feature("autodoc", "Set parametric information [, ] sets the parametric bound of the sweeping surface to build. , gives corresponding bounds parameter on the section law of and //! v-iso on sweeping surface s(u,v) is defined by location(v) and section(w) where w = sectionfirst + (v - first) / (last-first) * (sectionlast - sectionfirst) //! by default w = v, and first and last are given by first and last parameter stored in locationlaw. Parameters ---------- @@ -5661,7 +5664,7 @@ None /****************** SetTolerance ******************/ /**** md5 signature: 9b397c9283d7e37feb630a46515777f2 ****/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "Set approximation tolerance tol3d : tolerance to surface approximation tol2d : tolerance used to perform curve approximation normaly the 2d curve are approximated with a tolerance given by the resolution method define in but if this tolerance is too large tol2d is used. tolangular : tolerance (in radian) to control the angle beetween tangents on the section law and tangent of iso-v on approximed surface. + %feature("autodoc", "Set approximation tolerance tol3d : tolerance to surface approximation tol2d : tolerance used to perform curve approximation normally the 2d curve are approximated with a tolerance given by the resolution method define in but if this tolerance is too large tol2d is used. tolangular : tolerance (in radian) to control the angle between tangents on the section law and tangent of iso-v on approximated surface. Parameters ---------- @@ -5763,7 +5766,7 @@ None /****************** BarycentreOfSurf ******************/ /**** md5 signature: a691940df52b45c198f3414d0790e091 ****/ %feature("compactdefaultargs") BarycentreOfSurf; - %feature("autodoc", "Get the barycentre of surface. an very poor estimation is sufficent. this information is usefull to perform well conditionned rational approximation. warning: used only if isrational. + %feature("autodoc", "Get the barycentre of surface. an very poor estimation is sufficient. this information is useful to perform well conditioned rational approximation. warning: used only if isrational. Returns ------- @@ -5843,7 +5846,7 @@ bool /****************** GetMinimalWeight ******************/ /**** md5 signature: 36fb20110448cba55b750bc7db93d222 ****/ %feature("compactdefaultargs") GetMinimalWeight; - %feature("autodoc", "Compute the minimal value of weight for each poles of all sections. this information is usefull to perform well conditionned rational approximation. warning: used only if isrational. + %feature("autodoc", "Compute the minimal value of weight for each poles of all sections. this information is useful to perform well conditioned rational approximation. warning: used only if isrational. Parameters ---------- @@ -5876,7 +5879,7 @@ None /****************** Intervals ******************/ /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -5892,7 +5895,7 @@ None /****************** IsRational ******************/ /**** md5 signature: 2a6f0ec7e4a129780b654d163e7e3b1c ****/ %feature("compactdefaultargs") IsRational; - %feature("autodoc", "Returns if the section is rationnal or not. + %feature("autodoc", "Returns if the section is rational or not. Returns ------- @@ -5918,7 +5921,7 @@ None /****************** MaximalSection ******************/ /**** md5 signature: b8f0d759fcd21b95d400b3aae3c12cfc ****/ %feature("compactdefaultargs") MaximalSection; - %feature("autodoc", "Returns the length of the maximum section. this information is usefull to perform well conditionned rational approximation. + %feature("autodoc", "Returns the length of the maximum section. this information is useful to perform well conditioned rational approximation. Returns ------- @@ -5987,7 +5990,7 @@ TolV: float /****************** SectionShape ******************/ /**** md5 signature: 4b057291e9e338f8d299ce252e7fb36b ****/ %feature("compactdefaultargs") SectionShape; - %feature("autodoc", "Get the format of an section. + %feature("autodoc", "Get the format of a section. Parameters ---------- @@ -6266,7 +6269,7 @@ bool /****************** D1 ******************/ /**** md5 signature: b5761cd22f011e952e89db7159aa7a9f ****/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Compute triedrhon and derivative trihedron on curve at parameter warning : it used only for c1 or c2 aproximation. + %feature("autodoc", "Compute triedrhon and derivative trihedron on curve at parameter warning : it used only for c1 or c2 approximation. Parameters ---------- @@ -6287,7 +6290,7 @@ bool /****************** D2 ******************/ /**** md5 signature: 6a10a5c6f84e96e0f1ac82eef85cbf5f ****/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Compute trihedron on curve first and seconde derivatives. warning : it used only for c2 aproximation. + %feature("autodoc", "Compute trihedron on curve first and seconde derivatives. warning : it used only for c2 approximation. Parameters ---------- @@ -6354,7 +6357,7 @@ Last: float /****************** Intervals ******************/ /**** md5 signature: 7d2bf038a9213acf1609cc1244a3ee03 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -6381,7 +6384,7 @@ bool /****************** IsOnlyBy3dCurve ******************/ /**** md5 signature: f8d791bc049901655a5239dfa1822db7 ****/ %feature("compactdefaultargs") IsOnlyBy3dCurve; - %feature("autodoc", "Say if the law is defined, only by the 3d geometry of the setted curve return false by default. + %feature("autodoc", "Say if the law is defined, only by the 3d geometry of the set curve return false by default. Returns ------- @@ -6405,19 +6408,19 @@ int virtual Standard_Integer NbIntervals(const GeomAbs_Shape S); /****************** SetCurve ******************/ - /**** md5 signature: 1717edc5168c614fe8501a6ca815a592 ****/ + /**** md5 signature: 2dae31c246023c37a7825f72c7877ada ****/ %feature("compactdefaultargs") SetCurve; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") SetCurve; - virtual void SetCurve(const opencascade::handle & C); + virtual void SetCurve(const opencascade::handle & C); /****************** SetInterval ******************/ /**** md5 signature: 128fbeb43b59baa5a891a2c4ea58f02a ****/ @@ -6454,7 +6457,7 @@ class GeomFill_BoundWithSurf : public GeomFill_Boundary { /****************** GeomFill_BoundWithSurf ******************/ /**** md5 signature: d054c1079b9edcd7cb9b4e65d2b74232 ****/ %feature("compactdefaultargs") GeomFill_BoundWithSurf; - %feature("autodoc", "Constructs a boundary object defined by the 3d curve curveonsurf. the surface to be filled along this boundary will be in the tolerance range defined by tol3d. what's more, at each point of curveonsurf, the angle between the normal to the surface to be filled along this boundary, and the normal to the surface on which curveonsurf lies, must not be greater than tolang. this object is to be used as a boundary for a geomfill_constrainedfilling framework. warning curveonsurf is an adapted curve, that is, an object which is an interface between: - the services provided by a curve lying on a surface from the package geom - and those required of the curve by the computation algorithm which uses it. the adapted curve is created in the following way: opencascade::handle mysurface = ... ; opencascade::handle myparamcurve = ... ; // where myparamcurve is a 2d curve in the parametric space of the surface mysurface opencascade::handle surface = new geomadaptor_hsurface(mysurface); opencascade::handle paramcurve = new geom2dadaptor_hcurve(myparamcurve); curveonsurf = adaptor3d_curveonsurface(paramcurve,surface); the boundary is then constructed with the curveonsurf object: standard_real tol = ... ; standard_real tolang = ... ; myboundary = geomfill_boundwithsurf ( curveonsurf, tol, tolang );. + %feature("autodoc", "Constructs a boundary object defined by the 3d curve curveonsurf. the surface to be filled along this boundary will be in the tolerance range defined by tol3d. what's more, at each point of curveonsurf, the angle between the normal to the surface to be filled along this boundary, and the normal to the surface on which curveonsurf lies, must not be greater than tolang. this object is to be used as a boundary for a geomfill_constrainedfilling framework. warning curveonsurf is an adapted curve, that is, an object which is an interface between: - the services provided by a curve lying on a surface from the package geom - and those required of the curve by the computation algorithm which uses it. the adapted curve is created in the following way: opencascade::handle mysurface = ... ; opencascade::handle myparamcurve = ... ; // where myparamcurve is a 2d curve in the parametric space of the surface mysurface opencascade::handle surface = new geomadaptor_surface(mysurface); opencascade::handle paramcurve = new geom2dadaptor_curve(myparamcurve); curveonsurf = adaptor3d_curveonsurface(paramcurve,surface); the boundary is then constructed with the curveonsurf object: standard_real tol = ... ; standard_real tolang = ... ; myboundary = geomfill_boundwithsurf ( curveonsurf, tol, tolang );. Parameters ---------- @@ -6653,7 +6656,7 @@ bool /****************** D1 ******************/ /**** md5 signature: 7b1b7607df3259d1ef02c15ca0ffdd69 ****/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Computes triedrhon and derivative trihedron on curve at parameter warning : it used only for c1 or c2 aproximation. + %feature("autodoc", "Computes triedrhon and derivative trihedron on curve at parameter warning : it used only for c1 or c2 approximation. Parameters ---------- @@ -6674,7 +6677,7 @@ bool /****************** D2 ******************/ /**** md5 signature: e308ebcce924017ac2cd5d4701d10219 ****/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Compute trihedron on curve first and seconde derivatives. warning : it used only for c2 aproximation. + %feature("autodoc", "Compute trihedron on curve first and seconde derivatives. warning : it used only for c2 approximation. Parameters ---------- @@ -6715,7 +6718,7 @@ None /****************** Intervals ******************/ /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -6766,19 +6769,19 @@ int virtual Standard_Integer NbIntervals(const GeomAbs_Shape S); /****************** SetCurve ******************/ - /**** md5 signature: 5ec05cc00541a0c19784acc9db48edc6 ****/ + /**** md5 signature: 4e7881a8a5dfb5abce43b0bae2a3f3cb ****/ %feature("compactdefaultargs") SetCurve; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") SetCurve; - virtual void SetCurve(const opencascade::handle & C); + virtual void SetCurve(const opencascade::handle & C); }; @@ -6959,7 +6962,7 @@ bool /****************** D1 ******************/ /**** md5 signature: 7b1b7607df3259d1ef02c15ca0ffdd69 ****/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Compute triedrhon and derivative trihedron on curve at parameter warning : it used only for c1 or c2 aproximation. + %feature("autodoc", "Compute triedrhon and derivative trihedron on curve at parameter warning : it used only for c1 or c2 approximation. Parameters ---------- @@ -6980,7 +6983,7 @@ bool /****************** D2 ******************/ /**** md5 signature: e308ebcce924017ac2cd5d4701d10219 ****/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Compute trihedron on curve first and seconde derivatives. warning : it used only for c2 aproximation. + %feature("autodoc", "Compute trihedron on curve first and seconde derivatives. warning : it used only for c2 approximation. Parameters ---------- @@ -7032,7 +7035,7 @@ None /****************** Intervals ******************/ /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -7083,19 +7086,19 @@ int virtual Standard_Integer NbIntervals(const GeomAbs_Shape S); /****************** SetCurve ******************/ - /**** md5 signature: 5ec05cc00541a0c19784acc9db48edc6 ****/ + /**** md5 signature: 4e7881a8a5dfb5abce43b0bae2a3f3cb ****/ %feature("compactdefaultargs") SetCurve; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") SetCurve; - virtual void SetCurve(const opencascade::handle & C); + virtual void SetCurve(const opencascade::handle & C); /****************** SetInterval ******************/ /**** md5 signature: 09d00fda8057705f50d4a0bf656696ed ****/ @@ -7193,7 +7196,7 @@ bool /****************** D1 ******************/ /**** md5 signature: 288bb22d14e06a66281554b33f433d63 ****/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Compute location 2d points and associated first derivatives. warning : it used only for c1 or c2 aproximation. + %feature("autodoc", "Compute location 2d points and associated first derivatives. warning : it used only for c1 or c2 approximation. Parameters ---------- @@ -7214,7 +7217,7 @@ bool /****************** D2 ******************/ /**** md5 signature: 940621cc935757a0b177b16f7cd72d05 ****/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Compute location 2d points and associated first and seconde derivatives. warning : it used only for c2 aproximation. + %feature("autodoc", "Compute location 2d points and associated first and seconde derivatives. warning : it used only for c2 approximation. Parameters ---------- @@ -7252,15 +7255,15 @@ None virtual void GetAverageLaw(gp_Mat & AM, gp_Vec & AV); /****************** GetCurve ******************/ - /**** md5 signature: ead921cddde0ab49628eb8cd84dd99a0 ****/ + /**** md5 signature: b5470ee2464d4db2182ec23b2a5e7e7f ****/ %feature("compactdefaultargs") GetCurve; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") GetCurve; - virtual const opencascade::handle & GetCurve(); + virtual const opencascade::handle & GetCurve(); /****************** GetDomain ******************/ /**** md5 signature: 5949ecf80ee7cf5a86623a8a457dd2b9 ****/ @@ -7306,7 +7309,7 @@ float /****************** Intervals ******************/ /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -7378,19 +7381,19 @@ None virtual void Rotation(gp_Pnt & Center); /****************** SetCurve ******************/ - /**** md5 signature: 5ec05cc00541a0c19784acc9db48edc6 ****/ + /**** md5 signature: 4e7881a8a5dfb5abce43b0bae2a3f3cb ****/ %feature("compactdefaultargs") SetCurve; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") SetCurve; - virtual void SetCurve(const opencascade::handle & C); + virtual void SetCurve(const opencascade::handle & C); /****************** SetInterval ******************/ /**** md5 signature: 09d00fda8057705f50d4a0bf656696ed ****/ @@ -7655,7 +7658,7 @@ bool /****************** D1 ******************/ /**** md5 signature: 7b1b7607df3259d1ef02c15ca0ffdd69 ****/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Compute triedrhon and derivative trihedron on curve at parameter warning : it used only for c1 or c2 aproximation. + %feature("autodoc", "Compute triedrhon and derivative trihedron on curve at parameter warning : it used only for c1 or c2 approximation. Parameters ---------- @@ -7676,7 +7679,7 @@ bool /****************** D2 ******************/ /**** md5 signature: e308ebcce924017ac2cd5d4701d10219 ****/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Compute trihedron on curve first and seconde derivatives. warning : it used only for c2 aproximation. + %feature("autodoc", "Compute trihedron on curve first and seconde derivatives. warning : it used only for c2 approximation. Parameters ---------- @@ -7717,7 +7720,7 @@ None /****************** Intervals ******************/ /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -7940,7 +7943,7 @@ bool /****************** D1 ******************/ /**** md5 signature: 7b1b7607df3259d1ef02c15ca0ffdd69 ****/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Compute trihedron and derivative trihedron on curve at parameter warning : it used only for c1 or c2 aproximation for the moment it returns null values for dtangent, dnormal and dbinormal. + %feature("autodoc", "Compute trihedron and derivative trihedron on curve at parameter warning : it used only for c1 or c2 approximation for the moment it returns null values for dtangent, dnormal and dbinormal. Parameters ---------- @@ -7961,7 +7964,7 @@ bool /****************** D2 ******************/ /**** md5 signature: e308ebcce924017ac2cd5d4701d10219 ****/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Compute trihedron on curve first and seconde derivatives. warning : it used only for c2 aproximation for the moment it returns null values for dtangent, dnormal dbinormal, d2tangent, d2normal, d2binormal. + %feature("autodoc", "Compute trihedron on curve first and seconde derivatives. warning : it used only for c2 approximation for the moment it returns null values for dtangent, dnormal dbinormal, d2tangent, d2normal, d2binormal. Parameters ---------- @@ -8013,7 +8016,7 @@ None /****************** Intervals ******************/ /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -8064,19 +8067,19 @@ int virtual Standard_Integer NbIntervals(const GeomAbs_Shape S); /****************** SetCurve ******************/ - /**** md5 signature: 5ec05cc00541a0c19784acc9db48edc6 ****/ + /**** md5 signature: 4e7881a8a5dfb5abce43b0bae2a3f3cb ****/ %feature("compactdefaultargs") SetCurve; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") SetCurve; - virtual void SetCurve(const opencascade::handle & C); + virtual void SetCurve(const opencascade::handle & C); }; @@ -8124,7 +8127,7 @@ opencascade::handle /****************** D0 ******************/ /**** md5 signature: 8127a750255133d6fe0cc96880f4f1ab ****/ %feature("compactdefaultargs") D0; - %feature("autodoc", "Compute triedrhon and derivative trihedron on curve at parameter warning : it used only for c1 or c2 aproximation. + %feature("autodoc", "Compute triedrhon and derivative trihedron on curve at parameter warning : it used only for c1 or c2 approximation. Parameters ---------- @@ -8142,7 +8145,7 @@ bool /****************** D1 ******************/ /**** md5 signature: 7b1b7607df3259d1ef02c15ca0ffdd69 ****/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Compute trihedron on curve first and seconde derivatives. warning : it used only for c2 aproximation. + %feature("autodoc", "Compute trihedron on curve first and seconde derivatives. warning : it used only for c2 approximation. Parameters ---------- @@ -8187,7 +8190,7 @@ bool /****************** GetAverageLaw ******************/ /**** md5 signature: e4ba5f43e35cc3444d51c5ee4d7b6fff ****/ %feature("compactdefaultargs") GetAverageLaw; - %feature("autodoc", "Get average value of tangent(t) and normal(t) it is usefull to make fast approximation of rational surfaces. + %feature("autodoc", "Get average value of tangent(t) and normal(t) it is useful to make fast approximation of rational surfaces. Parameters ---------- @@ -8204,7 +8207,7 @@ None /****************** Intervals ******************/ /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -8315,7 +8318,7 @@ opencascade::handle /****************** BarycentreOfSurf ******************/ /**** md5 signature: a691940df52b45c198f3414d0790e091 ****/ %feature("compactdefaultargs") BarycentreOfSurf; - %feature("autodoc", "Get the barycentre of surface. an very poor estimation is sufficent. this information is usefull to perform well conditioned rational approximation. warning: used only if isrational. + %feature("autodoc", "Get the barycentre of surface. an very poor estimation is sufficient. this information is useful to perform well conditioned rational approximation. warning: used only if isrational. Returns ------- @@ -8354,7 +8357,7 @@ bool /****************** D1 ******************/ /**** md5 signature: 127f80b4c43e681b4262dad7d1db79d7 ****/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Compute the first derivative in v direction of the section for v = param warning : it used only for c1 or c2 aproximation. + %feature("autodoc", "Compute the first derivative in v direction of the section for v = param warning : it used only for c1 or c2 approximation. Parameters ---------- @@ -8373,7 +8376,7 @@ bool /****************** D2 ******************/ /**** md5 signature: e7553cf232323cae7964c205cd5a06a9 ****/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Compute the second derivative in v direction of the section for v = param warning : it used only for c2 aproximation. + %feature("autodoc", "Compute the second derivative in v direction of the section for v = param warning : it used only for c2 approximation. Parameters ---------- @@ -8424,7 +8427,7 @@ Last: float /****************** GetMinimalWeight ******************/ /**** md5 signature: 36fb20110448cba55b750bc7db93d222 ****/ %feature("compactdefaultargs") GetMinimalWeight; - %feature("autodoc", "Compute the minimal value of weight for each poles in all sections. this information is usefull to control error in rational approximation. warning: used only if isrational. + %feature("autodoc", "Compute the minimal value of weight for each poles in all sections. this information is useful to control error in rational approximation. warning: used only if isrational. Parameters ---------- @@ -8457,7 +8460,7 @@ None /****************** Intervals ******************/ /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -8535,7 +8538,7 @@ None /****************** MaximalSection ******************/ /**** md5 signature: b8f0d759fcd21b95d400b3aae3c12cfc ****/ %feature("compactdefaultargs") MaximalSection; - %feature("autodoc", "Returns the length of the greater section. this information is usefull to g1's control. warning: with an little value, approximation can be slower. + %feature("autodoc", "Returns the length of the greater section. this information is useful to g1's control. warning: with an little value, approximation can be slower. Returns ------- @@ -8669,7 +8672,7 @@ bool /****************** D1 ******************/ /**** md5 signature: 7b1b7607df3259d1ef02c15ca0ffdd69 ****/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Compute triedrhon and derivative trihedron on curve at parameter warning : it used only for c1 or c2 aproximation. + %feature("autodoc", "Compute triedrhon and derivative trihedron on curve at parameter warning : it used only for c1 or c2 approximation. Parameters ---------- @@ -8690,7 +8693,7 @@ bool /****************** D2 ******************/ /**** md5 signature: e308ebcce924017ac2cd5d4701d10219 ****/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Compute trihedron on curve first and seconde derivatives. warning : it used only for c2 aproximation. + %feature("autodoc", "Compute trihedron on curve first and seconde derivatives. warning : it used only for c2 approximation. Parameters ---------- @@ -8731,7 +8734,7 @@ None /****************** Intervals ******************/ /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -8829,7 +8832,7 @@ bool /****************** D1 ******************/ /**** md5 signature: 7b1b7607df3259d1ef02c15ca0ffdd69 ****/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Compute triedrhon and derivative trihedron on curve at parameter warning : it used only for c1 or c2 aproximation. + %feature("autodoc", "Compute triedrhon and derivative trihedron on curve at parameter warning : it used only for c1 or c2 approximation. Parameters ---------- @@ -8850,7 +8853,7 @@ bool /****************** D2 ******************/ /**** md5 signature: e308ebcce924017ac2cd5d4701d10219 ****/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Compute trihedron on curve first and seconde derivatives. warning : it used only for c2 aproximation. + %feature("autodoc", "Compute trihedron on curve first and seconde derivatives. warning : it used only for c2 approximation. Parameters ---------- @@ -8902,7 +8905,7 @@ None /****************** Intervals ******************/ /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -8953,19 +8956,19 @@ int virtual Standard_Integer NbIntervals(const GeomAbs_Shape S); /****************** SetCurve ******************/ - /**** md5 signature: 5ec05cc00541a0c19784acc9db48edc6 ****/ + /**** md5 signature: 4e7881a8a5dfb5abce43b0bae2a3f3cb ****/ %feature("compactdefaultargs") SetCurve; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") SetCurve; - virtual void SetCurve(const opencascade::handle & C); + virtual void SetCurve(const opencascade::handle & C); }; @@ -9099,7 +9102,7 @@ bool /****************** D1 ******************/ /**** md5 signature: 288bb22d14e06a66281554b33f433d63 ****/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Compute location 2d points and associated first derivatives. warning : it used only for c1 or c2 aproximation. + %feature("autodoc", "Compute location 2d points and associated first derivatives. warning : it used only for c1 or c2 approximation. Parameters ---------- @@ -9120,7 +9123,7 @@ bool /****************** D2 ******************/ /**** md5 signature: 940621cc935757a0b177b16f7cd72d05 ****/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Compute location 2d points and associated first and seconde derivatives. warning : it used only for c2 aproximation. + %feature("autodoc", "Compute location 2d points and associated first and seconde derivatives. warning : it used only for c2 approximation. Parameters ---------- @@ -9169,15 +9172,15 @@ None virtual void GetAverageLaw(gp_Mat & AM, gp_Vec & AV); /****************** GetCurve ******************/ - /**** md5 signature: ead921cddde0ab49628eb8cd84dd99a0 ****/ + /**** md5 signature: b5470ee2464d4db2182ec23b2a5e7e7f ****/ %feature("compactdefaultargs") GetCurve; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") GetCurve; - virtual const opencascade::handle & GetCurve(); + virtual const opencascade::handle & GetCurve(); /****************** GetDomain ******************/ /**** md5 signature: 5949ecf80ee7cf5a86623a8a457dd2b9 ****/ @@ -9245,7 +9248,7 @@ bool /****************** Intervals ******************/ /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -9360,19 +9363,19 @@ None void SetAngle(const Standard_Real Angle); /****************** SetCurve ******************/ - /**** md5 signature: 5ec05cc00541a0c19784acc9db48edc6 ****/ + /**** md5 signature: 4e7881a8a5dfb5abce43b0bae2a3f3cb ****/ %feature("compactdefaultargs") SetCurve; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") SetCurve; - virtual void SetCurve(const opencascade::handle & C); + virtual void SetCurve(const opencascade::handle & C); /****************** SetInterval ******************/ /**** md5 signature: 09d00fda8057705f50d4a0bf656696ed ****/ @@ -9391,19 +9394,19 @@ None virtual void SetInterval(const Standard_Real First, const Standard_Real Last); /****************** SetStopSurf ******************/ - /**** md5 signature: 82e5909f3450ddb28497aec115ad1d50 ****/ + /**** md5 signature: 27ac1cb5a5e32dd01b46f24b3bd0230c ****/ %feature("compactdefaultargs") SetStopSurf; %feature("autodoc", "No available documentation. Parameters ---------- -Surf: Adaptor3d_HSurface +Surf: Adaptor3d_Surface Returns ------- None ") SetStopSurf; - void SetStopSurf(const opencascade::handle & Surf); + void SetStopSurf(const opencascade::handle & Surf); /****************** SetTrsf ******************/ /**** md5 signature: 52b4e29e16b9b86f3d7835907847b3d0 ****/ @@ -9423,7 +9426,7 @@ None /****************** TraceNumber ******************/ /**** md5 signature: 603a2d12181693878dfcc406bb4cd8ac ****/ %feature("compactdefaultargs") TraceNumber; - %feature("autodoc", "Give the number of trace (curves 2d wich are not restriction) returns 1 (default implementation). + %feature("autodoc", "Give the number of trace (curves 2d which are not restriction) returns 1 (default implementation). Returns ------- @@ -9526,7 +9529,7 @@ bool /****************** D1 ******************/ /**** md5 signature: 288bb22d14e06a66281554b33f433d63 ****/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Compute location 2d points and associated first derivatives. warning : it used only for c1 or c2 aproximation. + %feature("autodoc", "Compute location 2d points and associated first derivatives. warning : it used only for c1 or c2 approximation. Parameters ---------- @@ -9547,7 +9550,7 @@ bool /****************** D2 ******************/ /**** md5 signature: 940621cc935757a0b177b16f7cd72d05 ****/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Compute location 2d points and associated first and seconde derivatives. warning : it used only for c2 aproximation. + %feature("autodoc", "Compute location 2d points and associated first and seconde derivatives. warning : it used only for c2 approximation. Parameters ---------- @@ -9607,15 +9610,15 @@ None virtual void GetAverageLaw(gp_Mat & AM, gp_Vec & AV); /****************** GetCurve ******************/ - /**** md5 signature: ead921cddde0ab49628eb8cd84dd99a0 ****/ + /**** md5 signature: b5470ee2464d4db2182ec23b2a5e7e7f ****/ %feature("compactdefaultargs") GetCurve; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") GetCurve; - virtual const opencascade::handle & GetCurve(); + virtual const opencascade::handle & GetCurve(); /****************** GetDomain ******************/ /**** md5 signature: 5949ecf80ee7cf5a86623a8a457dd2b9 ****/ @@ -9659,15 +9662,15 @@ float virtual Standard_Real GetMaximalNorm(); /****************** Guide ******************/ - /**** md5 signature: 7f9eb3f08360f033106bb3e58722ebc3 ****/ + /**** md5 signature: c51ccc2583f44ed177afcd058430a88a ****/ %feature("compactdefaultargs") Guide; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") Guide; - opencascade::handle Guide(); + opencascade::handle Guide(); /****************** HasFirstRestriction ******************/ /**** md5 signature: ccbee780c99b1c07b285852506752491 ****/ @@ -9694,7 +9697,7 @@ bool /****************** Intervals ******************/ /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -9813,19 +9816,19 @@ LastAngle: float void Set(const opencascade::handle & Section, const Standard_Boolean rotat, const Standard_Real SFirst, const Standard_Real SLast, const Standard_Real PrecAngle, Standard_Real &OutValue); /****************** SetCurve ******************/ - /**** md5 signature: 5ec05cc00541a0c19784acc9db48edc6 ****/ + /**** md5 signature: 4e7881a8a5dfb5abce43b0bae2a3f3cb ****/ %feature("compactdefaultargs") SetCurve; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") SetCurve; - virtual void SetCurve(const opencascade::handle & C); + virtual void SetCurve(const opencascade::handle & C); /****************** SetInterval ******************/ /**** md5 signature: 09d00fda8057705f50d4a0bf656696ed ****/ @@ -9862,7 +9865,7 @@ None /****************** SetTolerance ******************/ /**** md5 signature: bf0b5b1b4d35ebad7b1b81b0b9b8ba2c ****/ %feature("compactdefaultargs") SetTolerance; - %feature("autodoc", "Is usefull, if (me) have to run numerical algorithm to perform d0, d1 or d2 the default implementation make nothing. + %feature("autodoc", "Is useful, if (me) have to run numerical algorithm to perform d0, d1 or d2 the default implementation make nothing. Parameters ---------- @@ -9893,7 +9896,7 @@ None /****************** TraceNumber ******************/ /**** md5 signature: 603a2d12181693878dfcc406bb4cd8ac ****/ %feature("compactdefaultargs") TraceNumber; - %feature("autodoc", "Give the number of trace (curves 2d wich are not restriction) returns 1 (default implementation). + %feature("autodoc", "Give the number of trace (curves 2d which are not restriction) returns 1 (default implementation). Returns ------- @@ -10004,7 +10007,7 @@ opencascade::handle /****************** BarycentreOfSurf ******************/ /**** md5 signature: a691940df52b45c198f3414d0790e091 ****/ %feature("compactdefaultargs") BarycentreOfSurf; - %feature("autodoc", "Get the barycentre of surface. an very poor estimation is sufficent. this information is usefull to perform well conditioned rational approximation. warning: used only if isrational. + %feature("autodoc", "Get the barycentre of surface. an very poor estimation is sufficient. this information is useful to perform well conditioned rational approximation. warning: used only if isrational. Returns ------- @@ -10069,7 +10072,7 @@ bool /****************** D1 ******************/ /**** md5 signature: 127f80b4c43e681b4262dad7d1db79d7 ****/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Compute the first derivative in v direction of the section for v = param warning : it used only for c1 or c2 aproximation. + %feature("autodoc", "Compute the first derivative in v direction of the section for v = param warning : it used only for c1 or c2 approximation. Parameters ---------- @@ -10088,7 +10091,7 @@ bool /****************** D2 ******************/ /**** md5 signature: e7553cf232323cae7964c205cd5a06a9 ****/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Compute the second derivative in v direction of the section for v = param warning : it used only for c2 aproximation. + %feature("autodoc", "Compute the second derivative in v direction of the section for v = param warning : it used only for c2 approximation. Parameters ---------- @@ -10139,7 +10142,7 @@ Last: float /****************** GetMinimalWeight ******************/ /**** md5 signature: 36fb20110448cba55b750bc7db93d222 ****/ %feature("compactdefaultargs") GetMinimalWeight; - %feature("autodoc", "Compute the minimal value of weight for each poles in all sections. this information is usefull to control error in rational approximation. warning: used only if isrational. + %feature("autodoc", "Compute the minimal value of weight for each poles in all sections. this information is useful to control error in rational approximation. warning: used only if isrational. Parameters ---------- @@ -10172,7 +10175,7 @@ None /****************** Intervals ******************/ /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -10264,7 +10267,7 @@ None /****************** MaximalSection ******************/ /**** md5 signature: b8f0d759fcd21b95d400b3aae3c12cfc ****/ %feature("compactdefaultargs") MaximalSection; - %feature("autodoc", "Returns the length of the greater section. this information is usefull to g1's control. warning: with an little value, approximation can be slower. + %feature("autodoc", "Returns the length of the greater section. this information is useful to g1's control. warning: with an little value, approximation can be slower. Returns ------- @@ -10507,13 +10510,13 @@ None class GeomFill_SimpleBound : public GeomFill_Boundary { public: /****************** GeomFill_SimpleBound ******************/ - /**** md5 signature: 9d3727d66f84862b81072dc871109cea ****/ + /**** md5 signature: dc4d80fb194fc40e8b356e68221b1993 ****/ %feature("compactdefaultargs") GeomFill_SimpleBound; - %feature("autodoc", "Constructs the boundary object defined by the 3d curve. the surface to be built along this boundary will be in the tolerance range defined by tol3d. this object is to be used as a boundary for a geomfill_constrainedfilling framework. dummy is initialized but has no function in this class. warning curve is an adapted curve, that is, an object which is an interface between: - the services provided by a 3d curve from the package geom - and those required of the curve by the computation algorithm which uses it. the adapted curve is created in one of the following ways: - first sequence: opencascade::handle mycurve = ... ; opencascade::handle curve = new geomadaptor_hcurve(mycurve); - second sequence: // step 1 opencascade::handle mycurve = ... ; geomadaptor_curve crv (mycurve); // step 2 opencascade::handle curve = new geomadaptor_hcurve(crv); you use the second part of this sequence if you already have the adapted curve crv. the boundary is then constructed with the curve object: standard_real tol = ... ; standard_real dummy = 0. ; myboundary = geomfill_simplebound (curve,tol,dummy);. + %feature("autodoc", "Constructs the boundary object defined by the 3d curve. the surface to be built along this boundary will be in the tolerance range defined by tol3d. this object is to be used as a boundary for a geomfill_constrainedfilling framework. dummy is initialized but has no function in this class. warning curve is an adapted curve, that is, an object which is an interface between: - the services provided by a 3d curve from the package geom - and those required of the curve by the computation algorithm which uses it. the adapted curve is created in one of the following ways: - first sequence: opencascade::handle mycurve = ... ; opencascade::handle curve = new geomadaptor_curve(mycurve); - second sequence: // step 1 opencascade::handle mycurve = ... ; geomadaptor_curve crv (mycurve); // step 2 opencascade::handle curve = new geomadaptor_curve(crv); you use the second part of this sequence if you already have the adapted curve crv. the boundary is then constructed with the curve object: standard_real tol = ... ; standard_real dummy = 0. ; myboundary = geomfill_simplebound (curve,tol,dummy);. Parameters ---------- -Curve: Adaptor3d_HCurve +Curve: Adaptor3d_Curve Tol3d: float Tolang: float @@ -10521,7 +10524,7 @@ Returns ------- None ") GeomFill_SimpleBound; - GeomFill_SimpleBound(const opencascade::handle & Curve, const Standard_Real Tol3d, const Standard_Real Tolang); + GeomFill_SimpleBound(const opencascade::handle & Curve, const Standard_Real Tol3d, const Standard_Real Tolang); /****************** Bounds ******************/ /**** md5 signature: 618f7ac8e8773975015964105699f46f ****/ @@ -10815,15 +10818,15 @@ gp_Pnt gp_Pnt CurrentPointOnGuide(); /****************** Guide ******************/ - /**** md5 signature: b13fb6fbc45c3f2506db01721bc154fa ****/ + /**** md5 signature: 09e47fc31e0ff29ebb6d8706ed5b2098 ****/ %feature("compactdefaultargs") Guide; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") Guide; - virtual opencascade::handle Guide(); + virtual opencascade::handle Guide(); /****************** Origine ******************/ /**** md5 signature: 16919287683a2d5ba18e225cee37cd92 ****/ @@ -10890,7 +10893,7 @@ opencascade::handle /****************** BarycentreOfSurf ******************/ /**** md5 signature: a691940df52b45c198f3414d0790e091 ****/ %feature("compactdefaultargs") BarycentreOfSurf; - %feature("autodoc", "Get the barycentre of surface. an very poor estimation is sufficent. this information is usefull to perform well conditioned rational approximation. warning: used only if isrational. + %feature("autodoc", "Get the barycentre of surface. an very poor estimation is sufficient. this information is useful to perform well conditioned rational approximation. warning: used only if isrational. Returns ------- @@ -10929,7 +10932,7 @@ bool /****************** D1 ******************/ /**** md5 signature: 127f80b4c43e681b4262dad7d1db79d7 ****/ %feature("compactdefaultargs") D1; - %feature("autodoc", "Compute the first derivative in v direction of the section for v = param warning : it used only for c1 or c2 aproximation. + %feature("autodoc", "Compute the first derivative in v direction of the section for v = param warning : it used only for c1 or c2 approximation. Parameters ---------- @@ -10948,7 +10951,7 @@ bool /****************** D2 ******************/ /**** md5 signature: e7553cf232323cae7964c205cd5a06a9 ****/ %feature("compactdefaultargs") D2; - %feature("autodoc", "Compute the second derivative in v direction of the section for v = param warning : it used only for c2 aproximation. + %feature("autodoc", "Compute the second derivative in v direction of the section for v = param warning : it used only for c2 approximation. Parameters ---------- @@ -10999,7 +11002,7 @@ Last: float /****************** GetMinimalWeight ******************/ /**** md5 signature: 36fb20110448cba55b750bc7db93d222 ****/ %feature("compactdefaultargs") GetMinimalWeight; - %feature("autodoc", "Compute the minimal value of weight for each poles in all sections. this information is usefull to control error in rational approximation. warning: used only if isrational. + %feature("autodoc", "Compute the minimal value of weight for each poles in all sections. this information is useful to control error in rational approximation. warning: used only if isrational. Parameters ---------- @@ -11032,7 +11035,7 @@ None /****************** Intervals ******************/ /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -11110,7 +11113,7 @@ None /****************** MaximalSection ******************/ /**** md5 signature: b8f0d759fcd21b95d400b3aae3c12cfc ****/ %feature("compactdefaultargs") MaximalSection; - %feature("autodoc", "Returns the length of the greater section. this information is usefull to g1's control. warning: with an little value, approximation can be slower. + %feature("autodoc", "Returns the length of the greater section. this information is useful to g1's control. warning: with an little value, approximation can be slower. Returns ------- @@ -11197,19 +11200,19 @@ None class GeomFill_GuideTrihedronAC : public GeomFill_TrihedronWithGuide { public: /****************** GeomFill_GuideTrihedronAC ******************/ - /**** md5 signature: 3210e6226bc168d1bbb8276d12d59fa5 ****/ + /**** md5 signature: b3b260cc8039974b28f456867aa004c0 ****/ %feature("compactdefaultargs") GeomFill_GuideTrihedronAC; %feature("autodoc", "No available documentation. Parameters ---------- -guide: Adaptor3d_HCurve +guide: Adaptor3d_Curve Returns ------- None ") GeomFill_GuideTrihedronAC; - GeomFill_GuideTrihedronAC(const opencascade::handle & guide); + GeomFill_GuideTrihedronAC(const opencascade::handle & guide); /****************** Copy ******************/ /**** md5 signature: 9645e7734f6f9fcd3bd1e528a8c82987 ****/ @@ -11303,20 +11306,20 @@ None virtual void GetAverageLaw(gp_Vec & ATangent, gp_Vec & ANormal, gp_Vec & ABiNormal); /****************** Guide ******************/ - /**** md5 signature: 7825016167368c6530be15068ef7ba41 ****/ + /**** md5 signature: 17558c6f9257708f1da49899c586c13c ****/ %feature("compactdefaultargs") Guide; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") Guide; - virtual opencascade::handle Guide(); + virtual opencascade::handle Guide(); /****************** Intervals ******************/ /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -11343,7 +11346,7 @@ bool /****************** IsOnlyBy3dCurve ******************/ /**** md5 signature: dce50a0e4caf3b6774af0413898e9c4b ****/ %feature("compactdefaultargs") IsOnlyBy3dCurve; - %feature("autodoc", "Say if the law is defined, only by the 3d geometry of the setted curve return false by default. + %feature("autodoc", "Say if the law is defined, only by the 3d geometry of the set curve return false by default. Returns ------- @@ -11383,19 +11386,19 @@ None virtual void Origine(const Standard_Real OrACR1, const Standard_Real OrACR2); /****************** SetCurve ******************/ - /**** md5 signature: 5ec05cc00541a0c19784acc9db48edc6 ****/ + /**** md5 signature: 4e7881a8a5dfb5abce43b0bae2a3f3cb ****/ %feature("compactdefaultargs") SetCurve; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") SetCurve; - virtual void SetCurve(const opencascade::handle & C); + virtual void SetCurve(const opencascade::handle & C); /****************** SetInterval ******************/ /**** md5 signature: 09d00fda8057705f50d4a0bf656696ed ****/ @@ -11430,19 +11433,19 @@ None class GeomFill_GuideTrihedronPlan : public GeomFill_TrihedronWithGuide { public: /****************** GeomFill_GuideTrihedronPlan ******************/ - /**** md5 signature: c01bdb6e70304336b9b42c5ed34b7639 ****/ + /**** md5 signature: 0e4f012fb4a92ecb65e9205ba6b0adce ****/ %feature("compactdefaultargs") GeomFill_GuideTrihedronPlan; %feature("autodoc", "No available documentation. Parameters ---------- -theGuide: Adaptor3d_HCurve +theGuide: Adaptor3d_Curve Returns ------- None ") GeomFill_GuideTrihedronPlan; - GeomFill_GuideTrihedronPlan(const opencascade::handle & theGuide); + GeomFill_GuideTrihedronPlan(const opencascade::handle & theGuide); /****************** Copy ******************/ /**** md5 signature: 9645e7734f6f9fcd3bd1e528a8c82987 ****/ @@ -11547,20 +11550,20 @@ None virtual void GetAverageLaw(gp_Vec & ATangent, gp_Vec & ANormal, gp_Vec & ABiNormal); /****************** Guide ******************/ - /**** md5 signature: 7825016167368c6530be15068ef7ba41 ****/ + /**** md5 signature: 17558c6f9257708f1da49899c586c13c ****/ %feature("compactdefaultargs") Guide; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") Guide; - virtual opencascade::handle Guide(); + virtual opencascade::handle Guide(); /****************** Intervals ******************/ /**** md5 signature: 89fb47d5d3721d82826a17cc788156e4 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -11587,7 +11590,7 @@ bool /****************** IsOnlyBy3dCurve ******************/ /**** md5 signature: dce50a0e4caf3b6774af0413898e9c4b ****/ %feature("compactdefaultargs") IsOnlyBy3dCurve; - %feature("autodoc", "Say if the law is defined, only by the 3d geometry of the setted curve return false by default. + %feature("autodoc", "Say if the law is defined, only by the 3d geometry of the set curve return false by default. Returns ------- @@ -11627,19 +11630,19 @@ None virtual void Origine(const Standard_Real OrACR1, const Standard_Real OrACR2); /****************** SetCurve ******************/ - /**** md5 signature: 461c0cca1ef3154515f91bc70d65d0a5 ****/ + /**** md5 signature: cad734bff5f673ac1acd8eb3a4ad371c ****/ %feature("compactdefaultargs") SetCurve; %feature("autodoc", "No available documentation. Parameters ---------- -thePath: Adaptor3d_HCurve +thePath: Adaptor3d_Curve Returns ------- None ") SetCurve; - virtual void SetCurve(const opencascade::handle & thePath); + virtual void SetCurve(const opencascade::handle & thePath); /****************** SetInterval ******************/ /**** md5 signature: 09d00fda8057705f50d4a0bf656696ed ****/ diff --git a/src/SWIG_files/wrapper/GeomFill.pyi b/src/SWIG_files/wrapper/GeomFill.pyi index 5b751859b..a6f51b2ba 100644 --- a/src/SWIG_files/wrapper/GeomFill.pyi +++ b/src/SWIG_files/wrapper/GeomFill.pyi @@ -299,7 +299,7 @@ class GeomFill_Boundary(Standard_Transient): def Value(self, U: float) -> gp_Pnt: ... class GeomFill_CircularBlendFunc(Approx_SweepFunction): - def __init__(self, Path: Adaptor3d_HCurve, Curve1: Adaptor3d_HCurve, Curve2: Adaptor3d_HCurve, Radius: float, Polynomial: Optional[bool] = False) -> None: ... + def __init__(self, Path: Adaptor3d_Curve, Curve1: Adaptor3d_Curve, Curve2: Adaptor3d_Curve, Radius: float, Polynomial: Optional[bool] = False) -> None: ... def BarycentreOfSurf(self) -> gp_Pnt: ... def D0(self, Param: float, First: float, Last: float, Poles: TColgp_Array1OfPnt, Poles2d: TColgp_Array1OfPnt2d, Weigths: TColStd_Array1OfReal) -> bool: ... def D1(self, Param: float, First: float, Last: float, Poles: TColgp_Array1OfPnt, DPoles: TColgp_Array1OfVec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d, Weigths: TColStd_Array1OfReal, DWeigths: TColStd_Array1OfReal) -> bool: ... @@ -375,10 +375,10 @@ class GeomFill_Filling: def isRational(self) -> bool: ... class GeomFill_FunctionDraft(math_FunctionSetWithDerivatives): - def __init__(self, S: Adaptor3d_HSurface, C: Adaptor3d_HCurve) -> None: ... - def Deriv2T(self, C: Adaptor3d_HCurve, Param: float, W: float, d2N: gp_Vec, teta: float, F: math_Vector) -> bool: ... + def __init__(self, S: Adaptor3d_Surface, C: Adaptor3d_Curve) -> None: ... + def Deriv2T(self, C: Adaptor3d_Curve, Param: float, W: float, d2N: gp_Vec, teta: float, F: math_Vector) -> bool: ... def Deriv2X(self, X: math_Vector, T: GeomFill_Tensor) -> bool: ... - def DerivT(self, C: Adaptor3d_HCurve, Param: float, W: float, dN: gp_Vec, teta: float, F: math_Vector) -> bool: ... + def DerivT(self, C: Adaptor3d_Curve, Param: float, W: float, dN: gp_Vec, teta: float, F: math_Vector) -> bool: ... def DerivTX(self, dN: gp_Vec, teta: float, D: math_Matrix) -> bool: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def NbEquations(self) -> int: ... @@ -387,7 +387,7 @@ class GeomFill_FunctionDraft(math_FunctionSetWithDerivatives): def Values(self, X: math_Vector, F: math_Vector, D: math_Matrix) -> bool: ... class GeomFill_FunctionGuide(math_FunctionSetWithDerivatives): - def __init__(self, S: GeomFill_SectionLaw, Guide: Adaptor3d_HCurve, ParamOnLaw: Optional[float] = 0.0) -> None: ... + def __init__(self, S: GeomFill_SectionLaw, Guide: Adaptor3d_Curve, ParamOnLaw: Optional[float] = 0.0) -> None: ... def DerivT(self, X: math_Vector, DCentre: gp_XYZ, DDir: gp_XYZ, DFDT: math_Vector) -> bool: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def NbEquations(self) -> int: ... @@ -421,7 +421,7 @@ class GeomFill_LocationLaw(Standard_Transient): def D2(self, Param: float, M: gp_Mat, V: gp_Vec, DM: gp_Mat, DV: gp_Vec, D2M: gp_Mat, D2V: gp_Vec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d, D2Poles2d: TColgp_Array1OfVec2d) -> bool: ... def ErrorStatus(self) -> GeomFill_PipeError: ... def GetAverageLaw(self, AM: gp_Mat, AV: gp_Vec) -> None: ... - def GetCurve(self) -> Adaptor3d_HCurve: ... + def GetCurve(self) -> Adaptor3d_Curve: ... def GetDomain(self) -> Tuple[float, float]: ... def GetInterval(self) -> Tuple[float, float]: ... def GetMaximalNorm(self) -> float: ... @@ -434,7 +434,7 @@ class GeomFill_LocationLaw(Standard_Transient): def NbIntervals(self, S: GeomAbs_Shape) -> int: ... def Resolution(self, Index: int, Tol: float) -> Tuple[float, float]: ... def Rotation(self, Center: gp_Pnt) -> None: ... - def SetCurve(self, C: Adaptor3d_HCurve) -> None: ... + def SetCurve(self, C: Adaptor3d_Curve) -> None: ... def SetInterval(self, First: float, Last: float) -> None: ... def SetTolerance(self, Tol3d: float, Tol2d: float) -> None: ... def SetTrsf(self, Transfo: gp_Mat) -> None: ... @@ -458,9 +458,9 @@ class GeomFill_Pipe: @overload def __init__(self, Path: Geom_Curve, Curve1: Geom_Curve, Curve2: Geom_Curve, Radius: float) -> None: ... @overload - def __init__(self, Path: Adaptor3d_HCurve, Curve1: Adaptor3d_HCurve, Curve2: Adaptor3d_HCurve, Radius: float) -> None: ... + def __init__(self, Path: Adaptor3d_Curve, Curve1: Adaptor3d_Curve, Curve2: Adaptor3d_Curve, Radius: float) -> None: ... @overload - def __init__(self, Path: Geom_Curve, Guide: Adaptor3d_HCurve, FirstSect: Geom_Curve, ByACR: bool, rotat: bool) -> None: ... + def __init__(self, Path: Geom_Curve, Guide: Adaptor3d_Curve, FirstSect: Geom_Curve, ByACR: bool, rotat: bool) -> None: ... def ErrorOnSurf(self) -> float: ... def ExchangeUV(self) -> bool: ... @overload @@ -480,9 +480,9 @@ class GeomFill_Pipe: @overload def Init(self, Path: Geom_Curve, NSections: TColGeom_SequenceOfCurve) -> None: ... @overload - def Init(self, Path: Adaptor3d_HCurve, Curve1: Adaptor3d_HCurve, Curve2: Adaptor3d_HCurve, Radius: float) -> None: ... + def Init(self, Path: Adaptor3d_Curve, Curve1: Adaptor3d_Curve, Curve2: Adaptor3d_Curve, Radius: float) -> None: ... @overload - def Init(self, Path: Geom_Curve, Guide: Adaptor3d_HCurve, FirstSect: Geom_Curve, ByACR: bool, rotat: bool) -> None: ... + def Init(self, Path: Geom_Curve, Guide: Adaptor3d_Curve, FirstSect: Geom_Curve, ByACR: bool, rotat: bool) -> None: ... def IsDone(self) -> bool: ... @overload def Perform(self, WithParameters: Optional[bool] = False, myPolynomial: Optional[bool] = False) -> None: ... @@ -491,7 +491,7 @@ class GeomFill_Pipe: def Surface(self) -> Geom_Surface: ... class GeomFill_PlanFunc(math_FunctionWithDerivative): - def __init__(self, P: gp_Pnt, V: gp_Vec, C: Adaptor3d_HCurve) -> None: ... + def __init__(self, P: gp_Pnt, V: gp_Vec, C: Adaptor3d_Curve) -> None: ... def D2(self, X: float) -> Tuple[float, float, float]: ... def D2E(self, X: float, DP: gp_Vec, D2P: gp_Vec, DV: gp_Vec, D2V: gp_Vec) -> Tuple[float, float, float]: ... def DEDT(self, X: float, DP: gp_Vec, DV: gp_Vec) -> float: ... @@ -571,7 +571,7 @@ class GeomFill_SectionPlacement: @overload def Perform(self, Tol: float) -> None: ... @overload - def Perform(self, Path: Adaptor3d_HCurve, Tol: float) -> None: ... + def Perform(self, Path: Adaptor3d_Curve, Tol: float) -> None: ... @overload def Perform(self, ParamOnPath: float, Tol: float) -> None: ... def Section(self, WithTranslation: bool) -> Geom_Curve: ... @@ -579,7 +579,7 @@ class GeomFill_SectionPlacement: def Transformation(self, WithTranslation: bool, WithCorrection: Optional[bool] = False) -> gp_Trsf: ... class GeomFill_SnglrFunc(Adaptor3d_Curve): - def __init__(self, HC: Adaptor3d_HCurve) -> None: ... + def __init__(self, HC: Adaptor3d_Curve) -> None: ... def D0(self, U: float, P: gp_Pnt) -> None: ... def D1(self, U: float, P: gp_Pnt, V: gp_Vec) -> None: ... def D2(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... @@ -663,7 +663,7 @@ class GeomFill_TrihedronLaw(Standard_Transient): def IsConstant(self) -> bool: ... def IsOnlyBy3dCurve(self) -> bool: ... def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def SetCurve(self, C: Adaptor3d_HCurve) -> None: ... + def SetCurve(self, C: Adaptor3d_Curve) -> None: ... def SetInterval(self, First: float, Last: float) -> None: ... class GeomFill_BoundWithSurf(GeomFill_Boundary): @@ -688,7 +688,7 @@ class GeomFill_ConstantBiNormal(GeomFill_TrihedronLaw): def IsConstant(self) -> bool: ... def IsOnlyBy3dCurve(self) -> bool: ... def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def SetCurve(self, C: Adaptor3d_HCurve) -> None: ... + def SetCurve(self, C: Adaptor3d_Curve) -> None: ... class GeomFill_Coons(GeomFill_Filling): @overload @@ -717,7 +717,7 @@ class GeomFill_CorrectedFrenet(GeomFill_TrihedronLaw): def IsConstant(self) -> bool: ... def IsOnlyBy3dCurve(self) -> bool: ... def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def SetCurve(self, C: Adaptor3d_HCurve) -> None: ... + def SetCurve(self, C: Adaptor3d_Curve) -> None: ... def SetInterval(self, First: float, Last: float) -> None: ... class GeomFill_CurveAndTrihedron(GeomFill_LocationLaw): @@ -730,7 +730,7 @@ class GeomFill_CurveAndTrihedron(GeomFill_LocationLaw): def D1(self, Param: float, M: gp_Mat, V: gp_Vec, DM: gp_Mat, DV: gp_Vec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d) -> bool: ... def D2(self, Param: float, M: gp_Mat, V: gp_Vec, DM: gp_Mat, DV: gp_Vec, D2M: gp_Mat, D2V: gp_Vec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d, D2Poles2d: TColgp_Array1OfVec2d) -> bool: ... def GetAverageLaw(self, AM: gp_Mat, AV: gp_Vec) -> None: ... - def GetCurve(self) -> Adaptor3d_HCurve: ... + def GetCurve(self) -> Adaptor3d_Curve: ... def GetDomain(self) -> Tuple[float, float]: ... def GetInterval(self) -> Tuple[float, float]: ... def GetMaximalNorm(self) -> float: ... @@ -739,7 +739,7 @@ class GeomFill_CurveAndTrihedron(GeomFill_LocationLaw): def IsTranslation(self) -> Tuple[bool, float]: ... def NbIntervals(self, S: GeomAbs_Shape) -> int: ... def Rotation(self, Center: gp_Pnt) -> None: ... - def SetCurve(self, C: Adaptor3d_HCurve) -> None: ... + def SetCurve(self, C: Adaptor3d_Curve) -> None: ... def SetInterval(self, First: float, Last: float) -> None: ... def SetTrsf(self, Transfo: gp_Mat) -> None: ... @@ -795,7 +795,7 @@ class GeomFill_DiscreteTrihedron(GeomFill_TrihedronLaw): def IsConstant(self) -> bool: ... def IsOnlyBy3dCurve(self) -> bool: ... def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def SetCurve(self, C: Adaptor3d_HCurve) -> None: ... + def SetCurve(self, C: Adaptor3d_Curve) -> None: ... class GeomFill_DraftTrihedron(GeomFill_TrihedronLaw): def __init__(self, BiNormal: gp_Vec, Angle: float) -> None: ... @@ -857,7 +857,7 @@ class GeomFill_Frenet(GeomFill_TrihedronLaw): def IsConstant(self) -> bool: ... def IsOnlyBy3dCurve(self) -> bool: ... def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def SetCurve(self, C: Adaptor3d_HCurve) -> None: ... + def SetCurve(self, C: Adaptor3d_Curve) -> None: ... class GeomFill_Generator(GeomFill_Profiler): def __init__(self) -> None: ... @@ -875,7 +875,7 @@ class GeomFill_LocationDraft(GeomFill_LocationLaw): def D2(self, Param: float, M: gp_Mat, V: gp_Vec, DM: gp_Mat, DV: gp_Vec, D2M: gp_Mat, D2V: gp_Vec, Poles2d: TColgp_Array1OfPnt2d, DPoles2d: TColgp_Array1OfVec2d, D2Poles2d: TColgp_Array1OfVec2d) -> bool: ... def Direction(self) -> gp_Dir: ... def GetAverageLaw(self, AM: gp_Mat, AV: gp_Vec) -> None: ... - def GetCurve(self) -> Adaptor3d_HCurve: ... + def GetCurve(self) -> Adaptor3d_Curve: ... def GetDomain(self) -> Tuple[float, float]: ... def GetInterval(self) -> Tuple[float, float]: ... def GetMaximalNorm(self) -> float: ... @@ -889,9 +889,9 @@ class GeomFill_LocationDraft(GeomFill_LocationLaw): def Resolution(self, Index: int, Tol: float) -> Tuple[float, float]: ... def Rotation(self, Center: gp_Pnt) -> None: ... def SetAngle(self, Angle: float) -> None: ... - def SetCurve(self, C: Adaptor3d_HCurve) -> None: ... + def SetCurve(self, C: Adaptor3d_Curve) -> None: ... def SetInterval(self, First: float, Last: float) -> None: ... - def SetStopSurf(self, Surf: Adaptor3d_HSurface) -> None: ... + def SetStopSurf(self, Surf: Adaptor3d_Surface) -> None: ... def SetTrsf(self, Transfo: gp_Mat) -> None: ... def TraceNumber(self) -> int: ... @@ -908,11 +908,11 @@ class GeomFill_LocationGuide(GeomFill_LocationLaw): def EraseRotation(self) -> None: ... def ErrorStatus(self) -> GeomFill_PipeError: ... def GetAverageLaw(self, AM: gp_Mat, AV: gp_Vec) -> None: ... - def GetCurve(self) -> Adaptor3d_HCurve: ... + def GetCurve(self) -> Adaptor3d_Curve: ... def GetDomain(self) -> Tuple[float, float]: ... def GetInterval(self) -> Tuple[float, float]: ... def GetMaximalNorm(self) -> float: ... - def Guide(self) -> Adaptor3d_HCurve: ... + def Guide(self) -> Adaptor3d_Curve: ... def HasFirstRestriction(self) -> bool: ... def HasLastRestriction(self) -> bool: ... def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... @@ -923,7 +923,7 @@ class GeomFill_LocationGuide(GeomFill_LocationLaw): def Rotation(self, Center: gp_Pnt) -> None: ... def Section(self) -> Geom_Curve: ... def Set(self, Section: GeomFill_SectionLaw, rotat: bool, SFirst: float, SLast: float, PrecAngle: float) -> float: ... - def SetCurve(self, C: Adaptor3d_HCurve) -> None: ... + def SetCurve(self, C: Adaptor3d_Curve) -> None: ... def SetInterval(self, First: float, Last: float) -> None: ... def SetOrigine(self, Param1: float, Param2: float) -> None: ... def SetTolerance(self, Tol3d: float, Tol2d: float) -> None: ... @@ -978,7 +978,7 @@ class GeomFill_SectionGenerator(GeomFill_Profiler): def SetParam(self, Params: TColStd_HArray1OfReal) -> None: ... class GeomFill_SimpleBound(GeomFill_Boundary): - def __init__(self, Curve: Adaptor3d_HCurve, Tol3d: float, Tolang: float) -> None: ... + def __init__(self, Curve: Adaptor3d_Curve, Tol3d: float, Tolang: float) -> None: ... def Bounds(self) -> Tuple[float, float]: ... def D1(self, U: float, P: gp_Pnt, V: gp_Vec) -> None: ... def IsDegenerated(self) -> bool: ... @@ -1007,7 +1007,7 @@ class GeomFill_TgtOnCoons(GeomFill_TgtField): class GeomFill_TrihedronWithGuide(GeomFill_TrihedronLaw): def CurrentPointOnGuide(self) -> gp_Pnt: ... - def Guide(self) -> Adaptor3d_HCurve: ... + def Guide(self) -> Adaptor3d_Curve: ... def Origine(self, Param1: float, Param2: float) -> None: ... class GeomFill_UniformSection(GeomFill_SectionLaw): @@ -1035,36 +1035,36 @@ class GeomFill_UniformSection(GeomFill_SectionLaw): def SetInterval(self, First: float, Last: float) -> None: ... class GeomFill_GuideTrihedronAC(GeomFill_TrihedronWithGuide): - def __init__(self, guide: Adaptor3d_HCurve) -> None: ... + def __init__(self, guide: Adaptor3d_Curve) -> None: ... def Copy(self) -> GeomFill_TrihedronLaw: ... def D0(self, Param: float, Tangent: gp_Vec, Normal: gp_Vec, BiNormal: gp_Vec) -> bool: ... def D1(self, Param: float, Tangent: gp_Vec, DTangent: gp_Vec, Normal: gp_Vec, DNormal: gp_Vec, BiNormal: gp_Vec, DBiNormal: gp_Vec) -> bool: ... def D2(self, Param: float, Tangent: gp_Vec, DTangent: gp_Vec, D2Tangent: gp_Vec, Normal: gp_Vec, DNormal: gp_Vec, D2Normal: gp_Vec, BiNormal: gp_Vec, DBiNormal: gp_Vec, D2BiNormal: gp_Vec) -> bool: ... def GetAverageLaw(self, ATangent: gp_Vec, ANormal: gp_Vec, ABiNormal: gp_Vec) -> None: ... - def Guide(self) -> Adaptor3d_HCurve: ... + def Guide(self) -> Adaptor3d_Curve: ... def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... def IsConstant(self) -> bool: ... def IsOnlyBy3dCurve(self) -> bool: ... def NbIntervals(self, S: GeomAbs_Shape) -> int: ... def Origine(self, OrACR1: float, OrACR2: float) -> None: ... - def SetCurve(self, C: Adaptor3d_HCurve) -> None: ... + def SetCurve(self, C: Adaptor3d_Curve) -> None: ... def SetInterval(self, First: float, Last: float) -> None: ... class GeomFill_GuideTrihedronPlan(GeomFill_TrihedronWithGuide): - def __init__(self, theGuide: Adaptor3d_HCurve) -> None: ... + def __init__(self, theGuide: Adaptor3d_Curve) -> None: ... def Copy(self) -> GeomFill_TrihedronLaw: ... def D0(self, Param: float, Tangent: gp_Vec, Normal: gp_Vec, BiNormal: gp_Vec) -> bool: ... def D1(self, Param: float, Tangent: gp_Vec, DTangent: gp_Vec, Normal: gp_Vec, DNormal: gp_Vec, BiNormal: gp_Vec, DBiNormal: gp_Vec) -> bool: ... def D2(self, Param: float, Tangent: gp_Vec, DTangent: gp_Vec, D2Tangent: gp_Vec, Normal: gp_Vec, DNormal: gp_Vec, D2Normal: gp_Vec, BiNormal: gp_Vec, DBiNormal: gp_Vec, D2BiNormal: gp_Vec) -> bool: ... def ErrorStatus(self) -> GeomFill_PipeError: ... def GetAverageLaw(self, ATangent: gp_Vec, ANormal: gp_Vec, ABiNormal: gp_Vec) -> None: ... - def Guide(self) -> Adaptor3d_HCurve: ... + def Guide(self) -> Adaptor3d_Curve: ... def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... def IsConstant(self) -> bool: ... def IsOnlyBy3dCurve(self) -> bool: ... def NbIntervals(self, S: GeomAbs_Shape) -> int: ... def Origine(self, OrACR1: float, OrACR2: float) -> None: ... - def SetCurve(self, thePath: Adaptor3d_HCurve) -> None: ... + def SetCurve(self, thePath: Adaptor3d_Curve) -> None: ... def SetInterval(self, First: float, Last: float) -> None: ... #classnotwrapped diff --git a/src/SWIG_files/wrapper/GeomInt.i b/src/SWIG_files/wrapper/GeomInt.i index 23ad0042d..a01b7841f 100644 --- a/src/SWIG_files/wrapper/GeomInt.i +++ b/src/SWIG_files/wrapper/GeomInt.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOMINTDOCSTRING "GeomInt module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomint.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geomint.html" %enddef %module (package="OCC.Core", docstring=GEOMINTDOCSTRING) GeomInt @@ -96,7 +96,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -1133,14 +1133,14 @@ None void Perform(const opencascade::handle & S1, const opencascade::handle & S2, const Standard_Real Tol, const Standard_Boolean Approx = Standard_True, const Standard_Boolean ApproxS1 = Standard_False, const Standard_Boolean ApproxS2 = Standard_False); /****************** Perform ******************/ - /**** md5 signature: b2a019dcc3a6698ca6e543f29c1a5fdb ****/ + /**** md5 signature: 941b2b95a9b8f4e8d1f31d8f8f515e3d ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Intersection of adapted surfaces. Parameters ---------- -HS1: GeomAdaptor_HSurface -HS2: GeomAdaptor_HSurface +HS1: GeomAdaptor_Surface +HS2: GeomAdaptor_Surface Tol: float Approx: bool,optional default value is Standard_True @@ -1153,7 +1153,7 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & HS1, const opencascade::handle & HS2, const Standard_Real Tol, const Standard_Boolean Approx = Standard_True, const Standard_Boolean ApproxS1 = Standard_False, const Standard_Boolean ApproxS2 = Standard_False); + void Perform(const opencascade::handle & HS1, const opencascade::handle & HS2, const Standard_Real Tol, const Standard_Boolean Approx = Standard_True, const Standard_Boolean ApproxS1 = Standard_False, const Standard_Boolean ApproxS2 = Standard_False); /****************** Perform ******************/ /**** md5 signature: 73c48116f09d9e8b379e1bbb117b10b1 ****/ @@ -1183,14 +1183,14 @@ None void Perform(const opencascade::handle & S1, const opencascade::handle & S2, const Standard_Real Tol, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2, const Standard_Boolean Approx = Standard_True, const Standard_Boolean ApproxS1 = Standard_False, const Standard_Boolean ApproxS2 = Standard_False); /****************** Perform ******************/ - /**** md5 signature: b9277d7ddec70e649af5066d9199c604 ****/ + /**** md5 signature: a1e4f1bf6f4cefe55312366702abfa51 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Intersection of adapted surfaces using a starting point. Parameters ---------- -HS1: GeomAdaptor_HSurface -HS2: GeomAdaptor_HSurface +HS1: GeomAdaptor_Surface +HS2: GeomAdaptor_Surface Tol: float U1: float V1: float @@ -1207,7 +1207,7 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & HS1, const opencascade::handle & HS2, const Standard_Real Tol, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2, const Standard_Boolean Approx = Standard_True, const Standard_Boolean ApproxS1 = Standard_False, const Standard_Boolean ApproxS2 = Standard_False); + void Perform(const opencascade::handle & HS1, const opencascade::handle & HS2, const Standard_Real Tol, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2, const Standard_Boolean Approx = Standard_True, const Standard_Boolean ApproxS1 = Standard_False, const Standard_Boolean ApproxS2 = Standard_False); /****************** Pnt2d ******************/ /**** md5 signature: 70e3cf4a0a6f4cd62919c61b21b8dac0 ****/ @@ -1263,15 +1263,15 @@ float Standard_Real TolReached3d(); /****************** TreatRLine ******************/ - /**** md5 signature: 491c3dacd5f6421cc8110e8eca9b2a74 ****/ + /**** md5 signature: 937cc34b25e05ec74387ed10ee40296e ****/ %feature("compactdefaultargs") TreatRLine; %feature("autodoc", "Converts rline to geom(2d)_curve. Parameters ---------- theRL: IntPatch_RLine -theHS1: GeomAdaptor_HSurface -theHS2: GeomAdaptor_HSurface +theHS1: GeomAdaptor_Surface +theHS2: GeomAdaptor_Surface theC3d: Geom_Curve theC2d1: Geom2d_Curve theC2d2: Geom2d_Curve @@ -1280,7 +1280,7 @@ Returns ------- theTolReached: float ") TreatRLine; - static void TreatRLine(const opencascade::handle & theRL, const opencascade::handle & theHS1, const opencascade::handle & theHS2, opencascade::handle & theC3d, opencascade::handle & theC2d1, opencascade::handle & theC2d2, Standard_Real &OutValue); + static void TreatRLine(const opencascade::handle & theRL, const opencascade::handle & theHS1, const opencascade::handle & theHS2, opencascade::handle & theC3d, opencascade::handle & theC2d1, opencascade::handle & theC2d2, Standard_Real &OutValue); /****************** TrimILineOnSurfBoundaries ******************/ /**** md5 signature: 296ff18403a193bd148a0bb591fb60d7 ****/ @@ -1346,7 +1346,7 @@ bool Standard_Boolean IsDone(); /****************** Load ******************/ - /**** md5 signature: 4d5aac89c4d3cac18412238d60b86a1b ****/ + /**** md5 signature: 79e3a2dc3b8e325809da53bf6db5f35b ****/ %feature("compactdefaultargs") Load; %feature("autodoc", "Initializes me by two surfaces and corresponding tools which represent boundaries of surfaces. @@ -1354,14 +1354,14 @@ Parameters ---------- D1: Adaptor3d_TopolTool D2: Adaptor3d_TopolTool -S1: GeomAdaptor_HSurface -S2: GeomAdaptor_HSurface +S1: GeomAdaptor_Surface +S2: GeomAdaptor_Surface Returns ------- None ") Load; - void Load(const opencascade::handle & D1, const opencascade::handle & D2, const opencascade::handle & S1, const opencascade::handle & S2); + void Load(const opencascade::handle & D1, const opencascade::handle & D2, const opencascade::handle & S1, const opencascade::handle & S2); /****************** NbParts ******************/ /**** md5 signature: 309ebdfe06afb1fef88f3046131c3deb ****/ @@ -1420,15 +1420,15 @@ None class GeomInt_LineTool { public: /****************** DecompositionOfWLine ******************/ - /**** md5 signature: 774f308a6369fea4648dea0a75ae1a0c ****/ + /**** md5 signature: a11cd86ba4ec963237a16709f49a30e5 ****/ %feature("compactdefaultargs") DecompositionOfWLine; %feature("autodoc", "No available documentation. Parameters ---------- theWLine: IntPatch_WLine -theSurface1: GeomAdaptor_HSurface -theSurface2: GeomAdaptor_HSurface +theSurface1: GeomAdaptor_Surface +theSurface2: GeomAdaptor_Surface aTolSum: float theLConstructor: GeomInt_LineConstructor theNewLines: IntPatch_SequenceOfLine @@ -1437,7 +1437,7 @@ Returns ------- bool ") DecompositionOfWLine; - static Standard_Boolean DecompositionOfWLine(const opencascade::handle & theWLine, const opencascade::handle & theSurface1, const opencascade::handle & theSurface2, const Standard_Real aTolSum, const GeomInt_LineConstructor & theLConstructor, IntPatch_SequenceOfLine & theNewLines); + static Standard_Boolean DecompositionOfWLine(const opencascade::handle & theWLine, const opencascade::handle & theSurface1, const opencascade::handle & theSurface2, const Standard_Real aTolSum, const GeomInt_LineConstructor & theLConstructor, IntPatch_SequenceOfLine & theNewLines); /****************** FirstParameter ******************/ /**** md5 signature: cccff448706b5dedef51e7fc2e64ae95 ****/ @@ -3879,7 +3879,7 @@ None /****************** SetPeriodic ******************/ /**** md5 signature: 3109823bbe448d62437b44b39b4d9b19 ****/ %feature("compactdefaultargs") SetPeriodic; - %feature("autodoc", "Sets periodic flag. if theperiodic = standard_true, algorith tries to build periodic multicurve using corresponding c1 boundary condition for first and last multipoints. multiline must be closed. + %feature("autodoc", "Sets periodic flag. if theperiodic = standard_true, algorithm tries to build periodic multicurve using corresponding c1 boundary condition for first and last multipoints. multiline must be closed. Parameters ---------- @@ -3933,42 +3933,42 @@ AppParCurves_MultiBSpCurve class GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox : public math_FunctionSetWithDerivatives { public: /****************** GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox ******************/ - /**** md5 signature: 04e99abbd3cd62b143bbab42c401762d ****/ + /**** md5 signature: 25a05e92e7b02b3aa541cd2ad3d594a9 ****/ %feature("compactdefaultargs") GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox; %feature("autodoc", "No available documentation. Parameters ---------- -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface Returns ------- None ") GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox; - GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox(const opencascade::handle & S1, const opencascade::handle & S2); + GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox(const opencascade::handle & S1, const opencascade::handle & S2); /****************** AuxillarSurface1 ******************/ - /**** md5 signature: de137e38f3f056bf64cd7e4eab548eaf ****/ + /**** md5 signature: 2bcc0e8f6b940dfbbbc22a207b96f139 ****/ %feature("compactdefaultargs") AuxillarSurface1; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") AuxillarSurface1; - const opencascade::handle & AuxillarSurface1(); + const opencascade::handle & AuxillarSurface1(); /****************** AuxillarSurface2 ******************/ - /**** md5 signature: 02af9eff198053eb68634237a25ca989 ****/ + /**** md5 signature: 00eb01b56212c9640d2242fafdf3e920 ****/ %feature("compactdefaultargs") AuxillarSurface2; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") AuxillarSurface2; - const opencascade::handle & AuxillarSurface2(); + const opencascade::handle & AuxillarSurface2(); /****************** ComputeParameters ******************/ /**** md5 signature: 5686d6c4ca7c470ce5a820727bd25544 ****/ @@ -4148,36 +4148,36 @@ bool class GeomInt_TheImpPrmSvSurfacesOfWLApprox : public ApproxInt_SvSurfaces { public: /****************** GeomInt_TheImpPrmSvSurfacesOfWLApprox ******************/ - /**** md5 signature: 67802e9ec30b002579345b39c4c42061 ****/ + /**** md5 signature: 756b0be5f48f711bd5c404150aa6617e ****/ %feature("compactdefaultargs") GeomInt_TheImpPrmSvSurfacesOfWLApprox; %feature("autodoc", "No available documentation. Parameters ---------- -Surf1: Adaptor3d_HSurface +Surf1: Adaptor3d_Surface Surf2: IntSurf_Quadric Returns ------- None ") GeomInt_TheImpPrmSvSurfacesOfWLApprox; - GeomInt_TheImpPrmSvSurfacesOfWLApprox(const opencascade::handle & Surf1, const IntSurf_Quadric & Surf2); + GeomInt_TheImpPrmSvSurfacesOfWLApprox(const opencascade::handle & Surf1, const IntSurf_Quadric & Surf2); /****************** GeomInt_TheImpPrmSvSurfacesOfWLApprox ******************/ - /**** md5 signature: e34c1e0ff4d487121cdafcee827c63a9 ****/ + /**** md5 signature: 206f2546010b9fbe1ff8c3002f470f88 ****/ %feature("compactdefaultargs") GeomInt_TheImpPrmSvSurfacesOfWLApprox; %feature("autodoc", "No available documentation. Parameters ---------- Surf1: IntSurf_Quadric -Surf2: Adaptor3d_HSurface +Surf2: Adaptor3d_Surface Returns ------- None ") GeomInt_TheImpPrmSvSurfacesOfWLApprox; - GeomInt_TheImpPrmSvSurfacesOfWLApprox(const IntSurf_Quadric & Surf1, const opencascade::handle & Surf2); + GeomInt_TheImpPrmSvSurfacesOfWLApprox(const IntSurf_Quadric & Surf1, const opencascade::handle & Surf2); /****************** Compute ******************/ /**** md5 signature: 1b6699512251d1cde0fa87fb6fb9f2bf ****/ @@ -4314,39 +4314,39 @@ bool class GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox { public: /****************** GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox ******************/ - /**** md5 signature: 04b2619a6f98ac1a5927c14c79f12519 ****/ + /**** md5 signature: e56262fd3a0a528ff9551e1825dcea4c ****/ %feature("compactdefaultargs") GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox; %feature("autodoc", "Compute the solution point with the close point. Parameters ---------- Param: TColStd_Array1OfReal -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface TolTangency: float Returns ------- None ") GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox; - GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox(const TColStd_Array1OfReal & Param, const opencascade::handle & S1, const opencascade::handle & S2, const Standard_Real TolTangency); + GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox(const TColStd_Array1OfReal & Param, const opencascade::handle & S1, const opencascade::handle & S2, const Standard_Real TolTangency); /****************** GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox ******************/ - /**** md5 signature: 040b8daf3619bbcc53290d53fda04889 ****/ + /**** md5 signature: 4c370cda13592e56acd24cbe06174af1 ****/ %feature("compactdefaultargs") GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox; %feature("autodoc", "Initialize the parameters to compute the solution point it 's possible to write to optimize: intimp_int2s inter(s1,s2,func,toltangency); math_functionsetroot rsnld(inter.function()); while ...{ param(1)=... param(2)=... param(3)=... inter.perform(param,rsnld); }. Parameters ---------- -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface TolTangency: float Returns ------- None ") GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox; - GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox(const opencascade::handle & S1, const opencascade::handle & S2, const Standard_Real TolTangency); + GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox(const opencascade::handle & S1, const opencascade::handle & S2, const Standard_Real TolTangency); /****************** ChangePoint ******************/ /**** md5 signature: 1b1852ae04e18b1e3ae0c1ea8c1f6773 ****/ @@ -5081,20 +5081,20 @@ Approx_Status class GeomInt_ThePrmPrmSvSurfacesOfWLApprox : public ApproxInt_SvSurfaces { public: /****************** GeomInt_ThePrmPrmSvSurfacesOfWLApprox ******************/ - /**** md5 signature: 7eee316f3f8c667ac175b17810322d14 ****/ + /**** md5 signature: 4fba916203d8e976746fb2838ff206f9 ****/ %feature("compactdefaultargs") GeomInt_ThePrmPrmSvSurfacesOfWLApprox; %feature("autodoc", "No available documentation. Parameters ---------- -Surf1: Adaptor3d_HSurface -Surf2: Adaptor3d_HSurface +Surf1: Adaptor3d_Surface +Surf2: Adaptor3d_Surface Returns ------- None ") GeomInt_ThePrmPrmSvSurfacesOfWLApprox; - GeomInt_ThePrmPrmSvSurfacesOfWLApprox(const opencascade::handle & Surf1, const opencascade::handle & Surf2); + GeomInt_ThePrmPrmSvSurfacesOfWLApprox(const opencascade::handle & Surf1, const opencascade::handle & Surf2); /****************** Compute ******************/ /**** md5 signature: 1b6699512251d1cde0fa87fb6fb9f2bf ****/ @@ -5238,20 +5238,20 @@ None GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox(); /****************** GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox ******************/ - /**** md5 signature: 2101093207590f04c74bb5f87f45afed ****/ + /**** md5 signature: 8ded961e5c3205c0b178bffeb780a030 ****/ %feature("compactdefaultargs") GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox; %feature("autodoc", "No available documentation. Parameters ---------- -PS: Adaptor3d_HSurface +PS: Adaptor3d_Surface IS: IntSurf_Quadric Returns ------- None ") GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox; - GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox(const opencascade::handle & PS, const IntSurf_Quadric & IS); + GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox(const opencascade::handle & PS, const IntSurf_Quadric & IS); /****************** GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox ******************/ /**** md5 signature: 2f8aa55f338308969cc539957c11e030 ****/ @@ -5351,15 +5351,15 @@ int Standard_Integer NbVariables(); /****************** PSurface ******************/ - /**** md5 signature: 0a40ce1f5ad8ff1450f2b3c7ab3a7140 ****/ + /**** md5 signature: ba545ec7900073a2f2c5530d5104284d ****/ %feature("compactdefaultargs") PSurface; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") PSurface; - const opencascade::handle & PSurface(); + const opencascade::handle & PSurface(); /****************** Point ******************/ /**** md5 signature: 177e376cc11d1fedb2819bac56591ea8 ****/ @@ -5384,19 +5384,19 @@ float Standard_Real Root(); /****************** Set ******************/ - /**** md5 signature: 9ecb67ee9b893e382519f5f1648548ac ****/ + /**** md5 signature: 9ddb344b11924e5532d547145d17d9e5 ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "No available documentation. Parameters ---------- -PS: Adaptor3d_HSurface +PS: Adaptor3d_Surface Returns ------- None ") Set; - void Set(const opencascade::handle & PS); + void Set(const opencascade::handle & PS); /****************** Set ******************/ /**** md5 signature: 7e3e1092ebe5da1f71e965a1091893e3 ****/ diff --git a/src/SWIG_files/wrapper/GeomInt.pyi b/src/SWIG_files/wrapper/GeomInt.pyi index 277185697..eae46ba00 100644 --- a/src/SWIG_files/wrapper/GeomInt.pyi +++ b/src/SWIG_files/wrapper/GeomInt.pyi @@ -128,31 +128,31 @@ class GeomInt_IntSS: @overload def Perform(self, S1: Geom_Surface, S2: Geom_Surface, Tol: float, Approx: Optional[bool] = True, ApproxS1: Optional[bool] = False, ApproxS2: Optional[bool] = False) -> None: ... @overload - def Perform(self, HS1: GeomAdaptor_HSurface, HS2: GeomAdaptor_HSurface, Tol: float, Approx: Optional[bool] = True, ApproxS1: Optional[bool] = False, ApproxS2: Optional[bool] = False) -> None: ... + def Perform(self, HS1: GeomAdaptor_Surface, HS2: GeomAdaptor_Surface, Tol: float, Approx: Optional[bool] = True, ApproxS1: Optional[bool] = False, ApproxS2: Optional[bool] = False) -> None: ... @overload def Perform(self, S1: Geom_Surface, S2: Geom_Surface, Tol: float, U1: float, V1: float, U2: float, V2: float, Approx: Optional[bool] = True, ApproxS1: Optional[bool] = False, ApproxS2: Optional[bool] = False) -> None: ... @overload - def Perform(self, HS1: GeomAdaptor_HSurface, HS2: GeomAdaptor_HSurface, Tol: float, U1: float, V1: float, U2: float, V2: float, Approx: Optional[bool] = True, ApproxS1: Optional[bool] = False, ApproxS2: Optional[bool] = False) -> None: ... + def Perform(self, HS1: GeomAdaptor_Surface, HS2: GeomAdaptor_Surface, Tol: float, U1: float, V1: float, U2: float, V2: float, Approx: Optional[bool] = True, ApproxS1: Optional[bool] = False, ApproxS2: Optional[bool] = False) -> None: ... def Pnt2d(self, Index: int, OnFirst: bool) -> gp_Pnt2d: ... def Point(self, Index: int) -> gp_Pnt: ... def TolReached2d(self) -> float: ... def TolReached3d(self) -> float: ... @staticmethod - def TreatRLine(theRL: IntPatch_RLine, theHS1: GeomAdaptor_HSurface, theHS2: GeomAdaptor_HSurface, theC3d: Geom_Curve, theC2d1: Geom2d_Curve, theC2d2: Geom2d_Curve) -> float: ... + def TreatRLine(theRL: IntPatch_RLine, theHS1: GeomAdaptor_Surface, theHS2: GeomAdaptor_Surface, theC3d: Geom_Curve, theC2d1: Geom2d_Curve, theC2d2: Geom2d_Curve) -> float: ... @staticmethod def TrimILineOnSurfBoundaries(theC2d1: Geom2d_Curve, theC2d2: Geom2d_Curve, theBound1: Bnd_Box2d, theBound2: Bnd_Box2d, theArrayOfParameters: GeomInt_VectorOfReal) -> None: ... class GeomInt_LineConstructor: def __init__(self) -> None: ... def IsDone(self) -> bool: ... - def Load(self, D1: Adaptor3d_TopolTool, D2: Adaptor3d_TopolTool, S1: GeomAdaptor_HSurface, S2: GeomAdaptor_HSurface) -> None: ... + def Load(self, D1: Adaptor3d_TopolTool, D2: Adaptor3d_TopolTool, S1: GeomAdaptor_Surface, S2: GeomAdaptor_Surface) -> None: ... def NbParts(self) -> int: ... def Part(self, I: int) -> Tuple[float, float]: ... def Perform(self, L: IntPatch_Line) -> None: ... class GeomInt_LineTool: @staticmethod - def DecompositionOfWLine(theWLine: IntPatch_WLine, theSurface1: GeomAdaptor_HSurface, theSurface2: GeomAdaptor_HSurface, aTolSum: float, theLConstructor: GeomInt_LineConstructor, theNewLines: IntPatch_SequenceOfLine) -> bool: ... + def DecompositionOfWLine(theWLine: IntPatch_WLine, theSurface1: GeomAdaptor_Surface, theSurface2: GeomAdaptor_Surface, aTolSum: float, theLConstructor: GeomInt_LineConstructor, theNewLines: IntPatch_SequenceOfLine) -> bool: ... @staticmethod def FirstParameter(L: IntPatch_Line) -> float: ... @staticmethod @@ -361,9 +361,9 @@ class GeomInt_TheComputeLineOfWLApprox: def Value(self) -> AppParCurves_MultiBSpCurve: ... class GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox(math_FunctionSetWithDerivatives): - def __init__(self, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface) -> None: ... - def AuxillarSurface1(self) -> Adaptor3d_HSurface: ... - def AuxillarSurface2(self) -> Adaptor3d_HSurface: ... + def __init__(self, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface) -> None: ... + def AuxillarSurface1(self) -> Adaptor3d_Surface: ... + def AuxillarSurface2(self) -> Adaptor3d_Surface: ... def ComputeParameters(self, ChoixIso: IntImp_ConstIsoparametric, Param: TColStd_Array1OfReal, UVap: math_Vector, BornInf: math_Vector, BornSup: math_Vector, Tolerance: math_Vector) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def Direction(self) -> gp_Dir: ... @@ -379,9 +379,9 @@ class GeomInt_TheFunctionOfTheInt2SOfThePrmPrmSvSurfacesOfWLApprox(math_Function class GeomInt_TheImpPrmSvSurfacesOfWLApprox(ApproxInt_SvSurfaces): @overload - def __init__(self, Surf1: Adaptor3d_HSurface, Surf2: IntSurf_Quadric) -> None: ... + def __init__(self, Surf1: Adaptor3d_Surface, Surf2: IntSurf_Quadric) -> None: ... @overload - def __init__(self, Surf1: IntSurf_Quadric, Surf2: Adaptor3d_HSurface) -> None: ... + def __init__(self, Surf1: IntSurf_Quadric, Surf2: Adaptor3d_Surface) -> None: ... def Compute(self, Pt: gp_Pnt, Tg: gp_Vec, Tguv1: gp_Vec2d, Tguv2: gp_Vec2d) -> Tuple[bool, float, float, float, float]: ... def Pnt(self, u1: float, v1: float, u2: float, v2: float, P: gp_Pnt) -> None: ... def SeekPoint(self, u1: float, v1: float, u2: float, v2: float, Point: IntSurf_PntOn2S) -> bool: ... @@ -391,9 +391,9 @@ class GeomInt_TheImpPrmSvSurfacesOfWLApprox(ApproxInt_SvSurfaces): class GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox: @overload - def __init__(self, Param: TColStd_Array1OfReal, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, TolTangency: float) -> None: ... + def __init__(self, Param: TColStd_Array1OfReal, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, TolTangency: float) -> None: ... @overload - def __init__(self, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, TolTangency: float) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, TolTangency: float) -> None: ... def ChangePoint(self) -> IntSurf_PntOn2S: ... def Direction(self) -> gp_Dir: ... def DirectionOnS1(self) -> gp_Dir2d: ... @@ -482,7 +482,7 @@ class GeomInt_TheMultiLineToolOfWLApprox: def WhatStatus(ML: GeomInt_TheMultiLineOfWLApprox, I1: int, I2: int) -> Approx_Status: ... class GeomInt_ThePrmPrmSvSurfacesOfWLApprox(ApproxInt_SvSurfaces): - def __init__(self, Surf1: Adaptor3d_HSurface, Surf2: Adaptor3d_HSurface) -> None: ... + def __init__(self, Surf1: Adaptor3d_Surface, Surf2: Adaptor3d_Surface) -> None: ... def Compute(self, Pt: gp_Pnt, Tg: gp_Vec, Tguv1: gp_Vec2d, Tguv2: gp_Vec2d) -> Tuple[bool, float, float, float, float]: ... def Pnt(self, u1: float, v1: float, u2: float, v2: float, P: gp_Pnt) -> None: ... def SeekPoint(self, u1: float, v1: float, u2: float, v2: float, Point: IntSurf_PntOn2S) -> bool: ... @@ -494,7 +494,7 @@ class GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox(math_FunctionSetWithD @overload def __init__(self) -> None: ... @overload - def __init__(self, PS: Adaptor3d_HSurface, IS: IntSurf_Quadric) -> None: ... + def __init__(self, PS: Adaptor3d_Surface, IS: IntSurf_Quadric) -> None: ... @overload def __init__(self, IS: IntSurf_Quadric) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... @@ -504,11 +504,11 @@ class GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox(math_FunctionSetWithD def IsTangent(self) -> bool: ... def NbEquations(self) -> int: ... def NbVariables(self) -> int: ... - def PSurface(self) -> Adaptor3d_HSurface: ... + def PSurface(self) -> Adaptor3d_Surface: ... def Point(self) -> gp_Pnt: ... def Root(self) -> float: ... @overload - def Set(self, PS: Adaptor3d_HSurface) -> None: ... + def Set(self, PS: Adaptor3d_Surface) -> None: ... @overload def Set(self, Tolerance: float) -> None: ... def SetImplicitSurface(self, IS: IntSurf_Quadric) -> None: ... diff --git a/src/SWIG_files/wrapper/GeomLProp.i b/src/SWIG_files/wrapper/GeomLProp.i index 3036f5aa8..6d584e1b1 100644 --- a/src/SWIG_files/wrapper/GeomLProp.i +++ b/src/SWIG_files/wrapper/GeomLProp.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOMLPROPDOCSTRING "GeomLProp module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomlprop.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geomlprop.html" %enddef %module (package="OCC.Core", docstring=GEOMLPROPDOCSTRING) GeomLProp @@ -64,7 +64,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -109,7 +109,7 @@ GeomAbs_Shape /****************** Continuity ******************/ /**** md5 signature: 6fa4bcc756438bbc69c0c6e99919c3f8 ****/ %feature("compactdefaultargs") Continuity; - %feature("autodoc", "The same as preciding but using the standard tolerances from package precision. + %feature("autodoc", "The same as preceding but using the standard tolerances from package precision. Parameters ---------- diff --git a/src/SWIG_files/wrapper/GeomLib.i b/src/SWIG_files/wrapper/GeomLib.i index f45a6cb1a..4e9df247e 100644 --- a/src/SWIG_files/wrapper/GeomLib.i +++ b/src/SWIG_files/wrapper/GeomLib.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOMLIBDOCSTRING "GeomLib module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomlib.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geomlib.html" %enddef %module (package="OCC.Core", docstring=GEOMLIBDOCSTRING) GeomLib @@ -89,7 +89,7 @@ enum GeomLib_InterpolationErrors { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class GeomLib_InterpolationErrors(IntEnum): @@ -146,6 +146,7 @@ GeomLib_InversionProblem = GeomLib_InterpolationErrors.GeomLib_InversionProblem /* end templates declaration */ /* typedefs */ +typedef class Adaptor2d_Curve2d Adaptor2d_Curve2d; typedef NCollection_Array1 GeomLib_Array1OfMat; typedef GeomLib_DenominatorMultiplier * GeomLib_DenominatorMultiplierPtr; /* end typedefs declaration */ @@ -222,7 +223,7 @@ AverageDeviation: float /****************** CancelDenominatorDerivative ******************/ /**** md5 signature: b1394cc1fa88b83b1e70a1006cce9d30 ****/ %feature("compactdefaultargs") CancelDenominatorDerivative; - %feature("autodoc", "Cancel,on the boudaries,the denominator first derivative in the directions wished by the user and set its value to 1. + %feature("autodoc", "Cancel,on the boundaries,the denominator first derivative in the directions wished by the user and set its value to 1. Parameters ---------- @@ -256,7 +257,7 @@ None /****************** EvalMaxDistanceAlongParameter ******************/ /**** md5 signature: de42bb38ce6c9358ba871ec80228c62c ****/ %feature("compactdefaultargs") EvalMaxDistanceAlongParameter; - %feature("autodoc", "This will compute the maximum distancef at the parameters given in the parameters array by projecting from the curve to the reference curve and taking the minimum distance than the maximum will be taken on those minimas. + %feature("autodoc", "This will compute the maximum distance at the parameters given in the parameters array by projecting from the curve to the reference curve and taking the minimum distance than the maximum will be taken on those minimas. Parameters ---------- @@ -366,7 +367,7 @@ opencascade::handle /****************** Inertia ******************/ /**** md5 signature: 0cfbab9df00372ef7059361fbb0e5866 ****/ %feature("compactdefaultargs") Inertia; - %feature("autodoc", "Compute principale axes of inertia, and dispertion value of some points. + %feature("autodoc", "Compute principale axes of inertia, and dispersion value of some points. Parameters ---------- @@ -493,7 +494,7 @@ int /****************** RemovePointsFromArray ******************/ /**** md5 signature: 8ab10cabc9f24666f30aef7fc0f14871 ****/ %feature("compactdefaultargs") RemovePointsFromArray; - %feature("autodoc", "Warning! this assume that the inparameter is an increasing sequence of real number and it will not check for that : unpredictable result can happen if this is not satisfied. it is the caller responsability to check for that property. //! this method makes uniform numpoints segments s1,...snumpoints out of the segment defined by the first parameter and the last parameter ofthe inparameter ; keeps only one point of the inparameters set of parameter in each of the uniform segments taking care of the first and the last parameters. for the ith segment the element of the inparameter is the one that is the first to exceed the midpoint of the segment and to fall before the midpoint of the next segment there will be at the end at most numpoints + 1 if numpoints > 2 in the outparameters array. + %feature("autodoc", "Warning! this assume that the inparameter is an increasing sequence of real number and it will not check for that : unpredictable result can happen if this is not satisfied. it is the caller responsibility to check for that property. //! this method makes uniform numpoints segments s1,...snumpoints out of the segment defined by the first parameter and the last parameter of the inparameter ; keeps only one point of the inparameters set of parameter in each of the uniform segments taking care of the first and the last parameters. for the ith segment the element of the inparameter is the one that is the first to exceed the midpoint of the segment and to fall before the midpoint of the next segment there will be at the end at most numpoints + 1 if numpoints > 2 in the outparameters array. Parameters ---------- @@ -545,14 +546,14 @@ opencascade::handle static opencascade::handle To3d(const gp_Ax2 & Position, const opencascade::handle & Curve2d); /****************** buildC3dOnIsoLine ******************/ - /**** md5 signature: a73b098d4bd8a8e673d451db6a581c97 ****/ + /**** md5 signature: 7cf923021ff43067abdd03bd5d4c42a6 ****/ %feature("compactdefaultargs") buildC3dOnIsoLine; %feature("autodoc", "Builds 3d curve for a isoline. this method takes corresponding isoline from the input surface. @param thec2d trimmed curve to be approximated. @param theisu flag indicating that line is u const. @param theparam line parameter. @param theisforward flag indicating forward parameterization on a isoline. returns standard_true when 3d curve is built and standard_false otherwise. Parameters ---------- -theC2D: Adaptor2d_HCurve2d -theSurf: Adaptor3d_HSurface +theC2D: Adaptor2d_Curve2d +theSurf: Adaptor3d_Surface theFirst: float theLast: float theTolerance: float @@ -564,16 +565,16 @@ Returns ------- opencascade::handle ") buildC3dOnIsoLine; - static opencascade::handle buildC3dOnIsoLine(const opencascade::handle theC2D, const opencascade::handle theSurf, const Standard_Real theFirst, const Standard_Real theLast, const Standard_Real theTolerance, const Standard_Boolean theIsU, const Standard_Real theParam, const Standard_Boolean theIsForward); + static opencascade::handle buildC3dOnIsoLine(const opencascade::handle theC2D, const opencascade::handle theSurf, const Standard_Real theFirst, const Standard_Real theLast, const Standard_Real theTolerance, const Standard_Boolean theIsU, const Standard_Real theParam, const Standard_Boolean theIsForward); /****************** isIsoLine ******************/ - /**** md5 signature: d4686810fc634e66611de117189366e9 ****/ + /**** md5 signature: bd8c9f34a6bd6dba755af86ef9fcbca3 ****/ %feature("compactdefaultargs") isIsoLine; %feature("autodoc", "Checks whether the 2d curve is a isoline. it can be represented by b-spline, bezier, or geometric line. this line should have natural parameterization. @param thec2d trimmed curve to be checked. @param theisu flag indicating that line is u const. @param theparam line parameter. @param theisforward flag indicating forward parameterization on a isoline. returns standard_true when 2d curve is a line and standard_false otherwise. Parameters ---------- -theC2D: Adaptor2d_HCurve2d +theC2D: Adaptor2d_Curve2d Returns ------- @@ -581,7 +582,7 @@ theIsU: bool theParam: float theIsForward: bool ") isIsoLine; - static Standard_Boolean isIsoLine(const opencascade::handle theC2D, Standard_Boolean &OutValue, Standard_Real &OutValue, Standard_Boolean &OutValue); + static Standard_Boolean isIsoLine(const opencascade::handle theC2D, Standard_Boolean &OutValue, Standard_Real &OutValue, Standard_Boolean &OutValue); }; @@ -778,7 +779,7 @@ class GeomLib_CheckCurveOnSurface { /****************** GeomLib_CheckCurveOnSurface ******************/ /**** md5 signature: f411d7e872ddc970370879b04bbfec4d ****/ %feature("compactdefaultargs") GeomLib_CheckCurveOnSurface; - %feature("autodoc", "Default contructor. + %feature("autodoc", "Default constructor. Returns ------- @@ -787,16 +788,13 @@ None GeomLib_CheckCurveOnSurface(); /****************** GeomLib_CheckCurveOnSurface ******************/ - /**** md5 signature: e25f5931a8aee45fd8e054ead1cdb2e5 ****/ + /**** md5 signature: 4c10043862b08450260b336d9ad8391b ****/ %feature("compactdefaultargs") GeomLib_CheckCurveOnSurface; %feature("autodoc", "No available documentation. Parameters ---------- -theCurve: Geom_Curve -theSurface: Geom_Surface -theFirst: float -theLast: float +theCurve: Adaptor3d_Curve theTolRange: float,optional default value is Precision::PConfusion() @@ -804,18 +802,7 @@ Returns ------- None ") GeomLib_CheckCurveOnSurface; - GeomLib_CheckCurveOnSurface(const opencascade::handle & theCurve, const opencascade::handle & theSurface, const Standard_Real theFirst, const Standard_Real theLast, const Standard_Real theTolRange = Precision::PConfusion()); - - /****************** Curve ******************/ - /**** md5 signature: 62a16889fb975efa1b2de012099c169b ****/ - %feature("compactdefaultargs") Curve; - %feature("autodoc", "Returns my3dcurve. - -Returns -------- -opencascade::handle -") Curve; - const opencascade::handle & Curve(); + GeomLib_CheckCurveOnSurface(const opencascade::handle & theCurve, const Standard_Real theTolRange = Precision::PConfusion()); /****************** ErrorStatus ******************/ /**** md5 signature: 23ccaf4f25108c0b871675cdf964cbf6 ****/ @@ -829,16 +816,13 @@ int Standard_Integer ErrorStatus(); /****************** Init ******************/ - /**** md5 signature: d34b6f83c0750724e05b69368151cd50 ****/ + /**** md5 signature: dbe821d8ad3f25ebee5e4d4b5428201c ****/ %feature("compactdefaultargs") Init; %feature("autodoc", "Sets the data for the algorithm. Parameters ---------- -theCurve: Geom_Curve -theSurface: Geom_Surface -theFirst: float -theLast: float +theCurve: Adaptor3d_Curve theTolRange: float,optional default value is Precision::PConfusion() @@ -846,12 +830,12 @@ Returns ------- None ") Init; - void Init(const opencascade::handle & theCurve, const opencascade::handle & theSurface, const Standard_Real theFirst, const Standard_Real theLast, const Standard_Real theTolRange = Precision::PConfusion()); + void Init(const opencascade::handle & theCurve, const Standard_Real theTolRange = Precision::PConfusion()); /****************** Init ******************/ /**** md5 signature: 0de93ef32c53d091768788dca0e281fd ****/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initializes all members by dafault values. + %feature("autodoc", "Initializes all members by default values. Returns ------- @@ -893,47 +877,21 @@ float Standard_Real MaxParameter(); /****************** Perform ******************/ - /**** md5 signature: c060bcfa81d9cdd3f37c79b90b7dee75 ****/ + /**** md5 signature: 1d825d707aa54593e1d0d19b4cd89341 ****/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Computes the max distance for the 3d curve and 2d curve if isthemultytheaddisabled == true then computation will be made without any parallelization. + %feature("autodoc", "Computes the max distance for the 3d curve and 2d curve if ismultithread == standard_true then computation will be performed in parallel. Parameters ---------- -thePCurve: Geom2d_Curve -isTheMultyTheradDisabled: bool,optional +theCurveOnSurface: Adaptor3d_CurveOnSurface +isMultiThread: bool,optional default value is Standard_False Returns ------- None ") Perform; - void Perform(const opencascade::handle & thePCurve, const Standard_Boolean isTheMultyTheradDisabled = Standard_False); - - /****************** Range ******************/ - /**** md5 signature: d6d291eeedf26e22d25b030eceff7dfa ****/ - %feature("compactdefaultargs") Range; - %feature("autodoc", "Returns first and last parameter of the curves (2d- and 3d-curves are considered to have same range). - -Parameters ----------- - -Returns -------- -theFirst: float -theLast: float -") Range; - void Range(Standard_Real &OutValue, Standard_Real &OutValue); - - /****************** Surface ******************/ - /**** md5 signature: 3aa31a6d63da8a25f018cf96599c0928 ****/ - %feature("compactdefaultargs") Surface; - %feature("autodoc", "Returns mysurface. - -Returns -------- -opencascade::handle -") Surface; - const opencascade::handle & Surface(); + void Perform(const opencascade::handle & theCurveOnSurface, const Standard_Boolean isMultiThread = Standard_False); }; diff --git a/src/SWIG_files/wrapper/GeomLib.pyi b/src/SWIG_files/wrapper/GeomLib.pyi index 93c0fdaf5..027408a70 100644 --- a/src/SWIG_files/wrapper/GeomLib.pyi +++ b/src/SWIG_files/wrapper/GeomLib.pyi @@ -14,6 +14,7 @@ from OCC.Core.Adaptor2d import * from OCC.Core.math import * from OCC.Core.AdvApprox import * +Adaptor2d_Curve2d = NewType('Adaptor2d_Curve2d', class Adaptor2d_Curve2d) GeomLib_DenominatorMultiplierPtr = NewType('GeomLib_DenominatorMultiplierPtr', GeomLib_DenominatorMultiplier) class GeomLib_Array1OfMat: @@ -95,9 +96,9 @@ class geomlib: @staticmethod def To3d(Position: gp_Ax2, Curve2d: Geom2d_Curve) -> Geom_Curve: ... @staticmethod - def buildC3dOnIsoLine(theC2D: Adaptor2d_HCurve2d, theSurf: Adaptor3d_HSurface, theFirst: float, theLast: float, theTolerance: float, theIsU: bool, theParam: float, theIsForward: bool) -> Geom_Curve: ... + def buildC3dOnIsoLine(theC2D: Adaptor2d_Curve2d, theSurf: Adaptor3d_Surface, theFirst: float, theLast: float, theTolerance: float, theIsU: bool, theParam: float, theIsForward: bool) -> Geom_Curve: ... @staticmethod - def isIsoLine(theC2D: Adaptor2d_HCurve2d) -> Tuple[bool, bool, float, bool]: ... + def isIsoLine(theC2D: Adaptor2d_Curve2d) -> Tuple[bool, bool, float, bool]: ... class GeomLib_Check2dBSplineCurve: def __init__(self, Curve: Geom2d_BSplineCurve, Tolerance: float, AngularTolerance: float) -> None: ... @@ -117,19 +118,16 @@ class GeomLib_CheckCurveOnSurface: @overload def __init__(self) -> None: ... @overload - def __init__(self, theCurve: Geom_Curve, theSurface: Geom_Surface, theFirst: float, theLast: float, theTolRange: Optional[float] = precision_PConfusion()) -> None: ... - def Curve(self) -> Geom_Curve: ... + def __init__(self, theCurve: Adaptor3d_Curve, theTolRange: Optional[float] = precision_PConfusion()) -> None: ... def ErrorStatus(self) -> int: ... @overload - def Init(self, theCurve: Geom_Curve, theSurface: Geom_Surface, theFirst: float, theLast: float, theTolRange: Optional[float] = precision_PConfusion()) -> None: ... + def Init(self, theCurve: Adaptor3d_Curve, theTolRange: Optional[float] = precision_PConfusion()) -> None: ... @overload def Init(self) -> None: ... def IsDone(self) -> bool: ... def MaxDistance(self) -> float: ... def MaxParameter(self) -> float: ... - def Perform(self, thePCurve: Geom2d_Curve, isTheMultyTheradDisabled: Optional[bool] = False) -> None: ... - def Range(self) -> Tuple[float, float]: ... - def Surface(self) -> Geom_Surface: ... + def Perform(self, theCurveOnSurface: Adaptor3d_CurveOnSurface, isMultiThread: Optional[bool] = False) -> None: ... class GeomLib_DenominatorMultiplier: def __init__(self, Surface: Geom_BSplineSurface, KnotVector: TColStd_Array1OfReal) -> None: ... diff --git a/src/SWIG_files/wrapper/GeomPlate.i b/src/SWIG_files/wrapper/GeomPlate.i index 55d0b005c..d0606f323 100644 --- a/src/SWIG_files/wrapper/GeomPlate.i +++ b/src/SWIG_files/wrapper/GeomPlate.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOMPLATEDOCSTRING "GeomPlate module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomplate.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geomplate.html" %enddef %module (package="OCC.Core", docstring=GEOMPLATEDOCSTRING) GeomPlate @@ -87,7 +87,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -103,9 +103,9 @@ from OCC.Core.Exception import * /* end handles declaration */ /* templates */ -%template(GeomPlate_Array1OfHCurve) NCollection_Array1>; +%template(GeomPlate_Array1OfHCurve) NCollection_Array1>; -%extend NCollection_Array1> { +%extend NCollection_Array1> { %pythoncode { def __getitem__(self, index): if index + self.Lower() > self.Upper(): @@ -200,7 +200,7 @@ from OCC.Core.Exception import * /* end templates declaration */ /* typedefs */ -typedef NCollection_Array1> GeomPlate_Array1OfHCurve; +typedef NCollection_Array1> GeomPlate_Array1OfHCurve; typedef NCollection_Array1 GeomPlate_Array1OfSequenceOfReal; typedef NCollection_Sequence GeomPlate_SequenceOfAij; typedef NCollection_Sequence> GeomPlate_SequenceOfCurveConstraint; @@ -566,7 +566,7 @@ None /****************** G0Error ******************/ /**** md5 signature: ba177a9a7bac2d394577a179fd8040ef ****/ %feature("compactdefaultargs") G0Error; - %feature("autodoc", "Returns the max distance betwen the result and the constraints. + %feature("autodoc", "Returns the max distance between the result and the constraints. Returns ------- @@ -592,7 +592,7 @@ float /****************** G1Error ******************/ /**** md5 signature: 0a0e55267bc5572a38177b75a97dfedc ****/ %feature("compactdefaultargs") G1Error; - %feature("autodoc", "Returns the max angle betwen the result and the constraints. + %feature("autodoc", "Returns the max angle between the result and the constraints. Returns ------- @@ -618,7 +618,7 @@ float /****************** G2Error ******************/ /**** md5 signature: 0eac129a84e8ae945532a18ff833414e ****/ %feature("compactdefaultargs") G2Error; - %feature("autodoc", "Returns the max difference of curvature betwen the result and the constraints. + %feature("autodoc", "Returns the max difference of curvature between the result and the constraints. Returns ------- @@ -723,7 +723,7 @@ opencascade::handle /****************** Sense ******************/ /**** md5 signature: 8cfff544568a5ecc0c039bc023102a19 ****/ %feature("compactdefaultargs") Sense; - %feature("autodoc", "Allows you to ensure that the array of curves returned by curves2d has the correct orientation. returns the orientation of the curves in the the array returned by curves2d. computation changes the orientation of these curves. consequently, this method returns the orientation prior to computation. + %feature("autodoc", "Allows you to ensure that the array of curves returned by curves2d has the correct orientation. returns the orientation of the curves in the array returned by curves2d. computation changes the orientation of these curves. consequently, this method returns the orientation prior to computation. Returns ------- @@ -794,13 +794,13 @@ None GeomPlate_CurveConstraint(); /****************** GeomPlate_CurveConstraint ******************/ - /**** md5 signature: a62faecefa077f152bd27f5f64755f67 ****/ + /**** md5 signature: 401c58e34f2f2beea3aadc062461bd35 ****/ %feature("compactdefaultargs") GeomPlate_CurveConstraint; %feature("autodoc", "Create a constraint order is the order of the constraint. the possible values for order are -1,0,1,2. order i means constraints gi npt is the number of points associated with the constraint. toldist is the maximum error to satisfy for g0 constraints tolang is the maximum error to satisfy for g1 constraints tolcurv is the maximum error to satisfy for g2 constraints these errors can be replaced by laws of criterion. raises constructionerror if order is not -1 , 0, 1, 2. Parameters ---------- -Boundary: Adaptor3d_HCurve +Boundary: Adaptor3d_Curve Order: int NPt: int,optional default value is 10 @@ -815,7 +815,7 @@ Returns ------- None ") GeomPlate_CurveConstraint; - GeomPlate_CurveConstraint(const opencascade::handle & Boundary, const Standard_Integer Order, const Standard_Integer NPt = 10, const Standard_Real TolDist = 0.0001, const Standard_Real TolAng = 0.01, const Standard_Real TolCurv = 0.1); + GeomPlate_CurveConstraint(const opencascade::handle & Boundary, const Standard_Integer Order, const Standard_Integer NPt = 10, const Standard_Real TolDist = 0.0001, const Standard_Real TolAng = 0.01, const Standard_Real TolCurv = 0.1); /****************** Curve2dOnSurf ******************/ /**** md5 signature: 8c609bb48844258264c3cf92c31ed7f4 ****/ @@ -829,15 +829,15 @@ opencascade::handle opencascade::handle Curve2dOnSurf(); /****************** Curve3d ******************/ - /**** md5 signature: 596e8aeb9d7f684bb78e6f52b63a1e08 ****/ + /**** md5 signature: 2fa5bec7732a5b0addd39b44bb53f0e5 ****/ %feature("compactdefaultargs") Curve3d; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") Curve3d; - opencascade::handle Curve3d(); + opencascade::handle Curve3d(); /****************** D0 ******************/ /**** md5 signature: c5111ce8ff4abb74b6c4ba34040c62bb ****/ @@ -1010,15 +1010,15 @@ int Standard_Integer Order(); /****************** ProjectedCurve ******************/ - /**** md5 signature: c2c13b514792a4dff1cc971d955aac37 ****/ + /**** md5 signature: 29a2a58b4c1684492940e001f45b28a1 ****/ %feature("compactdefaultargs") ProjectedCurve; %feature("autodoc", "Returns the projected curve resulting from the normal projection of the curve on the initial surface. Returns ------- -opencascade::handle +opencascade::handle ") ProjectedCurve; - opencascade::handle ProjectedCurve(); + opencascade::handle ProjectedCurve(); /****************** SetCurve2dOnSurf ******************/ /**** md5 signature: e48c08a1c66719832c40503ef697b26b ****/ @@ -1111,13 +1111,13 @@ None void SetOrder(const Standard_Integer Order); /****************** SetProjectedCurve ******************/ - /**** md5 signature: 537f5fc7e623dce31c80f73c538af961 ****/ + /**** md5 signature: 61ce53d83dd31188e0a868cc575a4394 ****/ %feature("compactdefaultargs") SetProjectedCurve; %feature("autodoc", "Loads a 2d curve resulting from the normal projection of the curve on the initial surface. Parameters ---------- -Curve2d: Adaptor2d_HCurve2d +Curve2d: Adaptor2d_Curve2d TolU: float TolV: float @@ -1125,7 +1125,7 @@ Returns ------- None ") SetProjectedCurve; - void SetProjectedCurve(const opencascade::handle & Curve2d, const Standard_Real TolU, const Standard_Real TolV); + void SetProjectedCurve(const opencascade::handle & Curve2d, const Standard_Real TolU, const Standard_Real TolV); }; @@ -1892,7 +1892,7 @@ bool /****************** ParametricTransformation ******************/ /**** md5 signature: 019b69215b9dcafd8e9b0052b449ea05 ****/ %feature("compactdefaultargs") ParametricTransformation; - %feature("autodoc", "Returns a 2d transformation used to find the new parameters of a point on the transformed surface. //! me->transformed(t)->value(u',v') //! is the same point as //! me->value(u,v).transformed(t) //! where u',v' are obtained by transforming u,v with th 2d transformation returned by //! me->parametrictransformation(t) //! this methods returns an identity transformation //! it can be redefined. for example on the plane, cylinder, cone, revolved and extruded surfaces. + %feature("autodoc", "Returns a 2d transformation used to find the new parameters of a point on the transformed surface. @code me->transformed(t)->value(u',v') @endcode is the same point as @code me->value(u,v).transformed(t) @endcode where u',v' are obtained by transforming u,v with the 2d transformation returned by @code me->parametrictransformation(t) @endcode this method returns an identity transformation //! it can be redefined. for example on the plane, cylinder, cone, revolved and extruded surfaces. Parameters ---------- @@ -1957,7 +1957,7 @@ None /****************** TransformParameters ******************/ /**** md5 signature: 2d9e8651399bacbb299466ac222a6ca8 ****/ %feature("compactdefaultargs") TransformParameters; - %feature("autodoc", "Computes the parameters on the transformed surface for the transform of the point of parameters u,v on . //! me->transformed(t)->value(u',v') //! is the same point as //! me->value(u,v).transformed(t) //! where u',v' are the new values of u,v after calling //! me->tranformparameters(u,v,t) //! this methods does not change and //! it can be redefined. for example on the plane, cylinder, cone, revolved and extruded surfaces. + %feature("autodoc", "Computes the parameters on the transformed surface for the transform of the point of parameters u,v on . @code me->transformed(t)->value(u',v') @endcode is the same point as @code me->value(u,v).transformed(t) @endcode where u',v' are the new values of u,v after calling @code me->transformparameters(u,v,t) @endcode this methods does not change and //! it can be redefined. for example on the plane, cylinder, cone, revolved and extruded surfaces. Parameters ---------- @@ -2010,7 +2010,7 @@ None /****************** UReversedParameter ******************/ /**** md5 signature: 0071925b176316f0aaaf26f369ac410c ****/ %feature("compactdefaultargs") UReversedParameter; - %feature("autodoc", "Return the parameter on the ureversed surface for the point of parameter u on . //! me->ureversed()->value(me->ureversedparameter(u),v) //! is the same point as //! me->value(u,v). + %feature("autodoc", "Return the parameter on the ureversed surface for the point of parameter u on . @code me->ureversed()->value(me->ureversedparameter(u),v) @endcode is the same point as @code me->value(u,v) @endcode. Parameters ---------- @@ -2062,7 +2062,7 @@ None /****************** VReversedParameter ******************/ /**** md5 signature: 92057d43e0e5ee078908582a4176343b ****/ %feature("compactdefaultargs") VReversedParameter; - %feature("autodoc", "Return the parameter on the vreversed surface for the point of parameter v on . //! me->vreversed()->value(u,me->vreversedparameter(v)) //! is the same point as //! me->value(u,v). + %feature("autodoc", "Return the parameter on the vreversed surface for the point of parameter v on . @code me->vreversed()->value(u,me->vreversedparameter(v)) @endcode is the same point as @code me->value(u,v) @endcode. Parameters ---------- diff --git a/src/SWIG_files/wrapper/GeomPlate.pyi b/src/SWIG_files/wrapper/GeomPlate.pyi index 0b3a26351..cd8396440 100644 --- a/src/SWIG_files/wrapper/GeomPlate.pyi +++ b/src/SWIG_files/wrapper/GeomPlate.pyi @@ -173,9 +173,9 @@ class GeomPlate_CurveConstraint(Standard_Transient): @overload def __init__(self) -> None: ... @overload - def __init__(self, Boundary: Adaptor3d_HCurve, Order: int, NPt: Optional[int] = 10, TolDist: Optional[float] = 0.0001, TolAng: Optional[float] = 0.01, TolCurv: Optional[float] = 0.1) -> None: ... + def __init__(self, Boundary: Adaptor3d_Curve, Order: int, NPt: Optional[int] = 10, TolDist: Optional[float] = 0.0001, TolAng: Optional[float] = 0.01, TolCurv: Optional[float] = 0.1) -> None: ... def Curve2dOnSurf(self) -> Geom2d_Curve: ... - def Curve3d(self) -> Adaptor3d_HCurve: ... + def Curve3d(self) -> Adaptor3d_Curve: ... def D0(self, U: float, P: gp_Pnt) -> None: ... def D1(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... def D2(self, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec, V4: gp_Vec, V5: gp_Vec) -> None: ... @@ -188,14 +188,14 @@ class GeomPlate_CurveConstraint(Standard_Transient): def Length(self) -> float: ... def NbPoints(self) -> int: ... def Order(self) -> int: ... - def ProjectedCurve(self) -> Adaptor2d_HCurve2d: ... + def ProjectedCurve(self) -> Adaptor2d_Curve2d: ... def SetCurve2dOnSurf(self, Curve2d: Geom2d_Curve) -> None: ... def SetG0Criterion(self, G0Crit: Law_Function) -> None: ... def SetG1Criterion(self, G1Crit: Law_Function) -> None: ... def SetG2Criterion(self, G2Crit: Law_Function) -> None: ... def SetNbPoints(self, NewNb: int) -> None: ... def SetOrder(self, Order: int) -> None: ... - def SetProjectedCurve(self, Curve2d: Adaptor2d_HCurve2d, TolU: float, TolV: float) -> None: ... + def SetProjectedCurve(self, Curve2d: Adaptor2d_Curve2d, TolU: float, TolV: float) -> None: ... class GeomPlate_MakeApprox: @overload diff --git a/src/SWIG_files/wrapper/GeomProjLib.i b/src/SWIG_files/wrapper/GeomProjLib.i index 7a46fbf93..daf29094e 100644 --- a/src/SWIG_files/wrapper/GeomProjLib.i +++ b/src/SWIG_files/wrapper/GeomProjLib.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOMPROJLIBDOCSTRING "GeomProjLib module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomprojlib.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geomprojlib.html" %enddef %module (package="OCC.Core", docstring=GEOMPROJLIBDOCSTRING) GeomProjLib @@ -64,7 +64,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -201,7 +201,7 @@ Tolerance: float /****************** Project ******************/ /**** md5 signature: 6bc2a63694c3bb1ffb84bc5bd6bfc7cc ****/ %feature("compactdefaultargs") Project; - %feature("autodoc", "Constructs the 3d-curve from the normal projection of the curve on the surface . warning : if the projection has failes returns a null handle. + %feature("autodoc", "Constructs the 3d-curve from the normal projection of the curve on the surface . warning : if the projection has failed, returns a null handle. Parameters ---------- @@ -217,7 +217,7 @@ opencascade::handle /****************** ProjectOnPlane ******************/ /**** md5 signature: cbb13e670d730f1fffc13379697518e5 ****/ %feature("compactdefaultargs") ProjectOnPlane; - %feature("autodoc", "Constructs the 3d-curves from the projection of the curve on the plane along the direction . if is true, the parametrization of the projected curve will be the same as the parametrization of the initial curve . it meens: proj(c(u)) = pc(u) for each u. otherwize, the parametrization may change. + %feature("autodoc", "Constructs the 3d-curves from the projection of the curve on the plane along the direction . if is true, the parametrization of the projected curve will be the same as the parametrization of the initial curve . it means: proj(c(u)) = pc(u) for each u. otherwise, the parametrization may change. Parameters ---------- diff --git a/src/SWIG_files/wrapper/GeomToStep.i b/src/SWIG_files/wrapper/GeomToStep.i index c57c590c2..1f2920bf8 100644 --- a/src/SWIG_files/wrapper/GeomToStep.i +++ b/src/SWIG_files/wrapper/GeomToStep.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOMTOSTEPDOCSTRING "GeomToStep module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomtostep.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geomtostep.html" %enddef %module (package="OCC.Core", docstring=GEOMTOSTEPDOCSTRING) GeomToStep @@ -82,7 +82,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/GeomTools.i b/src/SWIG_files/wrapper/GeomTools.i index ea2be95fd..734a1ca57 100644 --- a/src/SWIG_files/wrapper/GeomTools.i +++ b/src/SWIG_files/wrapper/GeomTools.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GEOMTOOLSDOCSTRING "GeomTools module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomtools.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_geomtools.html" %enddef %module (package="OCC.Core", docstring=GEOMTOOLSDOCSTRING) GeomTools @@ -64,7 +64,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/Graphic3d.i b/src/SWIG_files/wrapper/Graphic3d.i index 3ed6644ec..173968689 100644 --- a/src/SWIG_files/wrapper/Graphic3d.i +++ b/src/SWIG_files/wrapper/Graphic3d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define GRAPHIC3DDOCSTRING "Graphic3d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_graphic3d.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_graphic3d.html" %enddef %module (package="OCC.Core", docstring=GRAPHIC3DDOCSTRING) Graphic3d @@ -168,6 +168,17 @@ enum Graphic3d_DiagnosticInfo { Graphic3d_DiagnosticInfo_Complete = Graphic3d_DiagnosticInfo_Basic | Graphic3d_DiagnosticInfo_Extensions, }; +enum Graphic3d_GlslExtension { + Graphic3d_GlslExtension_GL_OES_standard_derivatives = 0, + Graphic3d_GlslExtension_GL_EXT_shader_texture_lod = 1, + Graphic3d_GlslExtension_GL_EXT_frag_depth = 2, + Graphic3d_GlslExtension_GL_EXT_gpu_shader4 = 3, +}; + +enum { + Graphic3d_GlslExtension_NB = Graphic3d_GlslExtension_GL_EXT_gpu_shader4 + 1, +}; + enum Graphic3d_StereoMode { Graphic3d_StereoMode_QuadBuffer = 0, Graphic3d_StereoMode_Anaglyph = 1, @@ -185,6 +196,7 @@ enum Graphic3d_AlphaMode { Graphic3d_AlphaMode_Opaque = 0, Graphic3d_AlphaMode_Mask = 1, Graphic3d_AlphaMode_Blend = 2, + Graphic3d_AlphaMode_MaskBlend = 3, Graphic3d_AlphaMode_BlendAuto = - 1, }; @@ -209,6 +221,7 @@ enum { enum Graphic3d_RenderTransparentMethod { Graphic3d_RTM_BLEND_UNORDERED = 0, Graphic3d_RTM_BLEND_OIT = 1, + Graphic3d_RTM_DEPTH_PEELING_OIT = 2, }; enum Graphic3d_RenderingMode { @@ -291,13 +304,6 @@ enum Graphic3d_TypeOfShaderObject { Graphic3d_TOS_COMPUTE = 32, }; -enum Graphic3d_ZLayerSetting { - Graphic3d_ZLayerDepthTest = 1, - Graphic3d_ZLayerDepthWrite = 2, - Graphic3d_ZLayerDepthClear = 4, - Graphic3d_ZLayerDepthOffset = 8, -}; - enum Graphic3d_CappingFlags { Graphic3d_CappingFlags_None = 0, Graphic3d_CappingFlags_ObjectMaterial = 1, @@ -314,13 +320,20 @@ enum Graphic3d_NameOfTexturePlane { }; enum Graphic3d_TypeOfShadingModel { - Graphic3d_TOSM_DEFAULT = - 1, - Graphic3d_TOSM_UNLIT = 0, - Graphic3d_TOSM_FACET = 1, - Graphic3d_TOSM_VERTEX = 2, - Graphic3d_TOSM_FRAGMENT = 3, - Graphic3d_TOSM_PBR = 4, - Graphic3d_TOSM_PBR_FACET = 5, + Graphic3d_TypeOfShadingModel_DEFAULT = - 1, + Graphic3d_TypeOfShadingModel_Unlit = 0, + Graphic3d_TypeOfShadingModel_PhongFacet = 1, + Graphic3d_TypeOfShadingModel_Gouraud = 2, + Graphic3d_TypeOfShadingModel_Phong = 3, + Graphic3d_TypeOfShadingModel_Pbr = 4, + Graphic3d_TypeOfShadingModel_PbrFacet = 5, + Graphic3d_TOSM_DEFAULT = Graphic3d_TypeOfShadingModel_DEFAULT, + Graphic3d_TOSM_UNLIT = Graphic3d_TypeOfShadingModel_Unlit, + Graphic3d_TOSM_FACET = Graphic3d_TypeOfShadingModel_PhongFacet, + Graphic3d_TOSM_VERTEX = Graphic3d_TypeOfShadingModel_Gouraud, + Graphic3d_TOSM_FRAGMENT = Graphic3d_TypeOfShadingModel_Phong, + Graphic3d_TOSM_PBR = Graphic3d_TypeOfShadingModel_Pbr, + Graphic3d_TOSM_PBR_FACET = Graphic3d_TypeOfShadingModel_PbrFacet, Graphic3d_TOSM_NONE = Graphic3d_TOSM_UNLIT, V3d_COLOR = Graphic3d_TOSM_NONE, V3d_FLAT = Graphic3d_TOSM_FACET, @@ -329,7 +342,7 @@ enum Graphic3d_TypeOfShadingModel { }; enum { - Graphic3d_TypeOfShadingModel_NB = Graphic3d_TOSM_PBR_FACET + 1, + Graphic3d_TypeOfShadingModel_NB = Graphic3d_TypeOfShadingModel_PbrFacet + 1, }; enum Graphic3d_TypeOfPrimitiveArray { @@ -367,9 +380,15 @@ enum Graphic3d_TypeOfMaterial { }; enum Graphic3d_TypeOfBackfacingModel { - Graphic3d_TOBM_AUTOMATIC = 0, - Graphic3d_TOBM_FORCE = 1, - Graphic3d_TOBM_DISABLE = 2, + Graphic3d_TypeOfBackfacingModel_Auto = 0, + Graphic3d_TypeOfBackfacingModel_DoubleSided = 1, + Graphic3d_TypeOfBackfacingModel_BackCulled = 2, + Graphic3d_TOBM_AUTOMATIC = Graphic3d_TypeOfBackfacingModel_Auto, + Graphic3d_TOBM_FORCE = Graphic3d_TypeOfBackfacingModel_DoubleSided, + Graphic3d_TOBM_DISABLE = Graphic3d_TypeOfBackfacingModel_BackCulled, + V3d_TOBM_AUTOMATIC = Graphic3d_TypeOfBackfacingModel_Auto, + V3d_TOBM_ALWAYS_DISPLAYED = Graphic3d_TypeOfBackfacingModel_DoubleSided, + V3d_TOBM_NEVER_DISPLAYED = Graphic3d_TypeOfBackfacingModel_BackCulled, }; enum Graphic3d_HorizontalTextAlignment { @@ -384,6 +403,7 @@ enum Graphic3d_TransModeFlags { Graphic3d_TMF_RotatePers = 8, Graphic3d_TMF_TriedronPers = 32, Graphic3d_TMF_2d = 64, + Graphic3d_TMF_CameraPers = 128, Graphic3d_TMF_ZoomRotatePers = Graphic3d_TMF_ZoomPers | Graphic3d_TMF_RotatePers, }; @@ -435,6 +455,9 @@ enum Graphic3d_TextureUnit { Graphic3d_TextureUnit_MetallicRoughness = Graphic3d_TextureUnit_4, Graphic3d_TextureUnit_EnvMap = Graphic3d_TextureUnit_0, Graphic3d_TextureUnit_PointSprite = Graphic3d_TextureUnit_1, + Graphic3d_TextureUnit_DepthPeelingDepth = - 6, + Graphic3d_TextureUnit_DepthPeelingFrontColor = - 5, + Graphic3d_TextureUnit_ShadowMap = - 4, Graphic3d_TextureUnit_PbrEnvironmentLUT = - 3, Graphic3d_TextureUnit_PbrIblDiffuseSH = - 2, Graphic3d_TextureUnit_PbrIblSpecular = - 1, @@ -488,9 +511,27 @@ enum Graphic3d_TextureSetBits { Graphic3d_TextureSetBits_MetallicRoughness = Graphic3d_TextureUnit_MetallicRoughness, }; -enum Graphic3d_TypeOfComposition { - Graphic3d_TOC_REPLACE = 0, - Graphic3d_TOC_POSTCONCATENATE = 1, +enum Graphic3d_ShaderFlags { + Graphic3d_ShaderFlags_VertColor = 1, + Graphic3d_ShaderFlags_TextureRGB = 2, + Graphic3d_ShaderFlags_TextureEnv = 4, + Graphic3d_ShaderFlags_TextureNormal = Graphic3d_ShaderFlags_TextureRGB | Graphic3d_ShaderFlags_TextureEnv, + Graphic3d_ShaderFlags_PointSimple = 8, + Graphic3d_ShaderFlags_PointSprite = 16, + Graphic3d_ShaderFlags_PointSpriteA = Graphic3d_ShaderFlags_PointSimple | Graphic3d_ShaderFlags_PointSprite, + Graphic3d_ShaderFlags_StippleLine = 32, + Graphic3d_ShaderFlags_ClipPlanes1 = 64, + Graphic3d_ShaderFlags_ClipPlanes2 = 128, + Graphic3d_ShaderFlags_ClipPlanesN = Graphic3d_ShaderFlags_ClipPlanes1 | Graphic3d_ShaderFlags_ClipPlanes2, + Graphic3d_ShaderFlags_ClipChains = 256, + Graphic3d_ShaderFlags_MeshEdges = 512, + Graphic3d_ShaderFlags_AlphaTest = 1024, + Graphic3d_ShaderFlags_WriteOit = 2048, + Graphic3d_ShaderFlags_OitDepthPeeling = 4096, + Graphic3d_ShaderFlags_NB = 8192, + Graphic3d_ShaderFlags_IsPoint = Graphic3d_ShaderFlags_PointSimple | Graphic3d_ShaderFlags_PointSprite | Graphic3d_ShaderFlags_PointSpriteA, + Graphic3d_ShaderFlags_HasTextures = Graphic3d_ShaderFlags_TextureRGB | Graphic3d_ShaderFlags_TextureEnv, + Graphic3d_ShaderFlags_NeedsGeomShader = Graphic3d_ShaderFlags_MeshEdges, }; enum Graphic3d_TypeOfAttribute { @@ -604,18 +645,22 @@ enum Graphic3d_TypeOfVisualization { }; enum Graphic3d_TypeOfLightSource { - Graphic3d_TOLS_AMBIENT = 0, - Graphic3d_TOLS_DIRECTIONAL = 1, - Graphic3d_TOLS_POSITIONAL = 2, - Graphic3d_TOLS_SPOT = 3, - V3d_AMBIENT = Graphic3d_TOLS_AMBIENT, - V3d_DIRECTIONAL = Graphic3d_TOLS_DIRECTIONAL, - V3d_POSITIONAL = Graphic3d_TOLS_POSITIONAL, - V3d_SPOT = Graphic3d_TOLS_SPOT, + Graphic3d_TypeOfLightSource_Ambient = 0, + Graphic3d_TypeOfLightSource_Directional = 1, + Graphic3d_TypeOfLightSource_Positional = 2, + Graphic3d_TypeOfLightSource_Spot = 3, + Graphic3d_TOLS_AMBIENT = Graphic3d_TypeOfLightSource_Ambient, + Graphic3d_TOLS_DIRECTIONAL = Graphic3d_TypeOfLightSource_Directional, + Graphic3d_TOLS_POSITIONAL = Graphic3d_TypeOfLightSource_Positional, + Graphic3d_TOLS_SPOT = Graphic3d_TypeOfLightSource_Spot, + V3d_AMBIENT = Graphic3d_TypeOfLightSource_Ambient, + V3d_DIRECTIONAL = Graphic3d_TypeOfLightSource_Directional, + V3d_POSITIONAL = Graphic3d_TypeOfLightSource_Positional, + V3d_SPOT = Graphic3d_TypeOfLightSource_Spot, }; enum { - Graphic3d_TypeOfLightSource_NB = Graphic3d_TOLS_SPOT + 1, + Graphic3d_TypeOfLightSource_NB = Graphic3d_TypeOfLightSource_Spot + 1, }; enum Graphic3d_NameOfTextureEnv { @@ -632,7 +677,7 @@ enum Graphic3d_NameOfTextureEnv { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Graphic3d_ClipState(IntEnum): @@ -749,6 +794,16 @@ Graphic3d_DiagnosticInfo_Short = Graphic3d_DiagnosticInfo.Graphic3d_DiagnosticIn Graphic3d_DiagnosticInfo_Basic = Graphic3d_DiagnosticInfo.Graphic3d_DiagnosticInfo_Basic Graphic3d_DiagnosticInfo_Complete = Graphic3d_DiagnosticInfo.Graphic3d_DiagnosticInfo_Complete +class Graphic3d_GlslExtension(IntEnum): + Graphic3d_GlslExtension_GL_OES_standard_derivatives = 0 + Graphic3d_GlslExtension_GL_EXT_shader_texture_lod = 1 + Graphic3d_GlslExtension_GL_EXT_frag_depth = 2 + Graphic3d_GlslExtension_GL_EXT_gpu_shader4 = 3 +Graphic3d_GlslExtension_GL_OES_standard_derivatives = Graphic3d_GlslExtension.Graphic3d_GlslExtension_GL_OES_standard_derivatives +Graphic3d_GlslExtension_GL_EXT_shader_texture_lod = Graphic3d_GlslExtension.Graphic3d_GlslExtension_GL_EXT_shader_texture_lod +Graphic3d_GlslExtension_GL_EXT_frag_depth = Graphic3d_GlslExtension.Graphic3d_GlslExtension_GL_EXT_frag_depth +Graphic3d_GlslExtension_GL_EXT_gpu_shader4 = Graphic3d_GlslExtension.Graphic3d_GlslExtension_GL_EXT_gpu_shader4 + class Graphic3d_StereoMode(IntEnum): Graphic3d_StereoMode_QuadBuffer = 0 Graphic3d_StereoMode_Anaglyph = 1 @@ -775,10 +830,12 @@ class Graphic3d_AlphaMode(IntEnum): Graphic3d_AlphaMode_Opaque = 0 Graphic3d_AlphaMode_Mask = 1 Graphic3d_AlphaMode_Blend = 2 + Graphic3d_AlphaMode_MaskBlend = 3 Graphic3d_AlphaMode_BlendAuto = - 1 Graphic3d_AlphaMode_Opaque = Graphic3d_AlphaMode.Graphic3d_AlphaMode_Opaque Graphic3d_AlphaMode_Mask = Graphic3d_AlphaMode.Graphic3d_AlphaMode_Mask Graphic3d_AlphaMode_Blend = Graphic3d_AlphaMode.Graphic3d_AlphaMode_Blend +Graphic3d_AlphaMode_MaskBlend = Graphic3d_AlphaMode.Graphic3d_AlphaMode_MaskBlend Graphic3d_AlphaMode_BlendAuto = Graphic3d_AlphaMode.Graphic3d_AlphaMode_BlendAuto class Graphic3d_FresnelModel(IntEnum): @@ -804,8 +861,10 @@ Graphic3d_TOR_EMISSION = Graphic3d_TypeOfReflection.Graphic3d_TOR_EMISSION class Graphic3d_RenderTransparentMethod(IntEnum): Graphic3d_RTM_BLEND_UNORDERED = 0 Graphic3d_RTM_BLEND_OIT = 1 + Graphic3d_RTM_DEPTH_PEELING_OIT = 2 Graphic3d_RTM_BLEND_UNORDERED = Graphic3d_RenderTransparentMethod.Graphic3d_RTM_BLEND_UNORDERED Graphic3d_RTM_BLEND_OIT = Graphic3d_RenderTransparentMethod.Graphic3d_RTM_BLEND_OIT +Graphic3d_RTM_DEPTH_PEELING_OIT = Graphic3d_RenderTransparentMethod.Graphic3d_RTM_DEPTH_PEELING_OIT class Graphic3d_RenderingMode(IntEnum): Graphic3d_RM_RASTERIZATION = 0 @@ -915,16 +974,6 @@ Graphic3d_TOS_GEOMETRY = Graphic3d_TypeOfShaderObject.Graphic3d_TOS_GEOMETRY Graphic3d_TOS_FRAGMENT = Graphic3d_TypeOfShaderObject.Graphic3d_TOS_FRAGMENT Graphic3d_TOS_COMPUTE = Graphic3d_TypeOfShaderObject.Graphic3d_TOS_COMPUTE -class Graphic3d_ZLayerSetting(IntEnum): - Graphic3d_ZLayerDepthTest = 1 - Graphic3d_ZLayerDepthWrite = 2 - Graphic3d_ZLayerDepthClear = 4 - Graphic3d_ZLayerDepthOffset = 8 -Graphic3d_ZLayerDepthTest = Graphic3d_ZLayerSetting.Graphic3d_ZLayerDepthTest -Graphic3d_ZLayerDepthWrite = Graphic3d_ZLayerSetting.Graphic3d_ZLayerDepthWrite -Graphic3d_ZLayerDepthClear = Graphic3d_ZLayerSetting.Graphic3d_ZLayerDepthClear -Graphic3d_ZLayerDepthOffset = Graphic3d_ZLayerSetting.Graphic3d_ZLayerDepthOffset - class Graphic3d_CappingFlags(IntEnum): Graphic3d_CappingFlags_None = 0 Graphic3d_CappingFlags_ObjectMaterial = 1 @@ -948,18 +997,32 @@ Graphic3d_NOTP_ZX = Graphic3d_NameOfTexturePlane.Graphic3d_NOTP_ZX Graphic3d_NOTP_UNKNOWN = Graphic3d_NameOfTexturePlane.Graphic3d_NOTP_UNKNOWN class Graphic3d_TypeOfShadingModel(IntEnum): - Graphic3d_TOSM_DEFAULT = - 1 - Graphic3d_TOSM_UNLIT = 0 - Graphic3d_TOSM_FACET = 1 - Graphic3d_TOSM_VERTEX = 2 - Graphic3d_TOSM_FRAGMENT = 3 - Graphic3d_TOSM_PBR = 4 - Graphic3d_TOSM_PBR_FACET = 5 + Graphic3d_TypeOfShadingModel_DEFAULT = - 1 + Graphic3d_TypeOfShadingModel_Unlit = 0 + Graphic3d_TypeOfShadingModel_PhongFacet = 1 + Graphic3d_TypeOfShadingModel_Gouraud = 2 + Graphic3d_TypeOfShadingModel_Phong = 3 + Graphic3d_TypeOfShadingModel_Pbr = 4 + Graphic3d_TypeOfShadingModel_PbrFacet = 5 + Graphic3d_TOSM_DEFAULT = Graphic3d_TypeOfShadingModel_DEFAULT + Graphic3d_TOSM_UNLIT = Graphic3d_TypeOfShadingModel_Unlit + Graphic3d_TOSM_FACET = Graphic3d_TypeOfShadingModel_PhongFacet + Graphic3d_TOSM_VERTEX = Graphic3d_TypeOfShadingModel_Gouraud + Graphic3d_TOSM_FRAGMENT = Graphic3d_TypeOfShadingModel_Phong + Graphic3d_TOSM_PBR = Graphic3d_TypeOfShadingModel_Pbr + Graphic3d_TOSM_PBR_FACET = Graphic3d_TypeOfShadingModel_PbrFacet Graphic3d_TOSM_NONE = Graphic3d_TOSM_UNLIT V3d_COLOR = Graphic3d_TOSM_NONE V3d_FLAT = Graphic3d_TOSM_FACET V3d_GOURAUD = Graphic3d_TOSM_VERTEX V3d_PHONG = Graphic3d_TOSM_FRAGMENT +Graphic3d_TypeOfShadingModel_DEFAULT = Graphic3d_TypeOfShadingModel.Graphic3d_TypeOfShadingModel_DEFAULT +Graphic3d_TypeOfShadingModel_Unlit = Graphic3d_TypeOfShadingModel.Graphic3d_TypeOfShadingModel_Unlit +Graphic3d_TypeOfShadingModel_PhongFacet = Graphic3d_TypeOfShadingModel.Graphic3d_TypeOfShadingModel_PhongFacet +Graphic3d_TypeOfShadingModel_Gouraud = Graphic3d_TypeOfShadingModel.Graphic3d_TypeOfShadingModel_Gouraud +Graphic3d_TypeOfShadingModel_Phong = Graphic3d_TypeOfShadingModel.Graphic3d_TypeOfShadingModel_Phong +Graphic3d_TypeOfShadingModel_Pbr = Graphic3d_TypeOfShadingModel.Graphic3d_TypeOfShadingModel_Pbr +Graphic3d_TypeOfShadingModel_PbrFacet = Graphic3d_TypeOfShadingModel.Graphic3d_TypeOfShadingModel_PbrFacet Graphic3d_TOSM_DEFAULT = Graphic3d_TypeOfShadingModel.Graphic3d_TOSM_DEFAULT Graphic3d_TOSM_UNLIT = Graphic3d_TypeOfShadingModel.Graphic3d_TOSM_UNLIT Graphic3d_TOSM_FACET = Graphic3d_TypeOfShadingModel.Graphic3d_TOSM_FACET @@ -1026,12 +1089,24 @@ Graphic3d_MATERIAL_ASPECT = Graphic3d_TypeOfMaterial.Graphic3d_MATERIAL_ASPECT Graphic3d_MATERIAL_PHYSIC = Graphic3d_TypeOfMaterial.Graphic3d_MATERIAL_PHYSIC class Graphic3d_TypeOfBackfacingModel(IntEnum): - Graphic3d_TOBM_AUTOMATIC = 0 - Graphic3d_TOBM_FORCE = 1 - Graphic3d_TOBM_DISABLE = 2 + Graphic3d_TypeOfBackfacingModel_Auto = 0 + Graphic3d_TypeOfBackfacingModel_DoubleSided = 1 + Graphic3d_TypeOfBackfacingModel_BackCulled = 2 + Graphic3d_TOBM_AUTOMATIC = Graphic3d_TypeOfBackfacingModel_Auto + Graphic3d_TOBM_FORCE = Graphic3d_TypeOfBackfacingModel_DoubleSided + Graphic3d_TOBM_DISABLE = Graphic3d_TypeOfBackfacingModel_BackCulled + V3d_TOBM_AUTOMATIC = Graphic3d_TypeOfBackfacingModel_Auto + V3d_TOBM_ALWAYS_DISPLAYED = Graphic3d_TypeOfBackfacingModel_DoubleSided + V3d_TOBM_NEVER_DISPLAYED = Graphic3d_TypeOfBackfacingModel_BackCulled +Graphic3d_TypeOfBackfacingModel_Auto = Graphic3d_TypeOfBackfacingModel.Graphic3d_TypeOfBackfacingModel_Auto +Graphic3d_TypeOfBackfacingModel_DoubleSided = Graphic3d_TypeOfBackfacingModel.Graphic3d_TypeOfBackfacingModel_DoubleSided +Graphic3d_TypeOfBackfacingModel_BackCulled = Graphic3d_TypeOfBackfacingModel.Graphic3d_TypeOfBackfacingModel_BackCulled Graphic3d_TOBM_AUTOMATIC = Graphic3d_TypeOfBackfacingModel.Graphic3d_TOBM_AUTOMATIC Graphic3d_TOBM_FORCE = Graphic3d_TypeOfBackfacingModel.Graphic3d_TOBM_FORCE Graphic3d_TOBM_DISABLE = Graphic3d_TypeOfBackfacingModel.Graphic3d_TOBM_DISABLE +V3d_TOBM_AUTOMATIC = Graphic3d_TypeOfBackfacingModel.V3d_TOBM_AUTOMATIC +V3d_TOBM_ALWAYS_DISPLAYED = Graphic3d_TypeOfBackfacingModel.V3d_TOBM_ALWAYS_DISPLAYED +V3d_TOBM_NEVER_DISPLAYED = Graphic3d_TypeOfBackfacingModel.V3d_TOBM_NEVER_DISPLAYED class Graphic3d_HorizontalTextAlignment(IntEnum): Graphic3d_HTA_LEFT = 0 @@ -1047,12 +1122,14 @@ class Graphic3d_TransModeFlags(IntEnum): Graphic3d_TMF_RotatePers = 8 Graphic3d_TMF_TriedronPers = 32 Graphic3d_TMF_2d = 64 + Graphic3d_TMF_CameraPers = 128 Graphic3d_TMF_ZoomRotatePers = Graphic3d_TMF_ZoomPers | Graphic3d_TMF_RotatePers Graphic3d_TMF_None = Graphic3d_TransModeFlags.Graphic3d_TMF_None Graphic3d_TMF_ZoomPers = Graphic3d_TransModeFlags.Graphic3d_TMF_ZoomPers Graphic3d_TMF_RotatePers = Graphic3d_TransModeFlags.Graphic3d_TMF_RotatePers Graphic3d_TMF_TriedronPers = Graphic3d_TransModeFlags.Graphic3d_TMF_TriedronPers Graphic3d_TMF_2d = Graphic3d_TransModeFlags.Graphic3d_TMF_2d +Graphic3d_TMF_CameraPers = Graphic3d_TransModeFlags.Graphic3d_TMF_CameraPers Graphic3d_TMF_ZoomRotatePers = Graphic3d_TransModeFlags.Graphic3d_TMF_ZoomRotatePers class Graphic3d_TypeOfAnswer(IntEnum): @@ -1097,6 +1174,9 @@ class Graphic3d_TextureUnit(IntEnum): Graphic3d_TextureUnit_MetallicRoughness = Graphic3d_TextureUnit_4 Graphic3d_TextureUnit_EnvMap = Graphic3d_TextureUnit_0 Graphic3d_TextureUnit_PointSprite = Graphic3d_TextureUnit_1 + Graphic3d_TextureUnit_DepthPeelingDepth = - 6 + Graphic3d_TextureUnit_DepthPeelingFrontColor = - 5 + Graphic3d_TextureUnit_ShadowMap = - 4 Graphic3d_TextureUnit_PbrEnvironmentLUT = - 3 Graphic3d_TextureUnit_PbrIblDiffuseSH = - 2 Graphic3d_TextureUnit_PbrIblSpecular = - 1 @@ -1123,6 +1203,9 @@ Graphic3d_TextureUnit_Normal = Graphic3d_TextureUnit.Graphic3d_TextureUnit_Norma Graphic3d_TextureUnit_MetallicRoughness = Graphic3d_TextureUnit.Graphic3d_TextureUnit_MetallicRoughness Graphic3d_TextureUnit_EnvMap = Graphic3d_TextureUnit.Graphic3d_TextureUnit_EnvMap Graphic3d_TextureUnit_PointSprite = Graphic3d_TextureUnit.Graphic3d_TextureUnit_PointSprite +Graphic3d_TextureUnit_DepthPeelingDepth = Graphic3d_TextureUnit.Graphic3d_TextureUnit_DepthPeelingDepth +Graphic3d_TextureUnit_DepthPeelingFrontColor = Graphic3d_TextureUnit.Graphic3d_TextureUnit_DepthPeelingFrontColor +Graphic3d_TextureUnit_ShadowMap = Graphic3d_TextureUnit.Graphic3d_TextureUnit_ShadowMap Graphic3d_TextureUnit_PbrEnvironmentLUT = Graphic3d_TextureUnit.Graphic3d_TextureUnit_PbrEnvironmentLUT Graphic3d_TextureUnit_PbrIblDiffuseSH = Graphic3d_TextureUnit.Graphic3d_TextureUnit_PbrIblDiffuseSH Graphic3d_TextureUnit_PbrIblSpecular = Graphic3d_TextureUnit.Graphic3d_TextureUnit_PbrIblSpecular @@ -1177,11 +1260,47 @@ Graphic3d_TextureSetBits_Occlusion = Graphic3d_TextureSetBits.Graphic3d_TextureS Graphic3d_TextureSetBits_Normal = Graphic3d_TextureSetBits.Graphic3d_TextureSetBits_Normal Graphic3d_TextureSetBits_MetallicRoughness = Graphic3d_TextureSetBits.Graphic3d_TextureSetBits_MetallicRoughness -class Graphic3d_TypeOfComposition(IntEnum): - Graphic3d_TOC_REPLACE = 0 - Graphic3d_TOC_POSTCONCATENATE = 1 -Graphic3d_TOC_REPLACE = Graphic3d_TypeOfComposition.Graphic3d_TOC_REPLACE -Graphic3d_TOC_POSTCONCATENATE = Graphic3d_TypeOfComposition.Graphic3d_TOC_POSTCONCATENATE +class Graphic3d_ShaderFlags(IntEnum): + Graphic3d_ShaderFlags_VertColor = 1 + Graphic3d_ShaderFlags_TextureRGB = 2 + Graphic3d_ShaderFlags_TextureEnv = 4 + Graphic3d_ShaderFlags_TextureNormal = Graphic3d_ShaderFlags_TextureRGB | Graphic3d_ShaderFlags_TextureEnv + Graphic3d_ShaderFlags_PointSimple = 8 + Graphic3d_ShaderFlags_PointSprite = 16 + Graphic3d_ShaderFlags_PointSpriteA = Graphic3d_ShaderFlags_PointSimple | Graphic3d_ShaderFlags_PointSprite + Graphic3d_ShaderFlags_StippleLine = 32 + Graphic3d_ShaderFlags_ClipPlanes1 = 64 + Graphic3d_ShaderFlags_ClipPlanes2 = 128 + Graphic3d_ShaderFlags_ClipPlanesN = Graphic3d_ShaderFlags_ClipPlanes1 | Graphic3d_ShaderFlags_ClipPlanes2 + Graphic3d_ShaderFlags_ClipChains = 256 + Graphic3d_ShaderFlags_MeshEdges = 512 + Graphic3d_ShaderFlags_AlphaTest = 1024 + Graphic3d_ShaderFlags_WriteOit = 2048 + Graphic3d_ShaderFlags_OitDepthPeeling = 4096 + Graphic3d_ShaderFlags_NB = 8192 + Graphic3d_ShaderFlags_IsPoint = Graphic3d_ShaderFlags_PointSimple | Graphic3d_ShaderFlags_PointSprite | Graphic3d_ShaderFlags_PointSpriteA + Graphic3d_ShaderFlags_HasTextures = Graphic3d_ShaderFlags_TextureRGB | Graphic3d_ShaderFlags_TextureEnv + Graphic3d_ShaderFlags_NeedsGeomShader = Graphic3d_ShaderFlags_MeshEdges +Graphic3d_ShaderFlags_VertColor = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_VertColor +Graphic3d_ShaderFlags_TextureRGB = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_TextureRGB +Graphic3d_ShaderFlags_TextureEnv = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_TextureEnv +Graphic3d_ShaderFlags_TextureNormal = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_TextureNormal +Graphic3d_ShaderFlags_PointSimple = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_PointSimple +Graphic3d_ShaderFlags_PointSprite = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_PointSprite +Graphic3d_ShaderFlags_PointSpriteA = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_PointSpriteA +Graphic3d_ShaderFlags_StippleLine = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_StippleLine +Graphic3d_ShaderFlags_ClipPlanes1 = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_ClipPlanes1 +Graphic3d_ShaderFlags_ClipPlanes2 = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_ClipPlanes2 +Graphic3d_ShaderFlags_ClipPlanesN = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_ClipPlanesN +Graphic3d_ShaderFlags_ClipChains = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_ClipChains +Graphic3d_ShaderFlags_MeshEdges = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_MeshEdges +Graphic3d_ShaderFlags_AlphaTest = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_AlphaTest +Graphic3d_ShaderFlags_WriteOit = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_WriteOit +Graphic3d_ShaderFlags_OitDepthPeeling = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_OitDepthPeeling +Graphic3d_ShaderFlags_NB = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_NB +Graphic3d_ShaderFlags_IsPoint = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_IsPoint +Graphic3d_ShaderFlags_HasTextures = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_HasTextures +Graphic3d_ShaderFlags_NeedsGeomShader = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_NeedsGeomShader class Graphic3d_TypeOfAttribute(IntEnum): Graphic3d_TOA_POS = 0 @@ -1380,14 +1499,22 @@ Graphic3d_TOV_WIREFRAME = Graphic3d_TypeOfVisualization.Graphic3d_TOV_WIREFRAME Graphic3d_TOV_SHADING = Graphic3d_TypeOfVisualization.Graphic3d_TOV_SHADING class Graphic3d_TypeOfLightSource(IntEnum): - Graphic3d_TOLS_AMBIENT = 0 - Graphic3d_TOLS_DIRECTIONAL = 1 - Graphic3d_TOLS_POSITIONAL = 2 - Graphic3d_TOLS_SPOT = 3 - V3d_AMBIENT = Graphic3d_TOLS_AMBIENT - V3d_DIRECTIONAL = Graphic3d_TOLS_DIRECTIONAL - V3d_POSITIONAL = Graphic3d_TOLS_POSITIONAL - V3d_SPOT = Graphic3d_TOLS_SPOT + Graphic3d_TypeOfLightSource_Ambient = 0 + Graphic3d_TypeOfLightSource_Directional = 1 + Graphic3d_TypeOfLightSource_Positional = 2 + Graphic3d_TypeOfLightSource_Spot = 3 + Graphic3d_TOLS_AMBIENT = Graphic3d_TypeOfLightSource_Ambient + Graphic3d_TOLS_DIRECTIONAL = Graphic3d_TypeOfLightSource_Directional + Graphic3d_TOLS_POSITIONAL = Graphic3d_TypeOfLightSource_Positional + Graphic3d_TOLS_SPOT = Graphic3d_TypeOfLightSource_Spot + V3d_AMBIENT = Graphic3d_TypeOfLightSource_Ambient + V3d_DIRECTIONAL = Graphic3d_TypeOfLightSource_Directional + V3d_POSITIONAL = Graphic3d_TypeOfLightSource_Positional + V3d_SPOT = Graphic3d_TypeOfLightSource_Spot +Graphic3d_TypeOfLightSource_Ambient = Graphic3d_TypeOfLightSource.Graphic3d_TypeOfLightSource_Ambient +Graphic3d_TypeOfLightSource_Directional = Graphic3d_TypeOfLightSource.Graphic3d_TypeOfLightSource_Directional +Graphic3d_TypeOfLightSource_Positional = Graphic3d_TypeOfLightSource.Graphic3d_TypeOfLightSource_Positional +Graphic3d_TypeOfLightSource_Spot = Graphic3d_TypeOfLightSource.Graphic3d_TypeOfLightSource_Spot Graphic3d_TOLS_AMBIENT = Graphic3d_TypeOfLightSource.Graphic3d_TOLS_AMBIENT Graphic3d_TOLS_DIRECTIONAL = Graphic3d_TypeOfLightSource.Graphic3d_TOLS_DIRECTIONAL Graphic3d_TOLS_POSITIONAL = Graphic3d_TypeOfLightSource.Graphic3d_TOLS_POSITIONAL @@ -1430,6 +1557,7 @@ Graphic3d_NOT_ENV_UNKNOWN = Graphic3d_NameOfTextureEnv.Graphic3d_NOT_ENV_UNKNOWN %wrap_handle(Graphic3d_DataStructureManager) %wrap_handle(Graphic3d_FrameStats) %wrap_handle(Graphic3d_GraphicDriver) +%wrap_handle(Graphic3d_GraphicDriverFactory) %wrap_handle(Graphic3d_Group) %wrap_handle(Graphic3d_HatchStyle) %wrap_handle(Graphic3d_Layer) @@ -1438,6 +1566,7 @@ Graphic3d_NOT_ENV_UNKNOWN = Graphic3d_NameOfTextureEnv.Graphic3d_NOT_ENV_UNKNOWN %wrap_handle(Graphic3d_PresentationAttributes) %wrap_handle(Graphic3d_SequenceOfHClipPlane) %wrap_handle(Graphic3d_ShaderAttribute) +%wrap_handle(Graphic3d_ShaderManager) %wrap_handle(Graphic3d_ShaderObject) %wrap_handle(Graphic3d_ShaderProgram) %wrap_handle(Graphic3d_ShaderVariable) @@ -1465,6 +1594,7 @@ Graphic3d_NOT_ENV_UNKNOWN = Graphic3d_NameOfTextureEnv.Graphic3d_NOT_ENV_UNKNOWN %wrap_handle(Graphic3d_MediaTextureSet) %wrap_handle(Graphic3d_TextureEnv) %wrap_handle(Graphic3d_TextureMap) +%wrap_handle(Graphic3d_TransformPersScaledAbove) %wrap_handle(Graphic3d_CubeMap) %wrap_handle(Graphic3d_Texture1D) %wrap_handle(Graphic3d_Texture2D) @@ -1548,11 +1678,18 @@ Graphic3d_NOT_ENV_UNKNOWN = Graphic3d_NameOfTextureEnv.Graphic3d_NOT_ENV_UNKNOWN } }; %template(Graphic3d_CameraLerp) NCollection_Lerp>; +%template(Graphic3d_GraphicDriverFactoryList) NCollection_List>; + +%extend NCollection_List> { + %pythoncode { + def __len__(self): + return self.Size() + } +}; %template(Graphic3d_IndexedMapOfStructure) NCollection_IndexedMap; %template(Graphic3d_IndexedMapOfView) NCollection_IndexedMap; %template(Graphic3d_MapOfAspectsToAspects) NCollection_DataMap,opencascade::handle>; %template(Graphic3d_MapOfStructure) NCollection_Map>; -%template(Graphic3d_MapOfZLayerSettings) NCollection_DataMap; %template(Graphic3d_Mat4) NCollection_Mat4; %template(Graphic3d_Mat4d) NCollection_Mat4; %template(Graphic3d_SequenceOfGroup) NCollection_Sequence>; @@ -1620,12 +1757,12 @@ typedef BVH_Box Graphic3d_BndBox3d; typedef BVH_Box Graphic3d_BndBox4d; typedef BVH_Box Graphic3d_BndBox4f; typedef NCollection_Lerp> Graphic3d_CameraLerp; +typedef NCollection_List> Graphic3d_GraphicDriverFactoryList; typedef NCollection_IndexedMap Graphic3d_IndexedMapOfStructure; typedef NCollection_IndexedMap Graphic3d_IndexedMapOfView; typedef Graphic3d_MapOfStructure::Iterator Graphic3d_MapIteratorOfMapOfStructure; typedef NCollection_DataMap, opencascade::handle> Graphic3d_MapOfAspectsToAspects; typedef NCollection_Map> Graphic3d_MapOfStructure; -typedef NCollection_DataMap Graphic3d_MapOfZLayerSettings; typedef NCollection_Mat4 Graphic3d_Mat4; typedef NCollection_Mat4 Graphic3d_Mat4d; typedef NCollection_Shared> Graphic3d_NMapOfTransient; @@ -1658,7 +1795,6 @@ typedef NCollection_Vec4 Graphic3d_Vec4d; typedef NCollection_Vec4 Graphic3d_Vec4i; typedef NCollection_Vec4 Graphic3d_Vec4ub; typedef Standard_Integer Graphic3d_ZLayerId; -typedef NCollection_Shared Media_HMutex; /* end typedefs declaration */ /************************************ @@ -2938,7 +3074,7 @@ None /****************** AllowBackFace ******************/ /**** md5 signature: c90f5a2b43fff04968eb4dde02cb190f ****/ %feature("compactdefaultargs") AllowBackFace; - %feature("autodoc", "Allows the display of back-facing filled polygons. + %feature("autodoc", "No available documentation. Returns ------- @@ -2971,7 +3107,7 @@ Graphic3d_AlphaMode /****************** BackFace ******************/ /**** md5 signature: d634528b3c0ee7a40c5cedfafb5cbf5c ****/ %feature("compactdefaultargs") BackFace; - %feature("autodoc", "Returns true if back faces should be suppressed (true by default). + %feature("autodoc", "No available documentation. Returns ------- @@ -3171,6 +3307,17 @@ Standard_ShortReal ") EdgeWidth; Standard_ShortReal EdgeWidth(); + /****************** FaceCulling ******************/ + /**** md5 signature: ea5bcfdb7347bbf80f346aa702bd7b90 ****/ + %feature("compactdefaultargs") FaceCulling; + %feature("autodoc", "Return face culling mode; graphic3d_faceculling_backclosed by default. a back-facing polygon is defined as a polygon whose vertices are in a clockwise order with respect to screen coordinates. + +Returns +------- +Graphic3d_TypeOfBackfacingModel +") FaceCulling; + Graphic3d_TypeOfBackfacingModel FaceCulling(); + /****************** FrontMaterial ******************/ /**** md5 signature: 41b8cfff159c56853a21e11111805499 ****/ %feature("compactdefaultargs") FrontMaterial; @@ -3623,6 +3770,21 @@ None ") SetEdgeWidth; void SetEdgeWidth(Standard_Real theWidth); + /****************** SetFaceCulling ******************/ + /**** md5 signature: e33027971df977c7340567a81a044749 ****/ + %feature("compactdefaultargs") SetFaceCulling; + %feature("autodoc", "Set face culling mode. + +Parameters +---------- +theCulling: Graphic3d_TypeOfBackfacingModel + +Returns +------- +None +") SetFaceCulling; + void SetFaceCulling(Graphic3d_TypeOfBackfacingModel theCulling); + /****************** SetFrontMaterial ******************/ /**** md5 signature: 14c2813796ead5a225d907bc718417d2 ****/ %feature("compactdefaultargs") SetFrontMaterial; @@ -3900,7 +4062,7 @@ None /****************** SetSuppressBackFaces ******************/ /**** md5 signature: 564c9f4e84c67aeaced26807dd97d26a ****/ %feature("compactdefaultargs") SetSuppressBackFaces; - %feature("autodoc", "Assign back faces culling flag. + %feature("autodoc", "No available documentation. Parameters ---------- @@ -4083,7 +4245,7 @@ opencascade::handle /****************** ShadingModel ******************/ /**** md5 signature: abf83d7e5f232094cc54f18d79b6661e ****/ %feature("compactdefaultargs") ShadingModel; - %feature("autodoc", "Returns shading model; graphic3d_tosm_default by default. graphic3d_tosm_default means that shading model set as default for entire viewer will be used. + %feature("autodoc", "Returns shading model; graphic3d_typeofshadingmodel_default by default. graphic3d_tosm_default means that shading model set as default for entire viewer will be used. Returns ------- @@ -4094,7 +4256,7 @@ Graphic3d_TypeOfShadingModel /****************** SuppressBackFace ******************/ /**** md5 signature: 40795a90417758ffefc9ee3a73a12893 ****/ %feature("compactdefaultargs") SuppressBackFace; - %feature("autodoc", "Suppress the display of back-facing filled polygons. a back-facing polygon is defined as a polygon whose vertices are in a clockwise order with respect to screen coordinates. + %feature("autodoc", "No available documentation. Returns ------- @@ -4237,7 +4399,7 @@ bool /****************** ToSuppressBackFaces ******************/ /**** md5 signature: 291ab01b16ecdd1cdd1cbdf740311643 ****/ %feature("compactdefaultargs") ToSuppressBackFaces; - %feature("autodoc", "Returns true if back faces should be suppressed (true by default). + %feature("autodoc", "No available documentation. Returns ------- @@ -4298,314 +4460,6 @@ int } }; -/***************************** -* class Graphic3d_AxisAspect * -*****************************/ -class Graphic3d_AxisAspect { - public: - /****************** Graphic3d_AxisAspect ******************/ - /**** md5 signature: 4ea4a435a2d6931062e4467f5e084cd5 ****/ - %feature("compactdefaultargs") Graphic3d_AxisAspect; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theName: TCollection_ExtendedString,optional - default value is "" -theNameColor: Quantity_Color,optional - default value is Quantity_NOC_BLACK -theColor: Quantity_Color,optional - default value is Quantity_NOC_BLACK -theValuesOffset: int,optional - default value is 10 -theNameOffset: int,optional - default value is 30 -theTickmarksNumber: int,optional - default value is 5 -theTickmarksLength: int,optional - default value is 10 -theToDrawName: bool,optional - default value is Standard_True -theToDrawValues: bool,optional - default value is Standard_True -theToDrawTickmarks: bool,optional - default value is Standard_True - -Returns -------- -None -") Graphic3d_AxisAspect; - Graphic3d_AxisAspect(const TCollection_ExtendedString theName = "", const Quantity_Color theNameColor = Quantity_NOC_BLACK, const Quantity_Color theColor = Quantity_NOC_BLACK, const Standard_Integer theValuesOffset = 10, const Standard_Integer theNameOffset = 30, const Standard_Integer theTickmarksNumber = 5, const Standard_Integer theTickmarksLength = 10, const Standard_Boolean theToDrawName = Standard_True, const Standard_Boolean theToDrawValues = Standard_True, const Standard_Boolean theToDrawTickmarks = Standard_True); - - /****************** Color ******************/ - /**** md5 signature: 7cec116411eb20e52d1fabf3015346da ****/ - %feature("compactdefaultargs") Color; - %feature("autodoc", "Color of axis and values. - -Returns -------- -Quantity_Color -") Color; - const Quantity_Color & Color(); - - /****************** Name ******************/ - /**** md5 signature: ded670f8c959c700ee5b649851616506 ****/ - %feature("compactdefaultargs") Name; - %feature("autodoc", "No available documentation. - -Returns -------- -TCollection_ExtendedString -") Name; - const TCollection_ExtendedString & Name(); - - /****************** NameColor ******************/ - /**** md5 signature: 1bf8facd7a4ba2083dd1b64cd920b968 ****/ - %feature("compactdefaultargs") NameColor; - %feature("autodoc", "No available documentation. - -Returns -------- -Quantity_Color -") NameColor; - const Quantity_Color & NameColor(); - - /****************** NameOffset ******************/ - /**** md5 signature: d485aa83e35b31eb318e24da05db54c2 ****/ - %feature("compactdefaultargs") NameOffset; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") NameOffset; - Standard_Integer NameOffset(); - - /****************** SetColor ******************/ - /**** md5 signature: 289e78889c9a8b48d6cf1ce3b205415d ****/ - %feature("compactdefaultargs") SetColor; - %feature("autodoc", "Sets color of axis and values. - -Parameters ----------- -theColor: Quantity_Color - -Returns -------- -None -") SetColor; - void SetColor(const Quantity_Color & theColor); - - /****************** SetDrawName ******************/ - /**** md5 signature: 3ee89854bd128ec955c2273669b07f9b ****/ - %feature("compactdefaultargs") SetDrawName; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theToDraw: bool - -Returns -------- -None -") SetDrawName; - void SetDrawName(const Standard_Boolean theToDraw); - - /****************** SetDrawTickmarks ******************/ - /**** md5 signature: ade4444adbb386df0453b8df25a61a25 ****/ - %feature("compactdefaultargs") SetDrawTickmarks; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theToDraw: bool - -Returns -------- -None -") SetDrawTickmarks; - void SetDrawTickmarks(const Standard_Boolean theToDraw); - - /****************** SetDrawValues ******************/ - /**** md5 signature: 692149c3a71de71e782e99dd6cb5f034 ****/ - %feature("compactdefaultargs") SetDrawValues; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theToDraw: bool - -Returns -------- -None -") SetDrawValues; - void SetDrawValues(const Standard_Boolean theToDraw); - - /****************** SetName ******************/ - /**** md5 signature: ea685ef0c0867da956c74657595f5dd9 ****/ - %feature("compactdefaultargs") SetName; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theName: TCollection_ExtendedString - -Returns -------- -None -") SetName; - void SetName(const TCollection_ExtendedString & theName); - - /****************** SetNameColor ******************/ - /**** md5 signature: 6b3f0e3ef95cd72b668ced4bbb4dc39a ****/ - %feature("compactdefaultargs") SetNameColor; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theColor: Quantity_Color - -Returns -------- -None -") SetNameColor; - void SetNameColor(const Quantity_Color & theColor); - - /****************** SetNameOffset ******************/ - /**** md5 signature: 39e06e5cc312be922a7118d1d3e2dd7d ****/ - %feature("compactdefaultargs") SetNameOffset; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theValue: int - -Returns -------- -None -") SetNameOffset; - void SetNameOffset(const Standard_Integer theValue); - - /****************** SetTickmarksLength ******************/ - /**** md5 signature: b323b591bea750c0ec1724c0691bf803 ****/ - %feature("compactdefaultargs") SetTickmarksLength; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theValue: int - -Returns -------- -None -") SetTickmarksLength; - void SetTickmarksLength(const Standard_Integer theValue); - - /****************** SetTickmarksNumber ******************/ - /**** md5 signature: 724c2a562f7632df94ddd9c5a375f1d1 ****/ - %feature("compactdefaultargs") SetTickmarksNumber; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theValue: int - -Returns -------- -None -") SetTickmarksNumber; - void SetTickmarksNumber(const Standard_Integer theValue); - - /****************** SetValuesOffset ******************/ - /**** md5 signature: 43182c8cd81d0be321cc1e01ec405954 ****/ - %feature("compactdefaultargs") SetValuesOffset; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theValue: int - -Returns -------- -None -") SetValuesOffset; - void SetValuesOffset(const Standard_Integer theValue); - - /****************** TickmarksLength ******************/ - /**** md5 signature: 2aa03627d5803e8330017f85d763b09e ****/ - %feature("compactdefaultargs") TickmarksLength; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") TickmarksLength; - Standard_Integer TickmarksLength(); - - /****************** TickmarksNumber ******************/ - /**** md5 signature: 7a2a42e1740320790ae83fffb400a679 ****/ - %feature("compactdefaultargs") TickmarksNumber; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") TickmarksNumber; - Standard_Integer TickmarksNumber(); - - /****************** ToDrawName ******************/ - /**** md5 signature: aea292672474d11f477b530d0bd2b618 ****/ - %feature("compactdefaultargs") ToDrawName; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") ToDrawName; - Standard_Boolean ToDrawName(); - - /****************** ToDrawTickmarks ******************/ - /**** md5 signature: cc80ef81fea8024f206f1155ae3c871c ****/ - %feature("compactdefaultargs") ToDrawTickmarks; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") ToDrawTickmarks; - Standard_Boolean ToDrawTickmarks(); - - /****************** ToDrawValues ******************/ - /**** md5 signature: 9ee5b6720a41562cb3d98fef0a6c294f ****/ - %feature("compactdefaultargs") ToDrawValues; - %feature("autodoc", "No available documentation. - -Returns -------- -bool -") ToDrawValues; - Standard_Boolean ToDrawValues(); - - /****************** ValuesOffset ******************/ - /**** md5 signature: 9d010d056cb425f5962bfaaa3c5e6f29 ****/ - %feature("compactdefaultargs") ValuesOffset; - %feature("autodoc", "No available documentation. - -Returns -------- -int -") ValuesOffset; - Standard_Integer ValuesOffset(); - -}; - - -%extend Graphic3d_AxisAspect { - %pythoncode { - __repr__ = _dumps_object - } -}; - /*********************** * class Graphic3d_BSDF * ***********************/ @@ -5093,6 +4947,21 @@ Standard_ShortReal ") ConstAttenuation; Standard_ShortReal ConstAttenuation(); + /****************** CopyFrom ******************/ + /**** md5 signature: b7e56d0aeca413f462788f3208bf0c98 ****/ + %feature("compactdefaultargs") CopyFrom; + %feature("autodoc", "Copy parameters from another light source excluding source type. + +Parameters +---------- +theLight: Graphic3d_CLight + +Returns +------- +None +") CopyFrom; + void CopyFrom(const opencascade::handle & theLight); + /****************** Direction ******************/ /**** md5 signature: 2b0a515c17ee028a8b572032cfbdfabb ****/ %feature("compactdefaultargs") Direction; @@ -5120,6 +4989,17 @@ theVz: float ") Direction; void Direction(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); + /****************** DisplayPosition ******************/ + /**** md5 signature: 9f9045903ce58e7bb413ba477b693cee ****/ + %feature("compactdefaultargs") DisplayPosition; + %feature("autodoc", "Returns location of positional/spot/directional light, which is the same as returned by position(). + +Returns +------- +gp_Pnt +") DisplayPosition; + const gp_Pnt DisplayPosition(); + %feature("autodoc", "1"); %extend{ @@ -5139,6 +5019,17 @@ TCollection_AsciiString ") GetId; const TCollection_AsciiString & GetId(); + /****************** HasRange ******************/ + /**** md5 signature: 042ed400a2eaebbd19bb0801da6f5043 ****/ + %feature("compactdefaultargs") HasRange; + %feature("autodoc", "Returns true if maximum distance of point light source is defined. + +Returns +------- +bool +") HasRange; + bool HasRange(); + /****************** Headlight ******************/ /**** md5 signature: 222c71e1f3cae4705cc3b43c4928858f ****/ %feature("compactdefaultargs") Headlight; @@ -5216,6 +5107,17 @@ Graphic3d_Vec4 ") PackedColor; const Graphic3d_Vec4 & PackedColor(); + /****************** PackedDirection ******************/ + /**** md5 signature: ddba5f518f01ac83f17e032c314997bc ****/ + %feature("compactdefaultargs") PackedDirection; + %feature("autodoc", "Returns direction of directional/spot light. + +Returns +------- +Graphic3d_Vec3 +") PackedDirection; + Graphic3d_Vec3 PackedDirection(); + /****************** PackedDirectionRange ******************/ /**** md5 signature: 17165b5921369c255346f4b6e9061750 ****/ %feature("compactdefaultargs") PackedDirectionRange; @@ -5318,9 +5220,24 @@ None ") SetAttenuation; void SetAttenuation(Standard_ShortReal theConstAttenuation, Standard_ShortReal theLinearAttenuation); - /****************** SetColor ******************/ - /**** md5 signature: 4493bec663df9e92c429e56b9c76a307 ****/ - %feature("compactdefaultargs") SetColor; + /****************** SetCastShadows ******************/ + /**** md5 signature: 6c8123526be03dc05fd82df402fea742 ****/ + %feature("compactdefaultargs") SetCastShadows; + %feature("autodoc", "Enable/disable shadow casting. + +Parameters +---------- +theToCast: bool + +Returns +------- +None +") SetCastShadows; + void SetCastShadows(Standard_Boolean theToCast); + + /****************** SetColor ******************/ + /**** md5 signature: 4493bec663df9e92c429e56b9c76a307 ****/ + %feature("compactdefaultargs") SetColor; %feature("autodoc", "Defines the color of a light source by giving the basic color. Parameters @@ -5380,6 +5297,21 @@ None ") SetDirection; void SetDirection(Standard_Real theVx, Standard_Real theVy, Standard_Real theVz); + /****************** SetDisplayPosition ******************/ + /**** md5 signature: 8e4ce2892bc6f683fa9f79a8be114bde ****/ + %feature("compactdefaultargs") SetDisplayPosition; + %feature("autodoc", "Setup location of positional/spot/directional light, which is the same as setposition() but allows directional light source (technically having no position, but this point can be used for displaying light source presentation). + +Parameters +---------- +thePosition: gp_Pnt + +Returns +------- +None +") SetDisplayPosition; + void SetDisplayPosition(const gp_Pnt & thePosition); + /****************** SetEnabled ******************/ /**** md5 signature: 5a0e19770edfe90c320cb0dfe22869f5 ****/ %feature("compactdefaultargs") SetEnabled; @@ -5528,6 +5460,17 @@ Standard_ShortReal ") Smoothness; Standard_ShortReal Smoothness(); + /****************** ToCastShadows ******************/ + /**** md5 signature: 42fa17b918615dd5ad47daf5d1997b53 ****/ + %feature("compactdefaultargs") ToCastShadows; + %feature("autodoc", "Return true if shadow casting is enabled; false by default. has no effect in ray-tracing rendering mode. + +Returns +------- +bool +") ToCastShadows; + Standard_Boolean ToCastShadows(); + /****************** Type ******************/ /**** md5 signature: d146d133611b424d902f31165fccb442 ****/ %feature("compactdefaultargs") Type; @@ -5558,12 +5501,11 @@ class Graphic3d_CStructure : public Standard_Transient { public: class SubclassStructIterator {}; class SubclassGroupIterator {}; + opencascade::handle ViewAffinity; int Id; - Graphic3d_ZLayerId myZLayer; int Priority; int PreviousPriority; int ContainsFacet; - opencascade::handle ViewAffinity; unsigned IsInfinite; unsigned stick; unsigned highlight; @@ -5713,6 +5655,17 @@ Graphic3d_SequenceOfGroup ") Groups; const Graphic3d_SequenceOfGroup & Groups(); + /****************** HasGroupTransformPersistence ******************/ + /**** md5 signature: 5d4952bc8c8bf1e884760e5b9bb8f355 ****/ + %feature("compactdefaultargs") HasGroupTransformPersistence; + %feature("autodoc", "Return true if some groups might have transform persistence; false by default. + +Returns +------- +bool +") HasGroupTransformPersistence; + bool HasGroupTransformPersistence(); + /****************** HighlightStyle ******************/ /**** md5 signature: 8178b69ba5e9aec0fad5df24b6a36d07 ****/ %feature("compactdefaultargs") HighlightStyle; @@ -5869,6 +5822,21 @@ None ") SetCulled; void SetCulled(Standard_Boolean theIsCulled); + /****************** SetGroupTransformPersistence ******************/ + /**** md5 signature: bac91b6506cf81c7d593e9f62c6eaf8b ****/ + %feature("compactdefaultargs") SetGroupTransformPersistence; + %feature("autodoc", "Set if some groups might have transform persistence. + +Parameters +---------- +theValue: bool + +Returns +------- +None +") SetGroupTransformPersistence; + void SetGroupTransformPersistence(bool theValue); + /****************** SetTransformPersistence ******************/ /**** md5 signature: ebaa62acbe8ec5abd3805f5c94502bd2 ****/ %feature("compactdefaultargs") SetTransformPersistence; @@ -5984,33 +5952,6 @@ None } }; -/*************************** -* class Graphic3d_CTexture * -***************************/ -class Graphic3d_CTexture { - public: - opencascade::handle TextureMap; - int doTextureMap; - /****************** Graphic3d_CTexture ******************/ - /**** md5 signature: d4565acda8033732a03f25c2ffd8d531 ****/ - %feature("compactdefaultargs") Graphic3d_CTexture; - %feature("autodoc", "No available documentation. - -Returns -------- -None -") Graphic3d_CTexture; - Graphic3d_CTexture(); - -}; - - -%extend Graphic3d_CTexture { - %pythoncode { - __repr__ = _dumps_object - } -}; - /************************* * class Graphic3d_Camera * *************************/ @@ -6050,7 +5991,7 @@ enum { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Projection(IntEnum): @@ -6317,6 +6258,23 @@ float ") FOVy; Standard_Real FOVy(); + /****************** FitMinMax ******************/ + /**** md5 signature: 8534daaad2c9f347907bc7500a901a64 ****/ + %feature("compactdefaultargs") FitMinMax; + %feature("autodoc", "Adjust camera to fit in specified aabb. + +Parameters +---------- +theBox: Bnd_Box +theResolution: float +theToEnlargeIfLine: bool + +Returns +------- +bool +") FitMinMax; + bool FitMinMax(const Bnd_Box & theBox, const Standard_Real theResolution, const bool theToEnlargeIfLine); + /****************** Frustum ******************/ /**** md5 signature: cf93be954a6467b83bd07e5a762a6fe9 ****/ %feature("compactdefaultargs") Frustum; @@ -6376,6 +6334,24 @@ float ") IOD; Standard_Real IOD(); + /****************** Interpolate ******************/ + /**** md5 signature: cf58d049943cb5707d151a3600470e95 ****/ + %feature("compactdefaultargs") Interpolate; + %feature("autodoc", "Linear interpolation tool for camera orientation and position. this tool interpolates camera parameters scale, eye, center, rotation (up and direction vectors) independently. @sa graphic3d_cameralerp //! eye/center interpolation is performed through defining an anchor point in-between center and eye. the anchor position is defined as point near to the camera point which has smaller translation part. the main idea is to keep the distance between center and eye (which will change if center and eye translation will be interpolated independently). e.g.: - when both center and eye are moved at the same vector -> both will be just translated by straight line; - when center is not moved -> camera eye will move around center through arc; - when eye is not moved -> camera center will move around eye through arc; - when both center and eye are move by different vectors -> transformation will be something in between, and will try interpolate linearly the distance between center and eye. //! this transformation might be not in line with user expectations. in this case, application might define intermediate camera positions for interpolation or implement own interpolation logic. //! @param thestart [in] initial camera position @param theend [in] final camera position @param thet [in] step between initial and final positions within [0,1] range @param thecamera [out] interpolation result. + +Parameters +---------- +theStart: Graphic3d_Camera +theEnd: Graphic3d_Camera +theT: double +theCamera: Graphic3d_Camera + +Returns +------- +None +") Interpolate; + static void Interpolate(const opencascade::handle & theStart, const opencascade::handle & theEnd, const double theT, opencascade::handle & theCamera); + /****************** InvalidateOrientation ******************/ /**** md5 signature: db406d3073ea0c1be275948df298cd3b ****/ %feature("compactdefaultargs") InvalidateOrientation; @@ -6453,6 +6429,17 @@ bool ") IsStereo; Standard_Boolean IsStereo(); + /****************** IsZeroToOneDepth ******************/ + /**** md5 signature: 8d8fb797f50b5085b4ddc21e963e39ad ****/ + %feature("compactdefaultargs") IsZeroToOneDepth; + %feature("autodoc", "Return true if camera should calculate projection matrix for [0, 1] depth range or for [-1, 1] range. false by default. + +Returns +------- +bool +") IsZeroToOneDepth; + Standard_Boolean IsZeroToOneDepth(); + /****************** MoveEyeTo ******************/ /**** md5 signature: 8805118f8cd5bdfe0afd4ef0aee46699 ****/ %feature("compactdefaultargs") MoveEyeTo; @@ -6875,6 +6862,17 @@ None ") SetIOD; void SetIOD(IODType theType, const Standard_Real theIOD); + /****************** SetIdentityOrientation ******************/ + /**** md5 signature: 9cd866c96241fdf94bd0dbc5729d9125 ****/ + %feature("compactdefaultargs") SetIdentityOrientation; + %feature("autodoc", "Sets camera parameters to make current orientation matrix identity one. + +Returns +------- +None +") SetIdentityOrientation; + void SetIdentityOrientation(); + /****************** SetProjectionType ******************/ /**** md5 signature: 500231e331fd3294fa2c82d618e95738 ****/ %feature("compactdefaultargs") SetProjectionType; @@ -6967,6 +6965,21 @@ None ") SetZRange; void SetZRange(const Standard_Real theZNear, const Standard_Real theZFar); + /****************** SetZeroToOneDepth ******************/ + /**** md5 signature: 8075a923559379f4227d16bcb147a4c2 ****/ + %feature("compactdefaultargs") SetZeroToOneDepth; + %feature("autodoc", "Set using [0, 1] depth range or [-1, 1] range. + +Parameters +---------- +theIsZeroToOne: bool + +Returns +------- +None +") SetZeroToOneDepth; + void SetZeroToOneDepth(Standard_Boolean theIsZeroToOne); + /****************** SideRight ******************/ /**** md5 signature: 376ce920b40e8da4926fcbcf98d049aa ****/ %feature("compactdefaultargs") SideRight; @@ -8877,7 +8890,7 @@ Graphic3d_Vec4 *************************************/ class Graphic3d_GraduatedTrihedron { public: - Graphic3d_CView * PtrView; + class AxisAspect {}; /****************** Graphic3d_GraduatedTrihedron ******************/ /**** md5 signature: ec9c13b0c8c821bbf378eaa07133baa4 ****/ %feature("compactdefaultargs") Graphic3d_GraduatedTrihedron; @@ -8923,9 +8936,9 @@ Standard_ShortReal ") ArrowsLength; Standard_ShortReal ArrowsLength(); - /****************** AxisAspect ******************/ - /**** md5 signature: f2f44ba31c6f431b905db6db80868bf4 ****/ - %feature("compactdefaultargs") AxisAspect; + /****************** AxisAspectAt ******************/ + /**** md5 signature: 63f00fa442fc1d6ba02cc6bb79bcd525 ****/ + %feature("compactdefaultargs") AxisAspectAt; %feature("autodoc", "No available documentation. Parameters @@ -8934,12 +8947,12 @@ theIndex: int Returns ------- -Graphic3d_AxisAspect -") AxisAspect; - const Graphic3d_AxisAspect & AxisAspect(const Standard_Integer theIndex); +Graphic3d_GraduatedTrihedron::AxisAspect +") AxisAspectAt; + Graphic3d_GraduatedTrihedron::AxisAspect AxisAspectAt(const Standard_Integer theIndex); /****************** ChangeAxisAspect ******************/ - /**** md5 signature: ec1bdc207f774477c7923fb81a4d46b7 ****/ + /**** md5 signature: f74ee84e653b5a8df6857698f64af27a ****/ %feature("compactdefaultargs") ChangeAxisAspect; %feature("autodoc", "No available documentation. @@ -8949,42 +8962,57 @@ theIndex: int Returns ------- -Graphic3d_AxisAspect +Graphic3d_GraduatedTrihedron::AxisAspect ") ChangeAxisAspect; - Graphic3d_AxisAspect & ChangeAxisAspect(const Standard_Integer theIndex); + Graphic3d_GraduatedTrihedron::AxisAspect ChangeAxisAspect(const Standard_Integer theIndex); /****************** ChangeXAxisAspect ******************/ - /**** md5 signature: cdc049f35f986f9b8665bbfd1b6d302c ****/ + /**** md5 signature: 0db2f493a8dc9d6a74d8770813ea91e3 ****/ %feature("compactdefaultargs") ChangeXAxisAspect; %feature("autodoc", "No available documentation. Returns ------- -Graphic3d_AxisAspect +Graphic3d_GraduatedTrihedron::AxisAspect ") ChangeXAxisAspect; - Graphic3d_AxisAspect & ChangeXAxisAspect(); + Graphic3d_GraduatedTrihedron::AxisAspect ChangeXAxisAspect(); /****************** ChangeYAxisAspect ******************/ - /**** md5 signature: 4c4f18e9c7240d7a33c10928e7b7f0f6 ****/ + /**** md5 signature: 26bef1416c24df17fe629630d5fad032 ****/ %feature("compactdefaultargs") ChangeYAxisAspect; %feature("autodoc", "No available documentation. Returns ------- -Graphic3d_AxisAspect +Graphic3d_GraduatedTrihedron::AxisAspect ") ChangeYAxisAspect; - Graphic3d_AxisAspect & ChangeYAxisAspect(); + Graphic3d_GraduatedTrihedron::AxisAspect ChangeYAxisAspect(); /****************** ChangeZAxisAspect ******************/ - /**** md5 signature: 5239dd92fa0d582990cf78fe9d02181e ****/ + /**** md5 signature: 0c6e16c99d91d275f7b741d01a32696b ****/ %feature("compactdefaultargs") ChangeZAxisAspect; %feature("autodoc", "No available documentation. Returns ------- -Graphic3d_AxisAspect +Graphic3d_GraduatedTrihedron::AxisAspect ") ChangeZAxisAspect; - Graphic3d_AxisAspect & ChangeZAxisAspect(); + Graphic3d_GraduatedTrihedron::AxisAspect ChangeZAxisAspect(); + + /****************** CubicAxesCallback ******************/ + /**** md5 signature: e81eb3ee65b29fa8f4156e206e325740 ****/ + %feature("compactdefaultargs") CubicAxesCallback; + %feature("autodoc", "No available documentation. + +Parameters +---------- +theView: Graphic3d_CView * + +Returns +------- +bool +") CubicAxesCallback; + Standard_Boolean CubicAxesCallback(Graphic3d_CView * theView); /****************** GridColor ******************/ /**** md5 signature: 0a94080e9f8d07e2f072c1b5c94f2339 ****/ @@ -9236,37 +9264,37 @@ int Standard_Integer ValuesSize(); /****************** XAxisAspect ******************/ - /**** md5 signature: 1eebfbd9cfccaf5eb022857d4c5009cc ****/ + /**** md5 signature: 658c3ee5f9ab4ee1108f1949964cb378 ****/ %feature("compactdefaultargs") XAxisAspect; %feature("autodoc", "No available documentation. Returns ------- -Graphic3d_AxisAspect +Graphic3d_GraduatedTrihedron::AxisAspect ") XAxisAspect; - const Graphic3d_AxisAspect & XAxisAspect(); + Graphic3d_GraduatedTrihedron::AxisAspect XAxisAspect(); /****************** YAxisAspect ******************/ - /**** md5 signature: 40cfd8708b945c7998815b6d6a8ef1be ****/ + /**** md5 signature: 5e948e695e24c65afc182aae4b8c4f74 ****/ %feature("compactdefaultargs") YAxisAspect; %feature("autodoc", "No available documentation. Returns ------- -Graphic3d_AxisAspect +Graphic3d_GraduatedTrihedron::AxisAspect ") YAxisAspect; - const Graphic3d_AxisAspect & YAxisAspect(); + Graphic3d_GraduatedTrihedron::AxisAspect YAxisAspect(); /****************** ZAxisAspect ******************/ - /**** md5 signature: c43e4b61858272d00c4cb284f159c2ae ****/ + /**** md5 signature: cdd43014b9d477d11415b709e5cebb35 ****/ %feature("compactdefaultargs") ZAxisAspect; %feature("autodoc", "No available documentation. Returns ------- -Graphic3d_AxisAspect +Graphic3d_GraduatedTrihedron::AxisAspect ") ZAxisAspect; - const Graphic3d_AxisAspect & ZAxisAspect(); + Graphic3d_GraduatedTrihedron::AxisAspect ZAxisAspect(); }; @@ -9274,6 +9302,10 @@ Graphic3d_AxisAspect %extend Graphic3d_GraduatedTrihedron { %pythoncode { __repr__ = _dumps_object + + @methodnotwrapped + def SetCubicAxesCallback(self): + pass } }; @@ -9335,7 +9367,7 @@ Standard_ShortReal /****************** EnableVBO ******************/ /**** md5 signature: 6811071ed08bc9212270309c90e38f22 ****/ %feature("compactdefaultargs") EnableVBO; - %feature("autodoc", "Enables/disables usage of opengl vertex buffer arrays while drawing primitiev arrays. + %feature("autodoc", "Enables/disables usage of opengl vertex buffer arrays while drawing primitive arrays. Parameters ---------- @@ -9440,6 +9472,17 @@ None ") InsertLayerBefore; virtual void InsertLayerBefore(int theNewLayerId, const Graphic3d_ZLayerSettings & theSettings, int theLayerAfter); + /****************** IsVerticalSync ******************/ + /**** md5 signature: 985d8beb785bea58cbbe2cfd1d737440 ****/ + %feature("compactdefaultargs") IsVerticalSync; + %feature("autodoc", "Returns true if vertical synchronization with display refresh rate (vsync) should be used; true by default. + +Returns +------- +bool +") IsVerticalSync; + virtual bool IsVerticalSync(); + /****************** MemoryInfo ******************/ /**** md5 signature: 394a73f4371f143116eaf8ac960ff9af ****/ %feature("compactdefaultargs") MemoryInfo; @@ -9527,6 +9570,21 @@ None ") RemoveZLayer; virtual void RemoveZLayer(int theLayerId); + /****************** SetVerticalSync ******************/ + /**** md5 signature: 12e74570c44c853016ba468efbe54dc5 ****/ + %feature("compactdefaultargs") SetVerticalSync; + %feature("autodoc", "Set if vertical synchronization with display refresh rate (vsync) should be used. + +Parameters +---------- +theToEnable: bool + +Returns +------- +None +") SetVerticalSync; + virtual void SetVerticalSync(bool theToEnable); + /****************** SetZLayerSettings ******************/ /**** md5 signature: 526c66f52cf13826d826173b0d84d35e ****/ %feature("compactdefaultargs") SetZLayerSettings; @@ -9624,6 +9682,103 @@ None } }; +/*************************************** +* class Graphic3d_GraphicDriverFactory * +***************************************/ +%nodefaultctor Graphic3d_GraphicDriverFactory; +class Graphic3d_GraphicDriverFactory : public Standard_Transient { + public: + /****************** CreateDriver ******************/ + /**** md5 signature: 51916739a7171cbbc64ee23ff291b6b9 ****/ + %feature("compactdefaultargs") CreateDriver; + %feature("autodoc", "Creates new empty graphic driver. + +Parameters +---------- +theDisp: Aspect_DisplayConnection + +Returns +------- +opencascade::handle +") CreateDriver; + virtual opencascade::handle CreateDriver(const opencascade::handle & theDisp); + + /****************** DefaultDriverFactory ******************/ + /**** md5 signature: e914dd4d0cb1a2d6e284026448f6a910 ****/ + %feature("compactdefaultargs") DefaultDriverFactory; + %feature("autodoc", "Return default driver factory or null if no one was registered. + +Returns +------- +opencascade::handle +") DefaultDriverFactory; + static opencascade::handle DefaultDriverFactory(); + + /****************** DriverFactories ******************/ + /**** md5 signature: f5c793eba0a0cbe749cc4b42ec1ea74e ****/ + %feature("compactdefaultargs") DriverFactories; + %feature("autodoc", "Return the global map of registered driver factories. + +Returns +------- +Graphic3d_GraphicDriverFactoryList +") DriverFactories; + static const Graphic3d_GraphicDriverFactoryList & DriverFactories(); + + /****************** Name ******************/ + /**** md5 signature: efed61b92683387cd746fb27e0376505 ****/ + %feature("compactdefaultargs") Name; + %feature("autodoc", "Return driver factory name. + +Returns +------- +TCollection_AsciiString +") Name; + const TCollection_AsciiString & Name(); + + /****************** RegisterFactory ******************/ + /**** md5 signature: 881e0cdc731f704ba93123921ea34592 ****/ + %feature("compactdefaultargs") RegisterFactory; + %feature("autodoc", "Registers factory. @param thefactory [in] factory to register @param theispreferred [in] add to the beginning of the list when true, or add to the end otherwise. + +Parameters +---------- +theFactory: Graphic3d_GraphicDriverFactory +theIsPreferred: bool,optional + default value is false + +Returns +------- +None +") RegisterFactory; + static void RegisterFactory(const opencascade::handle & theFactory, bool theIsPreferred = false); + + /****************** UnregisterFactory ******************/ + /**** md5 signature: 9fe2bdc1459cba7162127ec6a3412054 ****/ + %feature("compactdefaultargs") UnregisterFactory; + %feature("autodoc", "Unregisters factory. + +Parameters +---------- +theName: TCollection_AsciiString + +Returns +------- +None +") UnregisterFactory; + static void UnregisterFactory(const TCollection_AsciiString & theName); + +}; + + +%make_alias(Graphic3d_GraphicDriverFactory) + +%extend Graphic3d_GraphicDriverFactory { + %pythoncode { + __repr__ = _dumps_object + } +}; + /************************ * class Graphic3d_Group * ************************/ @@ -9720,7 +9875,7 @@ Graphic3d_BndBox4f /****************** Clear ******************/ /**** md5 signature: 0e2f50fd5440bc5f4814bdd0ad5f3eb9 ****/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Supress all primitives and attributes of . to clear group without update in graphic3d_structuremanager pass standard_false as . this used on context and viewer destruction, when the pointer to structure manager in graphic3d_structure could be already released (pointers are used here to avoid handle cross-reference);. + %feature("autodoc", "Suppress all primitives and attributes of . to clear group without update in graphic3d_structuremanager pass standard_false as . this used on context and viewer destruction, when the pointer to structure manager in graphic3d_structure could be already released (pointers are used here to avoid handle cross-reference);. Parameters ---------- @@ -9788,7 +9943,7 @@ bool /****************** Marker ******************/ /**** md5 signature: 05c6752a3af35606f6018312dff052b6 ****/ %feature("compactdefaultargs") Marker; - %feature("autodoc", "Creates a primitive array with single marker using addprimitivearray(). + %feature("autodoc", "No available documentation. Parameters ---------- @@ -9824,7 +9979,7 @@ theZMax: float /****************** Remove ******************/ /**** md5 signature: 0346504d7ac570fc8960fb72d5ad5f20 ****/ %feature("compactdefaultargs") Remove; - %feature("autodoc", "Supress the group in the structure. warning: no more graphic operations in after this call. modifies the current modelling transform persistence (pan, zoom or rotate) get the current modelling transform persistence (pan, zoom or rotate). + %feature("autodoc", "Suppress the group in the structure. warning: no more graphic operations in after this call. modifies the current modelling transform persistence (pan, zoom or rotate) get the current modelling transform persistence (pan, zoom or rotate). Returns ------- @@ -9928,6 +10083,21 @@ None ") SetStencilTestOptions; virtual void SetStencilTestOptions(const Standard_Boolean theIsEnabled); + /****************** SetTransformPersistence ******************/ + /**** md5 signature: 9823ebeffde5eb16b0c205a862e3b2c2 ****/ + %feature("compactdefaultargs") SetTransformPersistence; + %feature("autodoc", "Set transformation persistence. + +Parameters +---------- +theTrsfPers: Graphic3d_TransformPers + +Returns +------- +None +") SetTransformPersistence; + virtual void SetTransformPersistence(const opencascade::handle & theTrsfPers); + /****************** Structure ******************/ /**** md5 signature: 81c8bb8d3594116a073834f280567560 ****/ %feature("compactdefaultargs") Structure; @@ -10084,6 +10254,17 @@ None ") Text; virtual void Text(const TCollection_ExtendedString & theText, const gp_Ax2 & theOrientation, const Standard_Real theHeight, const Standard_Real theAngle, const Graphic3d_TextPath theTp, const Graphic3d_HorizontalTextAlignment theHTA, const Graphic3d_VerticalTextAlignment theVTA, const Standard_Boolean theToEvalMinMax = Standard_True, const Standard_Boolean theHasOwnAnchor = Standard_True); + /****************** TransformPersistence ******************/ + /**** md5 signature: f93fa6b8590ec0070c74ed0573b98382 ****/ + %feature("compactdefaultargs") TransformPersistence; + %feature("autodoc", "Return transformation persistence. + +Returns +------- +opencascade::handle +") TransformPersistence; + const opencascade::handle & TransformPersistence(); + }; @@ -10496,23 +10677,29 @@ enum IterationFilter { IterationFilter_None = 0, IterationFilter_ExcludeAmbient = 2, IterationFilter_ExcludeDisabled = 4, + IterationFilter_ExcludeNoShadow = 8, IterationFilter_ExcludeDisabledAndAmbient = IterationFilter_ExcludeAmbient | IterationFilter_ExcludeDisabled, + IterationFilter_ActiveShadowCasters = IterationFilter_ExcludeDisabledAndAmbient | IterationFilter_ExcludeNoShadow, }; /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class IterationFilter(IntEnum): IterationFilter_None = 0 IterationFilter_ExcludeAmbient = 2 IterationFilter_ExcludeDisabled = 4 + IterationFilter_ExcludeNoShadow = 8 IterationFilter_ExcludeDisabledAndAmbient = IterationFilter_ExcludeAmbient | IterationFilter_ExcludeDisabled + IterationFilter_ActiveShadowCasters = IterationFilter_ExcludeDisabledAndAmbient | IterationFilter_ExcludeNoShadow IterationFilter_None = IterationFilter.IterationFilter_None IterationFilter_ExcludeAmbient = IterationFilter.IterationFilter_ExcludeAmbient IterationFilter_ExcludeDisabled = IterationFilter.IterationFilter_ExcludeDisabled +IterationFilter_ExcludeNoShadow = IterationFilter.IterationFilter_ExcludeNoShadow IterationFilter_ExcludeDisabledAndAmbient = IterationFilter.IterationFilter_ExcludeDisabledAndAmbient +IterationFilter_ActiveShadowCasters = IterationFilter.IterationFilter_ActiveShadowCasters }; /* end python proxy for enums */ @@ -10623,6 +10810,17 @@ int ") Lower; Standard_Integer Lower(); + /****************** NbCastShadows ******************/ + /**** md5 signature: 8268c951e42727175fd4493925bcb7be ****/ + %feature("compactdefaultargs") NbCastShadows; + %feature("autodoc", "Returns total amount of enabled lights castings shadows. @sa updaterevision(). + +Returns +------- +int +") NbCastShadows; + Standard_Integer NbCastShadows(); + /****************** NbEnabled ******************/ /**** md5 signature: 310cabcdfa0ca3f2a531d50ff77c4b75 ****/ %feature("compactdefaultargs") NbEnabled; @@ -10744,24 +10942,26 @@ opencascade::handle class Graphic3d_MarkerImage : public Standard_Transient { public: /****************** Graphic3d_MarkerImage ******************/ - /**** md5 signature: bc81d3d5607b7b8b46844ce8c987f1c1 ****/ + /**** md5 signature: d3ac2496cb00be3c17e763f95b6979e4 ****/ %feature("compactdefaultargs") Graphic3d_MarkerImage; - %feature("autodoc", "@param theimage - source image. + %feature("autodoc", "Constructor from existing pixmap. @param theimage [in] source image @param theimagealpha [in] colorless image. Parameters ---------- theImage: Image_PixMap +theImageAlpha: Image_PixMap,optional + default value is opencascade::handle() Returns ------- None ") Graphic3d_MarkerImage; - Graphic3d_MarkerImage(const opencascade::handle & theImage); + Graphic3d_MarkerImage(const opencascade::handle & theImage, const opencascade::handle & theImageAlpha = opencascade::handle()); /****************** Graphic3d_MarkerImage ******************/ - /**** md5 signature: 903337a1929035a8f566affc039597d8 ****/ + /**** md5 signature: a6caa361147ec336c585b84756fa4363 ****/ %feature("compactdefaultargs") Graphic3d_MarkerImage; - %feature("autodoc", "Creates marker image from array of bytes (method for compatibility with old markers definition). @param thebitmap - source bitmap stored as array of bytes @param thewidth - number of bits in a row @param theheight - number of bits in a column. + %feature("autodoc", "Creates marker image from array of bytes (method for compatibility with old markers definition). @param thebitmap [in] source bitmap stored as array of bytes @param thewidth [in] number of bits in a row @param theheight [in] number of bits in a column. Parameters ---------- @@ -10773,28 +10973,30 @@ Returns ------- None ") Graphic3d_MarkerImage; - Graphic3d_MarkerImage(const opencascade::handle & theBitMap, const Standard_Integer & theWidth, const Standard_Integer & theHeight); + Graphic3d_MarkerImage(const opencascade::handle & theBitMap, const Standard_Integer theWidth, const Standard_Integer theHeight); /****************** GetBitMapArray ******************/ - /**** md5 signature: 761630760f4875c567a4afb13f11bc05 ****/ + /**** md5 signature: 3e4ff0526892338bba5648eae6b30846 ****/ %feature("compactdefaultargs") GetBitMapArray; - %feature("autodoc", "@param thealphavalue pixels in the image that have alpha value greater than or equal to this parameter will be stored in bitmap as '1', others will be stored as '0' returns marker image as array of bytes. if an instance of the class has been initialized with image, it will be converted to bitmap based on the parameter thealphavalue. + %feature("autodoc", "Return marker image as array of bytes. if an instance of the class has been initialized with image, it will be converted to bitmap based on the parameter thealphavalue. @param thealphavalue pixels in the image that have alpha value greater than or equal to this parameter will be stored in bitmap as '1', others will be stored as '0' @param theistopdown [in] flag indicating expected rows order in returned bitmap, which is bottom-up by default. Parameters ---------- theAlphaValue: float,optional default value is 0.5 +theIsTopDown: bool,optional + default value is false Returns ------- opencascade::handle ") GetBitMapArray; - opencascade::handle GetBitMapArray(const Standard_Real & theAlphaValue = 0.5); + opencascade::handle GetBitMapArray(const Standard_Real theAlphaValue = 0.5, const Standard_Boolean theIsTopDown = false); /****************** GetImage ******************/ /**** md5 signature: 7c5ebfa0efa07e00e52abb3fc0528025 ****/ %feature("compactdefaultargs") GetImage; - %feature("autodoc", "Returns marker image. if an instance of the class has been initialized with a bitmap, it will be converted to image. + %feature("autodoc", "Return marker image. if an instance of the class has been initialized with a bitmap, it will be converted to image. Returns ------- @@ -10805,7 +11007,7 @@ opencascade::handle /****************** GetImageAlpha ******************/ /**** md5 signature: b0e6060aafe710fcaa00bf6675fccfe4 ****/ %feature("compactdefaultargs") GetImageAlpha; - %feature("autodoc", "Returns image alpha as grayscale image. note that if an instance of the class has been initialized with a bitmap or with grayscale image this method will return exactly the same image as getimage(). + %feature("autodoc", "Return image alpha as grayscale image. note that if an instance of the class has been initialized with a bitmap or with grayscale image this method will return exactly the same image as getimage(). Returns ------- @@ -10816,7 +11018,7 @@ opencascade::handle /****************** GetImageAlphaId ******************/ /**** md5 signature: 7b5ae989b5c104ce2610c4c118e2ae01 ****/ %feature("compactdefaultargs") GetImageAlphaId; - %feature("autodoc", "Returns an unique id. this id will be used to manage resource in graphic driver. + %feature("autodoc", "Return an unique id. this id will be used to manage resource in graphic driver. Returns ------- @@ -10827,7 +11029,7 @@ TCollection_AsciiString /****************** GetImageId ******************/ /**** md5 signature: 602256488e6c98131d81feb766841aac ****/ %feature("compactdefaultargs") GetImageId; - %feature("autodoc", "Returns an unique id. this id will be used to manage resource in graphic driver. + %feature("autodoc", "Return an unique id. this id will be used to manage resource in graphic driver. Returns ------- @@ -10838,7 +11040,7 @@ TCollection_AsciiString /****************** GetTextureSize ******************/ /**** md5 signature: 613d235550caf2f8304bcaae6f035920 ****/ %feature("compactdefaultargs") GetTextureSize; - %feature("autodoc", "Returns texture size. + %feature("autodoc", "Return texture size. Parameters ---------- @@ -10850,6 +11052,34 @@ theHeight: int ") GetTextureSize; void GetTextureSize(Standard_Integer &OutValue, Standard_Integer &OutValue); + /****************** IsColoredImage ******************/ + /**** md5 signature: 6d8b2537eda1816475d431cea851a65c ****/ + %feature("compactdefaultargs") IsColoredImage; + %feature("autodoc", "Return true if marker image has colors (e.g. rgba and not grayscale). + +Returns +------- +bool +") IsColoredImage; + bool IsColoredImage(); + + /****************** StandardMarker ******************/ + /**** md5 signature: e6c015746d2bfa03543fbc162a052699 ****/ + %feature("compactdefaultargs") StandardMarker; + %feature("autodoc", "Returns a marker image for the marker of the specified type, scale and color. + +Parameters +---------- +theMarkerType: Aspect_TypeOfMarker +theScale: Standard_ShortReal +theColor: Graphic3d_Vec4 + +Returns +------- +opencascade::handle +") StandardMarker; + static opencascade::handle StandardMarker(const Aspect_TypeOfMarker theMarkerType, const Standard_ShortReal theScale, const Graphic3d_Vec4 & theColor); + }; @@ -12124,7 +12354,7 @@ enum FrustumCulling { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Anaglyph(IntEnum): @@ -12188,7 +12418,10 @@ FrustumCulling_NoUpdate = FrustumCulling.FrustumCulling_NoUpdate /* end python proxy for enums */ Graphic3d_RenderingMode Method; + Graphic3d_TypeOfShadingModel ShadingModel; Graphic3d_RenderTransparentMethod TransparencyMethod; + unsigned int Resolution; + Font_Hinting FontHinting; Standard_ShortReal LineFeather; int PbrEnvPow2Size; int PbrEnvSpecMapNbLevels; @@ -12196,8 +12429,11 @@ FrustumCulling_NoUpdate = FrustumCulling.FrustumCulling_NoUpdate int PbrEnvBakingSpecNbSamples; Standard_ShortReal PbrEnvBakingProbability; Standard_ShortReal OitDepthFactor; + int NbOitDepthPeelingLayers; int NbMsaaSamples; Standard_ShortReal RenderResolutionScale; + int ShadowMapResolution; + Standard_ShortReal ShadowMapBias; bool ToEnableDepthPrepass; bool ToEnableAlphaToCoverage; bool IsGlobalIlluminationEnabled; @@ -12241,7 +12477,6 @@ FrustumCulling_NoUpdate = FrustumCulling.FrustumCulling_NoUpdate Standard_ShortReal StatsMaxChartTime; PerfCounters CollectedStats; bool ToShowStats; - unsigned int Resolution; /****************** Graphic3d_RenderingParams ******************/ /**** md5 signature: 604df3cf93dfd3384e91a3c3f46c32b4 ****/ %feature("compactdefaultargs") Graphic3d_RenderingParams; @@ -12361,126 +12596,333 @@ bool Parameters ---------- -theItem: Graphic3d_ClipPlane +theItem: Graphic3d_ClipPlane + +Returns +------- +bool +") Remove; + bool Remove(const opencascade::handle & theItem); + + /****************** Remove ******************/ + /**** md5 signature: 67407ac4263b5ce4b1474bcb59790580 ****/ + %feature("compactdefaultargs") Remove; + %feature("autodoc", "Remove a plane. + +Parameters +---------- +theItem: Iterator + +Returns +------- +None +") Remove; + void Remove(Iterator theItem); + + /****************** SetOverrideGlobal ******************/ + /**** md5 signature: 53f2f55e405ecf8a104090892f86e38a ****/ + %feature("compactdefaultargs") SetOverrideGlobal; + %feature("autodoc", "Setup flag defining if local properties should override global properties. + +Parameters +---------- +theToOverride: bool + +Returns +------- +None +") SetOverrideGlobal; + void SetOverrideGlobal(const Standard_Boolean theToOverride); + + /****************** Size ******************/ + /**** md5 signature: fe6e16e0f1e86558dd017c7384c76cd6 ****/ + %feature("compactdefaultargs") Size; + %feature("autodoc", "Return the number of items in sequence. + +Returns +------- +int +") Size; + Standard_Integer Size(); + + /****************** ToOverrideGlobal ******************/ + /**** md5 signature: 1ecec5e4e17820cdf69ff2c94817a50e ****/ + %feature("compactdefaultargs") ToOverrideGlobal; + %feature("autodoc", "Return true if local properties should override global properties. + +Returns +------- +bool +") ToOverrideGlobal; + Standard_Boolean ToOverrideGlobal(); + +}; + + +%make_alias(Graphic3d_SequenceOfHClipPlane) + +%extend Graphic3d_SequenceOfHClipPlane { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/********************************** +* class Graphic3d_ShaderAttribute * +**********************************/ +class Graphic3d_ShaderAttribute : public Standard_Transient { + public: + /****************** Graphic3d_ShaderAttribute ******************/ + /**** md5 signature: ac60c401f73357877da49c7c5879e543 ****/ + %feature("compactdefaultargs") Graphic3d_ShaderAttribute; + %feature("autodoc", "Creates new attribute. + +Parameters +---------- +theName: TCollection_AsciiString +theLocation: int + +Returns +------- +None +") Graphic3d_ShaderAttribute; + Graphic3d_ShaderAttribute(const TCollection_AsciiString & theName, const int theLocation); + + /****************** Location ******************/ + /**** md5 signature: fbf2df819f76398dfe948e6957cd938c ****/ + %feature("compactdefaultargs") Location; + %feature("autodoc", "Returns attribute location to be bound on glsl program linkage stage. + +Returns +------- +int +") Location; + int Location(); + + /****************** Name ******************/ + /**** md5 signature: efed61b92683387cd746fb27e0376505 ****/ + %feature("compactdefaultargs") Name; + %feature("autodoc", "Returns name of shader variable. + +Returns +------- +TCollection_AsciiString +") Name; + const TCollection_AsciiString & Name(); + +}; + + +%make_alias(Graphic3d_ShaderAttribute) + +%extend Graphic3d_ShaderAttribute { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/******************************** +* class Graphic3d_ShaderManager * +********************************/ +class Graphic3d_ShaderManager : public Standard_Transient { + public: + /****************** Graphic3d_ShaderManager ******************/ + /**** md5 signature: edfeeb57072df8ac6b8bbe060349c47b ****/ + %feature("compactdefaultargs") Graphic3d_ShaderManager; + %feature("autodoc", "Creates new empty shader manager. + +Parameters +---------- +theGapi: Aspect_GraphicsLibrary + +Returns +------- +None +") Graphic3d_ShaderManager; + Graphic3d_ShaderManager(Aspect_GraphicsLibrary theGapi); + + /****************** EnableGlslExtension ******************/ + /**** md5 signature: 1565a9dd67aaa4d6dd088e174916e417 ****/ + %feature("compactdefaultargs") EnableGlslExtension; + %feature("autodoc", "Set if specified extension is available or not. + +Parameters +---------- +theExt: Graphic3d_GlslExtension +theToEnable: bool,optional + default value is true + +Returns +------- +None +") EnableGlslExtension; + void EnableGlslExtension(Graphic3d_GlslExtension theExt, bool theToEnable = true); + + /****************** GapiVersionMajor ******************/ + /**** md5 signature: f87f51f10b0102d41b85c84177130dc9 ****/ + %feature("compactdefaultargs") GapiVersionMajor; + %feature("autodoc", "Return gapi version major number. + +Returns +------- +int +") GapiVersionMajor; + Standard_Integer GapiVersionMajor(); + + /****************** GapiVersionMinor ******************/ + /**** md5 signature: bf64344ac1d7ae2c0d9779cb934c10bf ****/ + %feature("compactdefaultargs") GapiVersionMinor; + %feature("autodoc", "Return gapi version minor number. + +Returns +------- +int +") GapiVersionMinor; + Standard_Integer GapiVersionMinor(); + + /****************** HasFlatShading ******************/ + /**** md5 signature: a51a9477453ff3d09379b95ae7696ad9 ****/ + %feature("compactdefaultargs") HasFlatShading; + %feature("autodoc", "Return flag indicating flat shading usage; true by default. + +Returns +------- +bool +") HasFlatShading; + bool HasFlatShading(); + + /****************** HasGlslExtension ******************/ + /**** md5 signature: 01a7060cef40b7151ed90bed2bb6ebff ****/ + %feature("compactdefaultargs") HasGlslExtension; + %feature("autodoc", "Return true if specified extension is available. + +Parameters +---------- +theExt: Graphic3d_GlslExtension + +Returns +------- +bool +") HasGlslExtension; + bool HasGlslExtension(Graphic3d_GlslExtension theExt); + + /****************** IsGapiGreaterEqual ******************/ + /**** md5 signature: 4a31134aa43661fc23e2c56c331f7adc ****/ + %feature("compactdefaultargs") IsGapiGreaterEqual; + %feature("autodoc", "Returns true if detected gl version is greater or equal to requested one. + +Parameters +---------- +theVerMajor: int +theVerMinor: int Returns ------- bool -") Remove; - bool Remove(const opencascade::handle & theItem); +") IsGapiGreaterEqual; + bool IsGapiGreaterEqual(Standard_Integer theVerMajor, Standard_Integer theVerMinor); - /****************** Remove ******************/ - /**** md5 signature: 67407ac4263b5ce4b1474bcb59790580 ****/ - %feature("compactdefaultargs") Remove; - %feature("autodoc", "Remove a plane. + /****************** SetEmulateDepthClamp ******************/ + /**** md5 signature: 2c1c7d42fdb29063f356221242f1caf1 ****/ + %feature("compactdefaultargs") SetEmulateDepthClamp; + %feature("autodoc", "Set if depth clamping should be emulated by glsl program. Parameters ---------- -theItem: Iterator +theToEmulate: bool Returns ------- None -") Remove; - void Remove(Iterator theItem); +") SetEmulateDepthClamp; + void SetEmulateDepthClamp(bool theToEmulate); - /****************** SetOverrideGlobal ******************/ - /**** md5 signature: 53f2f55e405ecf8a104090892f86e38a ****/ - %feature("compactdefaultargs") SetOverrideGlobal; - %feature("autodoc", "Setup flag defining if local properties should override global properties. + /****************** SetFlatShading ******************/ + /**** md5 signature: bab132dee77734acb97a0cdf54af397d ****/ + %feature("compactdefaultargs") SetFlatShading; + %feature("autodoc", "Set flag indicating flat shading usage. Parameters ---------- -theToOverride: bool +theToUse: bool +theToReverseSign: bool Returns ------- None -") SetOverrideGlobal; - void SetOverrideGlobal(const Standard_Boolean theToOverride); - - /****************** Size ******************/ - /**** md5 signature: fe6e16e0f1e86558dd017c7384c76cd6 ****/ - %feature("compactdefaultargs") Size; - %feature("autodoc", "Return the number of items in sequence. +") SetFlatShading; + void SetFlatShading(bool theToUse, bool theToReverseSign); -Returns -------- -int -") Size; - Standard_Integer Size(); + /****************** SetGapiVersion ******************/ + /**** md5 signature: 2285029be324641721312837e81f9585 ****/ + %feature("compactdefaultargs") SetGapiVersion; + %feature("autodoc", "Return gapi version major number. - /****************** ToOverrideGlobal ******************/ - /**** md5 signature: 1ecec5e4e17820cdf69ff2c94817a50e ****/ - %feature("compactdefaultargs") ToOverrideGlobal; - %feature("autodoc", "Return true if local properties should override global properties. +Parameters +---------- +theVerMajor: int +theVerMinor: int Returns ------- -bool -") ToOverrideGlobal; - Standard_Boolean ToOverrideGlobal(); - -}; - - -%make_alias(Graphic3d_SequenceOfHClipPlane) - -%extend Graphic3d_SequenceOfHClipPlane { - %pythoncode { - __repr__ = _dumps_object - } -}; +None +") SetGapiVersion; + void SetGapiVersion(Standard_Integer theVerMajor, Standard_Integer theVerMinor); -/********************************** -* class Graphic3d_ShaderAttribute * -**********************************/ -class Graphic3d_ShaderAttribute : public Standard_Transient { - public: - /****************** Graphic3d_ShaderAttribute ******************/ - /**** md5 signature: ac60c401f73357877da49c7c5879e543 ****/ - %feature("compactdefaultargs") Graphic3d_ShaderAttribute; - %feature("autodoc", "Creates new attribute. + /****************** SetUseRedAlpha ******************/ + /**** md5 signature: 277e2b94c5211c66781ef954a1639590 ****/ + %feature("compactdefaultargs") SetUseRedAlpha; + %feature("autodoc", "Set if red channel should be used instead of alpha for single-channel textures. Parameters ---------- -theName: TCollection_AsciiString -theLocation: int +theUseRedAlpha: bool Returns ------- None -") Graphic3d_ShaderAttribute; - Graphic3d_ShaderAttribute(const TCollection_AsciiString & theName, const int theLocation); +") SetUseRedAlpha; + void SetUseRedAlpha(bool theUseRedAlpha); - /****************** Location ******************/ - /**** md5 signature: fbf2df819f76398dfe948e6957cd938c ****/ - %feature("compactdefaultargs") Location; - %feature("autodoc", "Returns attribute location to be bound on glsl program linkage stage. + /****************** ToEmulateDepthClamp ******************/ + /**** md5 signature: b2141ccb1ef4ecb8bee1dfcfd044bdad ****/ + %feature("compactdefaultargs") ToEmulateDepthClamp; + %feature("autodoc", "Return true if depth clamping should be emulated by glsl program; true by default. Returns ------- -int -") Location; - int Location(); +bool +") ToEmulateDepthClamp; + bool ToEmulateDepthClamp(); - /****************** Name ******************/ - /**** md5 signature: efed61b92683387cd746fb27e0376505 ****/ - %feature("compactdefaultargs") Name; - %feature("autodoc", "Returns name of shader variable. + /****************** ToReverseDFdxSign ******************/ + /**** md5 signature: 7bb219efdbfeed91f830488b98532a50 ****/ + %feature("compactdefaultargs") ToReverseDFdxSign; + %feature("autodoc", "Return flag indicating flat shading should reverse normal flag; false by default. Returns ------- -TCollection_AsciiString -") Name; - const TCollection_AsciiString & Name(); +bool +") ToReverseDFdxSign; + bool ToReverseDFdxSign(); + + /****************** UseRedAlpha ******************/ + /**** md5 signature: 9336849b35eb84dccae6637e8d89217c ****/ + %feature("compactdefaultargs") UseRedAlpha; + %feature("autodoc", "Return true if red channel should be used instead of alpha for single-channel textures (e.g. gapi supports only gl_red textures and not gl_alpha). + +Returns +------- +bool +") UseRedAlpha; + bool UseRedAlpha(); }; -%make_alias(Graphic3d_ShaderAttribute) +%make_alias(Graphic3d_ShaderManager) -%extend Graphic3d_ShaderAttribute { +%extend Graphic3d_ShaderManager { %pythoncode { __repr__ = _dumps_object } @@ -12492,6 +12934,8 @@ TCollection_AsciiString %nodefaultctor Graphic3d_ShaderObject; class Graphic3d_ShaderObject : public Standard_Transient { public: +typedef NCollection_Sequence ShaderVariableList; + class ShaderVariable {}; /****************** CreateFromFile ******************/ /**** md5 signature: 0e4d93f61abfea2d28122dfc98e7db35 ****/ %feature("compactdefaultargs") CreateFromFile; @@ -12695,17 +13139,6 @@ bool ") HasDefaultSampler; Standard_Boolean HasDefaultSampler(); - /****************** HasWeightOitOutput ******************/ - /**** md5 signature: d16c8b792adcba975b95fc1a659d670f ****/ - %feature("compactdefaultargs") HasWeightOitOutput; - %feature("autodoc", "Return true if fragment shader color should output the weighted oit coverage; false by default. - -Returns -------- -bool -") HasWeightOitOutput; - Standard_Boolean HasWeightOitOutput(); - /****************** Header ******************/ /**** md5 signature: f88fb6c2e88340b6cea1c010e1447033 ****/ %feature("compactdefaultargs") Header; @@ -12772,6 +13205,28 @@ int ") NbLightsMax; Standard_Integer NbLightsMax(); + /****************** NbShadowMaps ******************/ + /**** md5 signature: ec9f08ef816a580d66da175e8ad9a2cd ****/ + %feature("compactdefaultargs") NbShadowMaps; + %feature("autodoc", "Return the length of array of shadow maps (the_nb_shadowmaps); 0 by default. + +Returns +------- +int +") NbShadowMaps; + Standard_Integer NbShadowMaps(); + + /****************** OitOutput ******************/ + /**** md5 signature: 0ae1e43420d7eec8a047a3c7cc6e1bec ****/ + %feature("compactdefaultargs") OitOutput; + %feature("autodoc", "Return if fragment shader color should output to oit buffers; off by default. + +Returns +------- +Graphic3d_RenderTransparentMethod +") OitOutput; + Graphic3d_RenderTransparentMethod OitOutput(); + /****************** PushVariableFloat ******************/ /**** md5 signature: c7116542657a4d73523f19701b47cc97 ****/ %feature("compactdefaultargs") PushVariableFloat; @@ -13005,6 +13460,36 @@ None ") SetNbLightsMax; void SetNbLightsMax(Standard_Integer theNbLights); + /****************** SetNbShadowMaps ******************/ + /**** md5 signature: aac8225eccfa92b2c5e90ece00477fa9 ****/ + %feature("compactdefaultargs") SetNbShadowMaps; + %feature("autodoc", "Specify the length of array of shadow maps (the_nb_shadowmaps). + +Parameters +---------- +theNbMaps: int + +Returns +------- +None +") SetNbShadowMaps; + void SetNbShadowMaps(Standard_Integer theNbMaps); + + /****************** SetOitOutput ******************/ + /**** md5 signature: aa6fe5dfd1ae6a7a74b9b5a4d50b58b4 ****/ + %feature("compactdefaultargs") SetOitOutput; + %feature("autodoc", "Set if fragment shader color should output to oit buffers. note that weighted oit also requires at least 2 fragment outputs (color + coverage), and depth peeling requires at least 3 fragment outputs (depth + front color + back color),. + +Parameters +---------- +theOutput: Graphic3d_RenderTransparentMethod + +Returns +------- +None +") SetOitOutput; + void SetOitOutput(Graphic3d_RenderTransparentMethod theOutput); + /****************** SetPBR ******************/ /**** md5 signature: d5ce79ee9840bebe45640f0c5c7692f5 ****/ %feature("compactdefaultargs") SetPBR; @@ -13050,21 +13535,6 @@ None ") SetVertexAttributes; void SetVertexAttributes(const Graphic3d_ShaderAttributeList & theAttributes); - /****************** SetWeightOitOutput ******************/ - /**** md5 signature: a8258c352f2b2a7a3855ac26a1d76d89 ****/ - %feature("compactdefaultargs") SetWeightOitOutput; - %feature("autodoc", "Set if fragment shader color should output the weighted oit coverage. note that weighted oit also requires at least 2 fragment outputs (color + coverage). - -Parameters ----------- -theOutput: bool - -Returns -------- -None -") SetWeightOitOutput; - void SetWeightOitOutput(Standard_Boolean theOutput); - /****************** ShaderObjects ******************/ /**** md5 signature: 7e25b5a519ed39da5f0b6eccd62c6a47 ****/ %feature("compactdefaultargs") ShaderObjects; @@ -13678,7 +14148,7 @@ bool /****************** MinMaxValues ******************/ /**** md5 signature: 8cca1ef5f121ffd0d02be51223cb1475 ****/ %feature("compactdefaultargs") MinMaxValues; - %feature("autodoc", "Returns the coordinates of the boundary box of the structure . if is true, the method returns actual graphical boundaries of the graphic3d_group components. otherwise, the method returns boundaries taking into account infinite state of the structure. this approach generally used for application specific fit operation (e.g. fitting the model into screen, not taking into accout infinite helper elements). warning: if the structure is empty then the empty box is returned, if the structure is infinite then the whole box is returned. + %feature("autodoc", "Returns the coordinates of the boundary box of the structure . if is true, the method returns actual graphical boundaries of the graphic3d_group components. otherwise, the method returns boundaries taking into account infinite state of the structure. this approach generally used for application specific fit operation (e.g. fitting the model into screen, not taking into account infinite helper elements). warning: if the structure is empty then the empty box is returned, if the structure is infinite then the whole box is returned. Parameters ---------- @@ -13744,7 +14214,7 @@ Standard_Address /****************** PrintNetwork ******************/ /**** md5 signature: f1e583afd3eefb370d3f45b8d7cc688e ****/ %feature("compactdefaultargs") PrintNetwork; - %feature("autodoc", "Prints informations about the network associated with the structure . + %feature("autodoc", "Prints information about the network associated with the structure . Parameters ---------- @@ -14058,21 +14528,6 @@ None ") SetZoomLimit; void SetZoomLimit(const Standard_Real LimitInf, const Standard_Real LimitSup); - /****************** Transform ******************/ - /**** md5 signature: e8a35148a8d8c31e5965e83628e46c93 ****/ - %feature("compactdefaultargs") Transform; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theTrsf: TopLoc_Datum3D - -Returns -------- -None -") Transform; - void Transform(const opencascade::handle & theTrsf); - /****************** TransformPersistence ******************/ /**** md5 signature: f93fa6b8590ec0070c74ed0573b98382 ****/ %feature("compactdefaultargs") TransformPersistence; @@ -15539,22 +15994,6 @@ Graphic3d_TransModeFlags ") Flags; Graphic3d_TransModeFlags Flags(); - /****************** FromDeprecatedParams ******************/ - /**** md5 signature: db13e8b665f426b8203dd06a66527b0b ****/ - %feature("compactdefaultargs") FromDeprecatedParams; - %feature("autodoc", "Create graphic3d_transformpers instance from deprecated parameters set decoding 2d corner + offset parameters from 3d point. - -Parameters ----------- -theFlag: Graphic3d_TransModeFlags -thePoint: gp_Pnt - -Returns -------- -opencascade::handle -") FromDeprecatedParams; - static opencascade::handle FromDeprecatedParams(Graphic3d_TransModeFlags theFlag, const gp_Pnt & thePoint); - /****************** IsTrihedronOr2d ******************/ /**** md5 signature: 6f4a3b2e29bd3584ee33aa1290e6374b ****/ %feature("compactdefaultargs") IsTrihedronOr2d; @@ -15707,6 +16146,23 @@ None ") SetPersistence; void SetPersistence(const Graphic3d_TransModeFlags theMode, const Aspect_TypeOfTriedronPosition theCorner, const Graphic3d_Vec2i & theOffset); + /****************** persistentScale ******************/ + /**** md5 signature: 76c92526f0940f02546b36d34311d209 ****/ + %feature("compactdefaultargs") persistentScale; + %feature("autodoc", "Find scale value based on the camera position and view dimensions @param thecamera [in] camera definition @param theviewportwidth [in] the width of viewport. @param theviewportheight [in] the height of viewport. + +Parameters +---------- +theCamera: Graphic3d_Camera +Standard_Integer: +theViewportHeight: int + +Returns +------- +float +") persistentScale; + virtual Standard_Real persistentScale(const opencascade::handle & theCamera, const Standard_Integer, const Standard_Integer theViewportHeight); + }; @@ -16407,21 +16863,6 @@ float ") CullingSize; Standard_Real CullingSize(); - /****************** DisableSetting ******************/ - /**** md5 signature: 677606ab7784fc920b0af6315e76ffa8 ****/ - %feature("compactdefaultargs") DisableSetting; - %feature("autodoc", "Disables thesetting. - -Parameters ----------- -theSetting: Graphic3d_ZLayerSetting - -Returns -------- -None -") DisableSetting; - void DisableSetting(const Graphic3d_ZLayerSetting theSetting); - %feature("autodoc", "1"); %extend{ @@ -16430,21 +16871,6 @@ None self->DumpJson(s, depth); return s.str();} }; - /****************** EnableSetting ******************/ - /**** md5 signature: f9f19a26f7bc1f0c3f3ea468d840c73b ****/ - %feature("compactdefaultargs") EnableSetting; - %feature("autodoc", "Enables thesetting. - -Parameters ----------- -theSetting: Graphic3d_ZLayerSetting - -Returns -------- -None -") EnableSetting; - void EnableSetting(const Graphic3d_ZLayerSetting theSetting); - /****************** HasCullingDistance ******************/ /**** md5 signature: 3cc1577ecc805ada9625500f00095068 ****/ %feature("compactdefaultargs") HasCullingDistance; @@ -16489,21 +16915,6 @@ bool ") IsRaytracable; Standard_Boolean IsRaytracable(); - /****************** IsSettingEnabled ******************/ - /**** md5 signature: 88032dfcd0a6034a23bb09be41020529 ****/ - %feature("compactdefaultargs") IsSettingEnabled; - %feature("autodoc", "Returns true if thesetting is enabled. - -Parameters ----------- -theSetting: Graphic3d_ZLayerSetting - -Returns -------- -bool -") IsSettingEnabled; - Standard_Boolean IsSettingEnabled(const Graphic3d_ZLayerSetting theSetting); - /****************** Lights ******************/ /**** md5 signature: 63f7d6694870edc26ea8df652c3f0f2b ****/ %feature("compactdefaultargs") Lights; @@ -18200,15 +18611,15 @@ None virtual void Activate(); /****************** BackfacingModel ******************/ - /**** md5 signature: 4f12d3250ea3572ea3eb38843df0672b ****/ + /**** md5 signature: 4ef77cd5fd8e610f48c8d749a75b591a ****/ %feature("compactdefaultargs") BackfacingModel; - %feature("autodoc", "Return backfacing model used for the view. + %feature("autodoc", "Return backfacing model used for the view; graphic3d_typeofbackfacingmodel_auto by default, which means that backface culling is defined by each presentation. Returns ------- Graphic3d_TypeOfBackfacingModel ") BackfacingModel; - virtual Graphic3d_TypeOfBackfacingModel BackfacingModel(); + Graphic3d_TypeOfBackfacingModel BackfacingModel(); /****************** Background ******************/ /**** md5 signature: c0f5419b36969bcbaab4d536acce707c ****/ @@ -18222,18 +18633,18 @@ Aspect_Background virtual Aspect_Background Background(); /****************** BackgroundCubeMap ******************/ - /**** md5 signature: 17051b4825bcccdc97c3248895fbfcff ****/ + /**** md5 signature: 47f07577dff92db22c0b16758c2eaba4 ****/ %feature("compactdefaultargs") BackgroundCubeMap; - %feature("autodoc", "Returns cubemap being setted last time on background. + %feature("autodoc", "Returns cubemap being set last time on background. Returns ------- opencascade::handle ") BackgroundCubeMap; - virtual opencascade::handle BackgroundCubeMap(); + const opencascade::handle & BackgroundCubeMap(); /****************** BackgroundImage ******************/ - /**** md5 signature: 39a71d9d998721db97b59f5a406f7733 ****/ + /**** md5 signature: f2258721f5f4ef8ccd929c4758ab15a8 ****/ %feature("compactdefaultargs") BackgroundImage; %feature("autodoc", "Returns background image texture map. @@ -18241,7 +18652,7 @@ Returns ------- opencascade::handle ") BackgroundImage; - virtual opencascade::handle BackgroundImage(); + const opencascade::handle & BackgroundImage(); /****************** BackgroundImageStyle ******************/ /**** md5 signature: 9774e4b7f39a9586153cd8d1fad543ea ****/ @@ -18254,6 +18665,17 @@ Aspect_FillMethod ") BackgroundImageStyle; virtual Aspect_FillMethod BackgroundImageStyle(); + /****************** BackgroundType ******************/ + /**** md5 signature: cc22829f256c1e73c4aabb07733228f1 ****/ + %feature("compactdefaultargs") BackgroundType; + %feature("autodoc", "Returns background type. + +Returns +------- +Graphic3d_TypeOfBackground +") BackgroundType; + Graphic3d_TypeOfBackground BackgroundType(); + /****************** BaseXRCamera ******************/ /**** md5 signature: 569eec9cf9a0c2d6e3c15fcafd8f7e68 ****/ %feature("compactdefaultargs") BaseXRCamera; @@ -18314,17 +18736,6 @@ Graphic3d_RenderingParams ") ChangeRenderingParams; Graphic3d_RenderingParams & ChangeRenderingParams(); - /****************** ClearPBREnvironment ******************/ - /**** md5 signature: 7db53c2c0637132ae7125beec8a01ee8 ****/ - %feature("compactdefaultargs") ClearPBREnvironment; - %feature("autodoc", "Fills pbr specular probe and irradiance map with white color. so that environment indirect illumination will be constant and will be fully controlled by ambient light sources. if pbr is unavailable it does nothing. - -Returns -------- -None -") ClearPBREnvironment; - virtual void ClearPBREnvironment(); - /****************** ClipPlanes ******************/ /**** md5 signature: 5b56a7bba4df7465362e074ad237bc00 ****/ %feature("compactdefaultargs") ClipPlanes; @@ -18569,17 +18980,6 @@ None ") FBORelease; virtual void FBORelease(opencascade::handle & theFbo); - /****************** GeneratePBREnvironment ******************/ - /**** md5 signature: ee7fa5c7d0610f7d1b75db1b7e59c58f ****/ - %feature("compactdefaultargs") GeneratePBREnvironment; - %feature("autodoc", "Generates pbr specular probe and irradiance map in order to provide environment indirect illumination in pbr shading model (image based lighting). the source of environment data is background cubemap. if pbr is unavailable it does nothing. if pbr is available but there is no cubemap being set to background it clears all ibl maps (see 'clearpbrenvironment'). - -Returns -------- -None -") GeneratePBREnvironment; - virtual void GeneratePBREnvironment(); - /****************** GetGraduatedTrihedron ******************/ /**** md5 signature: f68dfc8ae14469bea2db4aa0eff51178 ****/ %feature("compactdefaultargs") GetGraduatedTrihedron; @@ -18655,6 +19055,17 @@ opencascade::handle ") HiddenObjects; const opencascade::handle & HiddenObjects(); + /****************** IBLCubeMap ******************/ + /**** md5 signature: ffcaee8919807a8917521c40504678ca ****/ + %feature("compactdefaultargs") IBLCubeMap; + %feature("autodoc", "Returns cubemap being set last time on background. + +Returns +------- +opencascade::handle +") IBLCubeMap; + const opencascade::handle & IBLCubeMap(); + /****************** Identification ******************/ /**** md5 signature: f18c91e46c1b20a4777abd8f80b5550f ****/ %feature("compactdefaultargs") Identification; @@ -18907,7 +19318,7 @@ int /****************** PoseXRToWorld ******************/ /**** md5 signature: cd46f66daada283828955a8fd56f2748 ****/ %feature("compactdefaultargs") PoseXRToWorld; - %feature("autodoc", "Convert xr pose to world space. @param thetrsfxr [in] transformation defined in vr local coordinate system, oriented as y-up, x-right and -z-forward returns transformation defining orientation of xr pose in world space. + %feature("autodoc", "Convert xr pose to world space. @param theposexr [in] transformation defined in vr local coordinate system, oriented as y-up, x-right and -z-forward returns transformation defining orientation of xr pose in world space. Parameters ---------- @@ -19038,7 +19449,7 @@ None virtual void Resized(); /****************** SetBackfacingModel ******************/ - /**** md5 signature: 559e0e214f796199f29d1d2d70ed3be5 ****/ + /**** md5 signature: 50bd0f3a514b4efa9480a06d75957fff ****/ %feature("compactdefaultargs") SetBackfacingModel; %feature("autodoc", "Sets backfacing model for the view. @@ -19050,7 +19461,7 @@ Returns ------- None ") SetBackfacingModel; - virtual void SetBackfacingModel(const Graphic3d_TypeOfBackfacingModel theModel); + void SetBackfacingModel(const Graphic3d_TypeOfBackfacingModel theModel); /****************** SetBackground ******************/ /**** md5 signature: cca9f3f3a8cb129a25f49b97be82ed5b ****/ @@ -19070,7 +19481,7 @@ None /****************** SetBackgroundImage ******************/ /**** md5 signature: 1c72826e85fea7198f78abbd76aa1207 ****/ %feature("compactdefaultargs") SetBackgroundImage; - %feature("autodoc", "Sets image texture or environment cubemap as backround. @param thetexturemap [in] source to set a background; should be either graphic3d_texture2d or graphic3d_cubemap @param thetoupdatepbrenv [in] defines whether ibl maps will be generated or not (see generatepbrenvironment()). + %feature("autodoc", "Sets image texture or environment cubemap as background. @param thetexturemap [in] source to set a background; should be either graphic3d_texture2d or graphic3d_cubemap @param thetoupdatepbrenv [in] defines whether ibl maps will be generated or not (see generatepbrenvironment()). Parameters ---------- @@ -19099,6 +19510,21 @@ None ") SetBackgroundImageStyle; virtual void SetBackgroundImageStyle(const Aspect_FillMethod theFillStyle); + /****************** SetBackgroundType ******************/ + /**** md5 signature: 7cbcdf16f22591f5670a7bcbaa8dd21a ****/ + %feature("compactdefaultargs") SetBackgroundType; + %feature("autodoc", "Sets background type. + +Parameters +---------- +theType: Graphic3d_TypeOfBackground + +Returns +------- +None +") SetBackgroundType; + void SetBackgroundType(Graphic3d_TypeOfBackground theType); + /****************** SetBaseXRCamera ******************/ /**** md5 signature: 091dbe28d6cd379e4f8bd1d66388c13d ****/ %feature("compactdefaultargs") SetBaseXRCamera; @@ -19189,6 +19615,21 @@ None ") SetGradientBackground; virtual void SetGradientBackground(const Aspect_GradientBackground & theBackground); + /****************** SetImageBasedLighting ******************/ + /**** md5 signature: e76255c15ac3a2efb6498739f2e1599d ****/ + %feature("compactdefaultargs") SetImageBasedLighting; + %feature("autodoc", "Enables or disables ibl (image based lighting) from background cubemap. has no effect if pbr is not used. @param[in] thetoenableibl enable or disable ibl from background cubemap @param[in] thetoupdate redraw the view. + +Parameters +---------- +theToEnableIBL: bool + +Returns +------- +None +") SetImageBasedLighting; + virtual void SetImageBasedLighting(Standard_Boolean theToEnableIBL); + /****************** SetImmediateModeDrawToFront ******************/ /**** md5 signature: b0f4841bb78325eef8ed7c80bcaab0be ****/ %feature("compactdefaultargs") SetImmediateModeDrawToFront; @@ -19237,7 +19678,7 @@ None /****************** SetShadingModel ******************/ /**** md5 signature: e0128a9924c3f8c7395b0ec1521ffcee ****/ %feature("compactdefaultargs") SetShadingModel; - %feature("autodoc", "Sets default shading model of the view. will throw an exception on attempt to set graphic3d_tosm_default. + %feature("autodoc", "Sets default shading model of the view. will throw an exception on attempt to set graphic3d_typeofshadingmodel_default. Parameters ---------- @@ -19356,7 +19797,7 @@ None /****************** ShadingModel ******************/ /**** md5 signature: abf83d7e5f232094cc54f18d79b6661e ****/ %feature("compactdefaultargs") ShadingModel; - %feature("autodoc", "Returns default shading model of the view; graphic3d_tosm_fragment by default. + %feature("autodoc", "Returns default shading model of the view; graphic3d_typeofshadingmodel_phong by default. Returns ------- @@ -19424,7 +19865,7 @@ None void SynchronizeXRPosedToBaseCamera(); /****************** TextureEnv ******************/ - /**** md5 signature: 8d9dc36b5a00c0fe991e878de46184bc ****/ + /**** md5 signature: 69a1becf8add8a150fed319c6c1816f8 ****/ %feature("compactdefaultargs") TextureEnv; %feature("autodoc", "Returns environment texture set for the view. @@ -19432,7 +19873,7 @@ Returns ------- opencascade::handle ") TextureEnv; - virtual opencascade::handle TextureEnv(); + const opencascade::handle & TextureEnv(); /****************** TurnViewXRCamera ******************/ /**** md5 signature: b541a212e2a9d644acb1e40cadfae6e8 ****/ @@ -19487,6 +19928,21 @@ None ") Update; void Update(int theLayerId = Graphic3d_ZLayerId_UNKNOWN); + /****************** ViewAxisInWorld ******************/ + /**** md5 signature: 06c02c071e04e67bc6c53cce8ff03eae ****/ + %feature("compactdefaultargs") ViewAxisInWorld; + %feature("autodoc", "Returns view direction in the world space based on xr pose. @param theposexr [in] transformation defined in vr local coordinate system, oriented as y-up, x-right and -z-forward. + +Parameters +---------- +thePoseXR: gp_Trsf + +Returns +------- +gp_Ax1 +") ViewAxisInWorld; + gp_Ax1 ViewAxisInWorld(const gp_Trsf & thePoseXR); + /****************** VisualizationType ******************/ /**** md5 signature: c16f318d97b0af9f922f150a729b4b3e ****/ %feature("compactdefaultargs") VisualizationType; @@ -20089,6 +20545,55 @@ None } }; +/******************************************* +* class Graphic3d_TransformPersScaledAbove * +*******************************************/ +class Graphic3d_TransformPersScaledAbove : public Graphic3d_TransformPers { + public: + /****************** Graphic3d_TransformPersScaledAbove ******************/ + /**** md5 signature: e443e72334bf0b55384099549c5d0a03 ****/ + %feature("compactdefaultargs") Graphic3d_TransformPersScaledAbove; + %feature("autodoc", "Create a zoom transformation persistence with an anchor 3d point and a scale value. + +Parameters +---------- +theScale: float +thePnt: gp_Pnt + +Returns +------- +None +") Graphic3d_TransformPersScaledAbove; + Graphic3d_TransformPersScaledAbove(const Standard_Real theScale, const gp_Pnt & thePnt); + + /****************** persistentScale ******************/ + /**** md5 signature: 5fd7f2855c98b96ed768f1ff30fcb8ba ****/ + %feature("compactdefaultargs") persistentScale; + %feature("autodoc", "Find scale value based on the camera position and view dimensions if the camera scale value less than the persistence scale, zoom persistence is not applied. @param thecamera [in] camera definition @param theviewportwidth [in] the width of viewport. @param theviewportheight [in] the height of viewport. + +Parameters +---------- +theCamera: Graphic3d_Camera +theViewportWidth: int +theViewportHeight: int + +Returns +------- +float +") persistentScale; + virtual Standard_Real persistentScale(const opencascade::handle & theCamera, const Standard_Integer theViewportWidth, const Standard_Integer theViewportHeight); + +}; + + +%make_alias(Graphic3d_TransformPersScaledAbove) + +%extend Graphic3d_TransformPersScaledAbove { + %pythoncode { + __repr__ = _dumps_object + } +}; + /******************************* * class Graphic3d_UniformValue * *******************************/ @@ -20514,7 +21019,7 @@ None /****************** Graphic3d_CubeMapSeparate ******************/ /**** md5 signature: 56d466dfd473af1aaaef0bb290e3c427 ****/ %feature("compactdefaultargs") Graphic3d_CubeMapSeparate; - %feature("autodoc", "Initializes cubemap to be setted directly from pixmaps. @theimages - array if pixmaps (has to have size equal 6). + %feature("autodoc", "Initializes cubemap to be set directly from pixmaps. @theimages - array if pixmaps (has to have size equal 6). Parameters ---------- @@ -20599,13 +21104,13 @@ opencascade::handle class Graphic3d_MediaTexture : public Graphic3d_Texture2D { public: /****************** Graphic3d_MediaTexture ******************/ - /**** md5 signature: e2cdb55a126aaa40cfe98e33487e4fd3 ****/ + /**** md5 signature: 3965dd3594affeb30e766f4f2d92c702 ****/ %feature("compactdefaultargs") Graphic3d_MediaTexture; %feature("autodoc", "Main constructor. Parameters ---------- -theMutex: Media_HMutex +theMutex: Standard_HMutex thePlane: int,optional default value is -1 @@ -20613,7 +21118,7 @@ Returns ------- None ") Graphic3d_MediaTexture; - Graphic3d_MediaTexture(const opencascade::handle & theMutex, Standard_Integer thePlane = -1); + Graphic3d_MediaTexture(const opencascade::handle & theMutex, Standard_Integer thePlane = -1); /****************** Frame ******************/ /**** md5 signature: 72eed6e2d3ed40f13a456563c383f7ca ****/ diff --git a/src/SWIG_files/wrapper/Graphic3d.pyi b/src/SWIG_files/wrapper/Graphic3d.pyi index f48af780e..721cd0b22 100644 --- a/src/SWIG_files/wrapper/Graphic3d.pyi +++ b/src/SWIG_files/wrapper/Graphic3d.pyi @@ -85,8 +85,6 @@ Graphic3d_Vec4i = NewType('Graphic3d_Vec4i', Any) #the following typedef cannot be wrapped as is Graphic3d_Vec4ub = NewType('Graphic3d_Vec4ub', Any) Graphic3d_ZLayerId = NewType('Graphic3d_ZLayerId', Standard_Integer) -#the following typedef cannot be wrapped as is -Media_HMutex = NewType('Media_HMutex', Any) class Graphic3d_Array1OfAttribute: @overload @@ -136,6 +134,20 @@ class Graphic3d_ArrayOfIndexedMapOfStructure: def Value(self, theIndex: int) -> Graphic3d_IndexedMapOfStructure: ... def SetValue(self, theIndex: int, theValue: Graphic3d_IndexedMapOfStructure) -> None: ... +class Graphic3d_GraphicDriverFactoryList: + def __init__(self) -> None: ... + def __len__(self) -> int: ... + def Size(self) -> int: ... + def Clear(self) -> None: ... + def First(self) -> False: ... + def Last(self) -> False: ... + def Append(self, theItem: False) -> False: ... + def Prepend(self, theItem: False) -> False: ... + def RemoveFirst(self) -> None: ... + def Reverse(self) -> None: ... + def Value(self, theIndex: int) -> False: ... + def SetValue(self, theIndex: int, theValue: False) -> None: ... + class Graphic3d_SequenceOfGroup: def __init__(self) -> None: ... def __len__(self) -> int: ... @@ -333,6 +345,18 @@ Graphic3d_DiagnosticInfo_Short = Graphic3d_DiagnosticInfo.Graphic3d_DiagnosticIn Graphic3d_DiagnosticInfo_Basic = Graphic3d_DiagnosticInfo.Graphic3d_DiagnosticInfo_Basic Graphic3d_DiagnosticInfo_Complete = Graphic3d_DiagnosticInfo.Graphic3d_DiagnosticInfo_Complete +class Graphic3d_GlslExtension(IntEnum): + Graphic3d_GlslExtension_GL_OES_standard_derivatives: int = ... + Graphic3d_GlslExtension_GL_EXT_shader_texture_lod: int = ... + Graphic3d_GlslExtension_GL_EXT_frag_depth: int = ... + Graphic3d_GlslExtension_GL_EXT_gpu_shader4: int = ... + +Graphic3d_GlslExtension_GL_OES_standard_derivatives = Graphic3d_GlslExtension.Graphic3d_GlslExtension_GL_OES_standard_derivatives +Graphic3d_GlslExtension_GL_EXT_shader_texture_lod = Graphic3d_GlslExtension.Graphic3d_GlslExtension_GL_EXT_shader_texture_lod +Graphic3d_GlslExtension_GL_EXT_frag_depth = Graphic3d_GlslExtension.Graphic3d_GlslExtension_GL_EXT_frag_depth +Graphic3d_GlslExtension_GL_EXT_gpu_shader4 = Graphic3d_GlslExtension.Graphic3d_GlslExtension_GL_EXT_gpu_shader4 + + class Graphic3d_StereoMode(IntEnum): Graphic3d_StereoMode_QuadBuffer: int = ... Graphic3d_StereoMode_Anaglyph: int = ... @@ -360,11 +384,13 @@ class Graphic3d_AlphaMode(IntEnum): Graphic3d_AlphaMode_Opaque: int = ... Graphic3d_AlphaMode_Mask: int = ... Graphic3d_AlphaMode_Blend: int = ... + Graphic3d_AlphaMode_MaskBlend: int = ... Graphic3d_AlphaMode_BlendAuto: int = ... Graphic3d_AlphaMode_Opaque = Graphic3d_AlphaMode.Graphic3d_AlphaMode_Opaque Graphic3d_AlphaMode_Mask = Graphic3d_AlphaMode.Graphic3d_AlphaMode_Mask Graphic3d_AlphaMode_Blend = Graphic3d_AlphaMode.Graphic3d_AlphaMode_Blend +Graphic3d_AlphaMode_MaskBlend = Graphic3d_AlphaMode.Graphic3d_AlphaMode_MaskBlend Graphic3d_AlphaMode_BlendAuto = Graphic3d_AlphaMode.Graphic3d_AlphaMode_BlendAuto class Graphic3d_FresnelModel(IntEnum): @@ -393,9 +419,11 @@ Graphic3d_TOR_EMISSION = Graphic3d_TypeOfReflection.Graphic3d_TOR_EMISSION class Graphic3d_RenderTransparentMethod(IntEnum): Graphic3d_RTM_BLEND_UNORDERED: int = ... Graphic3d_RTM_BLEND_OIT: int = ... + Graphic3d_RTM_DEPTH_PEELING_OIT: int = ... Graphic3d_RTM_BLEND_UNORDERED = Graphic3d_RenderTransparentMethod.Graphic3d_RTM_BLEND_UNORDERED Graphic3d_RTM_BLEND_OIT = Graphic3d_RenderTransparentMethod.Graphic3d_RTM_BLEND_OIT +Graphic3d_RTM_DEPTH_PEELING_OIT = Graphic3d_RenderTransparentMethod.Graphic3d_RTM_DEPTH_PEELING_OIT class Graphic3d_RenderingMode(IntEnum): Graphic3d_RM_RASTERIZATION: int = ... @@ -513,17 +541,6 @@ Graphic3d_TOS_GEOMETRY = Graphic3d_TypeOfShaderObject.Graphic3d_TOS_GEOMETRY Graphic3d_TOS_FRAGMENT = Graphic3d_TypeOfShaderObject.Graphic3d_TOS_FRAGMENT Graphic3d_TOS_COMPUTE = Graphic3d_TypeOfShaderObject.Graphic3d_TOS_COMPUTE -class Graphic3d_ZLayerSetting(IntEnum): - Graphic3d_ZLayerDepthTest: int = ... - Graphic3d_ZLayerDepthWrite: int = ... - Graphic3d_ZLayerDepthClear: int = ... - Graphic3d_ZLayerDepthOffset: int = ... - -Graphic3d_ZLayerDepthTest = Graphic3d_ZLayerSetting.Graphic3d_ZLayerDepthTest -Graphic3d_ZLayerDepthWrite = Graphic3d_ZLayerSetting.Graphic3d_ZLayerDepthWrite -Graphic3d_ZLayerDepthClear = Graphic3d_ZLayerSetting.Graphic3d_ZLayerDepthClear -Graphic3d_ZLayerDepthOffset = Graphic3d_ZLayerSetting.Graphic3d_ZLayerDepthOffset - class Graphic3d_CappingFlags(IntEnum): Graphic3d_CappingFlags_None: int = ... Graphic3d_CappingFlags_ObjectMaterial: int = ... @@ -549,6 +566,13 @@ Graphic3d_NOTP_ZX = Graphic3d_NameOfTexturePlane.Graphic3d_NOTP_ZX Graphic3d_NOTP_UNKNOWN = Graphic3d_NameOfTexturePlane.Graphic3d_NOTP_UNKNOWN class Graphic3d_TypeOfShadingModel(IntEnum): + Graphic3d_TypeOfShadingModel_DEFAULT: int = ... + Graphic3d_TypeOfShadingModel_Unlit: int = ... + Graphic3d_TypeOfShadingModel_PhongFacet: int = ... + Graphic3d_TypeOfShadingModel_Gouraud: int = ... + Graphic3d_TypeOfShadingModel_Phong: int = ... + Graphic3d_TypeOfShadingModel_Pbr: int = ... + Graphic3d_TypeOfShadingModel_PbrFacet: int = ... Graphic3d_TOSM_DEFAULT: int = ... Graphic3d_TOSM_UNLIT: int = ... Graphic3d_TOSM_FACET: int = ... @@ -562,6 +586,13 @@ class Graphic3d_TypeOfShadingModel(IntEnum): V3d_GOURAUD: int = ... V3d_PHONG: int = ... +Graphic3d_TypeOfShadingModel_DEFAULT = Graphic3d_TypeOfShadingModel.Graphic3d_TypeOfShadingModel_DEFAULT +Graphic3d_TypeOfShadingModel_Unlit = Graphic3d_TypeOfShadingModel.Graphic3d_TypeOfShadingModel_Unlit +Graphic3d_TypeOfShadingModel_PhongFacet = Graphic3d_TypeOfShadingModel.Graphic3d_TypeOfShadingModel_PhongFacet +Graphic3d_TypeOfShadingModel_Gouraud = Graphic3d_TypeOfShadingModel.Graphic3d_TypeOfShadingModel_Gouraud +Graphic3d_TypeOfShadingModel_Phong = Graphic3d_TypeOfShadingModel.Graphic3d_TypeOfShadingModel_Phong +Graphic3d_TypeOfShadingModel_Pbr = Graphic3d_TypeOfShadingModel.Graphic3d_TypeOfShadingModel_Pbr +Graphic3d_TypeOfShadingModel_PbrFacet = Graphic3d_TypeOfShadingModel.Graphic3d_TypeOfShadingModel_PbrFacet Graphic3d_TOSM_DEFAULT = Graphic3d_TypeOfShadingModel.Graphic3d_TOSM_DEFAULT Graphic3d_TOSM_UNLIT = Graphic3d_TypeOfShadingModel.Graphic3d_TOSM_UNLIT Graphic3d_TOSM_FACET = Graphic3d_TypeOfShadingModel.Graphic3d_TOSM_FACET @@ -633,13 +664,25 @@ Graphic3d_MATERIAL_ASPECT = Graphic3d_TypeOfMaterial.Graphic3d_MATERIAL_ASPECT Graphic3d_MATERIAL_PHYSIC = Graphic3d_TypeOfMaterial.Graphic3d_MATERIAL_PHYSIC class Graphic3d_TypeOfBackfacingModel(IntEnum): + Graphic3d_TypeOfBackfacingModel_Auto: int = ... + Graphic3d_TypeOfBackfacingModel_DoubleSided: int = ... + Graphic3d_TypeOfBackfacingModel_BackCulled: int = ... Graphic3d_TOBM_AUTOMATIC: int = ... Graphic3d_TOBM_FORCE: int = ... Graphic3d_TOBM_DISABLE: int = ... + V3d_TOBM_AUTOMATIC: int = ... + V3d_TOBM_ALWAYS_DISPLAYED: int = ... + V3d_TOBM_NEVER_DISPLAYED: int = ... +Graphic3d_TypeOfBackfacingModel_Auto = Graphic3d_TypeOfBackfacingModel.Graphic3d_TypeOfBackfacingModel_Auto +Graphic3d_TypeOfBackfacingModel_DoubleSided = Graphic3d_TypeOfBackfacingModel.Graphic3d_TypeOfBackfacingModel_DoubleSided +Graphic3d_TypeOfBackfacingModel_BackCulled = Graphic3d_TypeOfBackfacingModel.Graphic3d_TypeOfBackfacingModel_BackCulled Graphic3d_TOBM_AUTOMATIC = Graphic3d_TypeOfBackfacingModel.Graphic3d_TOBM_AUTOMATIC Graphic3d_TOBM_FORCE = Graphic3d_TypeOfBackfacingModel.Graphic3d_TOBM_FORCE Graphic3d_TOBM_DISABLE = Graphic3d_TypeOfBackfacingModel.Graphic3d_TOBM_DISABLE +V3d_TOBM_AUTOMATIC = Graphic3d_TypeOfBackfacingModel.V3d_TOBM_AUTOMATIC +V3d_TOBM_ALWAYS_DISPLAYED = Graphic3d_TypeOfBackfacingModel.V3d_TOBM_ALWAYS_DISPLAYED +V3d_TOBM_NEVER_DISPLAYED = Graphic3d_TypeOfBackfacingModel.V3d_TOBM_NEVER_DISPLAYED class Graphic3d_HorizontalTextAlignment(IntEnum): Graphic3d_HTA_LEFT: int = ... @@ -656,6 +699,7 @@ class Graphic3d_TransModeFlags(IntEnum): Graphic3d_TMF_RotatePers: int = ... Graphic3d_TMF_TriedronPers: int = ... Graphic3d_TMF_2d: int = ... + Graphic3d_TMF_CameraPers: int = ... Graphic3d_TMF_ZoomRotatePers: int = ... Graphic3d_TMF_None = Graphic3d_TransModeFlags.Graphic3d_TMF_None @@ -663,6 +707,7 @@ Graphic3d_TMF_ZoomPers = Graphic3d_TransModeFlags.Graphic3d_TMF_ZoomPers Graphic3d_TMF_RotatePers = Graphic3d_TransModeFlags.Graphic3d_TMF_RotatePers Graphic3d_TMF_TriedronPers = Graphic3d_TransModeFlags.Graphic3d_TMF_TriedronPers Graphic3d_TMF_2d = Graphic3d_TransModeFlags.Graphic3d_TMF_2d +Graphic3d_TMF_CameraPers = Graphic3d_TransModeFlags.Graphic3d_TMF_CameraPers Graphic3d_TMF_ZoomRotatePers = Graphic3d_TransModeFlags.Graphic3d_TMF_ZoomRotatePers @@ -710,6 +755,9 @@ class Graphic3d_TextureUnit(IntEnum): Graphic3d_TextureUnit_MetallicRoughness: int = ... Graphic3d_TextureUnit_EnvMap: int = ... Graphic3d_TextureUnit_PointSprite: int = ... + Graphic3d_TextureUnit_DepthPeelingDepth: int = ... + Graphic3d_TextureUnit_DepthPeelingFrontColor: int = ... + Graphic3d_TextureUnit_ShadowMap: int = ... Graphic3d_TextureUnit_PbrEnvironmentLUT: int = ... Graphic3d_TextureUnit_PbrIblDiffuseSH: int = ... Graphic3d_TextureUnit_PbrIblSpecular: int = ... @@ -737,6 +785,9 @@ Graphic3d_TextureUnit_Normal = Graphic3d_TextureUnit.Graphic3d_TextureUnit_Norma Graphic3d_TextureUnit_MetallicRoughness = Graphic3d_TextureUnit.Graphic3d_TextureUnit_MetallicRoughness Graphic3d_TextureUnit_EnvMap = Graphic3d_TextureUnit.Graphic3d_TextureUnit_EnvMap Graphic3d_TextureUnit_PointSprite = Graphic3d_TextureUnit.Graphic3d_TextureUnit_PointSprite +Graphic3d_TextureUnit_DepthPeelingDepth = Graphic3d_TextureUnit.Graphic3d_TextureUnit_DepthPeelingDepth +Graphic3d_TextureUnit_DepthPeelingFrontColor = Graphic3d_TextureUnit.Graphic3d_TextureUnit_DepthPeelingFrontColor +Graphic3d_TextureUnit_ShadowMap = Graphic3d_TextureUnit.Graphic3d_TextureUnit_ShadowMap Graphic3d_TextureUnit_PbrEnvironmentLUT = Graphic3d_TextureUnit.Graphic3d_TextureUnit_PbrEnvironmentLUT Graphic3d_TextureUnit_PbrIblDiffuseSH = Graphic3d_TextureUnit.Graphic3d_TextureUnit_PbrIblDiffuseSH Graphic3d_TextureUnit_PbrIblSpecular = Graphic3d_TextureUnit.Graphic3d_TextureUnit_PbrIblSpecular @@ -798,12 +849,48 @@ Graphic3d_TextureSetBits_Occlusion = Graphic3d_TextureSetBits.Graphic3d_TextureS Graphic3d_TextureSetBits_Normal = Graphic3d_TextureSetBits.Graphic3d_TextureSetBits_Normal Graphic3d_TextureSetBits_MetallicRoughness = Graphic3d_TextureSetBits.Graphic3d_TextureSetBits_MetallicRoughness -class Graphic3d_TypeOfComposition(IntEnum): - Graphic3d_TOC_REPLACE: int = ... - Graphic3d_TOC_POSTCONCATENATE: int = ... - -Graphic3d_TOC_REPLACE = Graphic3d_TypeOfComposition.Graphic3d_TOC_REPLACE -Graphic3d_TOC_POSTCONCATENATE = Graphic3d_TypeOfComposition.Graphic3d_TOC_POSTCONCATENATE +class Graphic3d_ShaderFlags(IntEnum): + Graphic3d_ShaderFlags_VertColor: int = ... + Graphic3d_ShaderFlags_TextureRGB: int = ... + Graphic3d_ShaderFlags_TextureEnv: int = ... + Graphic3d_ShaderFlags_TextureNormal: int = ... + Graphic3d_ShaderFlags_PointSimple: int = ... + Graphic3d_ShaderFlags_PointSprite: int = ... + Graphic3d_ShaderFlags_PointSpriteA: int = ... + Graphic3d_ShaderFlags_StippleLine: int = ... + Graphic3d_ShaderFlags_ClipPlanes1: int = ... + Graphic3d_ShaderFlags_ClipPlanes2: int = ... + Graphic3d_ShaderFlags_ClipPlanesN: int = ... + Graphic3d_ShaderFlags_ClipChains: int = ... + Graphic3d_ShaderFlags_MeshEdges: int = ... + Graphic3d_ShaderFlags_AlphaTest: int = ... + Graphic3d_ShaderFlags_WriteOit: int = ... + Graphic3d_ShaderFlags_OitDepthPeeling: int = ... + Graphic3d_ShaderFlags_NB: int = ... + Graphic3d_ShaderFlags_IsPoint: int = ... + Graphic3d_ShaderFlags_HasTextures: int = ... + Graphic3d_ShaderFlags_NeedsGeomShader: int = ... + +Graphic3d_ShaderFlags_VertColor = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_VertColor +Graphic3d_ShaderFlags_TextureRGB = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_TextureRGB +Graphic3d_ShaderFlags_TextureEnv = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_TextureEnv +Graphic3d_ShaderFlags_TextureNormal = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_TextureNormal +Graphic3d_ShaderFlags_PointSimple = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_PointSimple +Graphic3d_ShaderFlags_PointSprite = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_PointSprite +Graphic3d_ShaderFlags_PointSpriteA = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_PointSpriteA +Graphic3d_ShaderFlags_StippleLine = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_StippleLine +Graphic3d_ShaderFlags_ClipPlanes1 = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_ClipPlanes1 +Graphic3d_ShaderFlags_ClipPlanes2 = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_ClipPlanes2 +Graphic3d_ShaderFlags_ClipPlanesN = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_ClipPlanesN +Graphic3d_ShaderFlags_ClipChains = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_ClipChains +Graphic3d_ShaderFlags_MeshEdges = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_MeshEdges +Graphic3d_ShaderFlags_AlphaTest = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_AlphaTest +Graphic3d_ShaderFlags_WriteOit = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_WriteOit +Graphic3d_ShaderFlags_OitDepthPeeling = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_OitDepthPeeling +Graphic3d_ShaderFlags_NB = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_NB +Graphic3d_ShaderFlags_IsPoint = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_IsPoint +Graphic3d_ShaderFlags_HasTextures = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_HasTextures +Graphic3d_ShaderFlags_NeedsGeomShader = Graphic3d_ShaderFlags.Graphic3d_ShaderFlags_NeedsGeomShader class Graphic3d_TypeOfAttribute(IntEnum): Graphic3d_TOA_POS: int = ... @@ -1008,6 +1095,10 @@ Graphic3d_TOV_WIREFRAME = Graphic3d_TypeOfVisualization.Graphic3d_TOV_WIREFRAME Graphic3d_TOV_SHADING = Graphic3d_TypeOfVisualization.Graphic3d_TOV_SHADING class Graphic3d_TypeOfLightSource(IntEnum): + Graphic3d_TypeOfLightSource_Ambient: int = ... + Graphic3d_TypeOfLightSource_Directional: int = ... + Graphic3d_TypeOfLightSource_Positional: int = ... + Graphic3d_TypeOfLightSource_Spot: int = ... Graphic3d_TOLS_AMBIENT: int = ... Graphic3d_TOLS_DIRECTIONAL: int = ... Graphic3d_TOLS_POSITIONAL: int = ... @@ -1017,6 +1108,10 @@ class Graphic3d_TypeOfLightSource(IntEnum): V3d_POSITIONAL: int = ... V3d_SPOT: int = ... +Graphic3d_TypeOfLightSource_Ambient = Graphic3d_TypeOfLightSource.Graphic3d_TypeOfLightSource_Ambient +Graphic3d_TypeOfLightSource_Directional = Graphic3d_TypeOfLightSource.Graphic3d_TypeOfLightSource_Directional +Graphic3d_TypeOfLightSource_Positional = Graphic3d_TypeOfLightSource.Graphic3d_TypeOfLightSource_Positional +Graphic3d_TypeOfLightSource_Spot = Graphic3d_TypeOfLightSource.Graphic3d_TypeOfLightSource_Spot Graphic3d_TOLS_AMBIENT = Graphic3d_TypeOfLightSource.Graphic3d_TOLS_AMBIENT Graphic3d_TOLS_DIRECTIONAL = Graphic3d_TypeOfLightSource.Graphic3d_TOLS_DIRECTIONAL Graphic3d_TOLS_POSITIONAL = Graphic3d_TypeOfLightSource.Graphic3d_TOLS_POSITIONAL @@ -1186,7 +1281,7 @@ class Graphic3d_Aspects(Standard_Transient): def AllowBackFace(self) -> None: ... def AlphaCutoff(self) -> float: ... def AlphaMode(self) -> Graphic3d_AlphaMode: ... - def BackFace(self) -> False: ... + def BackFace(self) -> bool: ... def BackInteriorColor(self) -> Quantity_Color: ... def BackInteriorColorRGBA(self) -> Quantity_ColorRGBA: ... def BackMaterial(self) -> Graphic3d_MaterialAspect: ... @@ -1198,19 +1293,20 @@ class Graphic3d_Aspects(Standard_Transient): def ColorSubTitleRGBA(self) -> Quantity_ColorRGBA: ... @staticmethod def DefaultLinePatternForType(theType: Aspect_TypeOfLine) -> False: ... - def Distinguish(self) -> False: ... + def Distinguish(self) -> bool: ... def EdgeColor(self) -> Quantity_Color: ... def EdgeColorRGBA(self) -> Quantity_ColorRGBA: ... def EdgeLineType(self) -> Aspect_TypeOfLine: ... def EdgeWidth(self) -> float: ... + def FaceCulling(self) -> Graphic3d_TypeOfBackfacingModel: ... def FrontMaterial(self) -> Graphic3d_MaterialAspect: ... def HatchStyle(self) -> Graphic3d_HatchStyle: ... def InteriorColor(self) -> Quantity_Color: ... def InteriorColorRGBA(self) -> Quantity_ColorRGBA: ... def InteriorStyle(self) -> Aspect_InteriorStyle: ... - def IsEqual(self, theOther: Graphic3d_Aspects) -> False: ... - def IsMarkerSprite(self) -> False: ... - def IsTextZoomable(self) -> False: ... + def IsEqual(self, theOther: Graphic3d_Aspects) -> bool: ... + def IsMarkerSprite(self) -> bool: ... + def IsTextZoomable(self) -> bool: ... def LinePattern(self) -> False: ... def LineStippleFactor(self) -> False: ... def LineType(self) -> Aspect_TypeOfLine: ... @@ -1231,8 +1327,11 @@ class Graphic3d_Aspects(Standard_Transient): def SetColorSubTitle(self, theColor: Quantity_Color) -> None: ... @overload def SetColorSubTitle(self, theColor: Quantity_ColorRGBA) -> None: ... + def SetDistinguish(self, toDistinguish: bool) -> None: ... def SetDistinguishOff(self) -> None: ... def SetDistinguishOn(self) -> None: ... + def SetDrawEdges(self, theToDraw: bool) -> None: ... + def SetDrawSilhouette(self, theToDraw: bool) -> None: ... @overload def SetEdgeColor(self, theColor: Quantity_Color) -> None: ... @overload @@ -1241,6 +1340,7 @@ class Graphic3d_Aspects(Standard_Transient): def SetEdgeOff(self) -> None: ... def SetEdgeOn(self) -> None: ... def SetEdgeWidth(self, theWidth: float) -> None: ... + def SetFaceCulling(self, theCulling: Graphic3d_TypeOfBackfacingModel) -> None: ... def SetFrontMaterial(self, theMaterial: Graphic3d_MaterialAspect) -> None: ... @overload def SetHatchStyle(self, theStyle: Graphic3d_HatchStyle) -> None: ... @@ -1260,13 +1360,18 @@ class Graphic3d_Aspects(Standard_Transient): def SetPolygonOffsets(self, theMode: int, theFactor: Optional[float] = 1.0, theUnits: Optional[float] = 0.0) -> None: ... def SetShaderProgram(self, theProgram: Graphic3d_ShaderProgram) -> None: ... def SetShadingModel(self, theShadingModel: Graphic3d_TypeOfShadingModel) -> None: ... + def SetSkipFirstEdge(self, theToSkipFirstEdge: bool) -> None: ... + def SetSuppressBackFaces(self, theToSuppress: bool) -> None: ... def SetTextAngle(self, theAngle: float) -> None: ... def SetTextDisplayType(self, theType: Aspect_TypeOfDisplayText) -> None: ... def SetTextFont(self, theFont: TCollection_HAsciiString) -> None: ... def SetTextStyle(self, theStyle: Aspect_TypeOfStyleText) -> None: ... + def SetTextZoomable(self, theFlag: bool) -> None: ... def SetTextureMap(self, theTexture: Graphic3d_TextureMap) -> None: ... def SetTextureMapOff(self) -> None: ... @overload + def SetTextureMapOn(self, theToMap: bool) -> None: ... + @overload def SetTextureMapOn(self) -> None: ... def SetTextureSet(self, theTextures: Graphic3d_TextureSet) -> None: ... def ShaderProgram(self) -> Graphic3d_ShaderProgram: ... @@ -1278,13 +1383,13 @@ class Graphic3d_Aspects(Standard_Transient): def TextFontAspect(self) -> False: ... def TextStyle(self) -> Aspect_TypeOfStyleText: ... def TextureMap(self) -> Graphic3d_TextureMap: ... - def TextureMapState(self) -> False: ... + def TextureMapState(self) -> bool: ... def TextureSet(self) -> Graphic3d_TextureSet: ... - def ToDrawEdges(self) -> False: ... - def ToDrawSilhouette(self) -> False: ... - def ToMapTexture(self) -> False: ... - def ToSkipFirstEdge(self) -> False: ... - def ToSuppressBackFaces(self) -> False: ... + def ToDrawEdges(self) -> bool: ... + def ToDrawSilhouette(self) -> bool: ... + def ToMapTexture(self) -> bool: ... + def ToSkipFirstEdge(self) -> bool: ... + def ToSuppressBackFaces(self) -> bool: ... class Graphic3d_Attribute: @overload @@ -1293,29 +1398,6 @@ class Graphic3d_Attribute: @staticmethod def Stride(theType: Graphic3d_TypeOfData) -> int: ... -class Graphic3d_AxisAspect: - def __init__(self, theName: Optional[TCollection_ExtendedString] = "", theNameColor: Optional[Quantity_Color] = Quantity_NOC_BLACK, theColor: Optional[Quantity_Color] = Quantity_NOC_BLACK, theValuesOffset: Optional[int] = 10, theNameOffset: Optional[int] = 30, theTickmarksNumber: Optional[int] = 5, theTickmarksLength: Optional[int] = 10, theToDrawName: Optional[bool] = True, theToDrawValues: Optional[bool] = True, theToDrawTickmarks: Optional[bool] = True) -> None: ... - def Color(self) -> Quantity_Color: ... - def Name(self) -> TCollection_ExtendedString: ... - def NameColor(self) -> Quantity_Color: ... - def NameOffset(self) -> int: ... - def SetColor(self, theColor: Quantity_Color) -> None: ... - def SetDrawName(self, theToDraw: bool) -> None: ... - def SetDrawTickmarks(self, theToDraw: bool) -> None: ... - def SetDrawValues(self, theToDraw: bool) -> None: ... - def SetName(self, theName: TCollection_ExtendedString) -> None: ... - def SetNameColor(self, theColor: Quantity_Color) -> None: ... - def SetNameOffset(self, theValue: int) -> None: ... - def SetTickmarksLength(self, theValue: int) -> None: ... - def SetTickmarksNumber(self, theValue: int) -> None: ... - def SetValuesOffset(self, theValue: int) -> None: ... - def TickmarksLength(self) -> int: ... - def TickmarksNumber(self) -> int: ... - def ToDrawName(self) -> bool: ... - def ToDrawTickmarks(self) -> bool: ... - def ToDrawValues(self) -> bool: ... - def ValuesOffset(self) -> int: ... - class Graphic3d_BSDF: def __init__(self) -> None: ... @staticmethod @@ -1332,7 +1414,7 @@ class Graphic3d_BSDF: class Graphic3d_BoundBuffer(NCollection_Buffer): def __init__(self, theAlloc: NCollection_BaseAllocator) -> None: ... - def Init(self, theNbBounds: int, theHasColors: bool) -> False: ... + def Init(self, theNbBounds: int, theHasColors: bool) -> bool: ... class Graphic3d_BufferRange: @overload @@ -1358,11 +1440,14 @@ class Graphic3d_CLight(Standard_Transient): def Color(self) -> Quantity_Color: ... def Concentration(self) -> float: ... def ConstAttenuation(self) -> float: ... + def CopyFrom(self, theLight: Graphic3d_CLight) -> None: ... @overload def Direction(self) -> gp_Dir: ... @overload def Direction(self) -> Tuple[float, float, float]: ... + def DisplayPosition(self) -> gp_Pnt: ... def GetId(self) -> TCollection_AsciiString: ... + def HasRange(self) -> bool: ... def Headlight(self) -> bool: ... def Intensity(self) -> float: ... def IsEnabled(self) -> bool: ... @@ -1370,6 +1455,7 @@ class Graphic3d_CLight(Standard_Transient): def LinearAttenuation(self) -> float: ... def Name(self) -> TCollection_AsciiString: ... def PackedColor(self) -> Graphic3d_Vec4: ... + def PackedDirection(self) -> Graphic3d_Vec3: ... def PackedDirectionRange(self) -> Graphic3d_Vec4: ... def PackedParams(self) -> Graphic3d_Vec4: ... @overload @@ -1380,12 +1466,14 @@ class Graphic3d_CLight(Standard_Transient): def Revision(self) -> int: ... def SetAngle(self, theAngle: float) -> None: ... def SetAttenuation(self, theConstAttenuation: float, theLinearAttenuation: float) -> None: ... + def SetCastShadows(self, theToCast: bool) -> None: ... def SetColor(self, theColor: Quantity_Color) -> None: ... def SetConcentration(self, theConcentration: float) -> None: ... @overload def SetDirection(self, theDir: gp_Dir) -> None: ... @overload def SetDirection(self, theVx: float, theVy: float, theVz: float) -> None: ... + def SetDisplayPosition(self, thePosition: gp_Pnt) -> None: ... def SetEnabled(self, theIsOn: bool) -> None: ... def SetHeadlight(self, theValue: bool) -> None: ... def SetIntensity(self, theValue: float) -> None: ... @@ -1398,6 +1486,7 @@ class Graphic3d_CLight(Standard_Transient): def SetSmoothAngle(self, theValue: float) -> None: ... def SetSmoothRadius(self, theValue: float) -> None: ... def Smoothness(self) -> float: ... + def ToCastShadows(self) -> bool: ... def Type(self) -> Graphic3d_TypeOfLightSource: ... class Graphic3d_CStructure(Standard_Transient): @@ -1412,13 +1501,14 @@ class Graphic3d_CStructure(Standard_Transient): def GraphicHighlight(self, theStyle: Graphic3d_PresentationAttributes) -> None: ... def GraphicUnhighlight(self) -> None: ... def Groups(self) -> Graphic3d_SequenceOfGroup: ... + def HasGroupTransformPersistence(self) -> bool: ... def HighlightStyle(self) -> Graphic3d_PresentationAttributes: ... def IsAlwaysRendered(self) -> bool: ... def IsCulled(self) -> bool: ... @overload - def IsVisible(self) -> False: ... + def IsVisible(self) -> bool: ... @overload - def IsVisible(self, theViewId: int) -> False: ... + def IsVisible(self, theViewId: int) -> bool: ... def MarkAsNotCulled(self) -> None: ... def NewGroup(self, theStruct: Graphic3d_Structure) -> Graphic3d_Group: ... def OnVisibilityChanged(self) -> None: ... @@ -1426,6 +1516,7 @@ class Graphic3d_CStructure(Standard_Transient): def SetBndBoxClipCheck(self, theBndBoxClipCheck: bool) -> None: ... def SetClipPlanes(self, thePlanes: Graphic3d_SequenceOfHClipPlane) -> None: ... def SetCulled(self, theIsCulled: bool) -> None: ... + def SetGroupTransformPersistence(self, theValue: bool) -> None: ... def SetTransformPersistence(self, theTrsfPers: Graphic3d_TransformPers) -> None: ... def SetTransformation(self, theTrsf: TopLoc_Datum3D) -> None: ... def ShadowLink(self, theManager: Graphic3d_StructureManager) -> Graphic3d_CStructure: ... @@ -1434,9 +1525,6 @@ class Graphic3d_CStructure(Standard_Transient): def ZLayer(self) -> Graphic3d_ZLayerId: ... def updateLayerTransformation(self) -> None: ... -class Graphic3d_CTexture: - def __init__(self) -> None: ... - class Graphic3d_Camera(Standard_Transient): @overload def __init__(self) -> None: ... @@ -1458,16 +1546,18 @@ class Graphic3d_Camera(Standard_Transient): def FOV2d(self) -> float: ... def FOVx(self) -> float: ... def FOVy(self) -> float: ... + def FitMinMax(self, theBox: Bnd_Box, theResolution: float, theToEnlargeIfLine: bool) -> bool: ... def Frustum(self, theLeft: gp_Pln, theRight: gp_Pln, theBottom: gp_Pln, theTop: gp_Pln, theNear: gp_Pln, theFar: gp_Pln) -> None: ... def GetIODType(self) -> False: ... def IOD(self) -> float: ... def InvalidateOrientation(self) -> None: ... def InvalidateProjection(self) -> None: ... - def IsCustomMonoProjection(self) -> False: ... - def IsCustomStereoFrustum(self) -> False: ... - def IsCustomStereoProjection(self) -> False: ... + def IsCustomMonoProjection(self) -> bool: ... + def IsCustomStereoFrustum(self) -> bool: ... + def IsCustomStereoProjection(self) -> bool: ... def IsOrthographic(self) -> bool: ... def IsStereo(self) -> bool: ... + def IsZeroToOneDepth(self) -> bool: ... def MoveEyeTo(self, theEye: gp_Pnt) -> None: ... def NDC2dOffsetX(self) -> float: ... def NDC2dOffsetY(self) -> float: ... @@ -1498,10 +1588,12 @@ class Graphic3d_Camera(Standard_Transient): def SetEyeAndCenter(self, theEye: gp_Pnt, theCenter: gp_Pnt) -> None: ... def SetFOV2d(self, theFOV: float) -> None: ... def SetFOVy(self, theFOVy: float) -> None: ... + def SetIdentityOrientation(self) -> None: ... def SetScale(self, theScale: float) -> None: ... def SetTile(self, theTile: Graphic3d_CameraTile) -> None: ... def SetUp(self, theUp: gp_Dir) -> None: ... def SetZRange(self, theZNear: float, theZFar: float) -> None: ... + def SetZeroToOneDepth(self, theIsZeroToOne: bool) -> None: ... def SideRight(self) -> gp_Dir: ... def StereoProjection(self, theProjL: Graphic3d_Mat4d, theHeadToEyeL: Graphic3d_Mat4d, theProjR: Graphic3d_Mat4d, theHeadToEyeR: Graphic3d_Mat4d) -> None: ... def StereoProjectionF(self, theProjL: Graphic3d_Mat4, theHeadToEyeL: Graphic3d_Mat4, theProjR: Graphic3d_Mat4, theHeadToEyeR: Graphic3d_Mat4) -> None: ... @@ -1517,7 +1609,7 @@ class Graphic3d_Camera(Standard_Transient): def WorldViewState(self) -> int: ... def ZFar(self) -> float: ... @overload - def ZFitAll(self, theScaleFactor: float, theMinMax: Bnd_Box, theGraphicBB: Bnd_Box) -> Tuple[False, float, float]: ... + def ZFitAll(self, theScaleFactor: float, theMinMax: Bnd_Box, theGraphicBB: Bnd_Box) -> Tuple[bool, float, float]: ... @overload def ZFitAll(self, theScaleFactor: float, theMinMax: Bnd_Box, theGraphicBB: Bnd_Box) -> None: ... def ZFocus(self) -> float: ... @@ -1527,7 +1619,7 @@ class Graphic3d_Camera(Standard_Transient): class Graphic3d_CameraTile: def __init__(self) -> None: ... def Cropped(self) -> Graphic3d_CameraTile: ... - def IsValid(self) -> False: ... + def IsValid(self) -> bool: ... def OffsetLowerLeft(self) -> Graphic3d_Vec2i: ... class Graphic3d_ClipPlane(Standard_Transient): @@ -1550,13 +1642,13 @@ class Graphic3d_ClipPlane(Standard_Transient): def Clone(self) -> Graphic3d_ClipPlane: ... def GetEquation(self) -> Graphic3d_Vec4d: ... def GetId(self) -> TCollection_AsciiString: ... - def IsBoxFullInHalfspace(self, theBox: Graphic3d_BndBox3d) -> False: ... - def IsBoxFullOutHalfspace(self, theBox: Graphic3d_BndBox3d) -> False: ... + def IsBoxFullInHalfspace(self, theBox: Graphic3d_BndBox3d) -> bool: ... + def IsBoxFullOutHalfspace(self, theBox: Graphic3d_BndBox3d) -> bool: ... def IsCapping(self) -> bool: ... def IsChain(self) -> bool: ... def IsHatchOn(self) -> bool: ... def IsOn(self) -> bool: ... - def IsPointOutHalfspace(self, thePoint: Graphic3d_Vec4d) -> False: ... + def IsPointOutHalfspace(self, thePoint: Graphic3d_Vec4d) -> bool: ... def MCountAspect(self) -> int: ... def MCountEquation(self) -> int: ... def NbChainNextPlanes(self) -> int: ... @@ -1582,11 +1674,14 @@ class Graphic3d_ClipPlane(Standard_Transient): @overload def SetEquation(self, theEquation: Graphic3d_Vec4d) -> None: ... def SetOn(self, theIsOn: bool) -> None: ... + def SetUseObjectMaterial(self, theToUse: bool) -> None: ... + def SetUseObjectShader(self, theToUse: bool) -> None: ... + def SetUseObjectTexture(self, theToUse: bool) -> None: ... def ToPlane(self) -> gp_Pln: ... - def ToUseObjectMaterial(self) -> False: ... - def ToUseObjectProperties(self) -> False: ... - def ToUseObjectShader(self) -> False: ... - def ToUseObjectTexture(self) -> False: ... + def ToUseObjectMaterial(self) -> bool: ... + def ToUseObjectProperties(self) -> bool: ... + def ToUseObjectShader(self) -> bool: ... + def ToUseObjectTexture(self) -> bool: ... class Graphic3d_CullingTool: def __init__(self) -> None: ... @@ -1594,7 +1689,7 @@ class Graphic3d_CullingTool: def Camera(self) -> Graphic3d_Camera: ... def CameraDirection(self) -> Graphic3d_Vec3d: ... def CameraEye(self) -> Graphic3d_Vec3d: ... - def IsOutFrustum(self, theMinPnt: Graphic3d_Vec3d, theMaxPnt: Graphic3d_Vec3d, theIsInside: Optional[bool] = None) -> False: ... + def IsOutFrustum(self, theMinPnt: Graphic3d_Vec3d, theMaxPnt: Graphic3d_Vec3d, theIsInside: Optional[bool] = None) -> bool: ... def ProjectionMatrix(self) -> Graphic3d_Mat4d: ... def SetViewVolume(self, theCamera: Graphic3d_Camera, theModelWorld: Optional[Graphic3d_Mat4d] = Graphic3d_Mat4d()) -> None: ... def SetViewportSize(self, theViewportWidth: int, theViewportHeight: int, theResolutionRatio: float) -> None: ... @@ -1616,8 +1711,10 @@ class Graphic3d_FrameStats(Standard_Transient): def CounterValue(self, theCounter: Graphic3d_FrameStatsCounter) -> int: ... def DataFrames(self) -> False: ... def FrameDuration(self) -> float: ... + def FrameEnd(self, theView: Graphic3d_CView, theIsImmediateOnly: bool) -> None: ... def FrameRate(self) -> float: ... def FrameRateCpu(self) -> float: ... + def FrameStart(self, theView: Graphic3d_CView, theIsImmediateOnly: bool) -> None: ... def HasCulledLayers(self) -> bool: ... def HasCulledStructs(self) -> bool: ... def IsLongLineFormat(self) -> bool: ... @@ -1658,11 +1755,12 @@ class Graphic3d_Fresnel: class Graphic3d_GraduatedTrihedron: def ArrowsLength(self) -> float: ... - def AxisAspect(self, theIndex: int) -> Graphic3d_AxisAspect: ... - def ChangeAxisAspect(self, theIndex: int) -> Graphic3d_AxisAspect: ... - def ChangeXAxisAspect(self) -> Graphic3d_AxisAspect: ... - def ChangeYAxisAspect(self) -> Graphic3d_AxisAspect: ... - def ChangeZAxisAspect(self) -> Graphic3d_AxisAspect: ... + def AxisAspectAt(self, theIndex: int) -> False: ... + def ChangeAxisAspect(self, theIndex: int) -> False: ... + def ChangeXAxisAspect(self) -> False: ... + def ChangeYAxisAspect(self) -> False: ... + def ChangeZAxisAspect(self) -> False: ... + def CubicAxesCallback(self, theView: Graphic3d_CView) -> bool: ... def GridColor(self) -> Quantity_Color: ... def NamesFont(self) -> TCollection_AsciiString: ... def NamesFontAspect(self) -> False: ... @@ -1680,9 +1778,9 @@ class Graphic3d_GraduatedTrihedron: def ValuesFont(self) -> TCollection_AsciiString: ... def ValuesFontAspect(self) -> False: ... def ValuesSize(self) -> int: ... - def XAxisAspect(self) -> Graphic3d_AxisAspect: ... - def YAxisAspect(self) -> Graphic3d_AxisAspect: ... - def ZAxisAspect(self) -> Graphic3d_AxisAspect: ... + def XAxisAspect(self) -> False: ... + def YAxisAspect(self) -> False: ... + def ZAxisAspect(self) -> False: ... class Graphic3d_GraphicDriver(Standard_Transient): def CreateStructure(self, theManager: Graphic3d_StructureManager) -> Graphic3d_CStructure: ... @@ -1694,15 +1792,29 @@ class Graphic3d_GraphicDriver(Standard_Transient): def InquireLimit(self, theType: Graphic3d_TypeOfLimit) -> int: ... def InquirePlaneLimit(self) -> int: ... def InquireViewLimit(self) -> int: ... + def IsVerticalSync(self) -> bool: ... def MemoryInfo(self, theFreeBytes: int, theInfo: TCollection_AsciiString) -> bool: ... def NewIdentification(self) -> int: ... def RemoveIdentification(self, theId: int) -> None: ... def RemoveStructure(self, theCStructure: Graphic3d_CStructure) -> None: ... def RemoveView(self, theView: Graphic3d_CView) -> None: ... + def SetVerticalSync(self, theToEnable: bool) -> None: ... def TextSize(self, theView: Graphic3d_CView, theText: str, theHeight: float, theWidth: float, theAscent: float, theDescent: float) -> None: ... def ViewExists(self, theWindow: Aspect_Window, theView: Graphic3d_CView) -> bool: ... def ZLayers(self, theLayerSeq: TColStd_SequenceOfInteger) -> None: ... +class Graphic3d_GraphicDriverFactory(Standard_Transient): + def CreateDriver(self, theDisp: Aspect_DisplayConnection) -> Graphic3d_GraphicDriver: ... + @staticmethod + def DefaultDriverFactory() -> Graphic3d_GraphicDriverFactory: ... + @staticmethod + def DriverFactories() -> Graphic3d_GraphicDriverFactoryList: ... + def Name(self) -> TCollection_AsciiString: ... + @staticmethod + def RegisterFactory(theFactory: Graphic3d_GraphicDriverFactory, theIsPreferred: Optional[bool] = false) -> None: ... + @staticmethod + def UnregisterFactory(theName: TCollection_AsciiString) -> None: ... + class Graphic3d_Group(Standard_Transient): @overload def AddPrimitiveArray(self, theType: Graphic3d_TypeOfPrimitiveArray, theIndices: Graphic3d_IndexBuffer, theAttribs: Graphic3d_Buffer, theBounds: Graphic3d_BoundBuffer, theToEvalMinMax: Optional[bool] = True) -> None: ... @@ -1713,18 +1825,20 @@ class Graphic3d_Group(Standard_Transient): def BoundingBox(self) -> Graphic3d_BndBox4f: ... def ChangeBoundingBox(self) -> Graphic3d_BndBox4f: ... def Clear(self, theUpdateStructureMgr: Optional[bool] = True) -> None: ... - def ContainsFacet(self) -> False: ... - def IsClosed(self) -> False: ... + def ContainsFacet(self) -> bool: ... + def IsClosed(self) -> bool: ... def IsDeleted(self) -> bool: ... def IsEmpty(self) -> bool: ... def Marker(self, thePoint: Graphic3d_Vertex, theToEvalMinMax: Optional[bool] = True) -> None: ... def MinMaxValues(self) -> Tuple[float, float, float, float, float, float]: ... def Remove(self) -> None: ... def ReplaceAspects(self, theMap: Graphic3d_MapOfAspectsToAspects) -> None: ... + def SetClosed(self, theIsClosed: bool) -> None: ... def SetFlippingOptions(self, theIsEnabled: bool, theRefPlane: gp_Ax2) -> None: ... def SetMinMaxValues(self, theXMin: float, theYMin: float, theZMin: float, theXMax: float, theYMax: float, theZMax: float) -> None: ... def SetPrimitivesAspect(self, theAspect: Graphic3d_Aspects) -> None: ... def SetStencilTestOptions(self, theIsEnabled: bool) -> None: ... + def SetTransformPersistence(self, theTrsfPers: Graphic3d_TransformPers) -> None: ... def Structure(self) -> Graphic3d_Structure: ... def SynchronizeAspects(self) -> None: ... @overload @@ -1739,6 +1853,7 @@ class Graphic3d_Group(Standard_Transient): def Text(self, theTextUtf: str, theOrientation: gp_Ax2, theHeight: float, theAngle: float, theTp: Graphic3d_TextPath, theHTA: Graphic3d_HorizontalTextAlignment, theVTA: Graphic3d_VerticalTextAlignment, theToEvalMinMax: Optional[bool] = True, theHasOwnAnchor: Optional[bool] = True) -> None: ... @overload def Text(self, theText: TCollection_ExtendedString, theOrientation: gp_Ax2, theHeight: float, theAngle: float, theTp: Graphic3d_TextPath, theHTA: Graphic3d_HorizontalTextAlignment, theVTA: Graphic3d_VerticalTextAlignment, theToEvalMinMax: Optional[bool] = True, theHasOwnAnchor: Optional[bool] = True) -> None: ... + def TransformPersistence(self) -> Graphic3d_TransformPers: ... class Graphic3d_HatchStyle(Standard_Transient): @overload @@ -1757,7 +1872,7 @@ class Graphic3d_Layer(Standard_Transient): def CullableTrsfPersStructuresBVH(self) -> Graphic3d_BvhCStructureSetTrsfPers: ... def InvalidateBVHData(self) -> None: ... def InvalidateBoundingBox(self) -> None: ... - def IsCulled(self) -> False: ... + def IsCulled(self) -> bool: ... def IsImmediate(self) -> bool: ... def LayerId(self) -> Graphic3d_ZLayerId: ... def LayerSettings(self) -> Graphic3d_ZLayerSettings: ... @@ -1766,7 +1881,7 @@ class Graphic3d_Layer(Standard_Transient): def NbStructures(self) -> int: ... def NbStructuresNotCulled(self) -> int: ... def NonCullableStructures(self) -> False: ... - def Remove(self, theStruct: Graphic3d_CStructure, isForChangePriority: Optional[bool] = False) -> Tuple[False, int]: ... + def Remove(self, theStruct: Graphic3d_CStructure, isForChangePriority: Optional[bool] = False) -> Tuple[bool, int]: ... def SetLayerSettings(self, theSettings: Graphic3d_ZLayerSettings) -> None: ... def considerZoomPersistenceObjects(self, theViewId: int, theCamera: Graphic3d_Camera, theWindowWidth: int, theWindowHeight: int) -> float: ... @@ -1780,6 +1895,7 @@ class Graphic3d_LightSet(Standard_Transient): def KeyEnabledLong(self) -> TCollection_AsciiString: ... def KeyEnabledShort(self) -> TCollection_AsciiString: ... def Lower(self) -> int: ... + def NbCastShadows(self) -> int: ... def NbEnabled(self) -> int: ... def NbEnabledLightsOfType(self, theType: Graphic3d_TypeOfLightSource) -> int: ... def NbLightsOfType(self, theType: Graphic3d_TypeOfLightSource) -> int: ... @@ -1791,15 +1907,18 @@ class Graphic3d_LightSet(Standard_Transient): class Graphic3d_MarkerImage(Standard_Transient): @overload - def __init__(self, theImage: Image_PixMap) -> None: ... + def __init__(self, theImage: Image_PixMap, theImageAlpha: Optional[Image_PixMap] = Image_PixMap()) -> None: ... @overload def __init__(self, theBitMap: TColStd_HArray1OfByte, theWidth: int, theHeight: int) -> None: ... - def GetBitMapArray(self, theAlphaValue: Optional[float] = 0.5) -> TColStd_HArray1OfByte: ... + def GetBitMapArray(self, theAlphaValue: Optional[float] = 0.5, theIsTopDown: Optional[bool] = false) -> TColStd_HArray1OfByte: ... def GetImage(self) -> Image_PixMap: ... def GetImageAlpha(self) -> Image_PixMap: ... def GetImageAlphaId(self) -> TCollection_AsciiString: ... def GetImageId(self) -> TCollection_AsciiString: ... def GetTextureSize(self) -> Tuple[int, int]: ... + def IsColoredImage(self) -> bool: ... + @staticmethod + def StandardMarker(theMarkerType: Aspect_TypeOfMarker, theScale: float, theColor: Graphic3d_Vec4) -> Graphic3d_MarkerImage: ... class Graphic3d_MaterialAspect: @overload @@ -1921,12 +2040,12 @@ class Graphic3d_RenderingParams: class Graphic3d_SequenceOfHClipPlane(Standard_Transient): def __init__(self) -> None: ... - def Append(self, theItem: Graphic3d_ClipPlane) -> False: ... + def Append(self, theItem: Graphic3d_ClipPlane) -> bool: ... def Clear(self) -> None: ... def First(self) -> Graphic3d_ClipPlane: ... - def IsEmpty(self) -> False: ... + def IsEmpty(self) -> bool: ... @overload - def Remove(self, theItem: Graphic3d_ClipPlane) -> False: ... + def Remove(self, theItem: Graphic3d_ClipPlane) -> bool: ... def SetOverrideGlobal(self, theToOverride: bool) -> None: ... def Size(self) -> int: ... def ToOverrideGlobal(self) -> bool: ... @@ -1936,6 +2055,22 @@ class Graphic3d_ShaderAttribute(Standard_Transient): def Location(self) -> False: ... def Name(self) -> TCollection_AsciiString: ... +class Graphic3d_ShaderManager(Standard_Transient): + def __init__(self, theGapi: Aspect_GraphicsLibrary) -> None: ... + def EnableGlslExtension(self, theExt: Graphic3d_GlslExtension, theToEnable: Optional[bool] = true) -> None: ... + def GapiVersionMajor(self) -> int: ... + def GapiVersionMinor(self) -> int: ... + def HasFlatShading(self) -> bool: ... + def HasGlslExtension(self, theExt: Graphic3d_GlslExtension) -> bool: ... + def IsGapiGreaterEqual(self, theVerMajor: int, theVerMinor: int) -> bool: ... + def SetEmulateDepthClamp(self, theToEmulate: bool) -> None: ... + def SetFlatShading(self, theToUse: bool, theToReverseSign: bool) -> None: ... + def SetGapiVersion(self, theVerMajor: int, theVerMinor: int) -> None: ... + def SetUseRedAlpha(self, theUseRedAlpha: bool) -> None: ... + def ToEmulateDepthClamp(self) -> bool: ... + def ToReverseDFdxSign(self) -> bool: ... + def UseRedAlpha(self) -> bool: ... + class Graphic3d_ShaderObject(Standard_Transient): @staticmethod def CreateFromFile(theType: Graphic3d_TypeOfShaderObject, thePath: TCollection_AsciiString) -> Graphic3d_ShaderObject: ... @@ -1956,13 +2091,15 @@ class Graphic3d_ShaderProgram(Standard_Transient): def GetId(self) -> TCollection_AsciiString: ... def HasAlphaTest(self) -> bool: ... def HasDefaultSampler(self) -> bool: ... - def HasWeightOitOutput(self) -> bool: ... def Header(self) -> TCollection_AsciiString: ... def IsDone(self) -> bool: ... def IsPBR(self) -> bool: ... def NbClipPlanesMax(self) -> int: ... def NbFragmentOutputs(self) -> int: ... def NbLightsMax(self) -> int: ... + def NbShadowMaps(self) -> int: ... + def OitOutput(self) -> Graphic3d_RenderTransparentMethod: ... + def PushVariableFloat(self, theName: TCollection_AsciiString, theValue: float) -> bool: ... def PushVariableInt(self, theName: TCollection_AsciiString, theValue: int) -> bool: ... def PushVariableVec2(self, theName: TCollection_AsciiString, theValue: Graphic3d_Vec2) -> bool: ... def PushVariableVec2i(self, theName: TCollection_AsciiString, theValue: Graphic3d_Vec2i) -> bool: ... @@ -1977,10 +2114,11 @@ class Graphic3d_ShaderProgram(Standard_Transient): def SetNbClipPlanesMax(self, theNbPlanes: int) -> None: ... def SetNbFragmentOutputs(self, theNbOutputs: int) -> None: ... def SetNbLightsMax(self, theNbLights: int) -> None: ... + def SetNbShadowMaps(self, theNbMaps: int) -> None: ... + def SetOitOutput(self, theOutput: Graphic3d_RenderTransparentMethod) -> None: ... def SetPBR(self, theIsPBR: bool) -> None: ... def SetTextureSetBits(self, theBits: int) -> None: ... def SetVertexAttributes(self, theAttributes: Graphic3d_ShaderAttributeList) -> None: ... - def SetWeightOitOutput(self, theOutput: bool) -> None: ... def ShaderObjects(self) -> Graphic3d_ShaderObjectList: ... @staticmethod def ShadersFolder() -> TCollection_AsciiString: ... @@ -2065,7 +2203,6 @@ class Graphic3d_Structure(Standard_Transient): def SetVisible(self, AValue: bool) -> None: ... def SetVisual(self, AVisual: Graphic3d_TypeOfStructure) -> None: ... def SetZoomLimit(self, LimitInf: float, LimitSup: float) -> None: ... - def Transform(self, theTrsf: TopLoc_Datum3D) -> None: ... def TransformPersistence(self) -> Graphic3d_TransformPers: ... def Transformation(self) -> TopLoc_Datum3D: ... @staticmethod @@ -2192,8 +2329,6 @@ class Graphic3d_TransformPers(Standard_Transient): def AnchorPoint(self) -> gp_Pnt: ... def Corner2d(self) -> Aspect_TypeOfTriedronPosition: ... def Flags(self) -> Graphic3d_TransModeFlags: ... - @staticmethod - def FromDeprecatedParams(theFlag: Graphic3d_TransModeFlags, thePoint: gp_Pnt) -> Graphic3d_TransformPers: ... @overload @staticmethod def IsTrihedronOr2d(theMode: Graphic3d_TransModeFlags) -> bool: ... @@ -2266,9 +2401,11 @@ class Graphic3d_Vertex: class Graphic3d_ViewAffinity(Standard_Transient): def __init__(self) -> None: ... - def IsVisible(self, theViewId: int) -> False: ... + def IsVisible(self, theViewId: int) -> bool: ... @overload def SetVisible(self, theIsVisible: bool) -> None: ... + @overload + def SetVisible(self, theViewId: int, theIsVisible: bool) -> None: ... class Graphic3d_WorldViewProjState: @overload @@ -2292,13 +2429,10 @@ class Graphic3d_ZLayerSettings: def ChangePolygonOffset(self) -> Graphic3d_PolygonOffset: ... def CullingDistance(self) -> float: ... def CullingSize(self) -> float: ... - def DisableSetting(self, theSetting: Graphic3d_ZLayerSetting) -> None: ... - def EnableSetting(self, theSetting: Graphic3d_ZLayerSetting) -> None: ... def HasCullingDistance(self) -> bool: ... def HasCullingSize(self) -> bool: ... def IsImmediate(self) -> bool: ... def IsRaytracable(self) -> bool: ... - def IsSettingEnabled(self, theSetting: Graphic3d_ZLayerSetting) -> bool: ... def Lights(self) -> Graphic3d_LightSet: ... def Name(self) -> TCollection_AsciiString: ... def Origin(self) -> gp_XYZ: ... @@ -2366,7 +2500,7 @@ class Graphic3d_AspectFillArea3d(Graphic3d_Aspects): def __init__(self) -> None: ... @overload def __init__(self, theInterior: Aspect_InteriorStyle, theInteriorColor: Quantity_Color, theEdgeColor: Quantity_Color, theEdgeLineType: Aspect_TypeOfLine, theEdgeWidth: float, theFrontMaterial: Graphic3d_MaterialAspect, theBackMaterial: Graphic3d_MaterialAspect) -> None: ... - def Edge(self) -> False: ... + def Edge(self) -> bool: ... class Graphic3d_AspectLine3d(Graphic3d_Aspects): @overload @@ -2412,7 +2546,7 @@ class Graphic3d_AspectText3d(Graphic3d_Aspects): def Font(self) -> TCollection_AsciiString: ... def GetTextAngle(self) -> float: ... def GetTextFontAspect(self) -> False: ... - def GetTextZoomable(self) -> False: ... + def GetTextZoomable(self) -> bool: ... @overload def SetColor(self, theColor: Quantity_Color) -> None: ... @overload @@ -2429,9 +2563,9 @@ class Graphic3d_AspectText3d(Graphic3d_Aspects): class Graphic3d_AttribBuffer(Graphic3d_Buffer): def __init__(self, theAlloc: NCollection_BaseAllocator) -> None: ... @overload - def Init(self, theNbElems: int, theAttribs: Graphic3d_Attribute, theNbAttribs: int) -> False: ... + def Init(self, theNbElems: int, theAttribs: Graphic3d_Attribute, theNbAttribs: int) -> bool: ... @overload - def Init(self, theNbElems: int, theAttribs: Graphic3d_Array1OfAttribute) -> False: ... + def Init(self, theNbElems: int, theAttribs: Graphic3d_Array1OfAttribute) -> bool: ... @overload def Invalidate(self) -> None: ... @overload @@ -2455,12 +2589,12 @@ class Graphic3d_CView(Graphic3d_DataStructureManager): def BackgroundCubeMap(self) -> Graphic3d_CubeMap: ... def BackgroundImage(self) -> Graphic3d_TextureMap: ... def BackgroundImageStyle(self) -> Aspect_FillMethod: ... + def BackgroundType(self) -> Graphic3d_TypeOfBackground: ... def BaseXRCamera(self) -> Graphic3d_Camera: ... def BufferDump(self, theImage: Image_PixMap, theBufferType: Graphic3d_BufferType) -> bool: ... def Camera(self) -> Graphic3d_Camera: ... def ChangeHiddenObjects(self) -> Graphic3d_NMapOfTransient: ... def ChangeRenderingParams(self) -> Graphic3d_RenderingParams: ... - def ClearPBREnvironment(self) -> None: ... def ClipPlanes(self) -> Graphic3d_SequenceOfHClipPlane: ... def Compute(self) -> None: ... def ComputeXRBaseCameraFromPosed(self, theCamPosed: Graphic3d_Camera, thePoseTrsf: gp_Trsf) -> None: ... @@ -2480,18 +2614,18 @@ class Graphic3d_CView(Graphic3d_DataStructureManager): def FBOCreate(self, theWidth: int, theHeight: int) -> Standard_Transient: ... def FBOGetDimensions(self, theFbo: Standard_Transient) -> Tuple[int, int, int, int]: ... def FBORelease(self, theFbo: Standard_Transient) -> None: ... - def GeneratePBREnvironment(self) -> None: ... def GetGraduatedTrihedron(self) -> Graphic3d_GraduatedTrihedron: ... def GradientBackground(self) -> Aspect_GradientBackground: ... def GraduatedTrihedronDisplay(self, theTrihedronData: Graphic3d_GraduatedTrihedron) -> None: ... def GraduatedTrihedronErase(self) -> None: ... def GraduatedTrihedronMinMaxValues(self, theMin: Graphic3d_Vec3, theMax: Graphic3d_Vec3) -> None: ... def HiddenObjects(self) -> Graphic3d_NMapOfTransient: ... + def IBLCubeMap(self) -> Graphic3d_CubeMap: ... def Identification(self) -> int: ... - def InitXR(self) -> False: ... + def InitXR(self) -> bool: ... def Invalidate(self) -> None: ... def IsActive(self) -> bool: ... - def IsActiveXR(self) -> False: ... + def IsActiveXR(self) -> bool: ... def IsComputed(self, theStructId: int, theComputedStruct: Graphic3d_Structure) -> bool: ... def IsDefined(self) -> bool: ... def IsInvalidated(self) -> bool: ... @@ -2517,12 +2651,14 @@ class Graphic3d_CView(Graphic3d_DataStructureManager): def SetBackground(self, theBackground: Aspect_Background) -> None: ... def SetBackgroundImage(self, theTextureMap: Graphic3d_TextureMap, theToUpdatePBREnv: Optional[bool] = True) -> None: ... def SetBackgroundImageStyle(self, theFillStyle: Aspect_FillMethod) -> None: ... + def SetBackgroundType(self, theType: Graphic3d_TypeOfBackground) -> None: ... def SetBaseXRCamera(self, theCamera: Graphic3d_Camera) -> None: ... def SetCamera(self, theCamera: Graphic3d_Camera) -> None: ... def SetClipPlanes(self, thePlanes: Graphic3d_SequenceOfHClipPlane) -> None: ... def SetComputedMode(self, theMode: bool) -> None: ... def SetFBO(self, theFbo: Standard_Transient) -> None: ... def SetGradientBackground(self, theBackground: Aspect_GradientBackground) -> None: ... + def SetImageBasedLighting(self, theToEnableIBL: bool) -> None: ... def SetImmediateModeDrawToFront(self, theDrawToFrontBuffer: bool) -> bool: ... def SetLights(self, theLights: Graphic3d_LightSet) -> None: ... def SetPosedXRCamera(self, theCamera: Graphic3d_Camera) -> None: ... @@ -2545,6 +2681,7 @@ class Graphic3d_CView(Graphic3d_DataStructureManager): def TurnViewXRCamera(self, theTrsfTurn: gp_Trsf) -> None: ... def UnitFactor(self) -> float: ... def UnsetXRPosedCamera(self) -> None: ... + def ViewAxisInWorld(self, thePoseXR: gp_Trsf) -> gp_Ax1: ... def VisualizationType(self) -> Graphic3d_TypeOfVisualization: ... def Window(self) -> Aspect_Window: ... def XRSession(self) -> Aspect_XRSession: ... @@ -2564,6 +2701,7 @@ class Graphic3d_FrameStatsDataTmp(Graphic3d_FrameStatsData): def ChangeTimer(self, theTimer: Graphic3d_FrameStatsTimer) -> OSD_Timer: ... def GetChangeTimerValue(self, theIndex: Graphic3d_FrameStatsTimer) -> float: ... def SetChangeTimerValue(self, theIndex: Graphic3d_FrameStatsTimer, value: float) -> None: ... + def FlushTimers(self, theNbFrames: int, theIsFinal: bool) -> None: ... def Reset(self) -> None: ... class Graphic3d_MediaTextureSet(Graphic3d_TextureSet, Media_IFrameQueue): @@ -2606,6 +2744,10 @@ class Graphic3d_TextureMap(Graphic3d_TextureRoot): def IsSmoothed(self) -> bool: ... def SetAnisoFilter(self, theLevel: Graphic3d_LevelOfTextureAnisotropy) -> None: ... +class Graphic3d_TransformPersScaledAbove(Graphic3d_TransformPers): + def __init__(self, theScale: float, thePnt: gp_Pnt) -> None: ... + def persistentScale(self, theCamera: Graphic3d_Camera, theViewportWidth: int, theViewportHeight: int) -> float: ... + class Graphic3d_CubeMap(Graphic3d_TextureMap): def CompressedValue(self, theSupported: Image_SupportedFormats) -> Image_CompressedPixMap: ... def CurrentSide(self) -> Graphic3d_CubeMapSide: ... @@ -2652,7 +2794,7 @@ class Graphic3d_CubeMapSeparate(Graphic3d_CubeMap): def Value(self, theSupported: Image_SupportedFormats) -> Image_PixMap: ... class Graphic3d_MediaTexture(Graphic3d_Texture2D): - def __init__(self, theMutex: Media_HMutex, thePlane: Optional[int] = -1) -> None: ... + def __init__(self, theMutex: Standard_HMutex, thePlane: Optional[int] = -1) -> None: ... def Frame(self) -> Media_Frame: ... def GenerateNewId(self) -> None: ... def GetImage(self, theSupported: Image_SupportedFormats) -> Image_PixMap: ... @@ -2749,11 +2891,17 @@ Graphic3d_BSDF_CreateGlass = Graphic3d_BSDF.CreateGlass Graphic3d_BSDF_CreateMetallic = Graphic3d_BSDF.CreateMetallic Graphic3d_BSDF_CreateMetallicRoughness = Graphic3d_BSDF.CreateMetallicRoughness Graphic3d_BSDF_CreateTransparent = Graphic3d_BSDF.CreateTransparent +Graphic3d_Camera_Interpolate = Graphic3d_Camera.Interpolate Graphic3d_Fresnel_CreateConductor = Graphic3d_Fresnel.CreateConductor Graphic3d_Fresnel_CreateConductor = Graphic3d_Fresnel.CreateConductor Graphic3d_Fresnel_CreateConstant = Graphic3d_Fresnel.CreateConstant Graphic3d_Fresnel_CreateDielectric = Graphic3d_Fresnel.CreateDielectric Graphic3d_Fresnel_CreateSchlick = Graphic3d_Fresnel.CreateSchlick +Graphic3d_GraphicDriverFactory_DefaultDriverFactory = Graphic3d_GraphicDriverFactory.DefaultDriverFactory +Graphic3d_GraphicDriverFactory_DriverFactories = Graphic3d_GraphicDriverFactory.DriverFactories +Graphic3d_GraphicDriverFactory_RegisterFactory = Graphic3d_GraphicDriverFactory.RegisterFactory +Graphic3d_GraphicDriverFactory_UnregisterFactory = Graphic3d_GraphicDriverFactory.UnregisterFactory +Graphic3d_MarkerImage_StandardMarker = Graphic3d_MarkerImage.StandardMarker Graphic3d_MaterialAspect_MaterialFromName = Graphic3d_MaterialAspect.MaterialFromName Graphic3d_MaterialAspect_MaterialFromName = Graphic3d_MaterialAspect.MaterialFromName Graphic3d_MaterialAspect_MaterialName = Graphic3d_MaterialAspect.MaterialName @@ -2773,7 +2921,6 @@ Graphic3d_Structure_Network = Graphic3d_Structure.Network Graphic3d_Structure_PrintNetwork = Graphic3d_Structure.PrintNetwork Graphic3d_Structure_Transforms = Graphic3d_Structure.Transforms Graphic3d_TextureRoot_TexturesFolder = Graphic3d_TextureRoot.TexturesFolder -Graphic3d_TransformPers_FromDeprecatedParams = Graphic3d_TransformPers.FromDeprecatedParams Graphic3d_TransformPers_IsTrihedronOr2d = Graphic3d_TransformPers.IsTrihedronOr2d Graphic3d_TransformPers_IsZoomOrRotate = Graphic3d_TransformPers.IsZoomOrRotate Graphic3d_TextureEnv_NumberOfTextures = Graphic3d_TextureEnv.NumberOfTextures diff --git a/src/SWIG_files/wrapper/HLRAlgo.i b/src/SWIG_files/wrapper/HLRAlgo.i index 376625d7a..00269add6 100644 --- a/src/SWIG_files/wrapper/HLRAlgo.i +++ b/src/SWIG_files/wrapper/HLRAlgo.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define HLRALGODOCSTRING "HLRAlgo module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_hlralgo.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_hlralgo.html" %enddef %module (package="OCC.Core", docstring=HLRALGODOCSTRING) HLRAlgo @@ -43,7 +43,6 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_hlralgo.html" #include #include #include -#include #include #include #include @@ -55,7 +54,6 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_hlralgo.html" %import Standard.i %import NCollection.i %import TopAbs.i -%import TColStd.i %import TColgp.i %import gp.i @@ -83,7 +81,7 @@ enum HLRAlgo_PolyMask { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class HLRAlgo_PolyMask(IntEnum): @@ -1885,6 +1883,17 @@ None ") HLRAlgo_PolyAlgo; HLRAlgo_PolyAlgo(); + /****************** ChangePolyShell ******************/ + /**** md5 signature: f8b52f4813ca4e760c91710a23a4a32e ****/ + %feature("compactdefaultargs") ChangePolyShell; + %feature("autodoc", "No available documentation. + +Returns +------- +NCollection_Array1> +") ChangePolyShell; + NCollection_Array1> & ChangePolyShell(); + /****************** Clear ******************/ /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ %feature("compactdefaultargs") Clear; @@ -1916,22 +1925,22 @@ intl: bool HLRAlgo_BiPoint::PointsT & Hide(HLRAlgo_EdgeStatus & status, Standard_Integer &OutValue, Standard_Boolean &OutValue, Standard_Boolean &OutValue, Standard_Boolean &OutValue, Standard_Boolean &OutValue); /****************** Init ******************/ - /**** md5 signature: 2785a952a72256008e2871c5eeaa1776 ****/ + /**** md5 signature: 4f6558833fa45b2851e3cccaa0030ced ****/ %feature("compactdefaultargs") Init; %feature("autodoc", "No available documentation. Parameters ---------- -HShell: TColStd_HArray1OfTransient +theNbShells: int Returns ------- None ") Init; - void Init(const opencascade::handle & HShell); + void Init(const Standard_Integer theNbShells); /****************** InitHide ******************/ - /**** md5 signature: 32bd2983c565ec4e2841cbdfc31fdf26 ****/ + /**** md5 signature: 6d3a01e37a94e3705475c3d6870e3eb9 ****/ %feature("compactdefaultargs") InitHide; %feature("autodoc", "No available documentation. @@ -1942,7 +1951,7 @@ None void InitHide(); /****************** InitShow ******************/ - /**** md5 signature: ea1a67c1f45ef7c44c521925fd0378a1 ****/ + /**** md5 signature: 0c19b9d9bad511b1134c595c7ff3584f ****/ %feature("compactdefaultargs") InitShow; %feature("autodoc", "No available documentation. @@ -1953,7 +1962,7 @@ None void InitShow(); /****************** MoreHide ******************/ - /**** md5 signature: d38676512d86f43f63f7be299a6fac64 ****/ + /**** md5 signature: ee934ca6bfa0a4423c581ec95be0690b ****/ %feature("compactdefaultargs") MoreHide; %feature("autodoc", "No available documentation. @@ -1964,7 +1973,7 @@ bool Standard_Boolean MoreHide(); /****************** MoreShow ******************/ - /**** md5 signature: 1f2b98cd697654109ddadc761c52bff2 ****/ + /**** md5 signature: 676e76c7f6a46e8688a744d734543b5e ****/ %feature("compactdefaultargs") MoreShow; %feature("autodoc", "No available documentation. @@ -1997,15 +2006,15 @@ None void NextShow(); /****************** PolyShell ******************/ - /**** md5 signature: e5db1bb176fa214ccb6bd241dec7376d ****/ + /**** md5 signature: 8fa2b2862bf6f2793a727c50d438f4fc ****/ %feature("compactdefaultargs") PolyShell; %feature("autodoc", "No available documentation. Returns ------- -TColStd_Array1OfTransient +NCollection_Array1> ") PolyShell; - TColStd_Array1OfTransient & PolyShell(); + const NCollection_Array1> & PolyShell(); /****************** Show ******************/ /**** md5 signature: 91aa0cc1a8ccb2620f595ef894877d22 ****/ @@ -2226,26 +2235,26 @@ None HLRAlgo_PolyInternalData(const Standard_Integer nbNod, const Standard_Integer nbTri); /****************** AddNode ******************/ - /**** md5 signature: aacd9ed1a53ed4982f991a7ae4deb544 ****/ + /**** md5 signature: 030edbaa89e0e51ec1ee836bbe028a9a ****/ %feature("compactdefaultargs") AddNode; %feature("autodoc", "No available documentation. Parameters ---------- -Nod1RValues: HLRAlgo_PolyInternalNode::NodeData -Nod2RValues: HLRAlgo_PolyInternalNode::NodeData -PINod1: HLRAlgo_Array1OfPINod * -PINod2: HLRAlgo_Array1OfPINod * -coef1: float -X3: float -Y3: float -Z3: float +theNod1RValues: HLRAlgo_PolyInternalNode::NodeData +theNod2RValues: HLRAlgo_PolyInternalNode::NodeData +thePINod1: HLRAlgo_Array1OfPINod * +thePINod2: HLRAlgo_Array1OfPINod * +theCoef1: float +theX3: float +theY3: float +theZ3: float Returns ------- int ") AddNode; - Standard_Integer AddNode(HLRAlgo_PolyInternalNode::NodeData & Nod1RValues, HLRAlgo_PolyInternalNode::NodeData & Nod2RValues, HLRAlgo_Array1OfPINod * & PINod1, HLRAlgo_Array1OfPINod * & PINod2, const Standard_Real coef1, const Standard_Real X3, const Standard_Real Y3, const Standard_Real Z3); + Standard_Integer AddNode(HLRAlgo_PolyInternalNode::NodeData & theNod1RValues, HLRAlgo_PolyInternalNode::NodeData & theNod2RValues, HLRAlgo_Array1OfPINod * & thePINod1, HLRAlgo_Array1OfPINod * & thePINod2, const Standard_Real theCoef1, const Standard_Real theX3, const Standard_Real theY3, const Standard_Real theZ3); /****************** DecPINod ******************/ /**** md5 signature: 23c9a454c260ae9304cb22b337d0f0ff ****/ @@ -2292,20 +2301,20 @@ None void Dump(); /****************** IncPINod ******************/ - /**** md5 signature: dccf48c23aa9b2ed419abc8206b2134a ****/ + /**** md5 signature: e28e8098a494a718c0df7f109cd14590 ****/ %feature("compactdefaultargs") IncPINod; %feature("autodoc", "No available documentation. Parameters ---------- -PINod1: HLRAlgo_Array1OfPINod * -PINod2: HLRAlgo_Array1OfPINod * +thePINod1: HLRAlgo_Array1OfPINod * +thePINod2: HLRAlgo_Array1OfPINod * Returns ------- None ") IncPINod; - void IncPINod(HLRAlgo_Array1OfPINod * & PINod1, HLRAlgo_Array1OfPINod * & PINod2); + void IncPINod(HLRAlgo_Array1OfPINod * & thePINod1, HLRAlgo_Array1OfPINod * & thePINod2); /****************** IncPISeg ******************/ /**** md5 signature: bf0b8293a85db37a0ab57e624faff682 ****/ @@ -2458,44 +2467,44 @@ HLRAlgo_Array1OfTData HLRAlgo_Array1OfTData & TData(); /****************** UpdateLinks ******************/ - /**** md5 signature: 3c1fead71d12912fde573f86341607c6 ****/ + /**** md5 signature: 6ecb7e49245bc9a027a02cec4a8ab955 ****/ %feature("compactdefaultargs") UpdateLinks; %feature("autodoc", "No available documentation. Parameters ---------- -TData: HLRAlgo_Array1OfTData * -PISeg: HLRAlgo_Array1OfPISeg * -PINod: HLRAlgo_Array1OfPINod * +theTData: HLRAlgo_Array1OfTData +thePISeg: HLRAlgo_Array1OfPISeg +thePINod: HLRAlgo_Array1OfPINod Returns ------- None ") UpdateLinks; - void UpdateLinks(HLRAlgo_Array1OfTData * & TData, HLRAlgo_Array1OfPISeg * & PISeg, HLRAlgo_Array1OfPINod * & PINod); + void UpdateLinks(HLRAlgo_Array1OfTData & theTData, HLRAlgo_Array1OfPISeg & thePISeg, HLRAlgo_Array1OfPINod & thePINod); /****************** UpdateLinks ******************/ - /**** md5 signature: 298c0b05e50a3e8c84d4fed8bb82f958 ****/ + /**** md5 signature: 12f0176cf18713f7b8c1d91b9594981c ****/ %feature("compactdefaultargs") UpdateLinks; %feature("autodoc", "No available documentation. Parameters ---------- -ip1: int -ip2: int -ip3: int -TData1: HLRAlgo_Array1OfTData * -TData2: HLRAlgo_Array1OfTData * -PISeg1: HLRAlgo_Array1OfPISeg * -PISeg2: HLRAlgo_Array1OfPISeg * -PINod1: HLRAlgo_Array1OfPINod * -PINod2: HLRAlgo_Array1OfPINod * +theIp1: int +theIp2: int +theIp3: int +theTData1: HLRAlgo_Array1OfTData * +theTData2: HLRAlgo_Array1OfTData * +thePISeg1: HLRAlgo_Array1OfPISeg * +thePISeg2: HLRAlgo_Array1OfPISeg * +thePINod1: HLRAlgo_Array1OfPINod * +thePINod2: HLRAlgo_Array1OfPINod * Returns ------- None ") UpdateLinks; - void UpdateLinks(const Standard_Integer ip1, const Standard_Integer ip2, const Standard_Integer ip3, HLRAlgo_Array1OfTData * & TData1, HLRAlgo_Array1OfTData * & TData2, HLRAlgo_Array1OfPISeg * & PISeg1, HLRAlgo_Array1OfPISeg * & PISeg2, HLRAlgo_Array1OfPINod * & PINod1, HLRAlgo_Array1OfPINod * & PINod2); + void UpdateLinks(const Standard_Integer theIp1, const Standard_Integer theIp2, const Standard_Integer theIp3, HLRAlgo_Array1OfTData * & theTData1, HLRAlgo_Array1OfTData * & theTData2, HLRAlgo_Array1OfPISeg * & thePISeg1, HLRAlgo_Array1OfPISeg * & thePISeg2, HLRAlgo_Array1OfPINod * & thePINod1, HLRAlgo_Array1OfPINod * & thePINod2); }; @@ -2570,7 +2579,7 @@ None HLRAlgo_PolyShellData(const Standard_Integer nbFace); /****************** Edges ******************/ - /**** md5 signature: 963060a4533d29c56ab88ff07a3bdf4d ****/ + /**** md5 signature: 3ffe8deadeb0fe47515ab51a09784967 ****/ %feature("compactdefaultargs") Edges; %feature("autodoc", "No available documentation. @@ -2581,7 +2590,7 @@ HLRAlgo_ListOfBPoint HLRAlgo_ListOfBPoint & Edges(); /****************** Hiding ******************/ - /**** md5 signature: bc42207e7cb8f65a46eef744c498e613 ****/ + /**** md5 signature: 9e063098b7345ab66f670b3b16d882e5 ****/ %feature("compactdefaultargs") Hiding; %feature("autodoc", "No available documentation. @@ -2592,26 +2601,26 @@ bool Standard_Boolean Hiding(); /****************** HidingPolyData ******************/ - /**** md5 signature: 2545bbd5ef51ad6a6a63e835a53951d5 ****/ + /**** md5 signature: 1677904005cfe756ecd5ae731539a322 ****/ %feature("compactdefaultargs") HidingPolyData; %feature("autodoc", "No available documentation. Returns ------- -TColStd_Array1OfTransient +NCollection_Array1> ") HidingPolyData; - TColStd_Array1OfTransient & HidingPolyData(); + NCollection_Array1> & HidingPolyData(); /****************** PolyData ******************/ - /**** md5 signature: 5ce1161f920c4e36a37e774230d008ad ****/ + /**** md5 signature: c0ab2919646d9484965293aecdaa1af1 ****/ %feature("compactdefaultargs") PolyData; %feature("autodoc", "No available documentation. Returns ------- -TColStd_Array1OfTransient +NCollection_Array1> ") PolyData; - TColStd_Array1OfTransient & PolyData(); + NCollection_Array1> & PolyData(); /****************** UpdateGlobalMinMax ******************/ /**** md5 signature: 582d6cf1a888375cf933c3643964498a ****/ diff --git a/src/SWIG_files/wrapper/HLRAlgo.pyi b/src/SWIG_files/wrapper/HLRAlgo.pyi index 95317bb98..0ec9bda12 100644 --- a/src/SWIG_files/wrapper/HLRAlgo.pyi +++ b/src/SWIG_files/wrapper/HLRAlgo.pyi @@ -4,7 +4,6 @@ from typing import overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.TopAbs import * -from OCC.Core.TColStd import * from OCC.Core.TColgp import * from OCC.Core.gp import * @@ -314,16 +313,17 @@ class HLRAlgo_Intersection: class HLRAlgo_PolyAlgo(Standard_Transient): def __init__(self) -> None: ... + def ChangePolyShell(self) -> False: ... def Clear(self) -> None: ... def Hide(self, status: HLRAlgo_EdgeStatus) -> Tuple[False, int, bool, bool, bool, bool]: ... - def Init(self, HShell: TColStd_HArray1OfTransient) -> None: ... + def Init(self, theNbShells: int) -> None: ... def InitHide(self) -> None: ... def InitShow(self) -> None: ... def MoreHide(self) -> bool: ... def MoreShow(self) -> bool: ... def NextHide(self) -> None: ... def NextShow(self) -> None: ... - def PolyShell(self) -> TColStd_Array1OfTransient: ... + def PolyShell(self) -> False: ... def Show(self) -> Tuple[False, int, bool, bool, bool, bool]: ... def Update(self) -> None: ... @@ -347,7 +347,7 @@ class HLRAlgo_PolyInternalData(Standard_Transient): def DecPISeg(self) -> None: ... def DecTData(self) -> None: ... def Dump(self) -> None: ... - def IncPINod(self, PINod1: HLRAlgo_Array1OfPINod, PINod2: HLRAlgo_Array1OfPINod) -> None: ... + def IncPINod(self, thePINod1: HLRAlgo_Array1OfPINod, thePINod2: HLRAlgo_Array1OfPINod) -> None: ... def IncPISeg(self, PISeg1: HLRAlgo_Array1OfPISeg, PISeg2: HLRAlgo_Array1OfPISeg) -> None: ... def IncTData(self, TData1: HLRAlgo_Array1OfTData, TData2: HLRAlgo_Array1OfTData) -> None: ... @overload @@ -365,9 +365,9 @@ class HLRAlgo_PolyInternalData(Standard_Transient): def Planar(self, B: bool) -> None: ... def TData(self) -> HLRAlgo_Array1OfTData: ... @overload - def UpdateLinks(self, TData: HLRAlgo_Array1OfTData, PISeg: HLRAlgo_Array1OfPISeg, PINod: HLRAlgo_Array1OfPINod) -> None: ... + def UpdateLinks(self, theTData: HLRAlgo_Array1OfTData, thePISeg: HLRAlgo_Array1OfPISeg, thePINod: HLRAlgo_Array1OfPINod) -> None: ... @overload - def UpdateLinks(self, ip1: int, ip2: int, ip3: int, TData1: HLRAlgo_Array1OfTData, TData2: HLRAlgo_Array1OfTData, PISeg1: HLRAlgo_Array1OfPISeg, PISeg2: HLRAlgo_Array1OfPISeg, PINod1: HLRAlgo_Array1OfPINod, PINod2: HLRAlgo_Array1OfPINod) -> None: ... + def UpdateLinks(self, theIp1: int, theIp2: int, theIp3: int, theTData1: HLRAlgo_Array1OfTData, theTData2: HLRAlgo_Array1OfTData, thePISeg1: HLRAlgo_Array1OfPISeg, thePISeg2: HLRAlgo_Array1OfPISeg, thePINod1: HLRAlgo_Array1OfPINod, thePINod2: HLRAlgo_Array1OfPINod) -> None: ... class HLRAlgo_PolyInternalNode(Standard_Transient): def __init__(self) -> None: ... @@ -376,8 +376,8 @@ class HLRAlgo_PolyShellData(Standard_Transient): def __init__(self, nbFace: int) -> None: ... def Edges(self) -> HLRAlgo_ListOfBPoint: ... def Hiding(self) -> bool: ... - def HidingPolyData(self) -> TColStd_Array1OfTransient: ... - def PolyData(self) -> TColStd_Array1OfTransient: ... + def HidingPolyData(self) -> False: ... + def PolyData(self) -> False: ... def UpdateHiding(self, nbHiding: int) -> None: ... class HLRAlgo_Projector: diff --git a/src/SWIG_files/wrapper/HLRAppli.i b/src/SWIG_files/wrapper/HLRAppli.i index d3f9f730f..df83a0ec3 100644 --- a/src/SWIG_files/wrapper/HLRAppli.i +++ b/src/SWIG_files/wrapper/HLRAppli.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define HLRAPPLIDOCSTRING "HLRAppli module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_hlrappli.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_hlrappli.html" %enddef %module (package="OCC.Core", docstring=HLRAPPLIDOCSTRING) HLRAppli @@ -79,7 +79,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/HLRBRep.i b/src/SWIG_files/wrapper/HLRBRep.i index 7647ea4f8..f16299ba7 100644 --- a/src/SWIG_files/wrapper/HLRBRep.i +++ b/src/SWIG_files/wrapper/HLRBRep.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define HLRBREPDOCSTRING "HLRBRep module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_hlrbrep.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_hlrbrep.html" %enddef %module (package="OCC.Core", docstring=HLRBREPDOCSTRING) HLRBRep @@ -118,7 +118,7 @@ enum HLRBRep_TypeOfResultingEdge { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class HLRBRep_TypeOfResultingEdge(IntEnum): @@ -790,7 +790,7 @@ gp_Hypr /****************** Intervals ******************/ /**** md5 signature: f429463d75cd548af36c429f480bc438 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -2352,7 +2352,7 @@ gp_Hypr2d /****************** Intervals ******************/ /**** md5 signature: c7a2f17df7514293a67a56baae0afb68 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -3003,7 +3003,7 @@ gp_Hypr2d /****************** Intervals ******************/ /**** md5 signature: f4845d7a44f9b537c0b15d3febb0634f ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -3611,7 +3611,7 @@ bool /****************** SimplClassify ******************/ /**** md5 signature: 55d1fd4787d6f9ea6b9011a26a063db8 ****/ %feature("compactdefaultargs") SimplClassify; - %feature("autodoc", "Simple classification of part of edge [p1, p2] returns out if at least 1 of nbp points of edge is out othewise returns in it is used to check 'suspision' hided part of edge. + %feature("autodoc", "Simple classification of part of edge [p1, p2]. returns out if at least 1 of nbp points of edge is out; otherwise returns in. it is used to check 'suspicion' hidden part of edge. Parameters ---------- @@ -3667,7 +3667,7 @@ Standard_ShortReal /****************** Update ******************/ /**** md5 signature: d7a49bc87b072ee91bdb1d6dfd85432d ****/ %feature("compactdefaultargs") Update; - %feature("autodoc", "End of building of the data and updating all the informations linked to the projection. + %feature("autodoc", "End of building of the data and updating all the information linked to the projection. Parameters ---------- @@ -6811,7 +6811,7 @@ int /****************** Perform ******************/ /**** md5 signature: ad6a57edaa391e06877cb1bee2bae6c2 ****/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs the auto intersection of an edge. the edge domain is cutted at start with da1*(b-a) and at end with db1*(b-a). + %feature("autodoc", "Performs the auto intersection of an edge. the edge domain is cut at start with da1*(b-a) and at end with db1*(b-a). Parameters ---------- @@ -6828,7 +6828,7 @@ None /****************** Perform ******************/ /**** md5 signature: 4f119c0498079f9f268caca23730d0d5 ****/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs the intersection between the two edges. the edges domains are cutted at start with da*(b-a) and at end with db*(b-a). + %feature("autodoc", "Performs the intersection between the two edges. the edges domains are cut at start with da*(b-a) and at end with db*(b-a). Parameters ---------- @@ -7660,7 +7660,7 @@ bool /****************** NbExt ******************/ /**** md5 signature: 84ada636e4651cacf916eb056265a1d9 ****/ %feature("compactdefaultargs") NbExt; - %feature("autodoc", "Return the nunber of found extrema. + %feature("autodoc", "Return the number of found extrema. Returns ------- @@ -7827,7 +7827,7 @@ None HLRBRep_PolyAlgo(const TopoDS_Shape & S); /****************** Algo ******************/ - /**** md5 signature: ebeae28e548136fa3c0a74aeb956a363 ****/ + /**** md5 signature: cd1fc8891d8e67ed127640c762ef6d62 ****/ %feature("compactdefaultargs") Algo; %feature("autodoc", "No available documentation. @@ -7835,7 +7835,7 @@ Returns ------- opencascade::handle ") Algo; - opencascade::handle Algo(); + const opencascade::handle & Algo(); /****************** Debug ******************/ /**** md5 signature: 69dc7ba9221c00c4012a027efb557742 ****/ @@ -9166,7 +9166,7 @@ opencascade::handle static opencascade::handle BSpline(const Standard_Address S); /****************** BasisCurve ******************/ - /**** md5 signature: 3449d1f2a4c351a42135a6894bbd624b ****/ + /**** md5 signature: 800cb1ec50ed14042ffd84fb9d7f16fe ****/ %feature("compactdefaultargs") BasisCurve; %feature("autodoc", "No available documentation. @@ -9176,12 +9176,12 @@ S: Standard_Address Returns ------- -opencascade::handle +opencascade::handle ") BasisCurve; - static opencascade::handle BasisCurve(const Standard_Address S); + static opencascade::handle BasisCurve(const Standard_Address S); /****************** BasisSurface ******************/ - /**** md5 signature: 50ab537b396967f0626793f834225bd9 ****/ + /**** md5 signature: e90675a246e7d6d61a9ca69df68a8bde ****/ %feature("compactdefaultargs") BasisSurface; %feature("autodoc", "No available documentation. @@ -9191,9 +9191,9 @@ S: Standard_Address Returns ------- -opencascade::handle +opencascade::handle ") BasisSurface; - static opencascade::handle BasisSurface(const Standard_Address S); + static opencascade::handle BasisSurface(const Standard_Address S); /****************** Bezier ******************/ /**** md5 signature: 1b7883c3f8ccd14ba98ea3102b92482a ****/ @@ -9702,7 +9702,7 @@ float static Standard_Real UResolution(const Standard_Address S, const Standard_Real R3d); /****************** UTrim ******************/ - /**** md5 signature: 5785ae163102422a94c3377374cc646a ****/ + /**** md5 signature: 85e441d9fff0bfb7cfe199a8ef2d2aec ****/ %feature("compactdefaultargs") UTrim; %feature("autodoc", "If >= . @@ -9715,9 +9715,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") UTrim; - static opencascade::handle UTrim(const Standard_Address S, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + static opencascade::handle UTrim(const Standard_Address S, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** VIntervals ******************/ /**** md5 signature: 349fd1650c53bee88da5eb6085891c0c ****/ @@ -9768,7 +9768,7 @@ float static Standard_Real VResolution(const Standard_Address S, const Standard_Real R3d); /****************** VTrim ******************/ - /**** md5 signature: f5d24d13f9913349e068709e9ac96e5b ****/ + /**** md5 signature: 9c95e57bce1c7a7d40af515009ac46f7 ****/ %feature("compactdefaultargs") VTrim; %feature("autodoc", "If >= . @@ -9781,9 +9781,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") VTrim; - static opencascade::handle VTrim(const Standard_Address S, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + static opencascade::handle VTrim(const Standard_Address S, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: 6dbf71d8deef85164fbe55f3e77b5728 ****/ @@ -10922,7 +10922,7 @@ None /****************** HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter ******************/ /**** md5 signature: 2404bc558ec12c49789c3598f94daa2b ****/ %feature("compactdefaultargs") HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter; - %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs a zero near the close point. tolu is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolu. + %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches a zero near the close point. tolu is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolu. Parameters ---------- @@ -10940,7 +10940,7 @@ None /****************** HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter ******************/ /**** md5 signature: e0698389ad945e5cff9fe9be0284beb7 ****/ %feature("compactdefaultargs") HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter; - %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searchs a zero near the close point. zeros are searched between umin et usup. tolu is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolu. + %feature("autodoc", "Calculates the distance with a close point. the close point is defined by the parameter value u0. the function f(u)=distance(p,c(u)) has an extremum when g(u)=df/du=0. the algorithm searches a zero near the close point. zeros are searched between umin and usup. tolu is used to decide to stop the iterations. at the nth iteration, the criteria is: abs(un - un-1) < tolu. Parameters ---------- @@ -11143,7 +11143,7 @@ bool /****************** ComputeWithBox ******************/ /**** md5 signature: 7d618b2066ef81b993e4f38bdebc62ca ****/ %feature("compactdefaultargs") ComputeWithBox; - %feature("autodoc", "The current polygon is modified if most of the points of the polygon are are outside the box . in this situation, bounds are computed to build a polygon inside or near the otherbox. + %feature("autodoc", "The current polygon is modified if most of the points of the polygon are outside the box . in this situation, bounds are computed to build a polygon inside or near the otherbox. Parameters ---------- @@ -11324,22 +11324,22 @@ float Standard_Real ApproxParamOnCurve(const Standard_Integer Index, const Standard_Real ParamOnLine); /****************** BeginOfSeg ******************/ - /**** md5 signature: 3d238bbcef54b3e034127352ea83ab27 ****/ + /**** md5 signature: d9c773bc099d0d92cc222653e8226d5e ****/ %feature("compactdefaultargs") BeginOfSeg; %feature("autodoc", "Give the point of range index in the polygon. Parameters ---------- -Index: int +theIndex: int Returns ------- gp_Pnt ") BeginOfSeg; - const gp_Pnt BeginOfSeg(const Standard_Integer Index); + const gp_Pnt BeginOfSeg(const Standard_Integer theIndex); /****************** Bounding ******************/ - /**** md5 signature: 8283e6d7921bb28044a85a5b8e0569c1 ****/ + /**** md5 signature: 54ccbf8f63f02bb43c2fc9c718922d78 ****/ %feature("compactdefaultargs") Bounding; %feature("autodoc", "Give the bounding box of the polygon. @@ -11350,22 +11350,22 @@ Bnd_Box const Bnd_Box & Bounding(); /****************** Closed ******************/ - /**** md5 signature: c5b0bafd47da29606481588a971270ce ****/ + /**** md5 signature: e853f3a0de69f6e7f92ebd8ac1362e0c ****/ %feature("compactdefaultargs") Closed; %feature("autodoc", "No available documentation. Parameters ---------- -clos: bool +flag: bool Returns ------- None ") Closed; - void Closed(const Standard_Boolean clos); + void Closed(const Standard_Boolean flag); /****************** Closed ******************/ - /**** md5 signature: 6964da666f9b5a80bedb32cfb1fdc0ba ****/ + /**** md5 signature: f94551c898fe323903f1d14861bbe901 ****/ %feature("compactdefaultargs") Closed; %feature("autodoc", "No available documentation. @@ -11376,7 +11376,7 @@ bool Standard_Boolean Closed(); /****************** DeflectionOverEstimation ******************/ - /**** md5 signature: 0e10e8a0297f14d67919e7ee30d4f816 ****/ + /**** md5 signature: b4c80a54735f171bb52e56c083257109 ****/ %feature("compactdefaultargs") DeflectionOverEstimation; %feature("autodoc", "No available documentation. @@ -11398,22 +11398,22 @@ None void Dump(); /****************** EndOfSeg ******************/ - /**** md5 signature: 926c5cd8e4c3aff42af21c0c8b794c75 ****/ + /**** md5 signature: fa65a7dd84749b3192eff93d48f5b1d6 ****/ %feature("compactdefaultargs") EndOfSeg; %feature("autodoc", "Give the point of range index in the polygon. Parameters ---------- -Index: int +theIndex: int Returns ------- gp_Pnt ") EndOfSeg; - const gp_Pnt EndOfSeg(const Standard_Integer Index); + const gp_Pnt EndOfSeg(const Standard_Integer theIndex); /****************** InfParameter ******************/ - /**** md5 signature: 8559659cfaf88d25c04ace5dcdcbde32 ****/ + /**** md5 signature: f596238a0398d517210e4fad0d4b84b2 ****/ %feature("compactdefaultargs") InfParameter; %feature("autodoc", "Returns the parameter (on the curve) of the first point of the polygon. @@ -11424,7 +11424,7 @@ float Standard_Real InfParameter(); /****************** NbSegments ******************/ - /**** md5 signature: 6791e2039921b3bb6b2ff0f8e741d76b ****/ + /**** md5 signature: 9f8199ef0d5690074e4037e7feba62da ****/ %feature("compactdefaultargs") NbSegments; %feature("autodoc", "Give the number of segments in the polyline. @@ -11435,7 +11435,7 @@ int Standard_Integer NbSegments(); /****************** SetDeflectionOverEstimation ******************/ - /**** md5 signature: 310446258d4443a660c9cfe280519b05 ****/ + /**** md5 signature: 872cf63726ece2c3b812a597bb60fe29 ****/ %feature("compactdefaultargs") SetDeflectionOverEstimation; %feature("autodoc", "No available documentation. @@ -11450,7 +11450,7 @@ None void SetDeflectionOverEstimation(const Standard_Real x); /****************** SupParameter ******************/ - /**** md5 signature: 67f72e7357fa61911c23a764d72614ea ****/ + /**** md5 signature: 688f110f02a5711ae550904ec8e3220d ****/ %feature("compactdefaultargs") SupParameter; %feature("autodoc", "Returns the parameter (on the curve) of the last point of the polygon. @@ -11693,7 +11693,7 @@ bool /****************** NbTriangles ******************/ /**** md5 signature: 8aae3d76f3218cae09710e3ea2158686 ****/ %feature("compactdefaultargs") NbTriangles; - %feature("autodoc", "Give the number of triangles in this polyedral surface. + %feature("autodoc", "Give the number of triangles in this polyhedral surface. Parameters ---------- @@ -11708,7 +11708,7 @@ int /****************** Point ******************/ /**** md5 signature: 5674891cbaca4c7ce90a78a09fc4c54a ****/ %feature("compactdefaultargs") Point; - %feature("autodoc", "Give the point of index i in the polyedral surface. + %feature("autodoc", "Give the point of index i in the polyhedral surface. Parameters ---------- @@ -11724,7 +11724,7 @@ gp_Pnt /****************** TriConnex ******************/ /**** md5 signature: d041417e60bce37dbe8565dbf06d95a0 ****/ %feature("compactdefaultargs") TriConnex; - %feature("autodoc", "Give the addresse tricon of the triangle connexe to the triangle of address triang by the edge pivot pedge and the third point of this connexe triangle. when we are on a free edge tricon==0 but the function return the value of the triangle in the other side of pivot on the free edge. used to turn around a vertex. + %feature("autodoc", "Give the address tricon of the triangle connexe to the triangle of address triang by the edge pivot pedge and the third point of this connexe triangle. when we are on a free edge tricon==0 but the function return the value of the triangle in the other side of pivot on the free edge. used to turn around a vertex. Parameters ---------- @@ -11775,7 +11775,7 @@ class HLRBRep_TheProjPCurOfCInter { /****************** FindParameter ******************/ /**** md5 signature: ece1816b3f28762e1d44b5aa074a236b ****/ %feature("compactdefaultargs") FindParameter; - %feature("autodoc", "Returns the parameter v of the point on the parametric curve corresponding to the point pnt. the correspondance between pnt and the point p(v) on the parametric curve must be coherent with the way of determination of the signed distance between a point and the implicit curve. tol is the tolerance on the distance between a point and the parametrised curve. in that case, no bounds are given. the research of the rigth parameter has to be made on the natural parametric domain of the curve. + %feature("autodoc", "Returns the parameter v of the point on the parametric curve corresponding to the point pnt. the correspondence between pnt and the point p(v) on the parametric curve must be coherent with the way of determination of the signed distance between a point and the implicit curve. tol is the tolerance on the distance between a point and the parametrised curve. in that case, no bounds are given. the research of the right parameter has to be made on the natural parametric domain of the curve. Parameters ---------- @@ -11792,7 +11792,7 @@ float /****************** FindParameter ******************/ /**** md5 signature: 7a692a1a974abdb0d81ce6c269a9e2dc ****/ %feature("compactdefaultargs") FindParameter; - %feature("autodoc", "Returns the parameter v of the point on the parametric curve corresponding to the point pnt. the correspondance between pnt and the point p(v) on the parametric curve must be coherent with the way of determination of the signed distance between a point and the implicit curve. tol is the tolerance on the distance between a point and the parametrised curve. lowparameter and highparameter give the boundaries of the interval in wich the parameter certainly lies. these parameters are given to implement a more efficient algoritm. so, it is not necessary to check that the returned value verifies lowparameter <= value <= highparameter. + %feature("autodoc", "Returns the parameter v of the point on the parametric curve corresponding to the point pnt. the correspondence between pnt and the point p(v) on the parametric curve must be coherent with the way of determination of the signed distance between a point and the implicit curve. tol is the tolerance on the distance between a point and the parametrised curve. lowparameter and highparameter give the boundaries of the interval in which the parameter certainly lies. these parameters are given to implement a more efficient algorithm. so, it is not necessary to check that the returned value verifies lowparameter <= value <= highparameter. Parameters ---------- @@ -12033,7 +12033,7 @@ HLRAlgo_Intersection /****************** IsBoundary ******************/ /**** md5 signature: 9d78e8db3d0caa05aa9a267c764c472e ****/ %feature("compactdefaultargs") IsBoundary; - %feature("autodoc", "Returns true if the current vertex is is on the boundary of the edge. + %feature("autodoc", "Returns true if the current vertex is on the boundary of the edge. Returns ------- diff --git a/src/SWIG_files/wrapper/HLRBRep.pyi b/src/SWIG_files/wrapper/HLRBRep.pyi index 892099501..e76f67239 100644 --- a/src/SWIG_files/wrapper/HLRBRep.pyi +++ b/src/SWIG_files/wrapper/HLRBRep.pyi @@ -1142,9 +1142,9 @@ class HLRBRep_SurfaceTool: @staticmethod def BSpline(S: None) -> Geom_BSplineSurface: ... @staticmethod - def BasisCurve(S: None) -> Adaptor3d_HCurve: ... + def BasisCurve(S: None) -> Adaptor3d_Curve: ... @staticmethod - def BasisSurface(S: None) -> Adaptor3d_HSurface: ... + def BasisSurface(S: None) -> Adaptor3d_Surface: ... @staticmethod def Bezier(S: None) -> Geom_BezierSurface: ... @staticmethod @@ -1212,7 +1212,7 @@ class HLRBRep_SurfaceTool: @staticmethod def UResolution(S: None, R3d: float) -> float: ... @staticmethod - def UTrim(S: None, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... + def UTrim(S: None, First: float, Last: float, Tol: float) -> Adaptor3d_Surface: ... @staticmethod def VIntervals(S: None, T: TColStd_Array1OfReal, Sh: GeomAbs_Shape) -> None: ... @staticmethod @@ -1220,7 +1220,7 @@ class HLRBRep_SurfaceTool: @staticmethod def VResolution(S: None, R3d: float) -> float: ... @staticmethod - def VTrim(S: None, First: float, Last: float, Tol: float) -> Adaptor3d_HSurface: ... + def VTrim(S: None, First: float, Last: float, Tol: float) -> Adaptor3d_Surface: ... @staticmethod def Value(S: None, u: float, v: float) -> gp_Pnt: ... @@ -1372,15 +1372,15 @@ class HLRBRep_ThePolygonOfInterCSurf: @overload def __init__(self, Curve: gp_Lin, Upars: TColStd_Array1OfReal) -> None: ... def ApproxParamOnCurve(self, Index: int, ParamOnLine: float) -> float: ... - def BeginOfSeg(self, Index: int) -> gp_Pnt: ... + def BeginOfSeg(self, theIndex: int) -> gp_Pnt: ... def Bounding(self) -> Bnd_Box: ... @overload - def Closed(self, clos: bool) -> None: ... + def Closed(self, flag: bool) -> None: ... @overload def Closed(self) -> bool: ... def DeflectionOverEstimation(self) -> float: ... def Dump(self) -> None: ... - def EndOfSeg(self, Index: int) -> gp_Pnt: ... + def EndOfSeg(self, theIndex: int) -> gp_Pnt: ... def InfParameter(self) -> float: ... def NbSegments(self) -> int: ... def SetDeflectionOverEstimation(self, x: float) -> None: ... diff --git a/src/SWIG_files/wrapper/HLRTopoBRep.i b/src/SWIG_files/wrapper/HLRTopoBRep.i index 50dc14116..dc2b701e2 100644 --- a/src/SWIG_files/wrapper/HLRTopoBRep.i +++ b/src/SWIG_files/wrapper/HLRTopoBRep.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define HLRTOPOBREPDOCSTRING "HLRTopoBRep module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_hlrtopobrep.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_hlrtopobrep.html" %enddef %module (package="OCC.Core", docstring=HLRTOPOBREPDOCSTRING) HLRTopoBRep @@ -37,6 +37,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_hlrtopobrep.html" %{ +#include +#include #include //Dependencies @@ -83,7 +85,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/Hatch.i b/src/SWIG_files/wrapper/Hatch.i index bf0b5f4e3..23598f45d 100644 --- a/src/SWIG_files/wrapper/Hatch.i +++ b/src/SWIG_files/wrapper/Hatch.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define HATCHDOCSTRING "Hatch module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_hatch.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_hatch.html" %enddef %module (package="OCC.Core", docstring=HATCHDOCSTRING) Hatch @@ -66,7 +66,7 @@ enum Hatch_LineForm { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Hatch_LineForm(IntEnum): diff --git a/src/SWIG_files/wrapper/HatchGen.i b/src/SWIG_files/wrapper/HatchGen.i index 40f0df5e1..54351b557 100644 --- a/src/SWIG_files/wrapper/HatchGen.i +++ b/src/SWIG_files/wrapper/HatchGen.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define HATCHGENDOCSTRING "HatchGen module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_hatchgen.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_hatchgen.html" %enddef %module (package="OCC.Core", docstring=HATCHGENDOCSTRING) HatchGen @@ -77,7 +77,7 @@ enum HatchGen_IntersectionType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class HatchGen_ErrorStatus(IntEnum): diff --git a/src/SWIG_files/wrapper/Hermit.i b/src/SWIG_files/wrapper/Hermit.i index a5385b589..ac332a0ef 100644 --- a/src/SWIG_files/wrapper/Hermit.i +++ b/src/SWIG_files/wrapper/Hermit.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define HERMITDOCSTRING "Hermit module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_hermit.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_hermit.html" %enddef %module (package="OCC.Core", docstring=HERMITDOCSTRING) Hermit @@ -64,7 +64,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/IFSelect.i b/src/SWIG_files/wrapper/IFSelect.i index 32799a227..44031a14d 100644 --- a/src/SWIG_files/wrapper/IFSelect.i +++ b/src/SWIG_files/wrapper/IFSelect.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define IFSELECTDOCSTRING "IFSelect module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ifselect.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_ifselect.html" %enddef %module (package="OCC.Core", docstring=IFSELECTDOCSTRING) IFSelect @@ -109,7 +109,7 @@ enum IFSelect_PrintCount { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class IFSelect_PrintFail(IntEnum): @@ -684,7 +684,7 @@ class IFSelect_ContextModif { /****************** IFSelect_ContextModif ******************/ /**** md5 signature: 13049cffb770bc46a5649297d27f5014 ****/ %feature("compactdefaultargs") IFSelect_ContextModif; - %feature("autodoc", "Prepares a contextmodif with these informations : - the graph established from original model (target passed directly to modifier) - the copytool which detains the copycontrol, which maps starting (in original) and result (in target) entities - an optional file name (for file output) //! such a contextmodif is considered to be applied on all transferred entities (no filter active). + %feature("autodoc", "Prepares a contextmodif with these information : - the graph established from original model (target passed directly to modifier) - the copytool which detains the copycontrol, which maps starting (in original) and result (in target) entities - an optional file name (for file output) //! such a contextmodif is considered to be applied on all transferred entities (no filter active). Parameters ---------- @@ -702,7 +702,7 @@ None /****************** IFSelect_ContextModif ******************/ /**** md5 signature: 39ea63f3302feedaeb379f8e82d5518e ****/ %feature("compactdefaultargs") IFSelect_ContextModif; - %feature("autodoc", "Prepares a contextmodif with these informations : - the graph established from original model (target passed directly to modifier) - an optional file name (for file output) here, no copycontrol, hence all entities are considered equal as starting and result //! such a contextmodif is considered to be applied on all transferred entities (no filter active). + %feature("autodoc", "Prepares a contextmodif with these information : - the graph established from original model (target passed directly to modifier) - an optional file name (for file output) here, no copycontrol, hence all entities are considered equal as starting and result //! such a contextmodif is considered to be applied on all transferred entities (no filter active). Parameters ---------- @@ -1026,7 +1026,7 @@ None /****************** Trace ******************/ /**** md5 signature: e5fb36d2d871e060e7060b444733fa32 ****/ %feature("compactdefaultargs") Trace; - %feature("autodoc", "Traces the modification of the current entity (see above, valueoriginal and valueresult) for default trace level >= 2. to be called on each indivudual entity really modified is an optionnal additional message. + %feature("autodoc", "Traces the modification of the current entity (see above, valueoriginal and valueresult) for default trace level >= 2. to be called on each individual entity really modified is an optional additional message. Parameters ---------- @@ -1097,7 +1097,7 @@ class IFSelect_ContextWrite { /****************** IFSelect_ContextWrite ******************/ /**** md5 signature: c0439c4f98b565fd22612328b32eb20a ****/ %feature("compactdefaultargs") IFSelect_ContextWrite; - %feature("autodoc", "Prepares a contextwrite with these informations : - the model which is to be written - the protocol to be used - the filename - an object appliedmodifiers to work. it gives a list of filemodifiers to be ran, and for each one it can give a restricted list of entities (in the model), else all the model is considered. + %feature("autodoc", "Prepares a contextwrite with these information : - the model which is to be written - the protocol to be used - the filename - an object appliedmodifiers to work. it gives a list of filemodifiers to be ran, and for each one it can give a restricted list of entities (in the model), else all the model is considered. Parameters ---------- @@ -2590,7 +2590,7 @@ opencascade::handle /****************** GiveEntity ******************/ /**** md5 signature: 4e7f30f23e68802f268399dd529bc222 ****/ %feature("compactdefaultargs") GiveEntity; - %feature("autodoc", "Takes the name of an entity, either as argument, or (if is empty) on keybord, and returns the entity name can be a label or a number (in alphanumeric), it is searched by numberfromlabel from worksession. if doesn't match en entity, a null handle is returned. + %feature("autodoc", "Takes the name of an entity, either as argument, or (if is empty) on keyboard, and returns the entity name can be a label or a number (in alphanumeric), it is searched by numberfromlabel from worksession. if doesn't match en entity, a null handle is returned. Parameters ---------- @@ -2695,7 +2695,7 @@ opencascade::handle /****************** HasSelection ******************/ /**** md5 signature: 7bc279c0acb8f59af3371db26a8c8085 ****/ %feature("compactdefaultargs") HasSelection; - %feature("autodoc", "Returns true if a selection is set as an additionnal criterium. + %feature("autodoc", "Returns true if a selection is set as an additional criterium. Returns ------- @@ -3021,7 +3021,7 @@ None /****************** LoadValues ******************/ /**** md5 signature: 93fe3ab1628622df819d7bba384b59b8 ****/ %feature("compactdefaultargs") LoadValues; - %feature("autodoc", "Loads the original values for the list remark : if its length is mor then maxlength, editions remain allowed, except add. + %feature("autodoc", "Loads the original values for the list. remark : if its length is more then maxlength, editions remain allowed, except add. Parameters ---------- @@ -3740,7 +3740,7 @@ Interface_EntityIterator /****************** UniqueResult ******************/ /**** md5 signature: 47799306ea54dbaad3327e2c3649dc1d ****/ %feature("compactdefaultargs") UniqueResult; - %feature("autodoc", "Returns the list of selected entities, each of them beeing unique. default definition works from rootresult. according hasuniqueresult, uniqueresult returns directly rootresult, or build a unique result from it with a graph. + %feature("autodoc", "Returns the list of selected entities, each of them being unique. default definition works from rootresult. according hasuniqueresult, uniqueresult returns directly rootresult, or build a unique result from it with a graph. Parameters ---------- @@ -3864,7 +3864,7 @@ None /****************** Value ******************/ /**** md5 signature: 8930db425d3b9ef0a6b0dfd236407cae ****/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the current selction beeing iterated error if count of selection has been passed. + %feature("autodoc", "Returns the current selection being iterated error if count of selection has been passed. Returns ------- @@ -4046,7 +4046,7 @@ None /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if the last read or write operation has been corectly performed. else returns false. + %feature("autodoc", "Returns true if the last read or write operation has been correctly performed. else returns false. Returns ------- @@ -4128,7 +4128,7 @@ int /****************** NbParams ******************/ /**** md5 signature: 826f4756fca7f780e6d976c60183d715 ****/ %feature("compactdefaultargs") NbParams; - %feature("autodoc", "During a read operation, sessionfile processes sequencially the items to read. for each one, it gives access to the list of its parameters : they were defined by calls to sendvoid/sendparam/sendtext during writing the file. nbparams returns the count of parameters for the line currently read. + %feature("autodoc", "During a read operation, sessionfile processes sequentially the items to read. for each one, it gives access to the list of its parameters : they were defined by calls to sendvoid/sendparam/sendtext during writing the file. nbparams returns the count of parameters for the line currently read. Returns ------- @@ -4139,7 +4139,7 @@ int /****************** NewItem ******************/ /**** md5 signature: 1f79b682e2c5b8350d58ac36b6d7fc26 ****/ %feature("compactdefaultargs") NewItem; - %feature("autodoc", "At beginning of writing an item, writes its basics : - either its name in the session if it has one - or its relative number of item in the file, else (preceeded by a '_') - then, its dynamic type (in the sense of cdl : pk_class) this basic description can be followed by the parameters which are used in the definition of the item. + %feature("autodoc", "At beginning of writing an item, writes its basics : - either its name in the session if it has one - or its relative number of item in the file, else (preceded by a '_') - then, its dynamic type (in the sense of cdl : pk_class) this basic description can be followed by the parameters which are used in the definition of the item. Parameters ---------- @@ -4274,7 +4274,7 @@ None /****************** SendItem ******************/ /**** md5 signature: 3286f6ab6fb08433ca37366f2824d397 ****/ %feature("compactdefaultargs") SendItem; - %feature("autodoc", "During a write action, commands to send the identification of a parameter : if it is null (undefined) it is send as void ($) if it is named in the worksession, its name is sent preceeded by ':', else a relative ident number is sent preceeded by '#' (relative to the present write, i.e. starting at one, without skip, and counted part from named items). + %feature("autodoc", "During a write action, commands to send the identification of a parameter : if it is null (undefined) it is send as void ($) if it is named in the worksession, its name is sent preceded by ':', else a relative ident number is sent preceded by '#' (relative to the present write, i.e. starting at one, without skip, and counted part from named items). Parameters ---------- @@ -4330,7 +4330,7 @@ None /****************** SetOwn ******************/ /**** md5 signature: aa9ead28af880aa173e8912d97e05dd2 ****/ %feature("compactdefaultargs") SetOwn; - %feature("autodoc", "Sets parameters to be sent as own if is true (their name or number or void mark or text value is preceeded by a column sign ':') else they are sent normally hence, the own parameter are clearly identified in the file. + %feature("autodoc", "Sets parameters to be sent as own if is true (their name or number or void mark or text value is preceded by a column sign ':') else they are sent normally hence, the own parameter are clearly identified in the file. Parameters ---------- @@ -4578,7 +4578,7 @@ bool /****************** Clear ******************/ /**** md5 signature: f95144dbbc6bd7b9cb03042bd63d7c5a ****/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Removes in one operation all the dispatches with their idents also clears all informations about names, and all results but naming informations which are : - kept if is true. - cleared if is false (complete clearing) if is true, that's all. else, clears also modifiers. + %feature("autodoc", "Removes in one operation all the dispatches with their idents also clears all information about names, and all results but naming information which are : - kept if is true. - cleared if is false (complete clearing) if is true, that's all. else, clears also modifiers. Parameters ---------- @@ -4593,7 +4593,7 @@ None /****************** ClearResult ******************/ /**** md5 signature: a5958cba0ec4c360c5bb289f047fd501 ****/ %feature("compactdefaultargs") ClearResult; - %feature("autodoc", "Clears all data produced (apart from dispatches, etc...) if is true, all is cleared. else, informations about produced names are kept (to maintain unicity of naming across clearings). + %feature("autodoc", "Clears all data produced (apart from dispatches, etc...) if is true, all is cleared. else, information about produced names are kept (to maintain unicity of naming across clearings). Parameters ---------- @@ -4649,7 +4649,7 @@ int /****************** Extension ******************/ /**** md5 signature: d8451984f53a06cfa1d5728072a48bf8 ****/ %feature("compactdefaultargs") Extension; - %feature("autodoc", "Returns the general extension. can be empty (not recommanded). + %feature("autodoc", "Returns the general extension. can be empty (not recommended). Returns ------- @@ -4893,7 +4893,7 @@ None /****************** SetLastRun ******************/ /**** md5 signature: b63ec78f2b01f512d5db876ecd824b91 ****/ %feature("compactdefaultargs") SetLastRun; - %feature("autodoc", "Records a new alue for the rank of last run item. + %feature("autodoc", "Records a new value for the rank of last run item. Parameters ---------- @@ -5140,7 +5140,7 @@ Interface_EntityIterator /****************** Packets ******************/ /**** md5 signature: b4205107e1be9e46587677293b78084b ****/ %feature("compactdefaultargs") Packets; - %feature("autodoc", "Returns the list of recorded packets, under two modes : - = false, the strict definition of packets, i.e. for each one, the root entities, to be explicitely sent - = true (default), the completely evaluated list, i.e. which really gives the destination of each entity : this mode allows to evaluate duplications remark that to send packets, iteration remains preferable (file names are managed). + %feature("autodoc", "Returns the list of recorded packets, under two modes : - = false, the strict definition of packets, i.e. for each one, the root entities, to be explicitly sent - = true (default), the completely evaluated list, i.e. which really gives the destination of each entity : this mode allows to evaluate duplications remark that to send packets, iteration remains preferable (file names are managed). Parameters ---------- @@ -5621,7 +5621,7 @@ TCollection_AsciiString /****************** Perform ******************/ /**** md5 signature: 3943f0bcb223a865698c1e1a57574b3f ****/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs a transformation (defined by each sub-class) : gives the input data (especially the starting model) and can be used for queries (by selections, etc...) allows to work with general services as necessary (it applies to input data) if the change corresponds to a conversion to a new protocol, see also the method changeprotocol stores produced checks messages if any gives the result of the transformation : - if it is null (i.e. has not been affected), the transformation has been made on the spot, it is assumed to cause no change to the graph of dependances - if it equates the starting model, it has been transformed on the spot (possibiliy some entities were replaced inside it) - if it is new, it corresponds to a new data set which replaces the starting one //! is mutable to allow results for changeprotocol to be memorized if needed, and to store informations useful for the method updated //! returns true if done, false if an error occured : in this case, if a new data set has been produced, the transformation is ignored, else data may be corrupted. + %feature("autodoc", "Performs a transformation (defined by each sub-class) : gives the input data (especially the starting model) and can be used for queries (by selections, etc...) allows to work with general services as necessary (it applies to input data) if the change corresponds to a conversion to a new protocol, see also the method changeprotocol stores produced checks messages if any gives the result of the transformation : - if it is null (i.e. has not been affected), the transformation has been made on the spot, it is assumed to cause no change to the graph of dependances - if it equates the starting model, it has been transformed on the spot (possibiliy some entities were replaced inside it) - if it is new, it corresponds to a new data set which replaces the starting one //! is mutable to allow results for changeprotocol to be memorized if needed, and to store information useful for the method updated //! returns true if done, false if an error occurred: in this case, if a new data set has been produced, the transformation is ignored, else data may be corrupted. Parameters ---------- @@ -5787,7 +5787,7 @@ None /****************** WriteFile ******************/ /**** md5 signature: 4a5c937c1624a07b50e0018985e1414c ****/ %feature("compactdefaultargs") WriteFile; - %feature("autodoc", "Gives the way to write a file from a model. contains all necessary informations : the model, the protocol, the file name, and the list of file modifiers to be applied, also with restricted list of selected entities for each one, if required. in return, it brings the produced check-list //! the worklibrary has to query to get then run the contextwrite by looping like this (example) : for (numap = 1; numap <= ctx.nbmodifiers(); numap ++) { ctx.setmodifier (numap); cast ctx.filemodifier() to specific type -> variable filemod if (!filemod.isnull()) filemod->perform (ctx,writer); filemod then works with ctx. it can, either act on the model itself (for instance on its header), or iterate on selected entities (start/next/more/value) it can call addfail or addwarning, as necessary }. + %feature("autodoc", "Gives the way to write a file from a model. contains all necessary information : the model, the protocol, the file name, and the list of file modifiers to be applied, also with restricted list of selected entities for each one, if required. in return, it brings the produced check-list //! the worklibrary has to query to get then run the contextwrite by looping like this (example) : for (numap = 1; numap <= ctx.nbmodifiers(); numap ++) { ctx.setmodifier (numap); cast ctx.filemodifier() to specific type -> variable filemod if (!filemod.isnull()) filemod->perform (ctx,writer); filemod then works with ctx. it can, either act on the model itself (for instance on its header), or iterate on selected entities (start/next/more/value) it can call addfail or addwarning, as necessary }. Parameters ---------- @@ -5969,7 +5969,7 @@ None /****************** ClearFile ******************/ /**** md5 signature: 00d692695064cbec934992520500d75e ****/ %feature("compactdefaultargs") ClearFile; - %feature("autodoc", "Erases all stored data from the file evaluation (i.e. all former naming informations are lost). + %feature("autodoc", "Erases all stored data from the file evaluation (i.e. all former naming information are lost). Returns ------- @@ -6017,7 +6017,7 @@ None /****************** CombineAdd ******************/ /**** md5 signature: 7a13fbb39ab9c92b766fed37dde1f3bb ****/ %feature("compactdefaultargs") CombineAdd; - %feature("autodoc", "Adds an input selection to a selectcombine (union or inters.). returns new count of inputs for this selectcombine if done or 0 if is not kind of selectcombine, or if or is not in the worksession by default, adding is done at the end of the list else, it is an insertion to rank (usefull for un-redo). + %feature("autodoc", "Adds an input selection to a selectcombine (union or inters.). returns new count of inputs for this selectcombine if done or 0 if is not kind of selectcombine, or if or is not in the worksession by default, adding is done at the end of the list else, it is an insertion to rank (useful for un-redo). Parameters ---------- @@ -6051,7 +6051,7 @@ bool /****************** ComputeCheck ******************/ /**** md5 signature: fc8877ffd690e8f5f4c80d1a6500349b ****/ %feature("compactdefaultargs") ComputeCheck; - %feature("autodoc", "Computes the checklist for the model currently loaded it can then be used for displays, querries ... returns true if ok, false else (i.e. no protocol set, or model absent). if is false, works only if not already done or if a new model has been loaded from last call. remark : computation is enforced by every call to setmodel or runtransformer. + %feature("autodoc", "Computes the checklist for the model currently loaded it can then be used for displays, queries ... returns true if ok, false else (i.e. no protocol set, or model absent). if is false, works only if not already done or if a new model has been loaded from last call. remark : computation is enforced by every call to setmodel or runtransformer. Parameters ---------- @@ -6464,7 +6464,7 @@ opencascade::handle /****************** GiveList ******************/ /**** md5 signature: 97668f9eec00d5b9865925cdfdd4bca2 ****/ %feature("compactdefaultargs") GiveList; - %feature("autodoc", "Computes a list of entities from two alphanums, first and second, as follows : if is a number or label of an entity : this entity if is a list of numbers/labels : the list of entities if is the name of a selection in , and not defined, the standard result of this selection else, let's consider 'first second' : this whole phrase is splitted by blanks, as follows (recursive call) : - the leftest term is the final selection - the other terms define the result of the selection - and so on (the 'leftest minus one' is a selection, of which the input is given by the remaining ...). + %feature("autodoc", "Computes a list of entities from two alphanums, first and second, as follows : if is a number or label of an entity : this entity if is a list of numbers/labels : the list of entities if is the name of a selection in , and not defined, the standard result of this selection else, let's consider 'first second' : this whole phrase is split by blanks, as follows (recursive call) : - the leftest term is the final selection - the other terms define the result of the selection - and so on (the 'leftest minus one' is a selection, of which the input is given by the remaining ...). Parameters ---------- @@ -6498,7 +6498,7 @@ opencascade::handle /****************** GiveListFromList ******************/ /**** md5 signature: 45cdbed754a81f3930fc7962c5907e61 ****/ %feature("compactdefaultargs") GiveListFromList; - %feature("autodoc", "Computes a list of entities from the model as follows beeing a selection or a combination of selections, beeing an entity or a list of entities (as a hsequenceoftransient) : the standard result of this selection applied to this list if is null, the standard definition of the selection is used (which contains a default input selection) if is erroneous, a null handle is returned //! remark : selname is processed as of preceeding givelist. + %feature("autodoc", "Computes a list of entities from the model as follows being a selection or a combination of selections, being an entity or a list of entities (as a hsequenceoftransient) : the standard result of this selection applied to this list if is null, the standard definition of the selection is used (which contains a default input selection) if is erroneous, a null handle is returned //! remark : selname is processed as of preceding givelist. Parameters ---------- @@ -6866,7 +6866,7 @@ opencascade::handle /****************** ModifierRank ******************/ /**** md5 signature: 1e05c613e9e851b9336b134d58bfe203 ****/ %feature("compactdefaultargs") ModifierRank; - %feature("autodoc", "Returns the rank of a modifier given its ident. model or file modifier according its type (modelmodifier or not) remember that modifiers are applied sequencially following their rank : first model modifiers then file modifiers rank is given by rank of call to additem and can be changed by changemodifierrank. + %feature("autodoc", "Returns the rank of a modifier given its ident. model or file modifier according its type (modelmodifier or not) remember that modifiers are applied sequentially following their rank : first model modifiers then file modifiers rank is given by rank of call to additem and can be changed by changemodifierrank. Parameters ---------- @@ -6926,7 +6926,7 @@ opencascade::handle /****************** NamedItem ******************/ /**** md5 signature: bfe651ccce454616f8543444833ecfc7 ****/ %feature("compactdefaultargs") NamedItem; - %feature("autodoc", "Same as above, but is given through a handle especially usefull with methods selectionnames, etc... + %feature("autodoc", "Same as above, but is given through a handle especially useful with methods selectionnames, etc... Parameters ---------- @@ -7306,7 +7306,7 @@ int /****************** RunTransformer ******************/ /**** md5 signature: ce58899d242786dd3edb621a934671f1 ****/ %feature("compactdefaultargs") RunTransformer; - %feature("autodoc", "Runs a transformer on starting model, which can then be edited or replaced by a new one. the protocol can also be changed. fills lastrunchecklist //! returned status is 0 if nothing done ( or model undefined), positive if ok, negative else : 0 : nothing done 1 : ok, edition on the spot with no change to the graph of dependances (purely local) 2 : ok, model edited on the spot (graph recomputed, may have changed), protocol unchanged 3 : ok, new model produced, same protocol 4 : ok, model edited on the spot (graph recomputed), but protocol has changed 5 : ok, new model produced, protocol has changed -1 : error on the spot (slight changes), data may be corrupted (remark : corruption should not be profound) -2 : error on edition the spot, data may be corrupted (checking them is recommanded) -3 : error with a new data set, transformation ignored -4 : ok as 4, but graph of dependances count not be recomputed (the former one is kept) : check the protocol. + %feature("autodoc", "Runs a transformer on starting model, which can then be edited or replaced by a new one. the protocol can also be changed. fills lastrunchecklist //! returned status is 0 if nothing done ( or model undefined), positive if ok, negative else : 0 : nothing done 1 : ok, edition on the spot with no change to the graph of dependances (purely local) 2 : ok, model edited on the spot (graph recomputed, may have changed), protocol unchanged 3 : ok, new model produced, same protocol 4 : ok, model edited on the spot (graph recomputed), but protocol has changed 5 : ok, new model produced, protocol has changed -1 : error on the spot (slight changes), data may be corrupted (remark : corruption should not be profound) -2 : error on edition the spot, data may be corrupted (checking them is recommended) -3 : error with a new data set, transformation ignored -4 : ok as 4, but graph of dependances count not be recomputed (the former one is kept) : check the protocol. Parameters ---------- @@ -7367,7 +7367,7 @@ opencascade::handle /****************** SendAll ******************/ /**** md5 signature: c2b1e4ce07d1cfced6ef3f58127820b9 ****/ %feature("compactdefaultargs") SendAll; - %feature("autodoc", "Sends the starting model into one file, without splitting, managing remaining data or anything else. true commands the graph to be recomputed before sending : required when a model is filled in several steps //! the model and file modifiers recorded to be applied on sending files are. returns a status of execution : done if ok, void if no data available, error if errors occured (work library is not defined), errors during translation fail if exception during translation is raised stop if no disk space or disk, file is write protected fills lastrunchecklist. + %feature("autodoc", "Sends the starting model into one file, without splitting, managing remaining data or anything else. true commands the graph to be recomputed before sending : required when a model is filled in several steps //! the model and file modifiers recorded to be applied on sending files are. returns a status of execution : done if ok, void if no data available, error if errors occurred (work library is not defined), errors during translation fail if exception during translation is raised stop if no disk space or disk, file is write protected fills lastrunchecklist. Parameters ---------- @@ -7402,7 +7402,7 @@ IFSelect_ReturnStatus /****************** SendSplit ******************/ /**** md5 signature: 6321d8c6881589ddbe6233be55e93e86 ****/ %feature("compactdefaultargs") SendSplit; - %feature("autodoc", "Performs creation of derived files from the input model takes its data (sub-models and names), from result evaluatefile if active, else by dynamic evaluation (not stored) after sendsplit, result of evaluatefile is cleared fills lastrunchecklist //! works with the worklibrary which acts on specific type of model and can work with file modifiers (managed by the model copier) and a modelcopier, which can work with model modifiers returns false if, either worklibrary has failed on at least one sub-file, or the work session is badly conditionned (no model defined, or filenaming not in phase with shareout). + %feature("autodoc", "Performs creation of derived files from the input model takes its data (sub-models and names), from result evaluatefile if active, else by dynamic evaluation (not stored) after sendsplit, result of evaluatefile is cleared fills lastrunchecklist //! works with the worklibrary which acts on specific type of model and can work with file modifiers (managed by the model copier) and a modelcopier, which can work with model modifiers returns false if, either worklibrary has failed on at least one sub-file, or the work session is badly conditioned (no model defined, or filenaming not in phase with shareout). Returns ------- @@ -7644,7 +7644,7 @@ None /****************** SetModeStat ******************/ /**** md5 signature: c142785e8c8c940a8a328422512002b1 ****/ %feature("compactdefaultargs") SetModeStat; - %feature("autodoc", "Set value of mode responsible for precence of selections after loading if mode set to true that different selections will be accessible after loading else selections will be not accessible after loading( for economy memory in applicatios). + %feature("autodoc", "Set value of mode responsible for presence of selections after loading if mode set to true that different selections will be accessible after loading else selections will be not accessible after loading( for economy memory in applications). Parameters ---------- @@ -8886,7 +8886,7 @@ class IFSelect_Modifier : public IFSelect_GeneralModifier { /****************** Perform ******************/ /**** md5 signature: af66e2b5fd47b40d3287588f1c2eaabd ****/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "This deferred method defines the action specific to each class of modifier. it is called by a modelcopier, once the model generated and filled. modelcopier has already checked the criteria (dispatch, model rank, selection) before calling it. //! detains informations about original data and selection. the result of copying, on which modifications are to be done, is . allows to run additional copies as required //! in case of error, use methods ccheck from the contextmodif to aknowledge an entity check or a global check with messages. + %feature("autodoc", "This deferred method defines the action specific to each class of modifier. it is called by a modelcopier, once the model generated and filled. modelcopier has already checked the criteria (dispatch, model rank, selection) before calling it. //! detains information about original data and selection. the result of copying, on which modifications are to be done, is . allows to run additional copies as required //! in case of error, use methods ccheck from the contextmodif to aknowledge an entity check or a global check with messages. Parameters ---------- @@ -8956,7 +8956,7 @@ None /****************** AddValue ******************/ /**** md5 signature: ac3627cf81d5bc516ddff45ba712da52 ****/ %feature("compactdefaultargs") AddValue; - %feature("autodoc", "Adds a typedvalue by default, its short name equates its complete name, it can be explicited. + %feature("autodoc", "Adds a typedvalue by default, its short name equates its complete name, it can be made explicit. Parameters ---------- @@ -9466,7 +9466,7 @@ char * /****************** Clear ******************/ /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears the recorded informations (commands, objects). + %feature("autodoc", "Clears the recorded information (commands, objects). Returns ------- @@ -9870,7 +9870,7 @@ class IFSelect_SignCounter : public IFSelect_SignatureList { /****************** IFSelect_SignCounter ******************/ /**** md5 signature: ef8188163ad05dffc670c2aa920e76f5 ****/ %feature("compactdefaultargs") IFSelect_SignCounter; - %feature("autodoc", "Creates a signcounter, without proper signature if is true (default), added entities are counted only if they are not yet recorded in the map map control can be set off if the input garantees uniqueness of data is transmitted to signaturelist (option to list entities, not only to count them). + %feature("autodoc", "Creates a signcounter, without proper signature if is true (default), added entities are counted only if they are not yet recorded in the map map control can be set off if the input guarantees uniqueness of data is transmitted to signaturelist (option to list entities, not only to count them). Parameters ---------- @@ -10087,7 +10087,7 @@ None /****************** SetSelection ******************/ /**** md5 signature: c33ace088a61e8e42ceb139b2bb56198 ****/ %feature("compactdefaultargs") SetSelection; - %feature("autodoc", "Sets a selection as input : this causes content to be cleared then the selection to be ready to compute (but not immediatly). + %feature("autodoc", "Sets a selection as input : this causes content to be cleared then the selection to be ready to compute (but not immediately). Parameters ---------- @@ -10364,7 +10364,7 @@ bool /****************** ApplyModifiers ******************/ /**** md5 signature: a5207e41a6732f7b81a83eaf77bf9108 ****/ %feature("compactdefaultargs") ApplyModifiers; - %feature("autodoc", "Applies the modifiers sequencially. for each one, prepares required data (if a selection is associated as a filter). for the option onthespot, it determines if the graph may be changed and updates if required if a modifier causes an error (check 'hasfailed'), applymodifier stops : the following modifiers are ignored. + %feature("autodoc", "Applies the modifiers sequentially. for each one, prepares required data (if a selection is associated as a filter). for the option onthespot, it determines if the graph may be changed and updates if required if a modifier causes an error (check 'hasfailed'), applymodifier stops : the following modifiers are ignored. Parameters ---------- @@ -10882,7 +10882,7 @@ None /****************** Label ******************/ /**** md5 signature: e2fbf0e262882b3e9ec00c539ad3471b ****/ %feature("compactdefaultargs") Label; - %feature("autodoc", "Returns a text defining the criterium : 'componants of list ' then specific list label, then, following cases : ' from .. until ..' or 'from ..' or 'until ..' or 'rank no ..' specific type is given by deferred method listlabel. + %feature("autodoc", "Returns a text defining the criterium : 'components of list ' then specific list label, then, following cases : ' from .. until ..' or 'from ..' or 'until ..' or 'rank no ..' specific type is given by deferred method listlabel. Returns ------- @@ -12173,7 +12173,7 @@ class IFSelect_SelectAnyType : public IFSelect_SelectExtract { /****************** Sort ******************/ /**** md5 signature: 88b4690c932193f08237f487d1cf387b ****/ %feature("compactdefaultargs") Sort; - %feature("autodoc", "Returns true for an entity (model->value(num)) which is kind of the choosen type, given by the method typeformatch. criterium is iskind. + %feature("autodoc", "Returns true for an entity (model->value(num)) which is kind of the chosen type, given by the method typeformatch. criterium is iskind. Parameters ---------- @@ -12535,7 +12535,7 @@ None /****************** Sort ******************/ /**** md5 signature: 88b4690c932193f08237f487d1cf387b ****/ %feature("compactdefaultargs") Sort; - %feature("autodoc", "Returns true for an entity of which occurence number in the iteration is inside the selected range (considers ). + %feature("autodoc", "Returns true for an entity of which occurrence number in the iteration is inside the selected range (considers ). Parameters ---------- @@ -12601,7 +12601,7 @@ None /****************** ExtractLabel ******************/ /**** md5 signature: 04da44ccc1aaa5db6b559360d74d3853 ****/ %feature("compactdefaultargs") ExtractLabel; - %feature("autodoc", "Returns a text defining the criterium : 'local root componants'. + %feature("autodoc", "Returns a text defining the criterium : 'local root components'. Returns ------- @@ -12612,7 +12612,7 @@ TCollection_AsciiString /****************** RootResult ******************/ /**** md5 signature: 06f84f6b90b9fc5b3d5fc4b15404fb86 ****/ %feature("compactdefaultargs") RootResult; - %feature("autodoc", "Returns the list of local root strong componants, by one entity par componant. it is redefined for a purpose of effeciency : calling a sort routine for each entity would cost more ressource than to work in once using a map rootresult takes in account the direct status. + %feature("autodoc", "Returns the list of local root strong components, by one entity per component. it is redefined for a purpose of efficiency : calling a sort routine for each entity would cost more resources than to work in once using a map rootresult takes in account the direct status. Parameters ---------- @@ -12682,7 +12682,7 @@ TCollection_AsciiString /****************** RootResult ******************/ /**** md5 signature: 06f84f6b90b9fc5b3d5fc4b15404fb86 ****/ %feature("compactdefaultargs") RootResult; - %feature("autodoc", "Returns the list of local roots. it is redefined for a purpose of effeciency : calling a sort routine for each entity would cost more ressource than to work in once using a map rootresult takes in account the direct status. + %feature("autodoc", "Returns the list of local roots. it is redefined for a purpose of efficiency: calling a sort routine for each entity would cost more resources than to work in once using a map rootresult takes in account the direct status. Parameters ---------- diff --git a/src/SWIG_files/wrapper/IGESCAFControl.i b/src/SWIG_files/wrapper/IGESCAFControl.i index 854937209..950d02bed 100644 --- a/src/SWIG_files/wrapper/IGESCAFControl.i +++ b/src/SWIG_files/wrapper/IGESCAFControl.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define IGESCAFCONTROLDOCSTRING "IGESCAFControl module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_igescafcontrol.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_igescafcontrol.html" %enddef %module (package="OCC.Core", docstring=IGESCAFCONTROLDOCSTRING) IGESCAFControl @@ -91,7 +91,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/IGESControl.i b/src/SWIG_files/wrapper/IGESControl.i index ecae26cad..4f2a51f0f 100644 --- a/src/SWIG_files/wrapper/IGESControl.i +++ b/src/SWIG_files/wrapper/IGESControl.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define IGESCONTROLDOCSTRING "IGESControl module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_igescontrol.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_igescontrol.html" %enddef %module (package="OCC.Core", docstring=IGESCONTROLDOCSTRING) IGESControl @@ -84,7 +84,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -303,7 +303,7 @@ class IGESControl_IGESBoundary : public IGESToBRep_IGESBoundary { /****************** IGESControl_IGESBoundary ******************/ /**** md5 signature: 6a8249df5e09395b3cfefb271474b8a2 ****/ %feature("compactdefaultargs") IGESControl_IGESBoundary; - %feature("autodoc", "Creates an object and calls inherited constuctor. + %feature("autodoc", "Creates an object and calls inherited constructor. Returns ------- @@ -314,7 +314,7 @@ None /****************** IGESControl_IGESBoundary ******************/ /**** md5 signature: 855ac0be51cd07090af44a3efc88b8fa ****/ %feature("compactdefaultargs") IGESControl_IGESBoundary; - %feature("autodoc", "Creates an object and calls inherited constuctor. + %feature("autodoc", "Creates an object and calls inherited constructor. Parameters ---------- diff --git a/src/SWIG_files/wrapper/IGESData.i b/src/SWIG_files/wrapper/IGESData.i index da22960bb..b8a9e356e 100644 --- a/src/SWIG_files/wrapper/IGESData.i +++ b/src/SWIG_files/wrapper/IGESData.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define IGESDATADOCSTRING "IGESData module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_igesdata.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_igesdata.html" %enddef %module (package="OCC.Core", docstring=IGESDATADOCSTRING) IGESData @@ -102,7 +102,7 @@ enum IGESData_DefType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class IGESData_ReadStage(IntEnum): @@ -1018,7 +1018,7 @@ None /****************** Init ******************/ /**** md5 signature: 18118032f60e0e9839e44d4d6cfb5e08 ****/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Fills dirpart with consistant data read from file. + %feature("autodoc", "Fills dirpart with consistent data read from file. Parameters ---------- @@ -1473,7 +1473,7 @@ None /****************** Add ******************/ /**** md5 signature: 693db3fdb3fbb08ef1ebc7b22a97916a ****/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds a module bound with a protocol to the list : does nothing if already in the list, that is, same type (exact match) and same state (that is, isequal is not required) once added, stores its attached protocol in correspondance. + %feature("autodoc", "Adds a module bound with a protocol to the list : does nothing if already in the list, that is, same type (exact match) and same state (that is, isequal is not required) once added, stores its attached protocol in correspondence. Parameters ---------- @@ -1549,7 +1549,7 @@ None /****************** Add ******************/ /**** md5 signature: e3394d10b010b643c32b976b7056d700 ****/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds a module bound with a protocol to the list : does nothing if already in the list, that is, same type (exact match) and same state (that is, isequal is not required) once added, stores its attached protocol in correspondance. + %feature("autodoc", "Adds a module bound with a protocol to the list: does nothing if already in the list, that is, same type (exact match) and same state (that is, isequal is not required). once added, stores its attached protocol in correspondence. Parameters ---------- @@ -1644,6 +1644,17 @@ opencascade::handle ") AuthorName; opencascade::handle AuthorName(); + /****************** CascadeUnit ******************/ + /**** md5 signature: 0a04d480977f0e8fef0df000d9bf1748 ****/ + %feature("compactdefaultargs") CascadeUnit; + %feature("autodoc", "Returns the system length unit. + +Returns +------- +float +") CascadeUnit; + Standard_Real CascadeUnit(); + /****************** CompanyName ******************/ /**** md5 signature: 0ddc26b82ac89e543b514f876f02f512 ****/ %feature("compactdefaultargs") CompanyName; @@ -1658,7 +1669,7 @@ opencascade::handle /****************** CopyRefs ******************/ /**** md5 signature: 5d079cafa039a9db79df1b570ffb5a05 ****/ %feature("compactdefaultargs") CopyRefs; - %feature("autodoc", "Copies data referenced by handle (that is, strings) usefull to 'isolate' a globalsection after copy by '=' (from a model to another model for instance). + %feature("autodoc", "Copies data referenced by handle (that is, strings) useful to 'isolate' a globalsection after copy by '=' (from a model to another model for instance). Returns ------- @@ -2046,6 +2057,21 @@ None ") SetAuthorName; void SetAuthorName(const opencascade::handle & val); + /****************** SetCascadeUnit ******************/ + /**** md5 signature: 9681d8ff7bf315f004a2dba0dc32aacc ****/ + %feature("compactdefaultargs") SetCascadeUnit; + %feature("autodoc", "No available documentation. + +Parameters +---------- +theUnit: float + +Returns +------- +None +") SetCascadeUnit; + void SetCascadeUnit(const Standard_Real theUnit); + /****************** SetCompanyName ******************/ /**** md5 signature: 5dc4f10cc8e8c06b69f5aa1316e288f8 ****/ %feature("compactdefaultargs") SetCompanyName; @@ -2432,7 +2458,7 @@ opencascade::handle /****************** TranslatedFromHollerith ******************/ /**** md5 signature: da665df528b6e6e78a48f28441714df9 ****/ %feature("compactdefaultargs") TranslatedFromHollerith; - %feature("autodoc", "Returns a string withpout its hollerith marks (nnnh ahead). remark : all strings stored in globalsection are expurged from hollerith informations (without nnnh) if is not hollerith form, it is simply copied. + %feature("autodoc", "Returns a string withpout its hollerith marks (nnnh ahead). remark : all strings stored in globalsection are expurged from hollerith information (without nnnh) if is not hollerith form, it is simply copied. Parameters ---------- @@ -2494,7 +2520,7 @@ class IGESData_IGESDumper { /****************** IGESData_IGESDumper ******************/ /**** md5 signature: 4b47b03aa29239a6a9260ae416b48e6c ****/ %feature("compactdefaultargs") IGESData_IGESDumper; - %feature("autodoc", "Returns an igesdumper ready to work. the igesmodel provides the numbering of entities : as for any interfacemodel, it gives each entity a number; but for igesentities, the 'number of directory entry' according to the definition of iges files, is also usefull. + %feature("autodoc", "Returns an igesdumper ready to work. the igesmodel provides the numbering of entities: as for any interfacemodel, it gives each entity a number; but for igesentities, the 'number of directory entry' according to the definition of iges files, is also useful. Parameters ---------- @@ -3396,6 +3422,17 @@ bool ") ApplyStatic; Standard_Boolean ApplyStatic(const char * param = ""); + /****************** ChangeGlobalSection ******************/ + /**** md5 signature: 040968795059a2599255a0b8e187d384 ****/ + %feature("compactdefaultargs") ChangeGlobalSection; + %feature("autodoc", "Returns the global section of the iges file. + +Returns +------- +IGESData_GlobalSection +") ChangeGlobalSection; + IGESData_GlobalSection & ChangeGlobalSection(); + /****************** ClearHeader ******************/ /**** md5 signature: e0fe665687ba246130521f416ab14715 ****/ %feature("compactdefaultargs") ClearHeader; @@ -3475,7 +3512,7 @@ None void GetFromAnother(const opencascade::handle & other); /****************** GlobalSection ******************/ - /**** md5 signature: 9251755b31e2dbc4bc4c014b68758586 ****/ + /**** md5 signature: 2d5bb9cb8fa84f49edbd79893e642aa1 ****/ %feature("compactdefaultargs") GlobalSection; %feature("autodoc", "Returns the global section of the iges file. @@ -3995,7 +4032,7 @@ None /****************** ReadDir ******************/ /**** md5 signature: bf7e78cb043b431597579fee160e3250 ****/ %feature("compactdefaultargs") ReadDir; - %feature("autodoc", "Reads directory part componants from file; dp is the litteral directory part, ir detains entities referenced by dp. + %feature("autodoc", "Reads directory part components from file; dp is the literal directory part, ir detains entities referenced by dp. Parameters ---------- @@ -4131,7 +4168,7 @@ bool /****************** Nullify ******************/ /**** md5 signature: 1915d5159e87738b7b9af9d5accf4c6e ****/ %feature("compactdefaultargs") Nullify; - %feature("autodoc", "Resets fields (usefull when an igestype is stored as mask). + %feature("autodoc", "Resets fields (useful when an igestype is stored as mask). Returns ------- @@ -4237,7 +4274,7 @@ None /****************** DirPart ******************/ /**** md5 signature: a58406ae76e01f3bbf334f828411f5eb ****/ %feature("compactdefaultargs") DirPart; - %feature("autodoc", "Translates directory part of an entity into a litteral dirpart some infos are computed after sending parameters error if not in sections dp or stage not 'dir'. + %feature("autodoc", "Translates directory part of an entity into a literal dirpart some infos are computed after sending parameters error if not in sections dp or stage not 'dir'. Parameters ---------- @@ -4405,7 +4442,7 @@ None /****************** SendStartLine ******************/ /**** md5 signature: a0b8d0b392e66a48753ee0b5a05b64b1 ****/ %feature("compactdefaultargs") SendStartLine; - %feature("autodoc", "Sends an additionnal starting line : this is the way used to send comments in an iges file (at beginning of the file). if the line is more than 72 char.s long, it is splited into as many lines as required to send it completely. + %feature("autodoc", "Sends an additional starting line : this is the way used to send comments in an iges file (at beginning of the file). if the line is more than 72 char.s long, it is splited into as many lines as required to send it completely. Parameters ---------- @@ -4746,7 +4783,7 @@ None /****************** SetTerm ******************/ /**** md5 signature: 5451e0f8db70fd6b34e9cabd793d48a1 ****/ %feature("compactdefaultargs") SetTerm; - %feature("autodoc", "Defines the size of a term to read in the item : this commands paramreader to read 'size' parameters for each item, then skip the remainder of the item to the same term of next item (that is, skip 'item size' - 'term size') //! in addition, offset from beginning of item is managed : after being created, and for the frist call to setterm, the part of item to be read begins exactly as the item begins but after a setterm, the next read will add an offset which is the size of former term. //! autoadv commands advance management. if it is true (default), the last setterm (item size has been covered) calls setadvance if it is false, setadvance must be called directly if necessary //! error if a setterm overpasses the size of the item. + %feature("autodoc", "Defines the size of a term to read in the item : this commands paramreader to read 'size' parameters for each item, then skip the remainder of the item to the same term of next item (that is, skip 'item size' - 'term size') //! in addition, offset from beginning of item is managed : after being created, and for the first call to setterm, the part of item to be read begins exactly as the item begins but after a setterm, the next read will add an offset which is the size of former term. //! autoadv commands advance management. if it is true (default), the last setterm (item size has been covered) calls setadvance if it is false, setadvance must be called directly if necessary //! error if a setterm overpasses the size of the item. Parameters ---------- @@ -4980,7 +5017,7 @@ IGESData_ParamCursor /****************** CurrentNumber ******************/ /**** md5 signature: cad50b6737e024bb37d77c60a68e5874 ****/ %feature("compactdefaultargs") CurrentNumber; - %feature("autodoc", "Returns the current parameter number this notion is involved by the organisation of an iges list of parameter : it can be ended by two lists (associativities and properties), which can be empty, or even absent. hence, it is necessary to know, at the end of specific reading, how many parameters have been read : the optionnal lists follow. + %feature("autodoc", "Returns the current parameter number this notion is involved by the organisation of an iges list of parameter : it can be ended by two lists (associativities and properties), which can be empty, or even absent. hence, it is necessary to know, at the end of specific reading, how many parameters have been read : the optional lists follow. Returns ------- @@ -5160,7 +5197,7 @@ Interface_ParamType /****************** ParamValue ******************/ /**** md5 signature: 5d590bd3843093ee8ddc8ca8dac44112 ****/ %feature("compactdefaultargs") ParamValue; - %feature("autodoc", "Returns litteral value of a parameter, as it was in file. + %feature("autodoc", "Returns literal value of a parameter, as it was in file. Parameters ---------- @@ -5231,7 +5268,7 @@ bool /****************** ReadEntList ******************/ /**** md5 signature: 0d9be3239233313112722bdff358270b ****/ %feature("compactdefaultargs") ReadEntList; - %feature("autodoc", "Reads a list of entities defined by pc same conditions as for readents, for pc the list is given as an entitylist (index has no meaning; the entitylist starts from clear) if 'ord' is given true (default), entities will be added to the list in their original order remark : negative or null pointers are ignored else ('ord' false), order is not garanteed (faster mode) if all params cannot be read as entities, same as above warning give 'ord' to false only if order is not significant. + %feature("autodoc", "Reads a list of entities defined by pc same conditions as for readents, for pc the list is given as an entitylist (index has no meaning; the entitylist starts from clear) if 'ord' is given true (default), entities will be added to the list in their original order remark : negative or null pointers are ignored else ('ord' false), order is not guaranteed (faster mode) if all params cannot be read as entities, same as above warning give 'ord' to false only if order is not significant. Parameters ---------- @@ -6157,7 +6194,7 @@ bool /****************** ConvertLocation ******************/ /**** md5 signature: d88a9351c35f05028c597b1f49d4a449 ****/ %feature("compactdefaultargs") ConvertLocation; - %feature("autodoc", "Convertion of a location, from gtrsf form to trsf form works with a precision given as argument. returns true if the conversion is possible, (hence, contains the converted location), false else , if given, indicates the unit in which is defined in meters. it concerns the translation part (to be converted. //! as a class method, it can be called separately. + %feature("autodoc", "Conversion of a location, from gtrsf form to trsf form works with a precision given as argument. returns true if the conversion is possible, (hence, contains the converted location), false else , if given, indicates the unit in which is defined in meters. it concerns the translation part (to be converted. //! as a class method, it can be called separately. Parameters ---------- @@ -6337,7 +6374,7 @@ gp_GTrsf /****************** ResetDependences ******************/ /**** md5 signature: 774125d1ea13a5a21a07551198018ad4 ****/ %feature("compactdefaultargs") ResetDependences; - %feature("autodoc", "Resets all informations about dependences for . + %feature("autodoc", "Resets all information about dependences for . Parameters ---------- @@ -7362,7 +7399,7 @@ None /****************** ClearNegativePointers ******************/ /**** md5 signature: dd3ad83abfc38f29bcf0cbb8425c8532 ****/ %feature("compactdefaultargs") ClearNegativePointers; - %feature("autodoc", "Clears all informations about negative pointers, hence every entity kind parameter will be send normally, as positive. + %feature("autodoc", "Clears all information about negative pointers, hence every entity kind parameter will be sent normally, as positive. Returns ------- @@ -7473,7 +7510,7 @@ Interface_ParamType /****************** ParamValue ******************/ /**** md5 signature: 27f0f605c60e921cd93c878a3119e98b ****/ %feature("compactdefaultargs") ParamValue; - %feature("autodoc", "Returns litteral value of a parameter, given its rank error if num is out of range, or if parameter is not literal. + %feature("autodoc", "Returns literal value of a parameter, given its rank error if num is out of range, or if parameter is not literal. Parameters ---------- diff --git a/src/SWIG_files/wrapper/IGESData.pyi b/src/SWIG_files/wrapper/IGESData.pyi index f08169693..66b93292a 100644 --- a/src/SWIG_files/wrapper/IGESData.pyi +++ b/src/SWIG_files/wrapper/IGESData.pyi @@ -233,6 +233,7 @@ class IGESData_GlobalSection: def __init__(self) -> None: ... def ApplicationProtocol(self) -> TCollection_HAsciiString: ... def AuthorName(self) -> TCollection_HAsciiString: ... + def CascadeUnit(self) -> float: ... def CompanyName(self) -> TCollection_HAsciiString: ... def CopyRefs(self) -> None: ... def Date(self) -> TCollection_HAsciiString: ... @@ -270,6 +271,7 @@ class IGESData_GlobalSection: def Separator(self) -> str: ... def SetApplicationProtocol(self, val: TCollection_HAsciiString) -> None: ... def SetAuthorName(self, val: TCollection_HAsciiString) -> None: ... + def SetCascadeUnit(self, theUnit: float) -> None: ... def SetCompanyName(self, val: TCollection_HAsciiString) -> None: ... def SetDate(self, val: TCollection_HAsciiString) -> None: ... def SetDraftingStandard(self, val: int) -> None: ... @@ -377,6 +379,7 @@ class IGESData_IGESModel(Interface_InterfaceModel): def __init__(self) -> None: ... def AddStartLine(self, line: str, atnum: Optional[int] = 0) -> None: ... def ApplyStatic(self, param: Optional[str] = "") -> bool: ... + def ChangeGlobalSection(self) -> IGESData_GlobalSection: ... def ClearHeader(self) -> None: ... def ClearLabels(self) -> None: ... def ClearStartSection(self) -> None: ... diff --git a/src/SWIG_files/wrapper/IGESToBRep.i b/src/SWIG_files/wrapper/IGESToBRep.i index edd73251e..c2e011cc9 100644 --- a/src/SWIG_files/wrapper/IGESToBRep.i +++ b/src/SWIG_files/wrapper/IGESToBRep.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define IGESTOBREPDOCSTRING "IGESToBRep module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_igestobrep.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_igestobrep.html" %enddef %module (package="OCC.Core", docstring=IGESTOBREPDOCSTRING) IGESToBRep @@ -81,7 +81,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -146,7 +146,7 @@ None /****************** IsBRepEntity ******************/ /**** md5 signature: 8c2bfa7b35a4b91f6ff083af713cb642 ****/ %feature("compactdefaultargs") IsBRepEntity; - %feature("autodoc", "Return true if the igesentity can be transfered by transferbrepentity. ex: vertexlist, edgelist, loop, face, shell, manifold solid brep object from igessolid : 502, 504, 508, 510, 514, 186. + %feature("autodoc", "Return true if the igesentity can be transferred by transferbrepentity. ex: vertexlist, edgelist, loop, face, shell, manifold solid brep object from igessolid : 502, 504, 508, 510, 514, 186. Parameters ---------- @@ -161,7 +161,7 @@ bool /****************** IsBasicCurve ******************/ /**** md5 signature: 42ec9ba034e2ab3c6c5dfcfcccd225d2 ****/ %feature("compactdefaultargs") IsBasicCurve; - %feature("autodoc", "Return true if the igesentity can be transfered by transferbasiccurve. ex: circulararc, conicarc, line, copiousdata, bsplinecurve, splinecurve... from igesgeom : 104,110,112,126. + %feature("autodoc", "Return true if the igesentity can be transferred by transferbasiccurve. ex: circulararc, conicarc, line, copiousdata, bsplinecurve, splinecurve... from igesgeom : 104,110,112,126. Parameters ---------- @@ -176,7 +176,7 @@ bool /****************** IsBasicSurface ******************/ /**** md5 signature: d0dc8dd41529b6d3fef6c4adced6727d ****/ %feature("compactdefaultargs") IsBasicSurface; - %feature("autodoc", "Return true if the igesentity can be transfered by transferbasicsurface. ex: bsplinesurface, splinesurface... from igesgeom : 114,128. + %feature("autodoc", "Return true if the igesentity can be transferred by transferbasicsurface. ex: bsplinesurface, splinesurface... from igesgeom : 114,128. Parameters ---------- @@ -191,7 +191,7 @@ bool /****************** IsCurveAndSurface ******************/ /**** md5 signature: b96b33689780417661991af3b76ddee1 ****/ %feature("compactdefaultargs") IsCurveAndSurface; - %feature("autodoc", "Return true if the igesentity can be transfered by transfercurveandsurface. ex: all igesentity from igesgeom. + %feature("autodoc", "Return true if the igesentity can be transferred by transfercurveandsurface. ex: all igesentity from igesgeom. Parameters ---------- @@ -206,7 +206,7 @@ bool /****************** IsTopoCurve ******************/ /**** md5 signature: 8beaa6c0e1d32256ba611244ed46c96d ****/ %feature("compactdefaultargs") IsTopoCurve; - %feature("autodoc", "Return true if the igesentity can be transfered by transfertopocurve. ex: all curves from igesgeom : all basic curves,102,130,142,144. + %feature("autodoc", "Return true if the igesentity can be transferred by transfertopocurve. ex: all curves from igesgeom : all basic curves,102,130,142,144. Parameters ---------- @@ -221,7 +221,7 @@ bool /****************** IsTopoSurface ******************/ /**** md5 signature: 6eadf76f141e5e89c1e625ef86dd94cb ****/ %feature("compactdefaultargs") IsTopoSurface; - %feature("autodoc", "Return true if the igesentity can be transfered by transfertoposurface. ex: all surfaces from igesgeom : all basic surfaces,108,118,120,122,141,143. + %feature("autodoc", "Return true if the igesentity can be transferred by transfertoposurface. ex: all surfaces from igesgeom : all basic surfaces,108,118,120,122,141,143. Parameters ---------- @@ -1166,7 +1166,7 @@ opencascade::handle /****************** WireData2d ******************/ /**** md5 signature: f13b6c48a5d56ce535e5140fc6c3c4ac ****/ %feature("compactdefaultargs") WireData2d; - %feature("autodoc", "Returns the the wire from 2d curves (edges contain pcurves only). + %feature("autodoc", "Returns the wire from 2d curves (edges contain pcurves only). Returns ------- @@ -1973,7 +1973,7 @@ None /****************** TransferBSplineSurface ******************/ /**** md5 signature: 6f986be59ffad8d912ca9bc145330b80 ****/ %feature("compactdefaultargs") TransferBSplineSurface; - %feature("autodoc", "Returns bsplinesurface from geom if the transfer has succeded. + %feature("autodoc", "Returns bsplinesurface from geom if the transfer has succeeded. Parameters ---------- @@ -1988,7 +1988,7 @@ opencascade::handle /****************** TransferBasicSurface ******************/ /**** md5 signature: d474fcac88568463bac1af7b1b00f5ad ****/ %feature("compactdefaultargs") TransferBasicSurface; - %feature("autodoc", "Returns surface from geom if the last transfer has succeded. + %feature("autodoc", "Returns surface from geom if the last transfer has succeeded. Parameters ---------- @@ -2003,7 +2003,7 @@ opencascade::handle /****************** TransferPlaneSurface ******************/ /**** md5 signature: 2dc0fec5d663ef8184fbdedc63835c00 ****/ %feature("compactdefaultargs") TransferPlaneSurface; - %feature("autodoc", "Returns plane from geom if the transfer has succeded. + %feature("autodoc", "Returns plane from geom if the transfer has succeeded. Parameters ---------- @@ -2018,7 +2018,7 @@ opencascade::handle /****************** TransferRigthConicalSurface ******************/ /**** md5 signature: ffa494667ebcfc55698bbc74c2df3e62 ****/ %feature("compactdefaultargs") TransferRigthConicalSurface; - %feature("autodoc", "Returns conicalsurface from geom if the transfer has succeded. + %feature("autodoc", "Returns conicalsurface from geom if the transfer has succeeded. Parameters ---------- @@ -2033,7 +2033,7 @@ opencascade::handle /****************** TransferRigthCylindricalSurface ******************/ /**** md5 signature: 647a61ea89b6e94f7e0ea1b0e3397b1a ****/ %feature("compactdefaultargs") TransferRigthCylindricalSurface; - %feature("autodoc", "Returns cylindricalsurface from geom if the transfer has succeded. + %feature("autodoc", "Returns cylindricalsurface from geom if the transfer has succeeded. Parameters ---------- @@ -2048,7 +2048,7 @@ opencascade::handle /****************** TransferSphericalSurface ******************/ /**** md5 signature: e27706f05b86cf919954067355d7e37a ****/ %feature("compactdefaultargs") TransferSphericalSurface; - %feature("autodoc", "Returns sphericalsurface from geom if the transfer has succeded. + %feature("autodoc", "Returns sphericalsurface from geom if the transfer has succeeded. Parameters ---------- @@ -2063,7 +2063,7 @@ opencascade::handle /****************** TransferSplineSurface ******************/ /**** md5 signature: 7c60488b9fd6d9d70c76c5657fbec318 ****/ %feature("compactdefaultargs") TransferSplineSurface; - %feature("autodoc", "Returns bsplinesurface from geom if the transfer has succeded. + %feature("autodoc", "Returns bsplinesurface from geom if the transfer has succeeded. Parameters ---------- @@ -2078,7 +2078,7 @@ opencascade::handle /****************** TransferToroidalSurface ******************/ /**** md5 signature: 790209401c0642f4b97f0279a92e4514 ****/ %feature("compactdefaultargs") TransferToroidalSurface; - %feature("autodoc", "Returns sphericalsurface from geom if the transfer has succeded. + %feature("autodoc", "Returns sphericalsurface from geom if the transfer has succeeded. Parameters ---------- diff --git a/src/SWIG_files/wrapper/IMeshData.i b/src/SWIG_files/wrapper/IMeshData.i index b639b8c84..33eed72d6 100644 --- a/src/SWIG_files/wrapper/IMeshData.i +++ b/src/SWIG_files/wrapper/IMeshData.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define IMESHDATADOCSTRING "IMeshData module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_imeshdata.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_imeshdata.html" %enddef %module (package="OCC.Core", docstring=IMESHDATADOCSTRING) IMeshData @@ -86,7 +86,7 @@ enum IMeshData_Status { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class IMeshData_Status(IntEnum): @@ -751,7 +751,7 @@ class IMeshData_Edge : public IMeshData_TessellatedShape, public IMeshData_Statu /****************** AddPCurve ******************/ /**** md5 signature: 758b136331ab322e1c5c1f2790107535 ****/ %feature("compactdefaultargs") AddPCurve; - %feature("autodoc", "Adds discrete pcurve for the specifed discrete face. + %feature("autodoc", "Adds discrete pcurve for the specified discrete face. Parameters ---------- @@ -1019,15 +1019,15 @@ TopoDS_Face const TopoDS_Face GetFace(); /****************** GetSurface ******************/ - /**** md5 signature: c1511498460aa0f7fc4d090a4c735561 ****/ + /**** md5 signature: 6aa03522ab6b1d17fd10abc283bef0d7 ****/ %feature("compactdefaultargs") GetSurface; %feature("autodoc", "Returns face's surface. Returns ------- -opencascade::handle +opencascade::handle ") GetSurface; - const opencascade::handle & GetSurface(); + const opencascade::handle & GetSurface(); /****************** GetWire ******************/ /**** md5 signature: 8966cf070b277a5ac868ac689054052e ****/ diff --git a/src/SWIG_files/wrapper/IMeshData.pyi b/src/SWIG_files/wrapper/IMeshData.pyi index f73a26b16..cb54059f4 100644 --- a/src/SWIG_files/wrapper/IMeshData.pyi +++ b/src/SWIG_files/wrapper/IMeshData.pyi @@ -98,7 +98,7 @@ class IMeshData_Edge(IMeshData_TessellatedShape, IMeshData_StatusOwner): class IMeshData_Face(IMeshData_TessellatedShape, IMeshData_StatusOwner): def AddWire(self, theWire: TopoDS_Wire, theEdgeNb: Optional[int] = 0) -> False: ... def GetFace(self) -> TopoDS_Face: ... - def GetSurface(self) -> BRepAdaptor_HSurface: ... + def GetSurface(self) -> BRepAdaptor_Surface: ... def GetWire(self, theIndex: int) -> False: ... def IsValid(self) -> bool: ... def WiresNb(self) -> int: ... diff --git a/src/SWIG_files/wrapper/IMeshTools.i b/src/SWIG_files/wrapper/IMeshTools.i index 268b5bbfc..16be08ce9 100644 --- a/src/SWIG_files/wrapper/IMeshTools.i +++ b/src/SWIG_files/wrapper/IMeshTools.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define IMESHTOOLSDOCSTRING "IMeshTools module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_imeshtools.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_imeshtools.html" %enddef %module (package="OCC.Core", docstring=IMESHTOOLSDOCSTRING) IMeshTools @@ -81,7 +81,7 @@ enum IMeshTools_MeshAlgoType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class IMeshTools_MeshAlgoType(IntEnum): @@ -129,7 +129,7 @@ None /****************** BuildModel ******************/ /**** md5 signature: af00dd5e5c53c0adab36af636bffd87b ****/ %feature("compactdefaultargs") BuildModel; - %feature("autodoc", "Builds model using assined model builder. returns true on success, false elsewhere. + %feature("autodoc", "Builds model using assigned model builder. returns true on success, false elsewhere. Returns ------- @@ -519,7 +519,7 @@ None /****************** Perform ******************/ /**** md5 signature: 3be29591efb89b639a8e87056a3f4905 ****/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs meshing ot the shape using current context. + %feature("autodoc", "Performs meshing to the shape using current context. Parameters ---------- diff --git a/src/SWIG_files/wrapper/IVtk.i b/src/SWIG_files/wrapper/IVtk.i index fc510bce4..df706e2c9 100644 --- a/src/SWIG_files/wrapper/IVtk.i +++ b/src/SWIG_files/wrapper/IVtk.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define IVTKDOCSTRING "IVtk module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ivtk.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_ivtk.html" %enddef %module (package="OCC.Core", docstring=IVTKDOCSTRING) IVtk @@ -58,7 +58,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/IVtkOCC.i b/src/SWIG_files/wrapper/IVtkOCC.i index a2cbe549d..85d8c56c6 100644 --- a/src/SWIG_files/wrapper/IVtkOCC.i +++ b/src/SWIG_files/wrapper/IVtkOCC.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define IVTKOCCDOCSTRING "IVtkOCC module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ivtkocc.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_ivtkocc.html" %enddef %module (package="OCC.Core", docstring=IVTKOCCDOCSTRING) IVtkOCC @@ -58,7 +58,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/IVtkTools.i b/src/SWIG_files/wrapper/IVtkTools.i index ad2253c1d..111d3a3b5 100644 --- a/src/SWIG_files/wrapper/IVtkTools.i +++ b/src/SWIG_files/wrapper/IVtkTools.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define IVTKTOOLSDOCSTRING "IVtkTools module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ivtktools.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_ivtktools.html" %enddef %module (package="OCC.Core", docstring=IVTKTOOLSDOCSTRING) IVtkTools @@ -58,7 +58,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/IVtkVTK.i b/src/SWIG_files/wrapper/IVtkVTK.i index 71ef43562..8a79d9ec5 100644 --- a/src/SWIG_files/wrapper/IVtkVTK.i +++ b/src/SWIG_files/wrapper/IVtkVTK.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define IVTKVTKDOCSTRING "IVtkVTK module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ivtkvtk.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_ivtkvtk.html" %enddef %module (package="OCC.Core", docstring=IVTKVTKDOCSTRING) IVtkVTK @@ -58,7 +58,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/Image.i b/src/SWIG_files/wrapper/Image.i index 6ff4426a9..f44db0276 100644 --- a/src/SWIG_files/wrapper/Image.i +++ b/src/SWIG_files/wrapper/Image.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define IMAGEDOCSTRING "Image module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_image.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_image.html" %enddef %module (package="OCC.Core", docstring=IMAGEDOCSTRING) Image @@ -85,15 +85,17 @@ enum Image_Format { Image_Format_BGRF = 13, Image_Format_RGBAF = 14, Image_Format_BGRAF = 15, + Image_Format_RGF_half = 16, + Image_Format_RGBAF_half = 17, }; enum { - Image_Format_NB = Image_Format_BGRAF + 1, + Image_Format_NB = Image_Format_RGBAF_half + 1, }; /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Image_CompressedFormat(IntEnum): @@ -125,6 +127,8 @@ class Image_Format(IntEnum): Image_Format_BGRF = 13 Image_Format_RGBAF = 14 Image_Format_BGRAF = 15 + Image_Format_RGF_half = 16 + Image_Format_RGBAF_half = 17 Image_Format_UNKNOWN = Image_Format.Image_Format_UNKNOWN Image_Format_Gray = Image_Format.Image_Format_Gray Image_Format_Alpha = Image_Format.Image_Format_Alpha @@ -141,6 +145,8 @@ Image_Format_RGBF = Image_Format.Image_Format_RGBF Image_Format_BGRF = Image_Format.Image_Format_BGRF Image_Format_RGBAF = Image_Format.Image_Format_RGBAF Image_Format_BGRAF = Image_Format.Image_Format_BGRAF +Image_Format_RGF_half = Image_Format.Image_Format_RGF_half +Image_Format_RGBAF_half = Image_Format.Image_Format_RGBAF_half }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/Image.pyi b/src/SWIG_files/wrapper/Image.pyi index 85a22568a..c57db28ba 100644 --- a/src/SWIG_files/wrapper/Image.pyi +++ b/src/SWIG_files/wrapper/Image.pyi @@ -36,6 +36,8 @@ class Image_Format(IntEnum): Image_Format_BGRF: int = ... Image_Format_RGBAF: int = ... Image_Format_BGRAF: int = ... + Image_Format_RGF_half: int = ... + Image_Format_RGBAF_half: int = ... Image_Format_UNKNOWN = Image_Format.Image_Format_UNKNOWN Image_Format_Gray = Image_Format.Image_Format_Gray @@ -53,6 +55,8 @@ Image_Format_RGBF = Image_Format.Image_Format_RGBF Image_Format_BGRF = Image_Format.Image_Format_BGRF Image_Format_RGBAF = Image_Format.Image_Format_RGBAF Image_Format_BGRAF = Image_Format.Image_Format_BGRAF +Image_Format_RGF_half = Image_Format.Image_Format_RGF_half +Image_Format_RGBAF_half = Image_Format.Image_Format_RGBAF_half #classnotwrapped diff --git a/src/SWIG_files/wrapper/IntAna.i b/src/SWIG_files/wrapper/IntAna.i index cda8c8959..490cdae72 100644 --- a/src/SWIG_files/wrapper/IntAna.i +++ b/src/SWIG_files/wrapper/IntAna.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define INTANADOCSTRING "IntAna module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_intana.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_intana.html" %enddef %module (package="OCC.Core", docstring=INTANADOCSTRING) IntAna @@ -75,7 +75,7 @@ enum IntAna_ResultType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class IntAna_ResultType(IntEnum): @@ -1175,7 +1175,7 @@ theOpposite: bool /****************** Parameters ******************/ /**** md5 signature: 1a69ef9c9de63fa7c201d4948035bbbc ****/ %feature("compactdefaultargs") Parameters; - %feature("autodoc", "Returns the paramaters on the 'explicit quadric' (i.e the cylinder or the cone, the first argument given to the constructor) of the point of range n. + %feature("autodoc", "Returns the parameters on the 'explicit quadric' (i.e the cylinder or the cone, the first argument given to the constructor) of the point of range n. Parameters ---------- @@ -1420,7 +1420,7 @@ None /****************** IntAna_QuadQuadGeo ******************/ /**** md5 signature: c899ef71b547bd2db47a92525a93d4e8 ****/ %feature("compactdefaultargs") IntAna_QuadQuadGeo; - %feature("autodoc", "Creates the intersection beween a sphere and a cone. + %feature("autodoc", "Creates the intersection between a sphere and a cone. Parameters ---------- @@ -1437,7 +1437,7 @@ None /****************** IntAna_QuadQuadGeo ******************/ /**** md5 signature: 83c0e66baae701351794bdef3237d1c0 ****/ %feature("compactdefaultargs") IntAna_QuadQuadGeo; - %feature("autodoc", "Creates the intersection beween two cones. + %feature("autodoc", "Creates the intersection between two cones. Parameters ---------- @@ -1454,7 +1454,7 @@ None /****************** IntAna_QuadQuadGeo ******************/ /**** md5 signature: c75df91c18f3a3c576cfd0718237e421 ****/ %feature("compactdefaultargs") IntAna_QuadQuadGeo; - %feature("autodoc", "Creates the intersection beween plane and torus. + %feature("autodoc", "Creates the intersection between plane and torus. Parameters ---------- @@ -1471,7 +1471,7 @@ None /****************** IntAna_QuadQuadGeo ******************/ /**** md5 signature: f5ac6f131f5a59a873c78e730effc98f ****/ %feature("compactdefaultargs") IntAna_QuadQuadGeo; - %feature("autodoc", "Creates the intersection beween cylinder and torus. + %feature("autodoc", "Creates the intersection between cylinder and torus. Parameters ---------- @@ -1488,7 +1488,7 @@ None /****************** IntAna_QuadQuadGeo ******************/ /**** md5 signature: e4e77874a454e3533ea55734015b9474 ****/ %feature("compactdefaultargs") IntAna_QuadQuadGeo; - %feature("autodoc", "Creates the intersection beween cone and torus. + %feature("autodoc", "Creates the intersection between cone and torus. Parameters ---------- @@ -1505,7 +1505,7 @@ None /****************** IntAna_QuadQuadGeo ******************/ /**** md5 signature: 97435d4d72d5795ad710cd68d360d41b ****/ %feature("compactdefaultargs") IntAna_QuadQuadGeo; - %feature("autodoc", "Creates the intersection beween sphere and torus. + %feature("autodoc", "Creates the intersection between sphere and torus. Parameters ---------- @@ -1522,7 +1522,7 @@ None /****************** IntAna_QuadQuadGeo ******************/ /**** md5 signature: a10fe1606b42c6e442296cd2783bbcce ****/ %feature("compactdefaultargs") IntAna_QuadQuadGeo; - %feature("autodoc", "Creates the intersection beween two toruses. + %feature("autodoc", "Creates the intersection between two toruses. Parameters ---------- @@ -1621,7 +1621,7 @@ gp_Lin /****************** NbSolutions ******************/ /**** md5 signature: 02fdbddb1f7eff080419f602203d8f8b ****/ %feature("compactdefaultargs") NbSolutions; - %feature("autodoc", "Returns the number of interesections. the possible intersections are : - 1 point - 1 or 2 line(s) - 1 point and 1 line - 1 circle - 1 ellipse - 1 parabola - 1 or 2 hyperbola(s). + %feature("autodoc", "Returns the number of intersections. the possible intersections are : - 1 point - 1 or 2 line(s) - 1 point and 1 line - 1 circle - 1 ellipse - 1 parabola - 1 or 2 hyperbola(s). Returns ------- diff --git a/src/SWIG_files/wrapper/IntAna2d.i b/src/SWIG_files/wrapper/IntAna2d.i index 3a8184195..d91a052f0 100644 --- a/src/SWIG_files/wrapper/IntAna2d.i +++ b/src/SWIG_files/wrapper/IntAna2d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define INTANA2DDOCSTRING "IntAna2d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_intana2d.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_intana2d.html" %enddef %module (package="OCC.Core", docstring=INTANA2DDOCSTRING) IntAna2d @@ -60,7 +60,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -232,7 +232,7 @@ bool /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if the computation was succesfull. + %feature("autodoc", "Returns true if the computation was successful. Returns ------- @@ -508,7 +508,7 @@ None /****************** Coefficients ******************/ /**** md5 signature: 2252ad010357f4e043a3c6dac4c3923c ****/ %feature("compactdefaultargs") Coefficients; - %feature("autodoc", "Returns the coefficients of the polynomial equation wich defines the conic: a.x**2 + b.y**2 + 2.c.x*y + 2.d.x + 2.e.y + f = 0. + %feature("autodoc", "Returns the coefficients of the polynomial equation which defines the conic: a.x**2 + b.y**2 + 2.c.x*y + 2.d.x + 2.e.y + f = 0. Parameters ---------- diff --git a/src/SWIG_files/wrapper/IntCurve.i b/src/SWIG_files/wrapper/IntCurve.i index a8a730ae0..5f50adec9 100644 --- a/src/SWIG_files/wrapper/IntCurve.i +++ b/src/SWIG_files/wrapper/IntCurve.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define INTCURVEDOCSTRING "IntCurve module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_intcurve.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_intcurve.html" %enddef %module (package="OCC.Core", docstring=INTCURVEDOCSTRING) IntCurve @@ -70,7 +70,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -243,7 +243,7 @@ float /****************** FindParameter ******************/ /**** md5 signature: 096fb3de7d235570ab80208eeea6a6c8 ****/ %feature("compactdefaultargs") FindParameter; - %feature("autodoc", "Returns the parameter u of the point on the implicit curve corresponding to the point p. the correspondance between p and the point p(u) on the implicit curve must be coherent with the way of determination of the signed distance. + %feature("autodoc", "Returns the parameter u of the point on the implicit curve corresponding to the point p. the correspondence between p and the point p(u) on the implicit curve must be coherent with the way of determination of the signed distance. Parameters ---------- @@ -1445,7 +1445,7 @@ class IntCurve_ProjectOnPConicTool { /****************** FindParameter ******************/ /**** md5 signature: b3ff9d781501a95779dcbe1748529594 ****/ %feature("compactdefaultargs") FindParameter; - %feature("autodoc", "Returns the parameter v of the point on the parametric curve corresponding to the point pnt. the correspondance between pnt and the point p(v) on the parametric curve must be coherent with the way of determination of the signed distance between a point and the implicit curve. tol is the tolerance on the distance between a point and the parametrised curve. in that case, no bounds are given. the research of the rigth parameter has to be made on the natural parametric domain of the curve. + %feature("autodoc", "Returns the parameter v of the point on the parametric curve corresponding to the point pnt. the correspondence between pnt and the point p(v) on the parametric curve must be coherent with the way of determination of the signed distance between a point and the implicit curve. tol is the tolerance on the distance between a point and the parametrised curve. in that case, no bounds are given. the research of the right parameter has to be made on the natural parametric domain of the curve. Parameters ---------- @@ -1462,7 +1462,7 @@ float /****************** FindParameter ******************/ /**** md5 signature: 9e46f77742bf8dcfba587637b406a059 ****/ %feature("compactdefaultargs") FindParameter; - %feature("autodoc", "Returns the parameter v of the point on the parametric curve corresponding to the point pnt. the correspondance between pnt and the point p(v) on the parametric curve must be coherent with the way of determination of the signed distance between a point and the implicit curve. tol is the tolerance on the distance between a point and the parametrised curve. lowparameter and highparameter give the boundaries of the interval in wich the parameter certainly lies. these parameters are given to implement a more efficient algoritm. so, it is not necessary to check that the returned value verifies lowparameter <= value <= highparameter. + %feature("autodoc", "Returns the parameter v of the point on the parametric curve corresponding to the point pnt. the correspondence between pnt and the point p(v) on the parametric curve must be coherent with the way of determination of the signed distance between a point and the implicit curve. tol is the tolerance on the distance between a point and the parametrised curve. lowparameter and highparameter give the boundaries of the interval in which the parameter certainly lies. these parameters are given to implement a more efficient algorithm. so, it is not necessary to check that the returned value verifies lowparameter <= value <= highparameter. Parameters ---------- diff --git a/src/SWIG_files/wrapper/IntCurveSurface.i b/src/SWIG_files/wrapper/IntCurveSurface.i index 116c6466c..16e25e699 100644 --- a/src/SWIG_files/wrapper/IntCurveSurface.i +++ b/src/SWIG_files/wrapper/IntCurveSurface.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define INTCURVESURFACEDOCSTRING "IntCurveSurface module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_intcurvesurface.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_intcurvesurface.html" %enddef %module (package="OCC.Core", docstring=INTCURVESURFACEDOCSTRING) IntCurveSurface @@ -85,7 +85,7 @@ enum IntCurveSurface_TransitionOnCurve { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class IntCurveSurface_TransitionOnCurve(IntEnum): @@ -515,42 +515,42 @@ None class IntCurveSurface_TheCSFunctionOfHInter : public math_FunctionSetWithDerivatives { public: /****************** IntCurveSurface_TheCSFunctionOfHInter ******************/ - /**** md5 signature: bb9494029a3168ceca3b199a6ee221ef ****/ + /**** md5 signature: 78b033c5aa81abd59886b6aa2483bbd6 ****/ %feature("compactdefaultargs") IntCurveSurface_TheCSFunctionOfHInter; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S: Adaptor3d_Surface +C: Adaptor3d_Curve Returns ------- None ") IntCurveSurface_TheCSFunctionOfHInter; - IntCurveSurface_TheCSFunctionOfHInter(const opencascade::handle & S, const opencascade::handle & C); + IntCurveSurface_TheCSFunctionOfHInter(const opencascade::handle & S, const opencascade::handle & C); /****************** AuxillarCurve ******************/ - /**** md5 signature: 41e45a1a33f5478edc64d6e3d88273fd ****/ + /**** md5 signature: 1f51289ad95c1360f777c3a993b735bb ****/ %feature("compactdefaultargs") AuxillarCurve; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") AuxillarCurve; - const opencascade::handle & AuxillarCurve(); + const opencascade::handle & AuxillarCurve(); /****************** AuxillarSurface ******************/ - /**** md5 signature: eebc6d437c971dfbfb481a3fe1861466 ****/ + /**** md5 signature: b291a5935dc6f37ed5922990c14f0acd ****/ %feature("compactdefaultargs") AuxillarSurface; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") AuxillarSurface; - const opencascade::handle & AuxillarSurface(); + const opencascade::handle & AuxillarSurface(); /****************** Derivatives ******************/ /**** md5 signature: 80ee5f16e62731c095910ad60228848b ****/ @@ -805,73 +805,73 @@ gp_Pnt class IntCurveSurface_TheHCurveTool { public: /****************** BSpline ******************/ - /**** md5 signature: 829ab2a580dbcac5e37e430438b2e3a7 ****/ + /**** md5 signature: 73295d8773f31004aa0bf55b549ab48f ****/ %feature("compactdefaultargs") BSpline; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- opencascade::handle ") BSpline; - static opencascade::handle BSpline(const opencascade::handle & C); + static opencascade::handle BSpline(const opencascade::handle & C); /****************** Bezier ******************/ - /**** md5 signature: 7dadbf2706ceecb890e61fdbe72806b4 ****/ + /**** md5 signature: f306f8462315905af8e276236266123d ****/ %feature("compactdefaultargs") Bezier; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- opencascade::handle ") Bezier; - static opencascade::handle Bezier(const opencascade::handle & C); + static opencascade::handle Bezier(const opencascade::handle & C); /****************** Circle ******************/ - /**** md5 signature: f8c891b76391305d18e301c3c034adf9 ****/ + /**** md5 signature: 7b6731a5a54fc11dc51059ac04fa7d96 ****/ %feature("compactdefaultargs") Circle; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- gp_Circ ") Circle; - static gp_Circ Circle(const opencascade::handle & C); + static gp_Circ Circle(const opencascade::handle & C); /****************** Continuity ******************/ - /**** md5 signature: 7f9e892307a7795f16dcc6b84abce2bd ****/ + /**** md5 signature: 36a22861c63402bce70a44cade7cd4e2 ****/ %feature("compactdefaultargs") Continuity; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- GeomAbs_Shape ") Continuity; - static GeomAbs_Shape Continuity(const opencascade::handle & C); + static GeomAbs_Shape Continuity(const opencascade::handle & C); /****************** D0 ******************/ - /**** md5 signature: 9f5094d6ae70498582a5165e81ca9e6e ****/ + /**** md5 signature: 8132d18251425c9a08facd1890d4dc14 ****/ %feature("compactdefaultargs") D0; %feature("autodoc", "Computes the point of parameter u on the curve. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve U: float P: gp_Pnt @@ -879,16 +879,16 @@ Returns ------- None ") D0; - static void D0(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P); + static void D0(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P); /****************** D1 ******************/ - /**** md5 signature: d0091091ced0133822bf8b6cf6ce6fb3 ****/ + /**** md5 signature: e2eff93238cd61643a22155760ca87e7 ****/ %feature("compactdefaultargs") D1; %feature("autodoc", "Computes the point of parameter u on the curve with its first derivative. raised if the continuity of the current interval is not c1. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve U: float P: gp_Pnt V: gp_Vec @@ -897,16 +897,16 @@ Returns ------- None ") D1; - static void D1(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V); + static void D1(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V); /****************** D2 ******************/ - /**** md5 signature: c09529dc7b635a906884c36fc27e6614 ****/ + /**** md5 signature: a03fec54dc9fb384b49128be1eeb6ab5 ****/ %feature("compactdefaultargs") D2; %feature("autodoc", "Returns the point p of parameter u, the first and second derivatives v1 and v2. raised if the continuity of the current interval is not c2. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve U: float P: gp_Pnt V1: gp_Vec @@ -916,16 +916,16 @@ Returns ------- None ") D2; - static void D2(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2); + static void D2(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2); /****************** D3 ******************/ - /**** md5 signature: 3bf35cb48a03694dcf006305239f076f ****/ + /**** md5 signature: daf7fd27ce53952002a95005add4c7db ****/ %feature("compactdefaultargs") D3; %feature("autodoc", "Returns the point p of parameter u, the first, the second and the third derivative. raised if the continuity of the current interval is not c3. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve U: float P: gp_Pnt V1: gp_Vec @@ -936,16 +936,16 @@ Returns ------- None ") D3; - static void D3(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2, gp_Vec & V3); + static void D3(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2, gp_Vec & V3); /****************** DN ******************/ - /**** md5 signature: faf529b7a4e398202afeb95c206b1d06 ****/ + /**** md5 signature: 19abd9a6442d6a3469d8f9590507387e ****/ %feature("compactdefaultargs") DN; %feature("autodoc", "The returned vector gives the value of the derivative for the order of derivation n. raised if the continuity of the current interval is not cn. raised if n < 1. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve U: float N: int @@ -953,76 +953,76 @@ Returns ------- gp_Vec ") DN; - static gp_Vec DN(const opencascade::handle & C, const Standard_Real U, const Standard_Integer N); + static gp_Vec DN(const opencascade::handle & C, const Standard_Real U, const Standard_Integer N); /****************** Ellipse ******************/ - /**** md5 signature: 8a5193508ff2cdf78439dc95839d76d9 ****/ + /**** md5 signature: c32c615877d264a7d9a959c38c10dac5 ****/ %feature("compactdefaultargs") Ellipse; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- gp_Elips ") Ellipse; - static gp_Elips Ellipse(const opencascade::handle & C); + static gp_Elips Ellipse(const opencascade::handle & C); /****************** FirstParameter ******************/ - /**** md5 signature: d9e1f13e76e33ca8ffa49bead51ff742 ****/ + /**** md5 signature: 25c42492a02c6ff0b57c4cf91fb40f86 ****/ %feature("compactdefaultargs") FirstParameter; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- float ") FirstParameter; - static Standard_Real FirstParameter(const opencascade::handle & C); + static Standard_Real FirstParameter(const opencascade::handle & C); /****************** GetType ******************/ - /**** md5 signature: 4b4b91b631e2fc8d7802536a6103d830 ****/ + /**** md5 signature: a686bd836352e7b0b82151881246c5a7 ****/ %feature("compactdefaultargs") GetType; %feature("autodoc", "Returns the type of the curve in the current interval : line, circle, ellipse, hyperbola, parabola, beziercurve, bsplinecurve, othercurve. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- GeomAbs_CurveType ") GetType; - static GeomAbs_CurveType GetType(const opencascade::handle & C); + static GeomAbs_CurveType GetType(const opencascade::handle & C); /****************** Hyperbola ******************/ - /**** md5 signature: b0275e9cdb1b48ef453344670a938310 ****/ + /**** md5 signature: d833c49b900f354e019cfd82c1b21d0e ****/ %feature("compactdefaultargs") Hyperbola; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- gp_Hypr ") Hyperbola; - static gp_Hypr Hyperbola(const opencascade::handle & C); + static gp_Hypr Hyperbola(const opencascade::handle & C); /****************** Intervals ******************/ - /**** md5 signature: 12982c16469a7e24491d236a45bc85d8 ****/ + /**** md5 signature: ba9ef7becad6f3e6ee434061971db40d ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve T: TColStd_Array1OfReal S: GeomAbs_Shape @@ -1030,92 +1030,92 @@ Returns ------- None ") Intervals; - static void Intervals(const opencascade::handle & C, TColStd_Array1OfReal & T, const GeomAbs_Shape S); + static void Intervals(const opencascade::handle & C, TColStd_Array1OfReal & T, const GeomAbs_Shape S); /****************** IsClosed ******************/ - /**** md5 signature: 4950017a9350a9263e7eefe6eb8ec40b ****/ + /**** md5 signature: 178cf2cfae4002c04a5499797f8bd656 ****/ %feature("compactdefaultargs") IsClosed; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- bool ") IsClosed; - static Standard_Boolean IsClosed(const opencascade::handle & C); + static Standard_Boolean IsClosed(const opencascade::handle & C); /****************** IsPeriodic ******************/ - /**** md5 signature: de88e227da300fb40e0486ce0e589597 ****/ + /**** md5 signature: d48777dd4aacf834a3350873acc52ff6 ****/ %feature("compactdefaultargs") IsPeriodic; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- bool ") IsPeriodic; - static Standard_Boolean IsPeriodic(const opencascade::handle & C); + static Standard_Boolean IsPeriodic(const opencascade::handle & C); /****************** LastParameter ******************/ - /**** md5 signature: cc67fdec2ebae09fe338337b96bbe757 ****/ + /**** md5 signature: c00409255c9efae31d007ea0f35327b6 ****/ %feature("compactdefaultargs") LastParameter; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- float ") LastParameter; - static Standard_Real LastParameter(const opencascade::handle & C); + static Standard_Real LastParameter(const opencascade::handle & C); /****************** Line ******************/ - /**** md5 signature: 9e6391664ddf5109c0dbbbf44840873b ****/ + /**** md5 signature: 5d669526ea2c83636bcd5abea25c7993 ****/ %feature("compactdefaultargs") Line; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- gp_Lin ") Line; - static gp_Lin Line(const opencascade::handle & C); + static gp_Lin Line(const opencascade::handle & C); /****************** NbIntervals ******************/ - /**** md5 signature: 2957a79fcb3d607eac96ce31c3e9f14d ****/ + /**** md5 signature: 14a07173bd3c33d26deeb9707ee34cb3 ****/ %feature("compactdefaultargs") NbIntervals; %feature("autodoc", "Returns the number of intervals for continuity . may be one if continuity(myclass) >= . Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve S: GeomAbs_Shape Returns ------- int ") NbIntervals; - static Standard_Integer NbIntervals(const opencascade::handle & C, const GeomAbs_Shape S); + static Standard_Integer NbIntervals(const opencascade::handle & C, const GeomAbs_Shape S); /****************** NbSamples ******************/ - /**** md5 signature: c08f3e55e741ae331aa3148539fbf5a7 ****/ + /**** md5 signature: b050222a5e2dbdd07a79f2aec3a93db5 ****/ %feature("compactdefaultargs") NbSamples; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve U0: float U1: float @@ -1123,62 +1123,62 @@ Returns ------- int ") NbSamples; - static Standard_Integer NbSamples(const opencascade::handle & C, const Standard_Real U0, const Standard_Real U1); + static Standard_Integer NbSamples(const opencascade::handle & C, const Standard_Real U0, const Standard_Real U1); /****************** Parabola ******************/ - /**** md5 signature: eb14d76c937f3e48ee50afa795fe6bbb ****/ + /**** md5 signature: cc30b6b7d2e5eb272de9d92bc65e5ba5 ****/ %feature("compactdefaultargs") Parabola; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- gp_Parab ") Parabola; - static gp_Parab Parabola(const opencascade::handle & C); + static gp_Parab Parabola(const opencascade::handle & C); /****************** Period ******************/ - /**** md5 signature: 0324f2853e81012c8664c5476a95bc67 ****/ + /**** md5 signature: f7986452fbb7b824f9223306a3748bb0 ****/ %feature("compactdefaultargs") Period; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- float ") Period; - static Standard_Real Period(const opencascade::handle & C); + static Standard_Real Period(const opencascade::handle & C); /****************** Resolution ******************/ - /**** md5 signature: 67e7417a4c79992596773f6c9335ef87 ****/ + /**** md5 signature: 5b1954ce6b6bbeec3732ad23161bfe7f ****/ %feature("compactdefaultargs") Resolution; %feature("autodoc", "Returns the parametric resolution corresponding to the real space resolution . Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve R3d: float Returns ------- float ") Resolution; - static Standard_Real Resolution(const opencascade::handle & C, const Standard_Real R3d); + static Standard_Real Resolution(const opencascade::handle & C, const Standard_Real R3d); /****************** SamplePars ******************/ - /**** md5 signature: ed348288a4fbd8e9a9891d7c019adcc3 ****/ + /**** md5 signature: 687011ec6271e681eb1f024a48e6210e ****/ %feature("compactdefaultargs") SamplePars; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve U0: float U1: float Defl: float @@ -1189,23 +1189,23 @@ Returns ------- None ") SamplePars; - static void SamplePars(const opencascade::handle & C, const Standard_Real U0, const Standard_Real U1, const Standard_Real Defl, const Standard_Integer NbMin, opencascade::handle & Pars); + static void SamplePars(const opencascade::handle & C, const Standard_Real U0, const Standard_Real U1, const Standard_Real Defl, const Standard_Integer NbMin, opencascade::handle & Pars); /****************** Value ******************/ - /**** md5 signature: eaacb8f389c217805748fab0dfd5885c ****/ + /**** md5 signature: 2a733041fbe29fa56e33746589b73c76 ****/ %feature("compactdefaultargs") Value; %feature("autodoc", "Computes the point of parameter u on the curve. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve U: float Returns ------- gp_Pnt ") Value; - static gp_Pnt Value(const opencascade::handle & C, const Standard_Real U); + static gp_Pnt Value(const opencascade::handle & C, const Standard_Real U); }; @@ -1478,29 +1478,29 @@ None class IntCurveSurface_ThePolygonOfHInter { public: /****************** IntCurveSurface_ThePolygonOfHInter ******************/ - /**** md5 signature: 2d5bd5ca8f3594eecaf5f5e959e1c5c8 ****/ + /**** md5 signature: 8607fc4d81bccabc25390ed85263028a ****/ %feature("compactdefaultargs") IntCurveSurface_ThePolygonOfHInter; %feature("autodoc", "No available documentation. Parameters ---------- -Curve: Adaptor3d_HCurve +Curve: Adaptor3d_Curve NbPnt: int Returns ------- None ") IntCurveSurface_ThePolygonOfHInter; - IntCurveSurface_ThePolygonOfHInter(const opencascade::handle & Curve, const Standard_Integer NbPnt); + IntCurveSurface_ThePolygonOfHInter(const opencascade::handle & Curve, const Standard_Integer NbPnt); /****************** IntCurveSurface_ThePolygonOfHInter ******************/ - /**** md5 signature: f506734b482f128bc5a255daf4293bb6 ****/ + /**** md5 signature: cfc389022764ab206816e49acf0b9b59 ****/ %feature("compactdefaultargs") IntCurveSurface_ThePolygonOfHInter; %feature("autodoc", "No available documentation. Parameters ---------- -Curve: Adaptor3d_HCurve +Curve: Adaptor3d_Curve U1: float U2: float NbPnt: int @@ -1509,23 +1509,23 @@ Returns ------- None ") IntCurveSurface_ThePolygonOfHInter; - IntCurveSurface_ThePolygonOfHInter(const opencascade::handle & Curve, const Standard_Real U1, const Standard_Real U2, const Standard_Integer NbPnt); + IntCurveSurface_ThePolygonOfHInter(const opencascade::handle & Curve, const Standard_Real U1, const Standard_Real U2, const Standard_Integer NbPnt); /****************** IntCurveSurface_ThePolygonOfHInter ******************/ - /**** md5 signature: 7f5853e01b777b8778586ac440b17d0d ****/ + /**** md5 signature: 4b3c71047f9b5f23656b10d928f193be ****/ %feature("compactdefaultargs") IntCurveSurface_ThePolygonOfHInter; %feature("autodoc", "No available documentation. Parameters ---------- -Curve: Adaptor3d_HCurve +Curve: Adaptor3d_Curve Upars: TColStd_Array1OfReal Returns ------- None ") IntCurveSurface_ThePolygonOfHInter; - IntCurveSurface_ThePolygonOfHInter(const opencascade::handle & Curve, const TColStd_Array1OfReal & Upars); + IntCurveSurface_ThePolygonOfHInter(const opencascade::handle & Curve, const TColStd_Array1OfReal & Upars); /****************** ApproxParamOnCurve ******************/ /**** md5 signature: ea6b1c4f19abd104ce26cf986e38bc0b ****/ @@ -1544,22 +1544,22 @@ float Standard_Real ApproxParamOnCurve(const Standard_Integer Index, const Standard_Real ParamOnLine); /****************** BeginOfSeg ******************/ - /**** md5 signature: 3d238bbcef54b3e034127352ea83ab27 ****/ + /**** md5 signature: d9c773bc099d0d92cc222653e8226d5e ****/ %feature("compactdefaultargs") BeginOfSeg; %feature("autodoc", "Give the point of range index in the polygon. Parameters ---------- -Index: int +theIndex: int Returns ------- gp_Pnt ") BeginOfSeg; - const gp_Pnt BeginOfSeg(const Standard_Integer Index); + const gp_Pnt BeginOfSeg(const Standard_Integer theIndex); /****************** Bounding ******************/ - /**** md5 signature: 8283e6d7921bb28044a85a5b8e0569c1 ****/ + /**** md5 signature: 54ccbf8f63f02bb43c2fc9c718922d78 ****/ %feature("compactdefaultargs") Bounding; %feature("autodoc", "Give the bounding box of the polygon. @@ -1570,22 +1570,22 @@ Bnd_Box const Bnd_Box & Bounding(); /****************** Closed ******************/ - /**** md5 signature: c5b0bafd47da29606481588a971270ce ****/ + /**** md5 signature: e853f3a0de69f6e7f92ebd8ac1362e0c ****/ %feature("compactdefaultargs") Closed; %feature("autodoc", "No available documentation. Parameters ---------- -clos: bool +flag: bool Returns ------- None ") Closed; - void Closed(const Standard_Boolean clos); + void Closed(const Standard_Boolean flag); /****************** Closed ******************/ - /**** md5 signature: 6964da666f9b5a80bedb32cfb1fdc0ba ****/ + /**** md5 signature: f94551c898fe323903f1d14861bbe901 ****/ %feature("compactdefaultargs") Closed; %feature("autodoc", "No available documentation. @@ -1596,7 +1596,7 @@ bool Standard_Boolean Closed(); /****************** DeflectionOverEstimation ******************/ - /**** md5 signature: 0e10e8a0297f14d67919e7ee30d4f816 ****/ + /**** md5 signature: b4c80a54735f171bb52e56c083257109 ****/ %feature("compactdefaultargs") DeflectionOverEstimation; %feature("autodoc", "No available documentation. @@ -1618,22 +1618,22 @@ None void Dump(); /****************** EndOfSeg ******************/ - /**** md5 signature: 926c5cd8e4c3aff42af21c0c8b794c75 ****/ + /**** md5 signature: fa65a7dd84749b3192eff93d48f5b1d6 ****/ %feature("compactdefaultargs") EndOfSeg; %feature("autodoc", "Give the point of range index in the polygon. Parameters ---------- -Index: int +theIndex: int Returns ------- gp_Pnt ") EndOfSeg; - const gp_Pnt EndOfSeg(const Standard_Integer Index); + const gp_Pnt EndOfSeg(const Standard_Integer theIndex); /****************** InfParameter ******************/ - /**** md5 signature: 8559659cfaf88d25c04ace5dcdcbde32 ****/ + /**** md5 signature: f596238a0398d517210e4fad0d4b84b2 ****/ %feature("compactdefaultargs") InfParameter; %feature("autodoc", "Returns the parameter (on the curve) of the first point of the polygon. @@ -1644,7 +1644,7 @@ float Standard_Real InfParameter(); /****************** NbSegments ******************/ - /**** md5 signature: 6791e2039921b3bb6b2ff0f8e741d76b ****/ + /**** md5 signature: 9f8199ef0d5690074e4037e7feba62da ****/ %feature("compactdefaultargs") NbSegments; %feature("autodoc", "Give the number of segments in the polyline. @@ -1655,7 +1655,7 @@ int Standard_Integer NbSegments(); /****************** SetDeflectionOverEstimation ******************/ - /**** md5 signature: 310446258d4443a660c9cfe280519b05 ****/ + /**** md5 signature: 872cf63726ece2c3b812a597bb60fe29 ****/ %feature("compactdefaultargs") SetDeflectionOverEstimation; %feature("autodoc", "No available documentation. @@ -1670,7 +1670,7 @@ None void SetDeflectionOverEstimation(const Standard_Real x); /****************** SupParameter ******************/ - /**** md5 signature: 67f72e7357fa61911c23a764d72614ea ****/ + /**** md5 signature: 688f110f02a5711ae550904ec8e3220d ****/ %feature("compactdefaultargs") SupParameter; %feature("autodoc", "Returns the parameter (on the curve) of the last point of the polygon. @@ -1913,7 +1913,7 @@ bool /****************** NbTriangles ******************/ /**** md5 signature: bdd670f00f0a5edcddc9ab980b962494 ****/ %feature("compactdefaultargs") NbTriangles; - %feature("autodoc", "Give the number of triangles in this polyedral surface. + %feature("autodoc", "Give the number of triangles in this polyhedral surface. Parameters ---------- @@ -1928,7 +1928,7 @@ int /****************** Point ******************/ /**** md5 signature: 52a78c4f8cd34c4673e1816fe02109c7 ****/ %feature("compactdefaultargs") Point; - %feature("autodoc", "Give the point of index i in the polyedral surface. + %feature("autodoc", "Give the point of index i in the polyhedral surface. Parameters ---------- @@ -1944,7 +1944,7 @@ gp_Pnt /****************** TriConnex ******************/ /**** md5 signature: a3ad5c2542c00278319177801a1d1337 ****/ %feature("compactdefaultargs") TriConnex; - %feature("autodoc", "Give the addresse tricon of the triangle connexe to the triangle of address triang by the edge pivot pedge and the third point of this connexe triangle. when we are on a free edge tricon==0 but the function return the value of the triangle in the other side of pivot on the free edge. used to turn around a vertex. + %feature("autodoc", "Give the address tricon of the triangle connexe to the triangle of address triang by the edge pivot pedge and the third point of this connexe triangle. when we are on a free edge tricon==0 but the function return the value of the triangle in the other side of pivot on the free edge. used to turn around a vertex. Parameters ---------- @@ -1993,20 +1993,20 @@ P3: int class IntCurveSurface_TheQuadCurvExactHInter { public: /****************** IntCurveSurface_TheQuadCurvExactHInter ******************/ - /**** md5 signature: fdb8c698375f30b27d8f28a8093fbd36 ****/ + /**** md5 signature: ac7dcc5c45368df4f5d35e48176ea6f2 ****/ %feature("compactdefaultargs") IntCurveSurface_TheQuadCurvExactHInter; %feature("autodoc", "Provides the signed distance function : q(w) and its first derivative dq(w)/dw. Parameters ---------- -S: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S: Adaptor3d_Surface +C: Adaptor3d_Curve Returns ------- None ") IntCurveSurface_TheQuadCurvExactHInter; - IntCurveSurface_TheQuadCurvExactHInter(const opencascade::handle & S, const opencascade::handle & C); + IntCurveSurface_TheQuadCurvExactHInter(const opencascade::handle & S, const opencascade::handle & C); /****************** Intervals ******************/ /**** md5 signature: a19f8bd23050233003b16b9179a07a15 ****/ @@ -2087,20 +2087,20 @@ float class IntCurveSurface_TheQuadCurvFuncOfTheQuadCurvExactHInter : public math_FunctionWithDerivative { public: /****************** IntCurveSurface_TheQuadCurvFuncOfTheQuadCurvExactHInter ******************/ - /**** md5 signature: b9bb3cdf9ec9fee1d303ddc0535be0df ****/ + /**** md5 signature: e819d921f7ec4605895d1bc1c29e38ff ****/ %feature("compactdefaultargs") IntCurveSurface_TheQuadCurvFuncOfTheQuadCurvExactHInter; %feature("autodoc", "Create the function. Parameters ---------- Q: IntSurf_Quadric -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") IntCurveSurface_TheQuadCurvFuncOfTheQuadCurvExactHInter; - IntCurveSurface_TheQuadCurvFuncOfTheQuadCurvExactHInter(const IntSurf_Quadric & Q, const opencascade::handle & C); + IntCurveSurface_TheQuadCurvFuncOfTheQuadCurvExactHInter(const IntSurf_Quadric & Q, const opencascade::handle & C); /****************** Derivative ******************/ /**** md5 signature: f61c873331fa555e182f1973e95f59da ****/ @@ -2174,66 +2174,66 @@ None IntCurveSurface_HInter(); /****************** Perform ******************/ - /**** md5 signature: e1d3afff50fd4470f42509fa855cb3a1 ****/ + /**** md5 signature: 91c228b2481819fc2df45ad4cfb0ffe0 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Compute the intersection between the curve and the surface. Parameters ---------- -Curve: Adaptor3d_HCurve -Surface: Adaptor3d_HSurface +Curve: Adaptor3d_Curve +Surface: Adaptor3d_Surface Returns ------- None ") Perform; - void Perform(const opencascade::handle & Curve, const opencascade::handle & Surface); + void Perform(const opencascade::handle & Curve, const opencascade::handle & Surface); /****************** Perform ******************/ - /**** md5 signature: fa244c903bba4a06b58a3124ab5284c4 ****/ + /**** md5 signature: 5c682ee95377c875d30f6e459fdd7a63 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Compute the intersection between the curve and the surface. the curve is already sampled and its polygon : is given. Parameters ---------- -Curve: Adaptor3d_HCurve +Curve: Adaptor3d_Curve Polygon: IntCurveSurface_ThePolygonOfHInter -Surface: Adaptor3d_HSurface +Surface: Adaptor3d_Surface Returns ------- None ") Perform; - void Perform(const opencascade::handle & Curve, const IntCurveSurface_ThePolygonOfHInter & Polygon, const opencascade::handle & Surface); + void Perform(const opencascade::handle & Curve, const IntCurveSurface_ThePolygonOfHInter & Polygon, const opencascade::handle & Surface); /****************** Perform ******************/ - /**** md5 signature: 2812665f1a192d96091c1732b10415b4 ****/ + /**** md5 signature: e7d1708684046cf89a0658d9b54e4548 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Compute the intersection between the curve and the surface. the curve is already sampled and its polygon : is given. the surface is also sampled and is given. Parameters ---------- -Curve: Adaptor3d_HCurve +Curve: Adaptor3d_Curve ThePolygon: IntCurveSurface_ThePolygonOfHInter -Surface: Adaptor3d_HSurface +Surface: Adaptor3d_Surface Polyhedron: IntCurveSurface_ThePolyhedronOfHInter Returns ------- None ") Perform; - void Perform(const opencascade::handle & Curve, const IntCurveSurface_ThePolygonOfHInter & ThePolygon, const opencascade::handle & Surface, const IntCurveSurface_ThePolyhedronOfHInter & Polyhedron); + void Perform(const opencascade::handle & Curve, const IntCurveSurface_ThePolygonOfHInter & ThePolygon, const opencascade::handle & Surface, const IntCurveSurface_ThePolyhedronOfHInter & Polyhedron); /****************** Perform ******************/ - /**** md5 signature: 6544460b13c70b74d5abbf0918ccf3c0 ****/ + /**** md5 signature: 5b00a27700d57fa276f88e27a3f76726 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Compute the intersection between the curve and the surface. the curve is already sampled and its polygon : is given. the surface is also sampled and is given. Parameters ---------- -Curve: Adaptor3d_HCurve +Curve: Adaptor3d_Curve ThePolygon: IntCurveSurface_ThePolygonOfHInter -Surface: Adaptor3d_HSurface +Surface: Adaptor3d_Surface Polyhedron: IntCurveSurface_ThePolyhedronOfHInter BndBSB: Bnd_BoundSortBox @@ -2241,24 +2241,24 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & Curve, const IntCurveSurface_ThePolygonOfHInter & ThePolygon, const opencascade::handle & Surface, const IntCurveSurface_ThePolyhedronOfHInter & Polyhedron, Bnd_BoundSortBox & BndBSB); + void Perform(const opencascade::handle & Curve, const IntCurveSurface_ThePolygonOfHInter & ThePolygon, const opencascade::handle & Surface, const IntCurveSurface_ThePolyhedronOfHInter & Polyhedron, Bnd_BoundSortBox & BndBSB); /****************** Perform ******************/ - /**** md5 signature: b41b39999d7c05e8768db2abc04402a1 ****/ + /**** md5 signature: e29fe9ea101d6584c14df774972d4b0d ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Compute the intersection between the curve and the surface. the surface is already sampled and its polyhedron : is given. Parameters ---------- -Curve: Adaptor3d_HCurve -Surface: Adaptor3d_HSurface +Curve: Adaptor3d_Curve +Surface: Adaptor3d_Surface Polyhedron: IntCurveSurface_ThePolyhedronOfHInter Returns ------- None ") Perform; - void Perform(const opencascade::handle & Curve, const opencascade::handle & Surface, const IntCurveSurface_ThePolyhedronOfHInter & Polyhedron); + void Perform(const opencascade::handle & Curve, const opencascade::handle & Surface, const IntCurveSurface_ThePolyhedronOfHInter & Polyhedron); }; diff --git a/src/SWIG_files/wrapper/IntCurveSurface.pyi b/src/SWIG_files/wrapper/IntCurveSurface.pyi index 47ecb5027..29b27621c 100644 --- a/src/SWIG_files/wrapper/IntCurveSurface.pyi +++ b/src/SWIG_files/wrapper/IntCurveSurface.pyi @@ -94,9 +94,9 @@ class IntCurveSurface_IntersectionSegment: def Values(self, P1: IntCurveSurface_IntersectionPoint, P2: IntCurveSurface_IntersectionPoint) -> None: ... class IntCurveSurface_TheCSFunctionOfHInter(math_FunctionSetWithDerivatives): - def __init__(self, S: Adaptor3d_HSurface, C: Adaptor3d_HCurve) -> None: ... - def AuxillarCurve(self) -> Adaptor3d_HCurve: ... - def AuxillarSurface(self) -> Adaptor3d_HSurface: ... + def __init__(self, S: Adaptor3d_Surface, C: Adaptor3d_Curve) -> None: ... + def AuxillarCurve(self) -> Adaptor3d_Curve: ... + def AuxillarSurface(self) -> Adaptor3d_Surface: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def NbEquations(self) -> int: ... def NbVariables(self) -> int: ... @@ -120,55 +120,55 @@ class IntCurveSurface_TheExactHInter: class IntCurveSurface_TheHCurveTool: @staticmethod - def BSpline(C: Adaptor3d_HCurve) -> Geom_BSplineCurve: ... + def BSpline(C: Adaptor3d_Curve) -> Geom_BSplineCurve: ... @staticmethod - def Bezier(C: Adaptor3d_HCurve) -> Geom_BezierCurve: ... + def Bezier(C: Adaptor3d_Curve) -> Geom_BezierCurve: ... @staticmethod - def Circle(C: Adaptor3d_HCurve) -> gp_Circ: ... + def Circle(C: Adaptor3d_Curve) -> gp_Circ: ... @staticmethod - def Continuity(C: Adaptor3d_HCurve) -> GeomAbs_Shape: ... + def Continuity(C: Adaptor3d_Curve) -> GeomAbs_Shape: ... @staticmethod - def D0(C: Adaptor3d_HCurve, U: float, P: gp_Pnt) -> None: ... + def D0(C: Adaptor3d_Curve, U: float, P: gp_Pnt) -> None: ... @staticmethod - def D1(C: Adaptor3d_HCurve, U: float, P: gp_Pnt, V: gp_Vec) -> None: ... + def D1(C: Adaptor3d_Curve, U: float, P: gp_Pnt, V: gp_Vec) -> None: ... @staticmethod - def D2(C: Adaptor3d_HCurve, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... + def D2(C: Adaptor3d_Curve, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... @staticmethod - def D3(C: Adaptor3d_HCurve, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec) -> None: ... + def D3(C: Adaptor3d_Curve, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec) -> None: ... @staticmethod - def DN(C: Adaptor3d_HCurve, U: float, N: int) -> gp_Vec: ... + def DN(C: Adaptor3d_Curve, U: float, N: int) -> gp_Vec: ... @staticmethod - def Ellipse(C: Adaptor3d_HCurve) -> gp_Elips: ... + def Ellipse(C: Adaptor3d_Curve) -> gp_Elips: ... @staticmethod - def FirstParameter(C: Adaptor3d_HCurve) -> float: ... + def FirstParameter(C: Adaptor3d_Curve) -> float: ... @staticmethod - def GetType(C: Adaptor3d_HCurve) -> GeomAbs_CurveType: ... + def GetType(C: Adaptor3d_Curve) -> GeomAbs_CurveType: ... @staticmethod - def Hyperbola(C: Adaptor3d_HCurve) -> gp_Hypr: ... + def Hyperbola(C: Adaptor3d_Curve) -> gp_Hypr: ... @staticmethod - def Intervals(C: Adaptor3d_HCurve, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def Intervals(C: Adaptor3d_Curve, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... @staticmethod - def IsClosed(C: Adaptor3d_HCurve) -> bool: ... + def IsClosed(C: Adaptor3d_Curve) -> bool: ... @staticmethod - def IsPeriodic(C: Adaptor3d_HCurve) -> bool: ... + def IsPeriodic(C: Adaptor3d_Curve) -> bool: ... @staticmethod - def LastParameter(C: Adaptor3d_HCurve) -> float: ... + def LastParameter(C: Adaptor3d_Curve) -> float: ... @staticmethod - def Line(C: Adaptor3d_HCurve) -> gp_Lin: ... + def Line(C: Adaptor3d_Curve) -> gp_Lin: ... @staticmethod - def NbIntervals(C: Adaptor3d_HCurve, S: GeomAbs_Shape) -> int: ... + def NbIntervals(C: Adaptor3d_Curve, S: GeomAbs_Shape) -> int: ... @staticmethod - def NbSamples(C: Adaptor3d_HCurve, U0: float, U1: float) -> int: ... + def NbSamples(C: Adaptor3d_Curve, U0: float, U1: float) -> int: ... @staticmethod - def Parabola(C: Adaptor3d_HCurve) -> gp_Parab: ... + def Parabola(C: Adaptor3d_Curve) -> gp_Parab: ... @staticmethod - def Period(C: Adaptor3d_HCurve) -> float: ... + def Period(C: Adaptor3d_Curve) -> float: ... @staticmethod - def Resolution(C: Adaptor3d_HCurve, R3d: float) -> float: ... + def Resolution(C: Adaptor3d_Curve, R3d: float) -> float: ... @staticmethod - def SamplePars(C: Adaptor3d_HCurve, U0: float, U1: float, Defl: float, NbMin: int, Pars: TColStd_HArray1OfReal) -> None: ... + def SamplePars(C: Adaptor3d_Curve, U0: float, U1: float, Defl: float, NbMin: int, Pars: TColStd_HArray1OfReal) -> None: ... @staticmethod - def Value(C: Adaptor3d_HCurve, U: float) -> gp_Pnt: ... + def Value(C: Adaptor3d_Curve, U: float) -> gp_Pnt: ... class IntCurveSurface_TheInterferenceOfHInter(Intf_Interference): @overload @@ -204,21 +204,21 @@ class IntCurveSurface_TheInterferenceOfHInter(Intf_Interference): class IntCurveSurface_ThePolygonOfHInter: @overload - def __init__(self, Curve: Adaptor3d_HCurve, NbPnt: int) -> None: ... + def __init__(self, Curve: Adaptor3d_Curve, NbPnt: int) -> None: ... @overload - def __init__(self, Curve: Adaptor3d_HCurve, U1: float, U2: float, NbPnt: int) -> None: ... + def __init__(self, Curve: Adaptor3d_Curve, U1: float, U2: float, NbPnt: int) -> None: ... @overload - def __init__(self, Curve: Adaptor3d_HCurve, Upars: TColStd_Array1OfReal) -> None: ... + def __init__(self, Curve: Adaptor3d_Curve, Upars: TColStd_Array1OfReal) -> None: ... def ApproxParamOnCurve(self, Index: int, ParamOnLine: float) -> float: ... - def BeginOfSeg(self, Index: int) -> gp_Pnt: ... + def BeginOfSeg(self, theIndex: int) -> gp_Pnt: ... def Bounding(self) -> Bnd_Box: ... @overload - def Closed(self, clos: bool) -> None: ... + def Closed(self, flag: bool) -> None: ... @overload def Closed(self) -> bool: ... def DeflectionOverEstimation(self) -> float: ... def Dump(self) -> None: ... - def EndOfSeg(self, Index: int) -> gp_Pnt: ... + def EndOfSeg(self, theIndex: int) -> gp_Pnt: ... def InfParameter(self) -> float: ... def NbSegments(self) -> int: ... def SetDeflectionOverEstimation(self, x: float) -> None: ... @@ -263,7 +263,7 @@ class IntCurveSurface_ThePolyhedronToolOfHInter: def Triangle(thePolyh: IntCurveSurface_ThePolyhedronOfHInter, Index: int) -> Tuple[int, int, int]: ... class IntCurveSurface_TheQuadCurvExactHInter: - def __init__(self, S: Adaptor3d_HSurface, C: Adaptor3d_HCurve) -> None: ... + def __init__(self, S: Adaptor3d_Surface, C: Adaptor3d_Curve) -> None: ... def Intervals(self, Index: int) -> Tuple[float, float]: ... def IsDone(self) -> bool: ... def NbIntervals(self) -> int: ... @@ -271,7 +271,7 @@ class IntCurveSurface_TheQuadCurvExactHInter: def Root(self, Index: int) -> float: ... class IntCurveSurface_TheQuadCurvFuncOfTheQuadCurvExactHInter(math_FunctionWithDerivative): - def __init__(self, Q: IntSurf_Quadric, C: Adaptor3d_HCurve) -> None: ... + def __init__(self, Q: IntSurf_Quadric, C: Adaptor3d_Curve) -> None: ... def Derivative(self, Param: float) -> Tuple[bool, float]: ... def Value(self, Param: float) -> Tuple[bool, float]: ... def Values(self, Param: float) -> Tuple[bool, float, float]: ... @@ -279,15 +279,15 @@ class IntCurveSurface_TheQuadCurvFuncOfTheQuadCurvExactHInter(math_FunctionWithD class IntCurveSurface_HInter(IntCurveSurface_Intersection): def __init__(self) -> None: ... @overload - def Perform(self, Curve: Adaptor3d_HCurve, Surface: Adaptor3d_HSurface) -> None: ... + def Perform(self, Curve: Adaptor3d_Curve, Surface: Adaptor3d_Surface) -> None: ... @overload - def Perform(self, Curve: Adaptor3d_HCurve, Polygon: IntCurveSurface_ThePolygonOfHInter, Surface: Adaptor3d_HSurface) -> None: ... + def Perform(self, Curve: Adaptor3d_Curve, Polygon: IntCurveSurface_ThePolygonOfHInter, Surface: Adaptor3d_Surface) -> None: ... @overload - def Perform(self, Curve: Adaptor3d_HCurve, ThePolygon: IntCurveSurface_ThePolygonOfHInter, Surface: Adaptor3d_HSurface, Polyhedron: IntCurveSurface_ThePolyhedronOfHInter) -> None: ... + def Perform(self, Curve: Adaptor3d_Curve, ThePolygon: IntCurveSurface_ThePolygonOfHInter, Surface: Adaptor3d_Surface, Polyhedron: IntCurveSurface_ThePolyhedronOfHInter) -> None: ... @overload - def Perform(self, Curve: Adaptor3d_HCurve, ThePolygon: IntCurveSurface_ThePolygonOfHInter, Surface: Adaptor3d_HSurface, Polyhedron: IntCurveSurface_ThePolyhedronOfHInter, BndBSB: Bnd_BoundSortBox) -> None: ... + def Perform(self, Curve: Adaptor3d_Curve, ThePolygon: IntCurveSurface_ThePolygonOfHInter, Surface: Adaptor3d_Surface, Polyhedron: IntCurveSurface_ThePolyhedronOfHInter, BndBSB: Bnd_BoundSortBox) -> None: ... @overload - def Perform(self, Curve: Adaptor3d_HCurve, Surface: Adaptor3d_HSurface, Polyhedron: IntCurveSurface_ThePolyhedronOfHInter) -> None: ... + def Perform(self, Curve: Adaptor3d_Curve, Surface: Adaptor3d_Surface, Polyhedron: IntCurveSurface_ThePolyhedronOfHInter) -> None: ... #classnotwrapped class IntCurveSurface_ThePolyhedronOfHInter: ... diff --git a/src/SWIG_files/wrapper/IntCurvesFace.i b/src/SWIG_files/wrapper/IntCurvesFace.i index 5794e89ac..66ed16276 100644 --- a/src/SWIG_files/wrapper/IntCurvesFace.i +++ b/src/SWIG_files/wrapper/IntCurvesFace.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define INTCURVESFACEDOCSTRING "IntCurvesFace module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_intcurvesface.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_intcurvesface.html" %enddef %module (package="OCC.Core", docstring=INTCURVESFACEDOCSTRING) IntCurvesFace @@ -78,7 +78,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -100,7 +100,7 @@ class IntCurvesFace_Intersector { /****************** IntCurvesFace_Intersector ******************/ /**** md5 signature: a52cfef3564a89d4318791e0ef2ba78a ****/ %feature("compactdefaultargs") IntCurvesFace_Intersector; - %feature("autodoc", "Load a face. //! the tolerance is used to determine if the first point of the segment is near the face. in that case, the parameter of the intersection point on the line can be a negative value (greater than -tol). if arestr = true uv bounding box of face is used to restrict it's underlined surface, otherwise surface is not restricted. if usebtoler = false then the 2d-point of intersection is classified with null-tolerance (relative to face); otherwise it's using maximium between input tolerance(atol) and tolerances of face bounds (edges). + %feature("autodoc", "Load a face. //! the tolerance is used to determine if the first point of the segment is near the face. in that case, the parameter of the intersection point on the line can be a negative value (greater than -tol). if arestr = true uv bounding box of face is used to restrict it's underlined surface, otherwise surface is not restricted. if usebtoler = false then the 2d-point of intersection is classified with null-tolerance (relative to face); otherwise it's using maximum between input tolerance(atol) and tolerances of face bounds (edges). Parameters ---------- @@ -212,7 +212,7 @@ int /****************** Perform ******************/ /**** md5 signature: e18419430124de4e84da27951ae80914 ****/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Perform the intersection between the segment l and the loaded face. //! pinf is the smallest parameter on the line psup is the highest parmaeter on the line //! for an infinite line pinf and psup can be +/- reallast. + %feature("autodoc", "Perform the intersection between the segment l and the loaded face. //! pinf is the smallest parameter on the line psup is the highest parameter on the line //! for an infinite line pinf and psup can be +/- reallast. Parameters ---------- @@ -227,13 +227,13 @@ None void Perform(const gp_Lin & L, const Standard_Real PInf, const Standard_Real PSup); /****************** Perform ******************/ - /**** md5 signature: 7d7976e9ae0d696e8958c0ec29e3f5bf ****/ + /**** md5 signature: c8caf88fde1edb2033386b7b626b143d ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Same method for a hcurve from adaptor3d. pinf an psup can also be - and + inf. Parameters ---------- -HCu: Adaptor3d_HCurve +HCu: Adaptor3d_Curve PInf: float PSup: float @@ -241,7 +241,7 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & HCu, const Standard_Real PInf, const Standard_Real PSup); + void Perform(const opencascade::handle & HCu, const Standard_Real PInf, const Standard_Real PSup); /****************** Pnt ******************/ /**** md5 signature: d0440fe82ac13d790faf173438707e9c ****/ @@ -276,7 +276,7 @@ None /****************** State ******************/ /**** md5 signature: 3ef584a4c8697b5b43cfa0be6c8072f7 ****/ %feature("compactdefaultargs") State; - %feature("autodoc", "Returns the ith state of the point on the face. the values can be either topabs_in ( the point is in the face) or topabs_on ( the point is on a boudary of the face). + %feature("autodoc", "Returns the ith state of the point on the face. the values can be either topabs_in ( the point is in the face) or topabs_on ( the point is on a boundary of the face). Parameters ---------- @@ -466,13 +466,13 @@ None void Perform(const gp_Lin & L, const Standard_Real PInf, const Standard_Real PSup); /****************** Perform ******************/ - /**** md5 signature: 7d7976e9ae0d696e8958c0ec29e3f5bf ****/ + /**** md5 signature: c8caf88fde1edb2033386b7b626b143d ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Same method for a hcurve from adaptor3d. pinf an psup can also be - and + inf. Parameters ---------- -HCu: Adaptor3d_HCurve +HCu: Adaptor3d_Curve PInf: float PSup: float @@ -480,7 +480,7 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & HCu, const Standard_Real PInf, const Standard_Real PSup); + void Perform(const opencascade::handle & HCu, const Standard_Real PInf, const Standard_Real PSup); /****************** PerformNearest ******************/ /**** md5 signature: ed809ea9e3a548c6cd15a623c13b9c18 ****/ @@ -528,7 +528,7 @@ None /****************** State ******************/ /**** md5 signature: 3ef584a4c8697b5b43cfa0be6c8072f7 ****/ %feature("compactdefaultargs") State; - %feature("autodoc", "Returns the ith state of the point on the face. the values can be either topabs_in ( the point is in the face) or topabs_on ( the point is on a boudary of the face). + %feature("autodoc", "Returns the ith state of the point on the face. the values can be either topabs_in ( the point is in the face) or topabs_on ( the point is on a boundary of the face). Parameters ---------- diff --git a/src/SWIG_files/wrapper/IntCurvesFace.pyi b/src/SWIG_files/wrapper/IntCurvesFace.pyi index 031f52200..af8d6978d 100644 --- a/src/SWIG_files/wrapper/IntCurvesFace.pyi +++ b/src/SWIG_files/wrapper/IntCurvesFace.pyi @@ -25,7 +25,7 @@ class IntCurvesFace_Intersector: @overload def Perform(self, L: gp_Lin, PInf: float, PSup: float) -> None: ... @overload - def Perform(self, HCu: Adaptor3d_HCurve, PInf: float, PSup: float) -> None: ... + def Perform(self, HCu: Adaptor3d_Curve, PInf: float, PSup: float) -> None: ... def Pnt(self, I: int) -> gp_Pnt: ... def SetUseBoundToler(self, UseBToler: bool) -> None: ... def State(self, I: int) -> TopAbs_State: ... @@ -45,7 +45,7 @@ class IntCurvesFace_ShapeIntersector: @overload def Perform(self, L: gp_Lin, PInf: float, PSup: float) -> None: ... @overload - def Perform(self, HCu: Adaptor3d_HCurve, PInf: float, PSup: float) -> None: ... + def Perform(self, HCu: Adaptor3d_Curve, PInf: float, PSup: float) -> None: ... def PerformNearest(self, L: gp_Lin, PInf: float, PSup: float) -> None: ... def Pnt(self, I: int) -> gp_Pnt: ... def SortResult(self) -> None: ... diff --git a/src/SWIG_files/wrapper/IntImp.i b/src/SWIG_files/wrapper/IntImp.i index b503b4272..6b76310e4 100644 --- a/src/SWIG_files/wrapper/IntImp.i +++ b/src/SWIG_files/wrapper/IntImp.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define INTIMPDOCSTRING "IntImp module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_intimp.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_intimp.html" %enddef %module (package="OCC.Core", docstring=INTIMPDOCSTRING) IntImp @@ -67,7 +67,7 @@ enum IntImp_ConstIsoparametric { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class IntImp_ConstIsoparametric(IntEnum): diff --git a/src/SWIG_files/wrapper/IntImpParGen.i b/src/SWIG_files/wrapper/IntImpParGen.i index ab92dbe98..060025312 100644 --- a/src/SWIG_files/wrapper/IntImpParGen.i +++ b/src/SWIG_files/wrapper/IntImpParGen.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define INTIMPPARGENDOCSTRING "IntImpParGen module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_intimppargen.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_intimppargen.html" %enddef %module (package="OCC.Core", docstring=INTIMPPARGENDOCSTRING) IntImpParGen @@ -62,7 +62,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/IntPatch.i b/src/SWIG_files/wrapper/IntPatch.i index 192d08c62..0a2d38922 100644 --- a/src/SWIG_files/wrapper/IntPatch.i +++ b/src/SWIG_files/wrapper/IntPatch.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define INTPATCHDOCSTRING "IntPatch module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_intpatch.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_intpatch.html" %enddef %module (package="OCC.Core", docstring=INTPATCHDOCSTRING) IntPatch @@ -103,7 +103,7 @@ enum IntPatch_IType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class IntPatch_SpecPntType(IntEnum): @@ -208,14 +208,14 @@ typedef NCollection_Sequence IntPatch_Sequenc class IntPatch_ALineToWLine { public: /****************** IntPatch_ALineToWLine ******************/ - /**** md5 signature: 477cc3fd330252da9e528955dfe46d84 ****/ + /**** md5 signature: 2f42631433ded37863a3c2e22963c3ab ****/ %feature("compactdefaultargs") IntPatch_ALineToWLine; %feature("autodoc", "Constructor. Parameters ---------- -theS1: Adaptor3d_HSurface -theS2: Adaptor3d_HSurface +theS1: Adaptor3d_Surface +theS2: Adaptor3d_Surface theNbPoints: int,optional default value is 200 @@ -223,7 +223,7 @@ Returns ------- None ") IntPatch_ALineToWLine; - IntPatch_ALineToWLine(const opencascade::handle & theS1, const opencascade::handle & theS2, const Standard_Integer theNbPoints = 200); + IntPatch_ALineToWLine(const opencascade::handle & theS1, const opencascade::handle & theS2, const Standard_Integer theNbPoints = 200); /****************** MakeWLine ******************/ /**** md5 signature: 6b47b07a444cb68ac061bd9dc0d6098b ****/ @@ -244,7 +244,7 @@ None /****************** MakeWLine ******************/ /**** md5 signature: 10f46e5d7e2085cbf19dde3ab0e3d1d7 ****/ %feature("compactdefaultargs") MakeWLine; - %feature("autodoc", "Converts aline (limitted by paraminf and paramsup) to the set of walking-lines and adds them in thelines. + %feature("autodoc", "Converts aline (limited by paraminf and paramsup) to the set of walking-lines and adds them in thelines. Parameters ---------- @@ -363,15 +363,15 @@ None IntPatch_ArcFunction(); /****************** Arc ******************/ - /**** md5 signature: b2e2a2b000ebbda9cef9186aeead5385 ****/ + /**** md5 signature: de8e47510fc50811ee5a3e0bc98029e6 ****/ %feature("compactdefaultargs") Arc; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") Arc; - const opencascade::handle & Arc(); + const opencascade::handle & Arc(); /****************** Derivative ******************/ /**** md5 signature: 99d758c6c475cdb086620552a67d08e7 ****/ @@ -433,34 +433,34 @@ IntSurf_Quadric const IntSurf_Quadric & Quadric(); /****************** Set ******************/ - /**** md5 signature: 39b28571bbfbb9613c66992d83b4c72e ****/ + /**** md5 signature: 70ab888f546bf04b92c8032f862436af ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "No available documentation. Parameters ---------- -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Returns ------- None ") Set; - void Set(const opencascade::handle & A); + void Set(const opencascade::handle & A); /****************** Set ******************/ - /**** md5 signature: c9230f42bb12d45a693a7ae3204732ab ****/ + /**** md5 signature: fe1f4e54b6d838c88f545f7975616591 ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- None ") Set; - void Set(const opencascade::handle & S); + void Set(const opencascade::handle & S); /****************** SetQuadric ******************/ /**** md5 signature: d5b0476ad1478596d5971650634ac6de ****/ @@ -478,15 +478,15 @@ None void SetQuadric(const IntSurf_Quadric & Q); /****************** Surface ******************/ - /**** md5 signature: 81999f08eca68bee259ba395fdac1a30 ****/ + /**** md5 signature: d36dc8d293d03901e5a1cace2e167115 ****/ %feature("compactdefaultargs") Surface; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") Surface; - const opencascade::handle & Surface(); + const opencascade::handle & Surface(); /****************** Valpoint ******************/ /**** md5 signature: 3a2ceb97db1e39a13d0a9061e49cb920 ****/ @@ -549,43 +549,43 @@ D: float class IntPatch_CSFunction : public math_FunctionSetWithDerivatives { public: /****************** IntPatch_CSFunction ******************/ - /**** md5 signature: 694bdc63f29d3dcde2199bbe422df2df ****/ + /**** md5 signature: 9e70dc8abfeefce3aafed780da3fdb0b ****/ %feature("compactdefaultargs") IntPatch_CSFunction; %feature("autodoc", "S1 is the surface on which the intersection is searched. c is a curve on the surface s2. Parameters ---------- -S1: Adaptor3d_HSurface -C: Adaptor2d_HCurve2d -S2: Adaptor3d_HSurface +S1: Adaptor3d_Surface +C: Adaptor2d_Curve2d +S2: Adaptor3d_Surface Returns ------- None ") IntPatch_CSFunction; - IntPatch_CSFunction(const opencascade::handle & S1, const opencascade::handle & C, const opencascade::handle & S2); + IntPatch_CSFunction(const opencascade::handle & S1, const opencascade::handle & C, const opencascade::handle & S2); /****************** AuxillarCurve ******************/ - /**** md5 signature: 7e09159e35505ab62a9e65c6846deea3 ****/ + /**** md5 signature: 147cf00266b63350d4a9e7d2edb61e1b ****/ %feature("compactdefaultargs") AuxillarCurve; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") AuxillarCurve; - const opencascade::handle & AuxillarCurve(); + const opencascade::handle & AuxillarCurve(); /****************** AuxillarSurface ******************/ - /**** md5 signature: eebc6d437c971dfbfb481a3fe1861466 ****/ + /**** md5 signature: b291a5935dc6f37ed5922990c14f0acd ****/ %feature("compactdefaultargs") AuxillarSurface; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") AuxillarSurface; - const opencascade::handle & AuxillarSurface(); + const opencascade::handle & AuxillarSurface(); /****************** Derivatives ******************/ /**** md5 signature: 80ee5f16e62731c095910ad60228848b ****/ @@ -840,73 +840,73 @@ gp_Pnt class IntPatch_HCurve2dTool { public: /****************** BSpline ******************/ - /**** md5 signature: 51c6af526482fdefe22b195f9e7f642b ****/ + /**** md5 signature: 1151b84776305bc0a5c8aaee6f50252d ****/ %feature("compactdefaultargs") BSpline; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- opencascade::handle ") BSpline; - static opencascade::handle BSpline(const opencascade::handle & C); + static opencascade::handle BSpline(const opencascade::handle & C); /****************** Bezier ******************/ - /**** md5 signature: f3f25a1b425466642d5538101f636952 ****/ + /**** md5 signature: 55afc4c0fc79e07de6077214558af461 ****/ %feature("compactdefaultargs") Bezier; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- opencascade::handle ") Bezier; - static opencascade::handle Bezier(const opencascade::handle & C); + static opencascade::handle Bezier(const opencascade::handle & C); /****************** Circle ******************/ - /**** md5 signature: 25cca94b6abda39a58f3572d7e1269e1 ****/ + /**** md5 signature: 3e4b216e090c5747e712418f4fa66d2c ****/ %feature("compactdefaultargs") Circle; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- gp_Circ2d ") Circle; - static gp_Circ2d Circle(const opencascade::handle & C); + static gp_Circ2d Circle(const opencascade::handle & C); /****************** Continuity ******************/ - /**** md5 signature: c3f4e05ac1409417c3a49b2ba86768c1 ****/ + /**** md5 signature: 93cd5f75c1ce867aba7a7f12421275f0 ****/ %feature("compactdefaultargs") Continuity; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- GeomAbs_Shape ") Continuity; - static GeomAbs_Shape Continuity(const opencascade::handle & C); + static GeomAbs_Shape Continuity(const opencascade::handle & C); /****************** D0 ******************/ - /**** md5 signature: 46487cddba3993af60eac47b2d9fb4ec ****/ + /**** md5 signature: 54c6bd0c456279db2610c0ff0808eb84 ****/ %feature("compactdefaultargs") D0; %feature("autodoc", "Computes the point of parameter u on the curve. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d U: float P: gp_Pnt2d @@ -914,16 +914,16 @@ Returns ------- None ") D0; - static void D0(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P); + static void D0(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P); /****************** D1 ******************/ - /**** md5 signature: 47f0ee388b0110afd0acc19f4f31143b ****/ + /**** md5 signature: 918bee38d3c31b02180315ab8bd4beb7 ****/ %feature("compactdefaultargs") D1; %feature("autodoc", "Computes the point of parameter u on the curve with its first derivative. raised if the continuity of the current interval is not c1. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d U: float P: gp_Pnt2d V: gp_Vec2d @@ -932,16 +932,16 @@ Returns ------- None ") D1; - static void D1(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V); + static void D1(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V); /****************** D2 ******************/ - /**** md5 signature: 67bd4dfba43285ed3ba3fa4db342511d ****/ + /**** md5 signature: d9e326efa98865a213fce49a3626a678 ****/ %feature("compactdefaultargs") D2; %feature("autodoc", "Returns the point p of parameter u, the first and second derivatives v1 and v2. raised if the continuity of the current interval is not c2. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d U: float P: gp_Pnt2d V1: gp_Vec2d @@ -951,16 +951,16 @@ Returns ------- None ") D2; - static void D2(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2); + static void D2(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2); /****************** D3 ******************/ - /**** md5 signature: a12143246ff3c675c374e091b8bb4126 ****/ + /**** md5 signature: 4951d7379750f8dbc9e426361fa2b365 ****/ %feature("compactdefaultargs") D3; %feature("autodoc", "Returns the point p of parameter u, the first, the second and the third derivative. raised if the continuity of the current interval is not c3. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d U: float P: gp_Pnt2d V1: gp_Vec2d @@ -971,16 +971,16 @@ Returns ------- None ") D3; - static void D3(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2, gp_Vec2d & V3); + static void D3(const opencascade::handle & C, const Standard_Real U, gp_Pnt2d & P, gp_Vec2d & V1, gp_Vec2d & V2, gp_Vec2d & V3); /****************** DN ******************/ - /**** md5 signature: b51d40fcc387fcff2c771e816a837a26 ****/ + /**** md5 signature: edb6f0f7cc5bdd7864a248db788f4d84 ****/ %feature("compactdefaultargs") DN; %feature("autodoc", "The returned vector gives the value of the derivative for the order of derivation n. raised if the continuity of the current interval is not cn. raised if n < 1. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d U: float N: int @@ -988,76 +988,76 @@ Returns ------- gp_Vec2d ") DN; - static gp_Vec2d DN(const opencascade::handle & C, const Standard_Real U, const Standard_Integer N); + static gp_Vec2d DN(const opencascade::handle & C, const Standard_Real U, const Standard_Integer N); /****************** Ellipse ******************/ - /**** md5 signature: f3a29109984a1143a6cb5514fa451f90 ****/ + /**** md5 signature: 9ddecf68838c4598b17a43e7ee186e6e ****/ %feature("compactdefaultargs") Ellipse; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- gp_Elips2d ") Ellipse; - static gp_Elips2d Ellipse(const opencascade::handle & C); + static gp_Elips2d Ellipse(const opencascade::handle & C); /****************** FirstParameter ******************/ - /**** md5 signature: eaf98bddee98d43872dfec9b2cd68150 ****/ + /**** md5 signature: a4d9a6241f0c3cafc57f60a68d9c9127 ****/ %feature("compactdefaultargs") FirstParameter; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- float ") FirstParameter; - static Standard_Real FirstParameter(const opencascade::handle & C); + static Standard_Real FirstParameter(const opencascade::handle & C); /****************** GetType ******************/ - /**** md5 signature: ec77b3306d37c7299568c0a36686922d ****/ + /**** md5 signature: 29ec5067d7e913f214c553444ec99b6a ****/ %feature("compactdefaultargs") GetType; %feature("autodoc", "Returns the type of the curve in the current interval : line, circle, ellipse, hyperbola, parabola, beziercurve, bsplinecurve, othercurve. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- GeomAbs_CurveType ") GetType; - static GeomAbs_CurveType GetType(const opencascade::handle & C); + static GeomAbs_CurveType GetType(const opencascade::handle & C); /****************** Hyperbola ******************/ - /**** md5 signature: 164051c7a5f0ff11dadb1050a2b5196c ****/ + /**** md5 signature: d710d90c07a9bd6c6e8e1ba3fc1c92bf ****/ %feature("compactdefaultargs") Hyperbola; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- gp_Hypr2d ") Hyperbola; - static gp_Hypr2d Hyperbola(const opencascade::handle & C); + static gp_Hypr2d Hyperbola(const opencascade::handle & C); /****************** Intervals ******************/ - /**** md5 signature: 3b05031b8de1688bfd3ab21d174798f0 ****/ + /**** md5 signature: 7f25b6c48f712ccc9ec416d83eb97ef8 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d T: TColStd_Array1OfReal S: GeomAbs_Shape @@ -1065,92 +1065,92 @@ Returns ------- None ") Intervals; - static void Intervals(const opencascade::handle & C, TColStd_Array1OfReal & T, const GeomAbs_Shape S); + static void Intervals(const opencascade::handle & C, TColStd_Array1OfReal & T, const GeomAbs_Shape S); /****************** IsClosed ******************/ - /**** md5 signature: 0e22a421e5652f2d44cc8cf1dd94b7c3 ****/ + /**** md5 signature: e2e4c5d0ae21ac59c815ef761d7e7eb0 ****/ %feature("compactdefaultargs") IsClosed; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- bool ") IsClosed; - static Standard_Boolean IsClosed(const opencascade::handle & C); + static Standard_Boolean IsClosed(const opencascade::handle & C); /****************** IsPeriodic ******************/ - /**** md5 signature: 4aba8b2dd73d6a9faa95857fea2fa1c8 ****/ + /**** md5 signature: 343c2522f84a0271d505fb5a7b6123ee ****/ %feature("compactdefaultargs") IsPeriodic; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- bool ") IsPeriodic; - static Standard_Boolean IsPeriodic(const opencascade::handle & C); + static Standard_Boolean IsPeriodic(const opencascade::handle & C); /****************** LastParameter ******************/ - /**** md5 signature: c7ee808a0daf7f6c32882e5c11459a8d ****/ + /**** md5 signature: a84c73d5efee27b935b3bc64eba5e8ab ****/ %feature("compactdefaultargs") LastParameter; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- float ") LastParameter; - static Standard_Real LastParameter(const opencascade::handle & C); + static Standard_Real LastParameter(const opencascade::handle & C); /****************** Line ******************/ - /**** md5 signature: 5add7292d5bf7b9e27a7ab736f1e7435 ****/ + /**** md5 signature: cc50bf5bbcfff1340d1951ad804f481d ****/ %feature("compactdefaultargs") Line; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- gp_Lin2d ") Line; - static gp_Lin2d Line(const opencascade::handle & C); + static gp_Lin2d Line(const opencascade::handle & C); /****************** NbIntervals ******************/ - /**** md5 signature: 042b8a87b181044ce642f6e33059fda9 ****/ + /**** md5 signature: 296d2d406ae6365ab4187665e47f6beb ****/ %feature("compactdefaultargs") NbIntervals; %feature("autodoc", "Returns the number of intervals for continuity . may be one if continuity(myclass) >= . Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d S: GeomAbs_Shape Returns ------- int ") NbIntervals; - static Standard_Integer NbIntervals(const opencascade::handle & C, const GeomAbs_Shape S); + static Standard_Integer NbIntervals(const opencascade::handle & C, const GeomAbs_Shape S); /****************** NbSamples ******************/ - /**** md5 signature: 9c572bc378ed84a8420fac29109ee0cc ****/ + /**** md5 signature: 4846c46ec026f7e5cf2080eb1601445a ****/ %feature("compactdefaultargs") NbSamples; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d U0: float U1: float @@ -1158,69 +1158,69 @@ Returns ------- int ") NbSamples; - static Standard_Integer NbSamples(const opencascade::handle & C, const Standard_Real U0, const Standard_Real U1); + static Standard_Integer NbSamples(const opencascade::handle & C, const Standard_Real U0, const Standard_Real U1); /****************** Parabola ******************/ - /**** md5 signature: aa68878e794db72dae1959cec7bf2f61 ****/ + /**** md5 signature: 638d7ecde6dd9f67180eadf45347f22e ****/ %feature("compactdefaultargs") Parabola; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- gp_Parab2d ") Parabola; - static gp_Parab2d Parabola(const opencascade::handle & C); + static gp_Parab2d Parabola(const opencascade::handle & C); /****************** Period ******************/ - /**** md5 signature: 7aa66d879cd9e56bcd3f2e6f17863699 ****/ + /**** md5 signature: 2a78d8fc20cccabaa0fb7d52397ae7ba ****/ %feature("compactdefaultargs") Period; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- float ") Period; - static Standard_Real Period(const opencascade::handle & C); + static Standard_Real Period(const opencascade::handle & C); /****************** Resolution ******************/ - /**** md5 signature: 76c8a3dbf7f89f06f48d44960220ce20 ****/ + /**** md5 signature: 1567f92dacdcdb24e1f4d21710c525e2 ****/ %feature("compactdefaultargs") Resolution; %feature("autodoc", "Returns the parametric resolution corresponding to the real space resolution . Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d R3d: float Returns ------- float ") Resolution; - static Standard_Real Resolution(const opencascade::handle & C, const Standard_Real R3d); + static Standard_Real Resolution(const opencascade::handle & C, const Standard_Real R3d); /****************** Value ******************/ - /**** md5 signature: ca7870ae23348f83eb576a5911436760 ****/ + /**** md5 signature: f88e121e984f9cbec46065eb86a1e379 ****/ %feature("compactdefaultargs") Value; %feature("autodoc", "Computes the point of parameter u on the curve. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d U: float Returns ------- gp_Pnt2d ") Value; - static gp_Pnt2d Value(const opencascade::handle & C, const Standard_Real U); + static gp_Pnt2d Value(const opencascade::handle & C, const Standard_Real U); }; @@ -1248,152 +1248,152 @@ None IntPatch_HInterTool(); /****************** Bounds ******************/ - /**** md5 signature: 9d7011a3f7bf9140e97d4cca3a13d459 ****/ + /**** md5 signature: 14979ddc3175e995d5548477ac5bcd4b ****/ %feature("compactdefaultargs") Bounds; %feature("autodoc", "Returns the parametric limits on the arc c. these limits must be finite : they are either the real limits of the arc, for a finite arc, or a bounding box for an infinite arc. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- Ufirst: float Ulast: float ") Bounds; - static void Bounds(const opencascade::handle & C, Standard_Real &OutValue, Standard_Real &OutValue); + static void Bounds(const opencascade::handle & C, Standard_Real &OutValue, Standard_Real &OutValue); /****************** HasBeenSeen ******************/ - /**** md5 signature: c459516f806b782c6912d96e17f167c2 ****/ + /**** md5 signature: 52a722c5d4a9984d26ad321cf3630b48 ****/ %feature("compactdefaultargs") HasBeenSeen; %feature("autodoc", "Returns true if all the intersection point and edges are known on the arc. the intersection point are given as vertices. the intersection edges are given as intervals between two vertices. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- bool ") HasBeenSeen; - static Standard_Boolean HasBeenSeen(const opencascade::handle & C); + static Standard_Boolean HasBeenSeen(const opencascade::handle & C); /****************** HasFirstPoint ******************/ - /**** md5 signature: 21dbd03b2bfe6401a9ae58a73e3b9d1c ****/ + /**** md5 signature: af276ff6ae83b4e53affd31093f8bfdc ****/ %feature("compactdefaultargs") HasFirstPoint; %feature("autodoc", "Returns true when the segment of range index is not open at the left side. in that case, indfirst is the range in the list intersection points (see nbpoints) of the one which defines the left bound of the segment. otherwise, the method has to return false, and indfirst has no meaning. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Index: int Returns ------- IndFirst: int ") HasFirstPoint; - static Standard_Boolean HasFirstPoint(const opencascade::handle & C, const Standard_Integer Index, Standard_Integer &OutValue); + static Standard_Boolean HasFirstPoint(const opencascade::handle & C, const Standard_Integer Index, Standard_Integer &OutValue); /****************** HasLastPoint ******************/ - /**** md5 signature: a4dadcf8bd34f0f89f5ae609438fa233 ****/ + /**** md5 signature: a28a12263a39eecc4acc9708fdf256c7 ****/ %feature("compactdefaultargs") HasLastPoint; %feature("autodoc", "Returns true when the segment of range index is not open at the right side. in that case, indlast is the range in the list intersection points (see nbpoints) of the one which defines the right bound of the segment. otherwise, the method has to return false, and indlast has no meaning. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Index: int Returns ------- IndLast: int ") HasLastPoint; - static Standard_Boolean HasLastPoint(const opencascade::handle & C, const Standard_Integer Index, Standard_Integer &OutValue); + static Standard_Boolean HasLastPoint(const opencascade::handle & C, const Standard_Integer Index, Standard_Integer &OutValue); /****************** IsAllSolution ******************/ - /**** md5 signature: 0c6c1768ff2598386bae6ed220465e90 ****/ + /**** md5 signature: a0e5f5bbe827235fe1ddb52793e5eb42 ****/ %feature("compactdefaultargs") IsAllSolution; %feature("autodoc", "Returns true when the whole restriction is solution of the intersection problem. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- bool ") IsAllSolution; - static Standard_Boolean IsAllSolution(const opencascade::handle & C); + static Standard_Boolean IsAllSolution(const opencascade::handle & C); /****************** IsVertex ******************/ - /**** md5 signature: be51c8dbf9d3585b6d3eab81b6b976ce ****/ + /**** md5 signature: ffecad0cdf7d56d3c7a670cde7e75bc2 ****/ %feature("compactdefaultargs") IsVertex; %feature("autodoc", "Returns true if the intersection point of range index corresponds with a vertex on the arc a. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Index: int Returns ------- bool ") IsVertex; - static Standard_Boolean IsVertex(const opencascade::handle & C, const Standard_Integer Index); + static Standard_Boolean IsVertex(const opencascade::handle & C, const Standard_Integer Index); /****************** NbPoints ******************/ - /**** md5 signature: 17b706dc3883e4250f166019ea7dae25 ****/ + /**** md5 signature: 54aec07f3b6dd332421dfbc4dec3568c ****/ %feature("compactdefaultargs") NbPoints; %feature("autodoc", "Returns the number of intersection points on the arc a. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- int ") NbPoints; - static Standard_Integer NbPoints(const opencascade::handle & C); + static Standard_Integer NbPoints(const opencascade::handle & C); /****************** NbSamplePoints ******************/ - /**** md5 signature: b2117c359ea392249089151a8353a788 ****/ + /**** md5 signature: 0e8230bae32bc82ea05cbafa64c2af61 ****/ %feature("compactdefaultargs") NbSamplePoints; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- int ") NbSamplePoints; - Standard_Integer NbSamplePoints(const opencascade::handle & S); + Standard_Integer NbSamplePoints(const opencascade::handle & S); /****************** NbSamplesOnArc ******************/ - /**** md5 signature: 5d5251a65ac23da48e83da611222dcfc ****/ + /**** md5 signature: 99a1330c1c671d353c2bee9fd23c27cc ****/ %feature("compactdefaultargs") NbSamplesOnArc; %feature("autodoc", "Returns the number of points which is used to make a sample on the arc. this number is a function of the surface and the curveonsurface complexity. Parameters ---------- -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Returns ------- int ") NbSamplesOnArc; - static Standard_Integer NbSamplesOnArc(const opencascade::handle & A); + static Standard_Integer NbSamplesOnArc(const opencascade::handle & A); /****************** NbSamplesU ******************/ - /**** md5 signature: 97232a7a843cb20e7362e1978825fb60 ****/ + /**** md5 signature: 7ffe816252db97bdbf2950cea2ca2037 ****/ %feature("compactdefaultargs") NbSamplesU; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface u1: float u2: float @@ -1401,16 +1401,16 @@ Returns ------- int ") NbSamplesU; - static Standard_Integer NbSamplesU(const opencascade::handle & S, const Standard_Real u1, const Standard_Real u2); + static Standard_Integer NbSamplesU(const opencascade::handle & S, const Standard_Real u1, const Standard_Real u2); /****************** NbSamplesV ******************/ - /**** md5 signature: 3cd7a5ede88f3424fd1fcf0d55b10994 ****/ + /**** md5 signature: 183861bdb84cb1597bd3a1324a097e8e ****/ %feature("compactdefaultargs") NbSamplesV; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface v1: float v2: float @@ -1418,47 +1418,47 @@ Returns ------- int ") NbSamplesV; - static Standard_Integer NbSamplesV(const opencascade::handle & S, const Standard_Real v1, const Standard_Real v2); + static Standard_Integer NbSamplesV(const opencascade::handle & S, const Standard_Real v1, const Standard_Real v2); /****************** NbSegments ******************/ - /**** md5 signature: 0ae6c2f8194d2736e98ab44bdf7746bf ****/ + /**** md5 signature: 2689aa0fe05c64574e603c4eb512caa4 ****/ %feature("compactdefaultargs") NbSegments; %feature("autodoc", "Returns the number of part of a solution of the of intersection problem. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- int ") NbSegments; - static Standard_Integer NbSegments(const opencascade::handle & C); + static Standard_Integer NbSegments(const opencascade::handle & C); /****************** Parameter ******************/ - /**** md5 signature: 4bd4573724cb995d25117b32c6301dbf ****/ + /**** md5 signature: f5a937c546746bb35bafec928fdc442d ****/ %feature("compactdefaultargs") Parameter; %feature("autodoc", "Returns the parameter of the vertex v on the arc a. Parameters ---------- V: Adaptor3d_HVertex -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- float ") Parameter; - static Standard_Real Parameter(const opencascade::handle & V, const opencascade::handle & C); + static Standard_Real Parameter(const opencascade::handle & V, const opencascade::handle & C); /****************** Project ******************/ - /**** md5 signature: c906bf41c5c252a3dc2813aa763bf1d4 ****/ + /**** md5 signature: b602a334ba1cfcdefae0bd304b479ee8 ****/ %feature("compactdefaultargs") Project; %feature("autodoc", "Projects the point p on the arc c. if the methods returns standard_true, the projection is successful, and paramproj is the parameter on the arc of the projected point, ptproj is the projected point. if the method returns standard_false, param proj and ptproj are not significant. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d P: gp_Pnt2d Ptproj: gp_Pnt2d @@ -1466,16 +1466,16 @@ Returns ------- Paramproj: float ") Project; - static Standard_Boolean Project(const opencascade::handle & C, const gp_Pnt2d & P, Standard_Real &OutValue, gp_Pnt2d & Ptproj); + static Standard_Boolean Project(const opencascade::handle & C, const gp_Pnt2d & P, Standard_Real &OutValue, gp_Pnt2d & Ptproj); /****************** SamplePoint ******************/ - /**** md5 signature: f05ea8d395bc4d9fc498d71b738e3e67 ****/ + /**** md5 signature: e5df4c7ba0cea61bfd2ea610530d7dbd ****/ %feature("compactdefaultargs") SamplePoint; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Index: int Returns @@ -1483,92 +1483,92 @@ Returns U: float V: float ") SamplePoint; - void SamplePoint(const opencascade::handle & S, const Standard_Integer Index, Standard_Real &OutValue, Standard_Real &OutValue); + void SamplePoint(const opencascade::handle & S, const Standard_Integer Index, Standard_Real &OutValue, Standard_Real &OutValue); /****************** SingularOnUMax ******************/ - /**** md5 signature: 8fa5e0f319821099d2a06e819c6a018a ****/ + /**** md5 signature: d3ce7701aebe6c17d8a630ca024b7a67 ****/ %feature("compactdefaultargs") SingularOnUMax; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- bool ") SingularOnUMax; - static Standard_Boolean SingularOnUMax(const opencascade::handle & S); + static Standard_Boolean SingularOnUMax(const opencascade::handle & S); /****************** SingularOnUMin ******************/ - /**** md5 signature: 3dc2f725cee7fa53926efd3afcb116ec ****/ + /**** md5 signature: d59a1ea9f83cedfe3b3c10bf7d368a33 ****/ %feature("compactdefaultargs") SingularOnUMin; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- bool ") SingularOnUMin; - static Standard_Boolean SingularOnUMin(const opencascade::handle & S); + static Standard_Boolean SingularOnUMin(const opencascade::handle & S); /****************** SingularOnVMax ******************/ - /**** md5 signature: 2722360f546bc165747c55a266707a6a ****/ + /**** md5 signature: 5f37482ceddffdf31349f166be64affd ****/ %feature("compactdefaultargs") SingularOnVMax; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- bool ") SingularOnVMax; - static Standard_Boolean SingularOnVMax(const opencascade::handle & S); + static Standard_Boolean SingularOnVMax(const opencascade::handle & S); /****************** SingularOnVMin ******************/ - /**** md5 signature: bf8d485c724c61494d35cc30ea1ad436 ****/ + /**** md5 signature: 25ae497959e941075dff65a069de3c75 ****/ %feature("compactdefaultargs") SingularOnVMin; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- bool ") SingularOnVMin; - static Standard_Boolean SingularOnVMin(const opencascade::handle & S); + static Standard_Boolean SingularOnVMin(const opencascade::handle & S); /****************** Tolerance ******************/ - /**** md5 signature: 3a8783bb4f0487b28d64a7cbca026b23 ****/ + /**** md5 signature: 35f5531e9c358e20c7f5723f26e0a7ba ****/ %feature("compactdefaultargs") Tolerance; %feature("autodoc", "Returns the parametric tolerance used to consider that the vertex and another point meet, i-e if abs(parameter(vertex) - parameter(otherpnt))<= tolerance, the points are 'merged'. Parameters ---------- V: Adaptor3d_HVertex -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Returns ------- float ") Tolerance; - static Standard_Real Tolerance(const opencascade::handle & V, const opencascade::handle & C); + static Standard_Real Tolerance(const opencascade::handle & V, const opencascade::handle & C); /****************** Value ******************/ - /**** md5 signature: 18b3b6d81fbdc955a12ee74b07f30c25 ****/ + /**** md5 signature: ba54f1e0e4e6802571668cb2c0638480 ****/ %feature("compactdefaultargs") Value; %feature("autodoc", "Returns the value (pt), the tolerance (tol), and the parameter (u) on the arc a , of the intersection point of range index. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Index: int Pt: gp_Pnt @@ -1577,16 +1577,16 @@ Returns Tol: float U: float ") Value; - static void Value(const opencascade::handle & C, const Standard_Integer Index, gp_Pnt & Pt, Standard_Real &OutValue, Standard_Real &OutValue); + static void Value(const opencascade::handle & C, const Standard_Integer Index, gp_Pnt & Pt, Standard_Real &OutValue, Standard_Real &OutValue); /****************** Vertex ******************/ - /**** md5 signature: 6f27b126d27d77cd929cf0d82a6331b7 ****/ + /**** md5 signature: f58ee2175cbc1af1161d7220a9c11ff1 ****/ %feature("compactdefaultargs") Vertex; %feature("autodoc", "When isvertex returns true, this method returns the vertex on the arc a. Parameters ---------- -C: Adaptor2d_HCurve2d +C: Adaptor2d_Curve2d Index: int V: Adaptor3d_HVertex @@ -1594,7 +1594,7 @@ Returns ------- None ") Vertex; - static void Vertex(const opencascade::handle & C, const Standard_Integer Index, opencascade::handle & V); + static void Vertex(const opencascade::handle & C, const Standard_Integer Index, opencascade::handle & V); }; @@ -1619,7 +1619,7 @@ enum IntStatus { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class IntStatus(IntEnum): @@ -1644,15 +1644,15 @@ None IntPatch_ImpImpIntersection(); /****************** IntPatch_ImpImpIntersection ******************/ - /**** md5 signature: d7d9807a8a807a779c98af6ca41313c4 ****/ + /**** md5 signature: 03ac7a4946d10cf1316728228e8bd885 ****/ %feature("compactdefaultargs") IntPatch_ImpImpIntersection; %feature("autodoc", "Flag theisreqtokeeprline has been entered only for compatibility with topopebrep package. it shall be deleted after deleting topopebrep. when intersection result returns intpatch_rline and another intpatch_line (not restriction) we (in case of theisreqtokeeprline==true) will always keep both lines even if they are coincided. Parameters ---------- -S1: Adaptor3d_HSurface +S1: Adaptor3d_Surface D1: Adaptor3d_TopolTool -S2: Adaptor3d_HSurface +S2: Adaptor3d_Surface D2: Adaptor3d_TopolTool TolArc: float TolTang: float @@ -1663,7 +1663,7 @@ Returns ------- None ") IntPatch_ImpImpIntersection; - IntPatch_ImpImpIntersection(const opencascade::handle & S1, const opencascade::handle & D1, const opencascade::handle & S2, const opencascade::handle & D2, const Standard_Real TolArc, const Standard_Real TolTang, const Standard_Boolean theIsReqToKeepRLine = Standard_False); + IntPatch_ImpImpIntersection(const opencascade::handle & S1, const opencascade::handle & D1, const opencascade::handle & S2, const opencascade::handle & D2, const Standard_Real TolArc, const Standard_Real TolTang, const Standard_Boolean theIsReqToKeepRLine = Standard_False); /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ @@ -1736,15 +1736,15 @@ bool Standard_Boolean OppositeFaces(); /****************** Perform ******************/ - /**** md5 signature: 541ec0af12dc52d41f7dc37b22986970 ****/ + /**** md5 signature: 8daf2c0173ee7beeb6250f8c01e20567 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Flag theisreqtokeeprline has been entered only for compatibility with topopebrep package. it shall be deleted after deleting topopebrep. when intersection result returns intpatch_rline and another intpatch_line (not restriction) we (in case of theisreqtokeeprline==true) will always keep both lines even if they are coincided. Parameters ---------- -S1: Adaptor3d_HSurface +S1: Adaptor3d_Surface D1: Adaptor3d_TopolTool -S2: Adaptor3d_HSurface +S2: Adaptor3d_Surface D2: Adaptor3d_TopolTool TolArc: float TolTang: float @@ -1755,7 +1755,7 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & S1, const opencascade::handle & D1, const opencascade::handle & S2, const opencascade::handle & D2, const Standard_Real TolArc, const Standard_Real TolTang, const Standard_Boolean theIsReqToKeepRLine = Standard_False); + void Perform(const opencascade::handle & S1, const opencascade::handle & D1, const opencascade::handle & S2, const opencascade::handle & D2, const Standard_Real TolArc, const Standard_Real TolTang, const Standard_Boolean theIsReqToKeepRLine = Standard_False); /****************** Point ******************/ /**** md5 signature: a380f33017a5aaa3320d09b1b9dc85e1 ****/ @@ -1813,15 +1813,15 @@ None IntPatch_ImpPrmIntersection(); /****************** IntPatch_ImpPrmIntersection ******************/ - /**** md5 signature: 1f7dcf87ec31ff53927ccda395499ce2 ****/ + /**** md5 signature: f6b18857420728a54f2881ebe6ac6acd ****/ %feature("compactdefaultargs") IntPatch_ImpPrmIntersection; %feature("autodoc", "No available documentation. Parameters ---------- -Surf1: Adaptor3d_HSurface +Surf1: Adaptor3d_Surface D1: Adaptor3d_TopolTool -Surf2: Adaptor3d_HSurface +Surf2: Adaptor3d_Surface D2: Adaptor3d_TopolTool TolArc: float TolTang: float @@ -1832,12 +1832,12 @@ Returns ------- None ") IntPatch_ImpPrmIntersection; - IntPatch_ImpPrmIntersection(const opencascade::handle & Surf1, const opencascade::handle & D1, const opencascade::handle & Surf2, const opencascade::handle & D2, const Standard_Real TolArc, const Standard_Real TolTang, const Standard_Real Fleche, const Standard_Real Pas); + IntPatch_ImpPrmIntersection(const opencascade::handle & Surf1, const opencascade::handle & D1, const opencascade::handle & Surf2, const opencascade::handle & D2, const Standard_Real TolArc, const Standard_Real TolTang, const Standard_Real Fleche, const Standard_Real Pas); /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if the calculus was succesfull. + %feature("autodoc", "Returns true if the calculus was successful. Returns ------- @@ -1894,15 +1894,15 @@ int Standard_Integer NbPnts(); /****************** Perform ******************/ - /**** md5 signature: 3845fafb392932a68d032618a76acc4f ****/ + /**** md5 signature: b8c905aeb6dfe98e5d2ee6b901613b38 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "No available documentation. Parameters ---------- -Surf1: Adaptor3d_HSurface +Surf1: Adaptor3d_Surface D1: Adaptor3d_TopolTool -Surf2: Adaptor3d_HSurface +Surf2: Adaptor3d_Surface D2: Adaptor3d_TopolTool TolArc: float TolTang: float @@ -1913,7 +1913,7 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & Surf1, const opencascade::handle & D1, const opencascade::handle & Surf2, const opencascade::handle & D2, const Standard_Real TolArc, const Standard_Real TolTang, const Standard_Real Fleche, const Standard_Real Pas); + void Perform(const opencascade::handle & Surf1, const opencascade::handle & D1, const opencascade::handle & Surf2, const opencascade::handle & D2, const Standard_Real TolArc, const Standard_Real TolTang, const Standard_Real Fleche, const Standard_Real Pas); /****************** Point ******************/ /**** md5 signature: a380f33017a5aaa3320d09b1b9dc85e1 ****/ @@ -2059,15 +2059,15 @@ None IntPatch_Intersection(); /****************** IntPatch_Intersection ******************/ - /**** md5 signature: a85a3b0f0e6ce461f6dbf5a1b5d98f5d ****/ + /**** md5 signature: 8cb955eb3bc846ae555e6ba075574dfc ****/ %feature("compactdefaultargs") IntPatch_Intersection; %feature("autodoc", "No available documentation. Parameters ---------- -S1: Adaptor3d_HSurface +S1: Adaptor3d_Surface D1: Adaptor3d_TopolTool -S2: Adaptor3d_HSurface +S2: Adaptor3d_Surface D2: Adaptor3d_TopolTool TolArc: float TolTang: float @@ -2076,16 +2076,16 @@ Returns ------- None ") IntPatch_Intersection; - IntPatch_Intersection(const opencascade::handle & S1, const opencascade::handle & D1, const opencascade::handle & S2, const opencascade::handle & D2, const Standard_Real TolArc, const Standard_Real TolTang); + IntPatch_Intersection(const opencascade::handle & S1, const opencascade::handle & D1, const opencascade::handle & S2, const opencascade::handle & D2, const Standard_Real TolArc, const Standard_Real TolTang); /****************** IntPatch_Intersection ******************/ - /**** md5 signature: f9a6c62211c96a7f49d9256dd903134d ****/ + /**** md5 signature: 44093133de38c447f56c4f2446535fbc ****/ %feature("compactdefaultargs") IntPatch_Intersection; %feature("autodoc", "No available documentation. Parameters ---------- -S1: Adaptor3d_HSurface +S1: Adaptor3d_Surface D1: Adaptor3d_TopolTool TolArc: float TolTang: float @@ -2094,26 +2094,61 @@ Returns ------- None ") IntPatch_Intersection; - IntPatch_Intersection(const opencascade::handle & S1, const opencascade::handle & D1, const Standard_Real TolArc, const Standard_Real TolTang); + IntPatch_Intersection(const opencascade::handle & S1, const opencascade::handle & D1, const Standard_Real TolArc, const Standard_Real TolTang); + + /****************** CheckSingularPoints ******************/ + /**** md5 signature: 82524fc63e41c5bd324fc8781eba7164 ****/ + %feature("compactdefaultargs") CheckSingularPoints; + %feature("autodoc", "Checks if surface thes1 has degenerated boundary (ds/du or ds/dv = 0) and calculates minimal distance between corresponding singular points and surface thes2 if singular point exists the method returns 'true' and stores minimal distance in thedist. + +Parameters +---------- +theS1: Adaptor3d_Surface +theD1: Adaptor3d_TopolTool +theS2: Adaptor3d_Surface + +Returns +------- +theDist: float +") CheckSingularPoints; + static Standard_Boolean CheckSingularPoints(const opencascade::handle & theS1, const opencascade::handle & theD1, const opencascade::handle & theS2, Standard_Real &OutValue); + + /****************** DefineUVMaxStep ******************/ + /**** md5 signature: f6a4ba92c83b751825d3a7abc18a44cc ****/ + %feature("compactdefaultargs") DefineUVMaxStep; + %feature("autodoc", "Calculates recommended value for myuvmaxstep depending on surfaces and their domains. + +Parameters +---------- +theS1: Adaptor3d_Surface +theD1: Adaptor3d_TopolTool +theS2: Adaptor3d_Surface +theD2: Adaptor3d_TopolTool + +Returns +------- +float +") DefineUVMaxStep; + static Standard_Real DefineUVMaxStep(const opencascade::handle & theS1, const opencascade::handle & theD1, const opencascade::handle & theS2, const opencascade::handle & theD2); /****************** Dump ******************/ - /**** md5 signature: 40fd8e2f06ba7098298ee81d3bf643bc ****/ + /**** md5 signature: b8dcb65f3dda1a981da840cad536cd1b ****/ %feature("compactdefaultargs") Dump; %feature("autodoc", "Dump of each result line. mode for more accurate dumps. Parameters ---------- Mode: int -S1: Adaptor3d_HSurface +S1: Adaptor3d_Surface D1: Adaptor3d_TopolTool -S2: Adaptor3d_HSurface +S2: Adaptor3d_Surface D2: Adaptor3d_TopolTool Returns ------- None ") Dump; - void Dump(const Standard_Integer Mode, const opencascade::handle & S1, const opencascade::handle & D1, const opencascade::handle & S2, const opencascade::handle & D2); + void Dump(const Standard_Integer Mode, const opencascade::handle & S1, const opencascade::handle & D1, const opencascade::handle & S2, const opencascade::handle & D2); /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ @@ -2186,15 +2221,15 @@ bool Standard_Boolean OppositeFaces(); /****************** Perform ******************/ - /**** md5 signature: 64035566bd08a233ecb5546ff940a855 ****/ + /**** md5 signature: b269e7ee1d80b0a360103090a9937e8f ****/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Flag theisreqtokeeprline has been entered only for compatibility with topopebrep package. it shall be deleted after deleting topopebrep. when intersection result returns intpatch_rline and another intpatch_line (not restriction) we (in case of theisreqtokeeprline==true) will always keep both lines even if they are coincided. flag theisreqtopostwlproc has been entered only for compatibility with topopebrep package. it shall be deleted after deleting topopebrep. if theisreqtopostwlproc == false, then we will work with walking-line obtained after intersection algorithm directly (wothout any post-processing). . + %feature("autodoc", "Flag theisreqtokeeprline has been entered only for compatibility with topopebrep package. it shall be deleted after deleting topopebrep. when intersection result returns intpatch_rline and another intpatch_line (not restriction) we (in case of theisreqtokeeprline==true) will always keep both lines even if they are coincided. flag theisreqtopostwlproc has been entered only for compatibility with topopebrep package. it shall be deleted after deleting topopebrep. if theisreqtopostwlproc == false, then we will work with walking-line obtained after intersection algorithm directly (without any post-processing). Parameters ---------- -S1: Adaptor3d_HSurface +S1: Adaptor3d_Surface D1: Adaptor3d_TopolTool -S2: Adaptor3d_HSurface +S2: Adaptor3d_Surface D2: Adaptor3d_TopolTool TolArc: float TolTang: float @@ -2209,18 +2244,18 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & S1, const opencascade::handle & D1, const opencascade::handle & S2, const opencascade::handle & D2, const Standard_Real TolArc, const Standard_Real TolTang, const Standard_Boolean isGeomInt = Standard_True, const Standard_Boolean theIsReqToKeepRLine = Standard_False, const Standard_Boolean theIsReqToPostWLProc = Standard_True); + void Perform(const opencascade::handle & S1, const opencascade::handle & D1, const opencascade::handle & S2, const opencascade::handle & D2, const Standard_Real TolArc, const Standard_Real TolTang, const Standard_Boolean isGeomInt = Standard_True, const Standard_Boolean theIsReqToKeepRLine = Standard_False, const Standard_Boolean theIsReqToPostWLProc = Standard_True); /****************** Perform ******************/ - /**** md5 signature: f4f20fcdd48468271f83597c0197e4c4 ****/ + /**** md5 signature: 3f213f8ce247f43c16e4ac42a99c1683 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "If isgeomint == standard_false, then method param-param intersection will be used. flag theisreqtokeeprline has been entered only for compatibility with topopebrep package. it shall be deleted after deleting topopebrep. when intersection result returns intpatch_rline and another intpatch_line (not restriction) we (in case of theisreqtokeeprline==true) will always keep both lines even if they are coincided. flag theisreqtopostwlproc has been entered only for compatibility with topopebrep package. it shall be deleted after deleting topopebrep. if theisreqtopostwlproc == false, then we will work with walking-line obtained after intersection algorithm directly (without any post-processing). . Parameters ---------- -S1: Adaptor3d_HSurface +S1: Adaptor3d_Surface D1: Adaptor3d_TopolTool -S2: Adaptor3d_HSurface +S2: Adaptor3d_Surface D2: Adaptor3d_TopolTool TolArc: float TolTang: float @@ -2236,18 +2271,18 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & S1, const opencascade::handle & D1, const opencascade::handle & S2, const opencascade::handle & D2, const Standard_Real TolArc, const Standard_Real TolTang, IntSurf_ListOfPntOn2S & LOfPnts, const Standard_Boolean isGeomInt = Standard_True, const Standard_Boolean theIsReqToKeepRLine = Standard_False, const Standard_Boolean theIsReqToPostWLProc = Standard_True); + void Perform(const opencascade::handle & S1, const opencascade::handle & D1, const opencascade::handle & S2, const opencascade::handle & D2, const Standard_Real TolArc, const Standard_Real TolTang, IntSurf_ListOfPntOn2S & LOfPnts, const Standard_Boolean isGeomInt = Standard_True, const Standard_Boolean theIsReqToKeepRLine = Standard_False, const Standard_Boolean theIsReqToPostWLProc = Standard_True); /****************** Perform ******************/ - /**** md5 signature: 6aa09eb24dd4bc5222efbef027b91011 ****/ + /**** md5 signature: a90fea01d3487c7f986a9eaa1dbaa115 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Perform with start point. Parameters ---------- -S1: Adaptor3d_HSurface +S1: Adaptor3d_Surface D1: Adaptor3d_TopolTool -S2: Adaptor3d_HSurface +S2: Adaptor3d_Surface D2: Adaptor3d_TopolTool U1: float V1: float @@ -2260,16 +2295,16 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & S1, const opencascade::handle & D1, const opencascade::handle & S2, const opencascade::handle & D2, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2, const Standard_Real TolArc, const Standard_Real TolTang); + void Perform(const opencascade::handle & S1, const opencascade::handle & D1, const opencascade::handle & S2, const opencascade::handle & D2, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2, const Standard_Real TolArc, const Standard_Real TolTang); /****************** Perform ******************/ - /**** md5 signature: 5a0d1e917941576d8c5e9c947eff219f ****/ + /**** md5 signature: 2527f02f395cf07b204ccbcfa04ab9da ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Uses for finding self-intersected surfaces. Parameters ---------- -S1: Adaptor3d_HSurface +S1: Adaptor3d_Surface D1: Adaptor3d_TopolTool TolArc: float TolTang: float @@ -2278,7 +2313,7 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & S1, const opencascade::handle & D1, const Standard_Real TolArc, const Standard_Real TolTang); + void Perform(const opencascade::handle & S1, const opencascade::handle & D1, const Standard_Real TolArc, const Standard_Real TolTang); /****************** Point ******************/ /**** md5 signature: a380f33017a5aaa3320d09b1b9dc85e1 ****/ @@ -2536,7 +2571,7 @@ int Standard_Integer NbLines(); /****************** Perform ******************/ - /**** md5 signature: eff3053702208adc7f4e74664498a5e4 ****/ + /**** md5 signature: 3ce959cc744a727f88718a272bc634d9 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "No available documentation. @@ -2544,9 +2579,9 @@ Parameters ---------- SL: IntPatch_SequenceOfLine L: IntPatch_Line -S1: Adaptor3d_HSurface +S1: Adaptor3d_Surface D1: Adaptor3d_TopolTool -S2: Adaptor3d_HSurface +S2: Adaptor3d_Surface D2: Adaptor3d_TopolTool Tol: float @@ -2554,7 +2589,7 @@ Returns ------- None ") Perform; - void Perform(const IntPatch_SequenceOfLine & SL, const opencascade::handle & L, const opencascade::handle & S1, const opencascade::handle & D1, const opencascade::handle & S2, const opencascade::handle & D2, const Standard_Real Tol); + void Perform(const IntPatch_SequenceOfLine & SL, const opencascade::handle & L, const opencascade::handle & S1, const opencascade::handle & D1, const opencascade::handle & S2, const opencascade::handle & D2, const Standard_Real Tol); }; @@ -2582,26 +2617,26 @@ None IntPatch_Point(); /****************** ArcOnS1 ******************/ - /**** md5 signature: c1826d461dcc6af4b9af182756306c57 ****/ + /**** md5 signature: 85135db99004c68167f0f6d4c3e12e08 ****/ %feature("compactdefaultargs") ArcOnS1; %feature("autodoc", "Returns the arc of restriction containing the vertex. the exception domainerror is raised if isondoms1 returns false. Returns ------- -opencascade::handle +opencascade::handle ") ArcOnS1; - const opencascade::handle & ArcOnS1(); + const opencascade::handle & ArcOnS1(); /****************** ArcOnS2 ******************/ - /**** md5 signature: 2d1e0215316a36f73794dfb2b77e51c1 ****/ + /**** md5 signature: 8bdcf3526697d60e43350266dbc562b1 ****/ %feature("compactdefaultargs") ArcOnS2; %feature("autodoc", "Returns the arc of restriction containing the vertex. the exception domainerror is raised if isondoms2 returns false. Returns ------- -opencascade::handle +opencascade::handle ") ArcOnS2; - const opencascade::handle & ArcOnS2(); + const opencascade::handle & ArcOnS2(); /****************** Dump ******************/ /**** md5 signature: 15b4b2e195645aebb43170ff7f15952a ****/ @@ -2783,14 +2818,14 @@ None void ReverseTransition(); /****************** SetArc ******************/ - /**** md5 signature: 72b2c126deaa24ced71cc8f8bf22eab6 ****/ + /**** md5 signature: b35cf70b8135224173a7500e8bfb6d70 ****/ %feature("compactdefaultargs") SetArc; %feature("autodoc", "Sets the values of a point which is on one of the domain, when both surfaces are implicit ones. if onfirst is true, the point is on the domain of the first patch, otherwise the point is on the domain of the second surface. Parameters ---------- OnFirst: bool -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Param: float TLine: IntSurf_Transition TArc: IntSurf_Transition @@ -2799,7 +2834,7 @@ Returns ------- None ") SetArc; - void SetArc(const Standard_Boolean OnFirst, const opencascade::handle & A, const Standard_Real Param, const IntSurf_Transition & TLine, const IntSurf_Transition & TArc); + void SetArc(const Standard_Boolean OnFirst, const opencascade::handle & A, const Standard_Real Param, const IntSurf_Transition & TLine, const IntSurf_Transition & TArc); /****************** SetMultiple ******************/ /**** md5 signature: ba432831fdf3206e67c99f5a09c82c20 ****/ @@ -3182,7 +3217,7 @@ float /****************** NbTriangles ******************/ /**** md5 signature: bc1f65765f28cccf3319726eaa730a95 ****/ %feature("compactdefaultargs") NbTriangles; - %feature("autodoc", "Give the number of triangles in this polyedral surface. + %feature("autodoc", "Give the number of triangles in this polyhedral surface. Parameters ---------- @@ -3197,7 +3232,7 @@ int /****************** Point ******************/ /**** md5 signature: 109f06f2e5b9dfa60d8906454215fca0 ****/ %feature("compactdefaultargs") Point; - %feature("autodoc", "Give the point of index i in the polyedral surface. + %feature("autodoc", "Give the point of index i in the polyhedral surface. Parameters ---------- @@ -3213,7 +3248,7 @@ gp_Pnt /****************** TriConnex ******************/ /**** md5 signature: d9916b13eb8aa9e0d0f6bda2bcb34cbb ****/ %feature("compactdefaultargs") TriConnex; - %feature("autodoc", "Gives the addresse tricon of the triangle connexe to the triangle of address triang by the edge pivot pedge and the third point of this connexe triangle. when we are on a free edge tricon==0 but the function return the value of the triangle in the other side of pivot on the free edge. used to turn around a vertex. + %feature("autodoc", "Gives the address tricon of the triangle connexe to the triangle of address triang by the edge pivot pedge and the third point of this connexe triangle. when we are on a free edge tricon==0 but the function return the value of the triangle in the other side of pivot on the free edge. used to turn around a vertex. Parameters ---------- @@ -3347,7 +3382,7 @@ iz: int /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns true if the calculus was succesfull. + %feature("autodoc", "Returns true if the calculus was successful. Returns ------- @@ -3404,14 +3439,14 @@ int Standard_Integer NbPointsGrille(); /****************** NewLine ******************/ - /**** md5 signature: c3b4d7e05c34095434ba9f0105ed01c7 ****/ + /**** md5 signature: 0d0c288fdd13a6a3a1c09201bf95a263 ****/ %feature("compactdefaultargs") NewLine; %feature("autodoc", "Computes about intersection points on the line between the points of index and . //! all the points of the line of index with an index between and are in the returned line. new points are inserted between existing points if those points are not too closed. //! an exception is raised if index<=0 or index>nbline. or if isdone returns false. Parameters ---------- -Caro1: Adaptor3d_HSurface -Caro2: Adaptor3d_HSurface +Caro1: Adaptor3d_Surface +Caro2: Adaptor3d_Surface IndexLine: int LowPoint: int HighPoint: int @@ -3421,19 +3456,19 @@ Returns ------- opencascade::handle ") NewLine; - opencascade::handle NewLine(const opencascade::handle & Caro1, const opencascade::handle & Caro2, const Standard_Integer IndexLine, const Standard_Integer LowPoint, const Standard_Integer HighPoint, const Standard_Integer NbPoints); + opencascade::handle NewLine(const opencascade::handle & Caro1, const opencascade::handle & Caro2, const Standard_Integer IndexLine, const Standard_Integer LowPoint, const Standard_Integer HighPoint, const Standard_Integer NbPoints); /****************** Perform ******************/ - /**** md5 signature: d79a5e1f02ec0619e64118958e4ae398 ****/ + /**** md5 signature: 0d9200f0b25095571291a45a9c7403a2 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs the intersection between and . associated polyhedrons and are given. Parameters ---------- -Caro1: Adaptor3d_HSurface +Caro1: Adaptor3d_Surface Polyhedron1: IntPatch_Polyhedron Domain1: Adaptor3d_TopolTool -Caro2: Adaptor3d_HSurface +Caro2: Adaptor3d_Surface Polyhedron2: IntPatch_Polyhedron Domain2: Adaptor3d_TopolTool TolTangency: float @@ -3445,16 +3480,16 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & Caro1, const IntPatch_Polyhedron & Polyhedron1, const opencascade::handle & Domain1, const opencascade::handle & Caro2, const IntPatch_Polyhedron & Polyhedron2, const opencascade::handle & Domain2, const Standard_Real TolTangency, const Standard_Real Epsilon, const Standard_Real Deflection, const Standard_Real Increment); + void Perform(const opencascade::handle & Caro1, const IntPatch_Polyhedron & Polyhedron1, const opencascade::handle & Domain1, const opencascade::handle & Caro2, const IntPatch_Polyhedron & Polyhedron2, const opencascade::handle & Domain2, const Standard_Real TolTangency, const Standard_Real Epsilon, const Standard_Real Deflection, const Standard_Real Increment); /****************** Perform ******************/ - /**** md5 signature: b94c648f4f6fb9533fc4f308cb8f656d ****/ + /**** md5 signature: 7c74c9aaaafb20bfa5724b3dd1491869 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "No available documentation. Parameters ---------- -Caro1: Adaptor3d_HSurface +Caro1: Adaptor3d_Surface Polyhedron1: IntPatch_Polyhedron Domain1: Adaptor3d_TopolTool TolTangency: float @@ -3466,18 +3501,18 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & Caro1, const IntPatch_Polyhedron & Polyhedron1, const opencascade::handle & Domain1, const Standard_Real TolTangency, const Standard_Real Epsilon, const Standard_Real Deflection, const Standard_Real Increment); + void Perform(const opencascade::handle & Caro1, const IntPatch_Polyhedron & Polyhedron1, const opencascade::handle & Domain1, const Standard_Real TolTangency, const Standard_Real Epsilon, const Standard_Real Deflection, const Standard_Real Increment); /****************** Perform ******************/ - /**** md5 signature: beaf3fadf554fe1e47d0cae76e83bd2b ****/ + /**** md5 signature: a95441f01743bd42dc32ec486f64850b ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs the intersection between and . the method computes the polyhedron on each surface. Parameters ---------- -Caro1: Adaptor3d_HSurface +Caro1: Adaptor3d_Surface Domain1: Adaptor3d_TopolTool -Caro2: Adaptor3d_HSurface +Caro2: Adaptor3d_Surface Domain2: Adaptor3d_TopolTool TolTangency: float Epsilon: float @@ -3490,18 +3525,18 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & Caro1, const opencascade::handle & Domain1, const opencascade::handle & Caro2, const opencascade::handle & Domain2, const Standard_Real TolTangency, const Standard_Real Epsilon, const Standard_Real Deflection, const Standard_Real Increment, const Standard_Boolean ClearFlag = Standard_True); + void Perform(const opencascade::handle & Caro1, const opencascade::handle & Domain1, const opencascade::handle & Caro2, const opencascade::handle & Domain2, const Standard_Real TolTangency, const Standard_Real Epsilon, const Standard_Real Deflection, const Standard_Real Increment, const Standard_Boolean ClearFlag = Standard_True); /****************** Perform ******************/ - /**** md5 signature: fb223b6e0c5990f0c36944370a139ebd ****/ + /**** md5 signature: 1d681c5285df25502789e22bc030d7b6 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs the intersection between and . the method computes the polyhedron on each surface. Parameters ---------- -Caro1: Adaptor3d_HSurface +Caro1: Adaptor3d_Surface Domain1: Adaptor3d_TopolTool -Caro2: Adaptor3d_HSurface +Caro2: Adaptor3d_Surface Domain2: Adaptor3d_TopolTool TolTangency: float Epsilon: float @@ -3513,18 +3548,18 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & Caro1, const opencascade::handle & Domain1, const opencascade::handle & Caro2, const opencascade::handle & Domain2, const Standard_Real TolTangency, const Standard_Real Epsilon, const Standard_Real Deflection, const Standard_Real Increment, IntSurf_ListOfPntOn2S & ListOfPnts); + void Perform(const opencascade::handle & Caro1, const opencascade::handle & Domain1, const opencascade::handle & Caro2, const opencascade::handle & Domain2, const Standard_Real TolTangency, const Standard_Real Epsilon, const Standard_Real Deflection, const Standard_Real Increment, IntSurf_ListOfPntOn2S & ListOfPnts); /****************** Perform ******************/ - /**** md5 signature: 0959c17f9569527c4e1d94957577b433 ****/ + /**** md5 signature: 7671a04ed73f34934394c3c9667adea4 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs the intersection between and . the method computes the polyhedron on each surface. Parameters ---------- -Caro1: Adaptor3d_HSurface +Caro1: Adaptor3d_Surface Domain1: Adaptor3d_TopolTool -Caro2: Adaptor3d_HSurface +Caro2: Adaptor3d_Surface Domain2: Adaptor3d_TopolTool U1: float V1: float @@ -3539,16 +3574,16 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & Caro1, const opencascade::handle & Domain1, const opencascade::handle & Caro2, const opencascade::handle & Domain2, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2, const Standard_Real TolTangency, const Standard_Real Epsilon, const Standard_Real Deflection, const Standard_Real Increment); + void Perform(const opencascade::handle & Caro1, const opencascade::handle & Domain1, const opencascade::handle & Caro2, const opencascade::handle & Domain2, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2, const Standard_Real TolTangency, const Standard_Real Epsilon, const Standard_Real Deflection, const Standard_Real Increment); /****************** Perform ******************/ - /**** md5 signature: 7679607b76574a665722e163c741abe7 ****/ + /**** md5 signature: 3de3a2163094b14e56c1965bd94d3889 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs the intersection between and . the method computes the polyhedron on each surface. Parameters ---------- -Caro1: Adaptor3d_HSurface +Caro1: Adaptor3d_Surface Domain1: Adaptor3d_TopolTool TolTangency: float Epsilon: float @@ -3559,18 +3594,18 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & Caro1, const opencascade::handle & Domain1, const Standard_Real TolTangency, const Standard_Real Epsilon, const Standard_Real Deflection, const Standard_Real Increment); + void Perform(const opencascade::handle & Caro1, const opencascade::handle & Domain1, const Standard_Real TolTangency, const Standard_Real Epsilon, const Standard_Real Deflection, const Standard_Real Increment); /****************** Perform ******************/ - /**** md5 signature: f7e7a3d0535b9288f512bf9a69a16807 ****/ + /**** md5 signature: 1a44cb9c6eac192791cde5e27abf00ff ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs the intersection between and . //! the polyhedron which approximates , is given. the other one is computed. Parameters ---------- -Caro1: Adaptor3d_HSurface +Caro1: Adaptor3d_Surface Domain1: Adaptor3d_TopolTool -Caro2: Adaptor3d_HSurface +Caro2: Adaptor3d_Surface Polyhedron2: IntPatch_Polyhedron Domain2: Adaptor3d_TopolTool TolTangency: float @@ -3582,19 +3617,19 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & Caro1, const opencascade::handle & Domain1, const opencascade::handle & Caro2, const IntPatch_Polyhedron & Polyhedron2, const opencascade::handle & Domain2, const Standard_Real TolTangency, const Standard_Real Epsilon, const Standard_Real Deflection, const Standard_Real Increment); + void Perform(const opencascade::handle & Caro1, const opencascade::handle & Domain1, const opencascade::handle & Caro2, const IntPatch_Polyhedron & Polyhedron2, const opencascade::handle & Domain2, const Standard_Real TolTangency, const Standard_Real Epsilon, const Standard_Real Deflection, const Standard_Real Increment); /****************** Perform ******************/ - /**** md5 signature: f65c7aae7207831feebde976cf8a4e55 ****/ + /**** md5 signature: 011ce5fc4af5d367de8a18aaf3292ac1 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs the intersection between and . //! the polyhedron which approximates , is given. the other one is computed. Parameters ---------- -Caro1: Adaptor3d_HSurface +Caro1: Adaptor3d_Surface Polyhedron1: IntPatch_Polyhedron Domain1: Adaptor3d_TopolTool -Caro2: Adaptor3d_HSurface +Caro2: Adaptor3d_Surface Domain2: Adaptor3d_TopolTool TolTangency: float Epsilon: float @@ -3605,20 +3640,20 @@ Returns ------- None ") Perform; - void Perform(const opencascade::handle & Caro1, const IntPatch_Polyhedron & Polyhedron1, const opencascade::handle & Domain1, const opencascade::handle & Caro2, const opencascade::handle & Domain2, const Standard_Real TolTangency, const Standard_Real Epsilon, const Standard_Real Deflection, const Standard_Real Increment); + void Perform(const opencascade::handle & Caro1, const IntPatch_Polyhedron & Polyhedron1, const opencascade::handle & Domain1, const opencascade::handle & Caro2, const opencascade::handle & Domain2, const Standard_Real TolTangency, const Standard_Real Epsilon, const Standard_Real Deflection, const Standard_Real Increment); /****************** PointDepart ******************/ - /**** md5 signature: ec883cdf89df7946ca5cb25911e27297 ****/ + /**** md5 signature: 6c8cb83ae36d684cea6c78729ba31477 ****/ %feature("compactdefaultargs") PointDepart; %feature("autodoc", "No available documentation. Parameters ---------- LineOn2S: IntSurf_LineOn2S -S1: Adaptor3d_HSurface +S1: Adaptor3d_Surface SU1: int SV1: int -S2: Adaptor3d_HSurface +S2: Adaptor3d_Surface SU2: int SV2: int @@ -3626,7 +3661,7 @@ Returns ------- None ") PointDepart; - void PointDepart(opencascade::handle & LineOn2S, const opencascade::handle & S1, const Standard_Integer SU1, const Standard_Integer SV1, const opencascade::handle & S2, const Standard_Integer SU2, const Standard_Integer SV2); + void PointDepart(opencascade::handle & LineOn2S, const opencascade::handle & S1, const Standard_Integer SU1, const Standard_Integer SV1, const opencascade::handle & S2, const Standard_Integer SU2, const Standard_Integer SV2); /****************** Remplit ******************/ /**** md5 signature: fbf915009d30635235aad52fdc09392b ****/ @@ -3817,16 +3852,16 @@ int class IntPatch_RstInt { public: /****************** PutVertexOnLine ******************/ - /**** md5 signature: fb077e30c445c5ad8be050ac55673631 ****/ + /**** md5 signature: 231b47a86513b11ff9a7cc4a051a50ca ****/ %feature("compactdefaultargs") PutVertexOnLine; %feature("autodoc", "No available documentation. Parameters ---------- L: IntPatch_Line -Surf: Adaptor3d_HSurface +Surf: Adaptor3d_Surface Domain: Adaptor3d_TopolTool -OtherSurf: Adaptor3d_HSurface +OtherSurf: Adaptor3d_Surface OnFirst: bool Tol: float @@ -3834,7 +3869,7 @@ Returns ------- None ") PutVertexOnLine; - static void PutVertexOnLine(const opencascade::handle & L, const opencascade::handle & Surf, const opencascade::handle & Domain, const opencascade::handle & OtherSurf, const Standard_Boolean OnFirst, const Standard_Real Tol); + static void PutVertexOnLine(const opencascade::handle & L, const opencascade::handle & Surf, const opencascade::handle & Domain, const opencascade::handle & OtherSurf, const Standard_Boolean OnFirst, const Standard_Real Tol); }; @@ -3851,14 +3886,14 @@ None class IntPatch_SpecialPoints { public: /****************** AddCrossUVIsoPoint ******************/ - /**** md5 signature: 79fc93941f943d6cfa7045d63c6f4ea0 ****/ + /**** md5 signature: a319edea5078259423e23fd24fb3d186 ****/ %feature("compactdefaultargs") AddCrossUVIsoPoint; %feature("autodoc", "Adds the point defined as intersection of two isolines (u = 0 and v = 0) on theqsurf in theline. therefpt is used to correct adjusting parameters. if theisreversed is true then theqsurf correspond to the second (otherwise, the first) surface while forming intersection point intsurf_pnton2s. Parameters ---------- -theQSurf: Adaptor3d_HSurface -thePSurf: Adaptor3d_HSurface +theQSurf: Adaptor3d_Surface +thePSurf: Adaptor3d_Surface theRefPt: IntSurf_PntOn2S theTol3d: float theAddedPoint: IntSurf_PntOn2S @@ -3869,17 +3904,17 @@ Returns ------- bool ") AddCrossUVIsoPoint; - static Standard_Boolean AddCrossUVIsoPoint(const opencascade::handle & theQSurf, const opencascade::handle & thePSurf, const IntSurf_PntOn2S & theRefPt, const Standard_Real theTol3d, IntSurf_PntOn2S & theAddedPoint, const Standard_Boolean theIsReversed = Standard_False); + static Standard_Boolean AddCrossUVIsoPoint(const opencascade::handle & theQSurf, const opencascade::handle & thePSurf, const IntSurf_PntOn2S & theRefPt, const Standard_Real theTol3d, IntSurf_PntOn2S & theAddedPoint, const Standard_Boolean theIsReversed = Standard_False); /****************** AddPointOnUorVIso ******************/ - /**** md5 signature: 65b3dbac4bb80d6b11d43fe6834cbe2c ****/ + /**** md5 signature: 6d7f1b0b3a8049412346caa7b5338111 ****/ %feature("compactdefaultargs") AddPointOnUorVIso; %feature("autodoc", "Adds the point lain strictly in the isoline u = 0 or v = 0 of theqsurf, in theline. therefpt is used to correct adjusting parameters. if theisreversed is true then theqsurf corresponds to the second (otherwise, the first) surface while forming intersection point intsurf_pnton2s. all math_vector-objects must be filled as follows: [1] - u-parameter of thepsurf; [2] - v-parameter of thepsurf; [3] - u- (if v-isoline is considered) or v-parameter (if u-isoline is considered) of theqsurf. Parameters ---------- -theQSurf: Adaptor3d_HSurface -thePSurf: Adaptor3d_HSurface +theQSurf: Adaptor3d_Surface +thePSurf: Adaptor3d_Surface theRefPt: IntSurf_PntOn2S theIsU: bool theIsoParameter: float @@ -3895,17 +3930,17 @@ Returns ------- bool ") AddPointOnUorVIso; - static Standard_Boolean AddPointOnUorVIso(const opencascade::handle & theQSurf, const opencascade::handle & thePSurf, const IntSurf_PntOn2S & theRefPt, const Standard_Boolean theIsU, const Standard_Real theIsoParameter, const math_Vector & theToler, const math_Vector & theInitPoint, const math_Vector & theInfBound, const math_Vector & theSupBound, IntSurf_PntOn2S & theAddedPoint, const Standard_Boolean theIsReversed = Standard_False); + static Standard_Boolean AddPointOnUorVIso(const opencascade::handle & theQSurf, const opencascade::handle & thePSurf, const IntSurf_PntOn2S & theRefPt, const Standard_Boolean theIsU, const Standard_Real theIsoParameter, const math_Vector & theToler, const math_Vector & theInitPoint, const math_Vector & theInfBound, const math_Vector & theSupBound, IntSurf_PntOn2S & theAddedPoint, const Standard_Boolean theIsReversed = Standard_False); /****************** AddSingularPole ******************/ - /**** md5 signature: cc1fca7b20c3f0f79338650e6b0a4a91 ****/ + /**** md5 signature: 73120d8dbfbdfee3c4c757432a86b338 ****/ %feature("compactdefaultargs") AddSingularPole; %feature("autodoc", "Computes the pole of sphere to add it in the intersection line. stores the result in theaddedpoint variable (does not add in the line). at that, cone and sphere (with singularity) must be set in theqsurf parameter. by default (if theisreversed == false), theqsurf is the first surface of the walking line. if it is not, theisreversed parameter must be set to true. theisreqrefcheck is true if and only if 3d-point of therefpt must be pole or apex for check (e.g. if it is vertex). theptiso is the reference point for obtaining isoline where must be placed the apex/pole. //! attention!!! thevertex must be initialized before calling the method . Parameters ---------- -theQSurf: Adaptor3d_HSurface -thePSurf: Adaptor3d_HSurface +theQSurf: Adaptor3d_Surface +thePSurf: Adaptor3d_Surface thePtIso: IntSurf_PntOn2S theVertex: IntPatch_Point theAddedPoint: IntSurf_PntOn2S @@ -3918,7 +3953,7 @@ Returns ------- bool ") AddSingularPole; - static Standard_Boolean AddSingularPole(const opencascade::handle & theQSurf, const opencascade::handle & thePSurf, const IntSurf_PntOn2S & thePtIso, IntPatch_Point & theVertex, IntSurf_PntOn2S & theAddedPoint, const Standard_Boolean theIsReversed = Standard_False, const Standard_Boolean theIsReqRefCheck = Standard_False); + static Standard_Boolean AddSingularPole(const opencascade::handle & theQSurf, const opencascade::handle & thePSurf, const IntSurf_PntOn2S & thePtIso, IntPatch_Point & theVertex, IntSurf_PntOn2S & theAddedPoint, const Standard_Boolean theIsReversed = Standard_False, const Standard_Boolean theIsReqRefCheck = Standard_False); /****************** AdjustPointAndVertex ******************/ /**** md5 signature: 96a980073d3c92eb4aeb14d968555344 ****/ @@ -3940,14 +3975,14 @@ None static void AdjustPointAndVertex(const IntSurf_PntOn2S & theRefPoint, const Standard_Real theArrPeriods[4], IntSurf_PntOn2S & theNewPoint, IntPatch_Point * const theVertex = 0); /****************** ContinueAfterSpecialPoint ******************/ - /**** md5 signature: 0cd20b47a8b87518ab06914f226393cf ****/ + /**** md5 signature: 6252d001f2605c004c9cc3c4c7f0001f ****/ %feature("compactdefaultargs") ContinueAfterSpecialPoint; %feature("autodoc", "Special point has already been added in the line. now, we need in correct prolongation of the line or in start new line. this function returns new point. //! attention!!! thenewpoint is not only output parameter. it is input/output one. i.e. thenewpoint is reference point together with therefpt. Parameters ---------- -theQSurf: Adaptor3d_HSurface -thePSurf: Adaptor3d_HSurface +theQSurf: Adaptor3d_Surface +thePSurf: Adaptor3d_Surface theRefPt: IntSurf_PntOn2S theSPType: IntPatch_SpecPntType theTol2D: float @@ -3959,7 +3994,7 @@ Returns ------- bool ") ContinueAfterSpecialPoint; - static Standard_Boolean ContinueAfterSpecialPoint(const opencascade::handle & theQSurf, const opencascade::handle & thePSurf, const IntSurf_PntOn2S & theRefPt, const IntPatch_SpecPntType theSPType, const Standard_Real theTol2D, IntSurf_PntOn2S & theNewPoint, const Standard_Boolean theIsReversed = Standard_False); + static Standard_Boolean ContinueAfterSpecialPoint(const opencascade::handle & theQSurf, const opencascade::handle & thePSurf, const IntSurf_PntOn2S & theRefPt, const IntPatch_SpecPntType theSPType, const Standard_Real theTol2D, IntSurf_PntOn2S & theNewPoint, const Standard_Boolean theIsReversed = Standard_False); }; @@ -4422,7 +4457,7 @@ int Standard_Integer NbSinglePnts(); /****************** Perform ******************/ - /**** md5 signature: cad6b6480b175ccf3db399e002a8bc41 ****/ + /**** md5 signature: 40fe650d607cd4b7d88a29bb07739141 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Searches a set of polylines starting on a point of pnts1 or pnts2. each point on a resulting polyline verifies f(u,v)=0. @@ -4431,7 +4466,7 @@ Parameters Pnts1: IntSurf_SequenceOfPathPoint Pnts2: IntSurf_SequenceOfInteriorPoint Func: IntPatch_TheSurfFunction -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Reversed: bool,optional default value is Standard_False @@ -4439,10 +4474,10 @@ Returns ------- None ") Perform; - void Perform(const IntSurf_SequenceOfPathPoint & Pnts1, const IntSurf_SequenceOfInteriorPoint & Pnts2, IntPatch_TheSurfFunction & Func, const opencascade::handle & S, const Standard_Boolean Reversed = Standard_False); + void Perform(const IntSurf_SequenceOfPathPoint & Pnts1, const IntSurf_SequenceOfInteriorPoint & Pnts2, IntPatch_TheSurfFunction & Func, const opencascade::handle & S, const Standard_Boolean Reversed = Standard_False); /****************** Perform ******************/ - /**** md5 signature: 417a602969992161139e6761e3da7fe2 ****/ + /**** md5 signature: 0171c85bf1c87c32db5515adeeba845f ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Searches a set of polylines starting on a point of pnts1. each point on a resulting polyline verifies f(u,v)=0. @@ -4450,7 +4485,7 @@ Parameters ---------- Pnts1: IntSurf_SequenceOfPathPoint Func: IntPatch_TheSurfFunction -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Reversed: bool,optional default value is Standard_False @@ -4458,7 +4493,7 @@ Returns ------- None ") Perform; - void Perform(const IntSurf_SequenceOfPathPoint & Pnts1, IntPatch_TheSurfFunction & Func, const opencascade::handle & S, const Standard_Boolean Reversed = Standard_False); + void Perform(const IntSurf_SequenceOfPathPoint & Pnts1, IntPatch_TheSurfFunction & Func, const opencascade::handle & S, const Standard_Boolean Reversed = Standard_False); /****************** SetTolerance ******************/ /**** md5 signature: 081b0efb39976d786ea1e8e9992511b4 ****/ @@ -4533,7 +4568,7 @@ None IntPatch_ThePathPointOfTheSOnBounds(); /****************** IntPatch_ThePathPointOfTheSOnBounds ******************/ - /**** md5 signature: 53b1fd7ac46ee97ab640f5cb3316120b ****/ + /**** md5 signature: 5f22f988780e8fe44f3b2edda6da02ef ****/ %feature("compactdefaultargs") IntPatch_ThePathPointOfTheSOnBounds; %feature("autodoc", "No available documentation. @@ -4542,17 +4577,17 @@ Parameters P: gp_Pnt Tol: float V: Adaptor3d_HVertex -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Parameter: float Returns ------- None ") IntPatch_ThePathPointOfTheSOnBounds; - IntPatch_ThePathPointOfTheSOnBounds(const gp_Pnt & P, const Standard_Real Tol, const opencascade::handle & V, const opencascade::handle & A, const Standard_Real Parameter); + IntPatch_ThePathPointOfTheSOnBounds(const gp_Pnt & P, const Standard_Real Tol, const opencascade::handle & V, const opencascade::handle & A, const Standard_Real Parameter); /****************** IntPatch_ThePathPointOfTheSOnBounds ******************/ - /**** md5 signature: 6245cbc7b4dfb008d2e7c677945fb140 ****/ + /**** md5 signature: bf31864b4b9346e0320580a8f4cf891b ****/ %feature("compactdefaultargs") IntPatch_ThePathPointOfTheSOnBounds; %feature("autodoc", "No available documentation. @@ -4560,25 +4595,25 @@ Parameters ---------- P: gp_Pnt Tol: float -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Parameter: float Returns ------- None ") IntPatch_ThePathPointOfTheSOnBounds; - IntPatch_ThePathPointOfTheSOnBounds(const gp_Pnt & P, const Standard_Real Tol, const opencascade::handle & A, const Standard_Real Parameter); + IntPatch_ThePathPointOfTheSOnBounds(const gp_Pnt & P, const Standard_Real Tol, const opencascade::handle & A, const Standard_Real Parameter); /****************** Arc ******************/ - /**** md5 signature: b2e2a2b000ebbda9cef9186aeead5385 ****/ + /**** md5 signature: de8e47510fc50811ee5a3e0bc98029e6 ****/ %feature("compactdefaultargs") Arc; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") Arc; - const opencascade::handle & Arc(); + const opencascade::handle & Arc(); /****************** IsNew ******************/ /**** md5 signature: 3a3a8bc6ebd2fc2c25f224ff9e99af70 ****/ @@ -4603,7 +4638,7 @@ float Standard_Real Parameter(); /****************** SetValue ******************/ - /**** md5 signature: afb7aa5124d314f5c392641b53c1d492 ****/ + /**** md5 signature: 03dce41028774d848e3e96d2ef0ca499 ****/ %feature("compactdefaultargs") SetValue; %feature("autodoc", "No available documentation. @@ -4612,17 +4647,17 @@ Parameters P: gp_Pnt Tol: float V: Adaptor3d_HVertex -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Parameter: float Returns ------- None ") SetValue; - void SetValue(const gp_Pnt & P, const Standard_Real Tol, const opencascade::handle & V, const opencascade::handle & A, const Standard_Real Parameter); + void SetValue(const gp_Pnt & P, const Standard_Real Tol, const opencascade::handle & V, const opencascade::handle & A, const Standard_Real Parameter); /****************** SetValue ******************/ - /**** md5 signature: 703f4ebe5bc0f77377a3392165fd60e0 ****/ + /**** md5 signature: a4bb4cd1b8bb6bbe4fb31de340a9931c ****/ %feature("compactdefaultargs") SetValue; %feature("autodoc", "No available documentation. @@ -4630,14 +4665,14 @@ Parameters ---------- P: gp_Pnt Tol: float -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Parameter: float Returns ------- None ") SetValue; - void SetValue(const gp_Pnt & P, const Standard_Real Tol, const opencascade::handle & A, const Standard_Real Parameter); + void SetValue(const gp_Pnt & P, const Standard_Real Tol, const opencascade::handle & A, const Standard_Real Parameter); /****************** Tolerance ******************/ /**** md5 signature: 9e5775014410d884d1a1adc1cd47930b ****/ @@ -4817,14 +4852,14 @@ None IntPatch_TheSearchInside(); /****************** IntPatch_TheSearchInside ******************/ - /**** md5 signature: 15f6f53c7a442715dfb9ae960df54e0b ****/ + /**** md5 signature: 87893971a4666fabad1d2aeb00a43c8e ****/ %feature("compactdefaultargs") IntPatch_TheSearchInside; %feature("autodoc", "No available documentation. Parameters ---------- F: IntPatch_TheSurfFunction -Surf: Adaptor3d_HSurface +Surf: Adaptor3d_Surface T: Adaptor3d_TopolTool Epsilon: float @@ -4832,7 +4867,7 @@ Returns ------- None ") IntPatch_TheSearchInside; - IntPatch_TheSearchInside(IntPatch_TheSurfFunction & F, const opencascade::handle & Surf, const opencascade::handle & T, const Standard_Real Epsilon); + IntPatch_TheSearchInside(IntPatch_TheSurfFunction & F, const opencascade::handle & Surf, const opencascade::handle & T, const Standard_Real Epsilon); /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ @@ -4857,14 +4892,14 @@ int Standard_Integer NbPoints(); /****************** Perform ******************/ - /**** md5 signature: 751395fe3213952e6d5d17ee0c3c374b ****/ + /**** md5 signature: 7da10d84bc509179e35ba7d3e51c23a3 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "No available documentation. Parameters ---------- F: IntPatch_TheSurfFunction -Surf: Adaptor3d_HSurface +Surf: Adaptor3d_Surface T: Adaptor3d_TopolTool Epsilon: float @@ -4872,17 +4907,17 @@ Returns ------- None ") Perform; - void Perform(IntPatch_TheSurfFunction & F, const opencascade::handle & Surf, const opencascade::handle & T, const Standard_Real Epsilon); + void Perform(IntPatch_TheSurfFunction & F, const opencascade::handle & Surf, const opencascade::handle & T, const Standard_Real Epsilon); /****************** Perform ******************/ - /**** md5 signature: 8e4ae13144ab4b8fb5c388cf1c9637fc ****/ + /**** md5 signature: a3f915532ac931f167d00f9fbf0f6f3e ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "No available documentation. Parameters ---------- F: IntPatch_TheSurfFunction -Surf: Adaptor3d_HSurface +Surf: Adaptor3d_Surface UStart: float VStart: float @@ -4890,7 +4925,7 @@ Returns ------- None ") Perform; - void Perform(IntPatch_TheSurfFunction & F, const opencascade::handle & Surf, const Standard_Real UStart, const Standard_Real VStart); + void Perform(IntPatch_TheSurfFunction & F, const opencascade::handle & Surf, const Standard_Real UStart, const Standard_Real VStart); /****************** Value ******************/ /**** md5 signature: 32b603bd5d3112334230c3e7fbb789a7 ****/ @@ -4933,15 +4968,15 @@ None IntPatch_TheSegmentOfTheSOnBounds(); /****************** Curve ******************/ - /**** md5 signature: f5519de5cf0d739f28ebd5b0ec724522 ****/ + /**** md5 signature: 7869036a594a0e406162d60b4f92dc85 ****/ %feature("compactdefaultargs") Curve; %feature("autodoc", "Returns the geometric curve on the surface 's domain which is solution. Returns ------- -opencascade::handle +opencascade::handle ") Curve; - const opencascade::handle & Curve(); + const opencascade::handle & Curve(); /****************** FirstPoint ******************/ /**** md5 signature: 04ae1a5baa94ab3c05537203f1b7c1f4 ****/ @@ -5004,19 +5039,19 @@ None void SetLimitPoint(const IntPatch_ThePathPointOfTheSOnBounds & V, const Standard_Boolean First); /****************** SetValue ******************/ - /**** md5 signature: 54e9174a5a70b6567ab6ab5b478e8d12 ****/ + /**** md5 signature: 53ce9238106071febf6db57a0ff8a99c ****/ %feature("compactdefaultargs") SetValue; %feature("autodoc", "Defines the concerned arc. Parameters ---------- -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Returns ------- None ") SetValue; - void SetValue(const opencascade::handle & A); + void SetValue(const opencascade::handle & A); }; @@ -5044,20 +5079,20 @@ None IntPatch_TheSurfFunction(); /****************** IntPatch_TheSurfFunction ******************/ - /**** md5 signature: af8f0a63b0108146caa7719a62628edd ****/ + /**** md5 signature: 68ea5aefe5ff7d84cafb3f65b5ce0042 ****/ %feature("compactdefaultargs") IntPatch_TheSurfFunction; %feature("autodoc", "No available documentation. Parameters ---------- -PS: Adaptor3d_HSurface +PS: Adaptor3d_Surface IS: IntSurf_Quadric Returns ------- None ") IntPatch_TheSurfFunction; - IntPatch_TheSurfFunction(const opencascade::handle & PS, const IntSurf_Quadric & IS); + IntPatch_TheSurfFunction(const opencascade::handle & PS, const IntSurf_Quadric & IS); /****************** IntPatch_TheSurfFunction ******************/ /**** md5 signature: 42bc39952a8bf10567de705f8fa66081 ****/ @@ -5157,15 +5192,15 @@ int Standard_Integer NbVariables(); /****************** PSurface ******************/ - /**** md5 signature: 0a40ce1f5ad8ff1450f2b3c7ab3a7140 ****/ + /**** md5 signature: ba545ec7900073a2f2c5530d5104284d ****/ %feature("compactdefaultargs") PSurface; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") PSurface; - const opencascade::handle & PSurface(); + const opencascade::handle & PSurface(); /****************** Point ******************/ /**** md5 signature: 177e376cc11d1fedb2819bac56591ea8 ****/ @@ -5190,19 +5225,19 @@ float Standard_Real Root(); /****************** Set ******************/ - /**** md5 signature: 9ecb67ee9b893e382519f5f1648548ac ****/ + /**** md5 signature: 9ddb344b11924e5532d547145d17d9e5 ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "No available documentation. Parameters ---------- -PS: Adaptor3d_HSurface +PS: Adaptor3d_Surface Returns ------- None ") Set; - void Set(const opencascade::handle & PS); + void Set(const opencascade::handle & PS); /****************** Set ******************/ /**** md5 signature: 7e3e1092ebe5da1f71e965a1091893e3 ****/ @@ -5293,15 +5328,15 @@ bool class IntPatch_WLineTool { public: /****************** ComputePurgedWLine ******************/ - /**** md5 signature: 40f54c668ad75fc77a3f4d86178f21b3 ****/ + /**** md5 signature: 067a504e7ac00975f92ff99c161406ec ****/ %feature("compactdefaultargs") ComputePurgedWLine; %feature("autodoc", "I removes equal points (leave one of equal points) from thewline and recompute vertex parameters. //! ii removes point out of borders in case of non periodic surfaces. //! iii removes exceed points using tube criteria: delete 7d point if it lies near to expected lines in 2d and 3d. each task (2d, 2d, 3d) have its own tolerance and checked separately. //! returns new wline or null wline if the number of the points is less than 2. Parameters ---------- theWLine: IntPatch_WLine -theS1: Adaptor3d_HSurface -theS2: Adaptor3d_HSurface +theS1: Adaptor3d_Surface +theS2: Adaptor3d_Surface theDom1: Adaptor3d_TopolTool theDom2: Adaptor3d_TopolTool @@ -5309,18 +5344,18 @@ Returns ------- opencascade::handle ") ComputePurgedWLine; - static opencascade::handle ComputePurgedWLine(const opencascade::handle & theWLine, const opencascade::handle & theS1, const opencascade::handle & theS2, const opencascade::handle & theDom1, const opencascade::handle & theDom2); + static opencascade::handle ComputePurgedWLine(const opencascade::handle & theWLine, const opencascade::handle & theS1, const opencascade::handle & theS2, const opencascade::handle & theDom1, const opencascade::handle & theDom2); /****************** ExtendTwoWLines ******************/ - /**** md5 signature: 32fe11b1ba526cde8a23f588a88d832c ****/ + /**** md5 signature: 372061cab2579d8a7ec5a10a5bae33ed ****/ %feature("compactdefaultargs") ExtendTwoWLines; %feature("autodoc", "Extends every line from theslin (if it is possible) to be started/finished in strictly determined point (in the place of joint of two lines). as result, some gaps between two lines will vanish. the walking lines are supposed (algorithm will do nothing for not-walking line) to be computed as a result of intersection. both thes1 and thes2 must be quadrics. other cases are not supported. thearrperiods must be filled as follows (every value must not be negative; if the surface is not periodic the period must be equal to 0.0 strictly): {, , , }. thelistofcriticalpoints must contain 3d-points where joining is disabled. Parameters ---------- theSlin: IntPatch_SequenceOfLine -theS1: Adaptor3d_HSurface -theS2: Adaptor3d_HSurface +theS1: Adaptor3d_Surface +theS2: Adaptor3d_Surface theToler3D: float theArrPeriods: float * theBoxS1: Bnd_Box2d @@ -5331,10 +5366,10 @@ Returns ------- None ") ExtendTwoWLines; - static void ExtendTwoWLines(IntPatch_SequenceOfLine & theSlin, const opencascade::handle & theS1, const opencascade::handle & theS2, const Standard_Real theToler3D, const Standard_Real * const theArrPeriods, const Bnd_Box2d & theBoxS1, const Bnd_Box2d & theBoxS2, const NCollection_List & theListOfCriticalPoints); + static void ExtendTwoWLines(IntPatch_SequenceOfLine & theSlin, const opencascade::handle & theS1, const opencascade::handle & theS2, const Standard_Real theToler3D, const Standard_Real * const theArrPeriods, const Bnd_Box2d & theBoxS1, const Bnd_Box2d & theBoxS2, const NCollection_List & theListOfCriticalPoints); /****************** JoinWLines ******************/ - /**** md5 signature: ea577885b333cb1cc43e2b65c21692f6 ****/ + /**** md5 signature: 4222436c6469c078ffbed1ef478238db ****/ %feature("compactdefaultargs") JoinWLines; %feature("autodoc", "Joins all wlines from theslin to one if it is possible and records the result into theslin again. lines will be kept to be split if: a) they are separated (has no common points); b) resulted line (after joining) go through seam-edges or surface boundaries. //! in addition, if points in thespnt lies at least in one of the line in theslin, this point will be deleted. @@ -5342,15 +5377,15 @@ Parameters ---------- theSlin: IntPatch_SequenceOfLine theSPnt: IntPatch_SequenceOfPoint -theS1: Adaptor3d_HSurface -theS2: Adaptor3d_HSurface +theS1: Adaptor3d_Surface +theS2: Adaptor3d_Surface theTol3D: float Returns ------- None ") JoinWLines; - static void JoinWLines(IntPatch_SequenceOfLine & theSlin, IntPatch_SequenceOfPoint & theSPnt, opencascade::handle theS1, opencascade::handle theS2, const Standard_Real theTol3D); + static void JoinWLines(IntPatch_SequenceOfLine & theSlin, IntPatch_SequenceOfPoint & theSPnt, opencascade::handle theS1, opencascade::handle theS2, const Standard_Real theTol3D); }; @@ -5510,7 +5545,7 @@ None /****************** FirstParameter ******************/ /**** md5 signature: 1cbadcff1f685cbfc099ecc8fcd9ea27 ****/ %feature("compactdefaultargs") FirstParameter; - %feature("autodoc", "Returns the first parameter on the intersection line. if isincluded returns true, value and d1 methods can be call with a parameter equal to firstparamater. otherwise, the parameter must be greater than firstparameter. + %feature("autodoc", "Returns the first parameter on the intersection line. if isincluded returns true, value and d1 methods can be call with a parameter equal to firstparameter. otherwise, the parameter must be greater than firstparameter. Parameters ---------- @@ -5557,7 +5592,7 @@ bool /****************** LastParameter ******************/ /**** md5 signature: 3ecbcdc3f6497c567ff2f9adb0493aed ****/ %feature("compactdefaultargs") LastParameter; - %feature("autodoc", "Returns the last parameter on the intersection line. if isincluded returns true, value and d1 methods can be call with a parameter equal to lastparamater. otherwise, the parameter must be less than lastparameter. + %feature("autodoc", "Returns the last parameter on the intersection line. if isincluded returns true, value and d1 methods can be call with a parameter equal to lastparameter. otherwise, the parameter must be less than lastparameter. Parameters ---------- @@ -5960,7 +5995,7 @@ None /****************** Circle ******************/ /**** md5 signature: cab8b08988d177bd7107adbbccc4ef89 ****/ %feature("compactdefaultargs") Circle; - %feature("autodoc", "Returns the circ from gp corrsponding to the intersection when arctype returns intpatch_circle. + %feature("autodoc", "Returns the circ from gp corresponding to the intersection when arctype returns intpatch_circle. Returns ------- @@ -5986,7 +6021,7 @@ None /****************** Ellipse ******************/ /**** md5 signature: b6da2657e61960166cfe0f18dac79c1f ****/ %feature("compactdefaultargs") Ellipse; - %feature("autodoc", "Returns the elips from gp corrsponding to the intersection when arctype returns intpatch_ellipse. + %feature("autodoc", "Returns the elips from gp corresponding to the intersection when arctype returns intpatch_ellipse. Returns ------- @@ -6030,7 +6065,7 @@ bool /****************** Hyperbola ******************/ /**** md5 signature: 766d3e1ddfb79a4ee7d6daea9d3565cd ****/ %feature("compactdefaultargs") Hyperbola; - %feature("autodoc", "Returns the hypr from gp corrsponding to the intersection when arctype returns intpatch_hyperbola. + %feature("autodoc", "Returns the hypr from gp corresponding to the intersection when arctype returns intpatch_hyperbola. Returns ------- @@ -6074,7 +6109,7 @@ int /****************** Parabola ******************/ /**** md5 signature: 44bd09c360bea3d33e8c3aa19668649c ****/ %feature("compactdefaultargs") Parabola; - %feature("autodoc", "Returns the parab from gp corrsponding to the intersection when arctype returns intpatch_parabola. + %feature("autodoc", "Returns the parab from gp corresponding to the intersection when arctype returns intpatch_parabola. Returns ------- @@ -6204,21 +6239,21 @@ None virtual void ClearVertexes(); /****************** CurvatureRadiusOfIntersLine ******************/ - /**** md5 signature: 958e1c4af766e468e662580b09eb25a8 ****/ + /**** md5 signature: 63cace9f55b02ed46e45f51c0a879a64 ****/ %feature("compactdefaultargs") CurvatureRadiusOfIntersLine; %feature("autodoc", "Returns the radius of curvature of the intersection line in given point. returns negative value if computation is not possible. Parameters ---------- -theS1: Adaptor3d_HSurface -theS2: Adaptor3d_HSurface +theS1: Adaptor3d_Surface +theS2: Adaptor3d_Surface theUVPoint: IntSurf_PntOn2S Returns ------- float ") CurvatureRadiusOfIntersLine; - static Standard_Real CurvatureRadiusOfIntersLine(const opencascade::handle & theS1, const opencascade::handle & theS2, const IntSurf_PntOn2S & theUVPoint); + static Standard_Real CurvatureRadiusOfIntersLine(const opencascade::handle & theS1, const opencascade::handle & theS2, const IntSurf_PntOn2S & theUVPoint); /****************** Curve ******************/ /**** md5 signature: fd1c616d11a26155c96378983fd082eb ****/ @@ -6360,13 +6395,13 @@ IntPatch_Point class IntPatch_PolyArc : public IntPatch_Polygo { public: /****************** IntPatch_PolyArc ******************/ - /**** md5 signature: c29c75611958c60b3dd6fbf969b9303e ****/ + /**** md5 signature: 62e5cd5c939388a333bbd41ca63e5258 ****/ %feature("compactdefaultargs") IntPatch_PolyArc; %feature("autodoc", "Creates the polygon of the arc a on the surface s. the arc is limited by the parameters pfirst and plast. none of these parameters can be infinite. Parameters ---------- -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d NbSample: int Pfirst: float Plast: float @@ -6376,7 +6411,7 @@ Returns ------- None ") IntPatch_PolyArc; - IntPatch_PolyArc(const opencascade::handle & A, const Standard_Integer NbSample, const Standard_Real Pfirst, const Standard_Real Plast, const Bnd_Box2d & BoxOtherPolygon); + IntPatch_PolyArc(const opencascade::handle & A, const Standard_Integer NbSample, const Standard_Real Pfirst, const Standard_Real Plast, const Bnd_Box2d & BoxOtherPolygon); /****************** Closed ******************/ /**** md5 signature: d59fdedf4c3161ce15be68a68c704b63 ****/ @@ -6651,26 +6686,26 @@ None virtual void AddVertex(const IntPatch_Point & Pnt, const Standard_Boolean theIsPrepend = Standard_False); /****************** ArcOnS1 ******************/ - /**** md5 signature: c1826d461dcc6af4b9af182756306c57 ****/ + /**** md5 signature: 85135db99004c68167f0f6d4c3e12e08 ****/ %feature("compactdefaultargs") ArcOnS1; %feature("autodoc", "Returns the concerned arc. Returns ------- -opencascade::handle +opencascade::handle ") ArcOnS1; - const opencascade::handle & ArcOnS1(); + const opencascade::handle & ArcOnS1(); /****************** ArcOnS2 ******************/ - /**** md5 signature: 2d1e0215316a36f73794dfb2b77e51c1 ****/ + /**** md5 signature: 8bdcf3526697d60e43350266dbc562b1 ****/ %feature("compactdefaultargs") ArcOnS2; %feature("autodoc", "Returns the concerned arc. Returns ------- -opencascade::handle +opencascade::handle ") ArcOnS2; - const opencascade::handle & ArcOnS2(); + const opencascade::handle & ArcOnS2(); /****************** ChangeVertex ******************/ /**** md5 signature: 1e83b5d9880fcd9a98f2804dd7cb6fc4 ****/ @@ -6960,34 +6995,34 @@ None void Replace(const Standard_Integer Index, const IntPatch_Point & Pnt); /****************** SetArcOnS1 ******************/ - /**** md5 signature: 5911133648b11654237758516e0fa4cf ****/ + /**** md5 signature: 16396892957c40b9d06bd8ad24545a99 ****/ %feature("compactdefaultargs") SetArcOnS1; %feature("autodoc", "No available documentation. Parameters ---------- -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Returns ------- None ") SetArcOnS1; - void SetArcOnS1(const opencascade::handle & A); + void SetArcOnS1(const opencascade::handle & A); /****************** SetArcOnS2 ******************/ - /**** md5 signature: fe880f7042c85049688e4dcfcc59882f ****/ + /**** md5 signature: c6efc090e240adb6cf7df64d0f88353c ****/ %feature("compactdefaultargs") SetArcOnS2; %feature("autodoc", "No available documentation. Parameters ---------- -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Returns ------- None ") SetArcOnS2; - void SetArcOnS2(const opencascade::handle & A); + void SetArcOnS2(const opencascade::handle & A); /****************** SetCurve ******************/ /**** md5 signature: bf65967bc9e019b213d3c9bd5deadd2f ****/ @@ -7099,7 +7134,7 @@ enum IntPatch_WLType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class IntPatch_WLType(IntEnum): @@ -7291,26 +7326,26 @@ Indfirst: int const IntPatch_Point & FirstPoint(Standard_Integer &OutValue); /****************** GetArcOnS1 ******************/ - /**** md5 signature: 90bdf7b721f80978f64573ea9d6b6fe7 ****/ + /**** md5 signature: 12cfec6cf09f5a397a70c92db1e276de ****/ %feature("compactdefaultargs") GetArcOnS1; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") GetArcOnS1; - const opencascade::handle & GetArcOnS1(); + const opencascade::handle & GetArcOnS1(); /****************** GetArcOnS2 ******************/ - /**** md5 signature: af3edb1f98adf86569f78e8fe7263057 ****/ + /**** md5 signature: e65c0208cec5f2bddfacbd4718d88472 ****/ %feature("compactdefaultargs") GetArcOnS2; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") GetArcOnS2; - const opencascade::handle & GetArcOnS2(); + const opencascade::handle & GetArcOnS2(); /****************** GetCreatingWay ******************/ /**** md5 signature: f32c6d1c4904acc2c040d4a118a49582 ****/ @@ -7533,34 +7568,34 @@ None void Replace(const Standard_Integer Index, const IntPatch_Point & Pnt); /****************** SetArcOnS1 ******************/ - /**** md5 signature: 5911133648b11654237758516e0fa4cf ****/ + /**** md5 signature: 16396892957c40b9d06bd8ad24545a99 ****/ %feature("compactdefaultargs") SetArcOnS1; %feature("autodoc", "No available documentation. Parameters ---------- -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Returns ------- None ") SetArcOnS1; - void SetArcOnS1(const opencascade::handle & A); + void SetArcOnS1(const opencascade::handle & A); /****************** SetArcOnS2 ******************/ - /**** md5 signature: fe880f7042c85049688e4dcfcc59882f ****/ + /**** md5 signature: c6efc090e240adb6cf7df64d0f88353c ****/ %feature("compactdefaultargs") SetArcOnS2; %feature("autodoc", "No available documentation. Parameters ---------- -A: Adaptor2d_HCurve2d +A: Adaptor2d_Curve2d Returns ------- None ") SetArcOnS2; - void SetArcOnS2(const opencascade::handle & A); + void SetArcOnS2(const opencascade::handle & A); /****************** SetCreatingWayInfo ******************/ /**** md5 signature: 9b39821f25ff089342ef26192ee163eb ****/ diff --git a/src/SWIG_files/wrapper/IntPatch.pyi b/src/SWIG_files/wrapper/IntPatch.pyi index 186027c16..8a9f39420 100644 --- a/src/SWIG_files/wrapper/IntPatch.pyi +++ b/src/SWIG_files/wrapper/IntPatch.pyi @@ -127,7 +127,7 @@ IntPatch_Walking = IntPatch_IType.IntPatch_Walking IntPatch_Restriction = IntPatch_IType.IntPatch_Restriction class IntPatch_ALineToWLine: - def __init__(self, theS1: Adaptor3d_HSurface, theS2: Adaptor3d_HSurface, theNbPoints: Optional[int] = 200) -> None: ... + def __init__(self, theS1: Adaptor3d_Surface, theS2: Adaptor3d_Surface, theNbPoints: Optional[int] = 200) -> None: ... @overload def MakeWLine(self, aline: IntPatch_ALine, theLines: IntPatch_SequenceOfLine) -> None: ... @overload @@ -141,26 +141,26 @@ class IntPatch_ALineToWLine: class IntPatch_ArcFunction(math_FunctionWithDerivative): def __init__(self) -> None: ... - def Arc(self) -> Adaptor2d_HCurve2d: ... + def Arc(self) -> Adaptor2d_Curve2d: ... def Derivative(self, X: float) -> Tuple[bool, float]: ... def GetStateNumber(self) -> int: ... def LastComputedPoint(self) -> gp_Pnt: ... def NbSamples(self) -> int: ... def Quadric(self) -> IntSurf_Quadric: ... @overload - def Set(self, A: Adaptor2d_HCurve2d) -> None: ... + def Set(self, A: Adaptor2d_Curve2d) -> None: ... @overload - def Set(self, S: Adaptor3d_HSurface) -> None: ... + def Set(self, S: Adaptor3d_Surface) -> None: ... def SetQuadric(self, Q: IntSurf_Quadric) -> None: ... - def Surface(self) -> Adaptor3d_HSurface: ... + def Surface(self) -> Adaptor3d_Surface: ... def Valpoint(self, Index: int) -> gp_Pnt: ... def Value(self, X: float) -> Tuple[bool, float]: ... def Values(self, X: float) -> Tuple[bool, float, float]: ... class IntPatch_CSFunction(math_FunctionSetWithDerivatives): - def __init__(self, S1: Adaptor3d_HSurface, C: Adaptor2d_HCurve2d, S2: Adaptor3d_HSurface) -> None: ... - def AuxillarCurve(self) -> Adaptor2d_HCurve2d: ... - def AuxillarSurface(self) -> Adaptor3d_HSurface: ... + def __init__(self, S1: Adaptor3d_Surface, C: Adaptor2d_Curve2d, S2: Adaptor3d_Surface) -> None: ... + def AuxillarCurve(self) -> Adaptor2d_Curve2d: ... + def AuxillarSurface(self) -> Adaptor3d_Surface: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def NbEquations(self) -> int: ... def NbVariables(self) -> int: ... @@ -184,111 +184,111 @@ class IntPatch_CurvIntSurf: class IntPatch_HCurve2dTool: @staticmethod - def BSpline(C: Adaptor2d_HCurve2d) -> Geom2d_BSplineCurve: ... + def BSpline(C: Adaptor2d_Curve2d) -> Geom2d_BSplineCurve: ... @staticmethod - def Bezier(C: Adaptor2d_HCurve2d) -> Geom2d_BezierCurve: ... + def Bezier(C: Adaptor2d_Curve2d) -> Geom2d_BezierCurve: ... @staticmethod - def Circle(C: Adaptor2d_HCurve2d) -> gp_Circ2d: ... + def Circle(C: Adaptor2d_Curve2d) -> gp_Circ2d: ... @staticmethod - def Continuity(C: Adaptor2d_HCurve2d) -> GeomAbs_Shape: ... + def Continuity(C: Adaptor2d_Curve2d) -> GeomAbs_Shape: ... @staticmethod - def D0(C: Adaptor2d_HCurve2d, U: float, P: gp_Pnt2d) -> None: ... + def D0(C: Adaptor2d_Curve2d, U: float, P: gp_Pnt2d) -> None: ... @staticmethod - def D1(C: Adaptor2d_HCurve2d, U: float, P: gp_Pnt2d, V: gp_Vec2d) -> None: ... + def D1(C: Adaptor2d_Curve2d, U: float, P: gp_Pnt2d, V: gp_Vec2d) -> None: ... @staticmethod - def D2(C: Adaptor2d_HCurve2d, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d) -> None: ... + def D2(C: Adaptor2d_Curve2d, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d) -> None: ... @staticmethod - def D3(C: Adaptor2d_HCurve2d, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d) -> None: ... + def D3(C: Adaptor2d_Curve2d, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d, V3: gp_Vec2d) -> None: ... @staticmethod - def DN(C: Adaptor2d_HCurve2d, U: float, N: int) -> gp_Vec2d: ... + def DN(C: Adaptor2d_Curve2d, U: float, N: int) -> gp_Vec2d: ... @staticmethod - def Ellipse(C: Adaptor2d_HCurve2d) -> gp_Elips2d: ... + def Ellipse(C: Adaptor2d_Curve2d) -> gp_Elips2d: ... @staticmethod - def FirstParameter(C: Adaptor2d_HCurve2d) -> float: ... + def FirstParameter(C: Adaptor2d_Curve2d) -> float: ... @staticmethod - def GetType(C: Adaptor2d_HCurve2d) -> GeomAbs_CurveType: ... + def GetType(C: Adaptor2d_Curve2d) -> GeomAbs_CurveType: ... @staticmethod - def Hyperbola(C: Adaptor2d_HCurve2d) -> gp_Hypr2d: ... + def Hyperbola(C: Adaptor2d_Curve2d) -> gp_Hypr2d: ... @staticmethod - def Intervals(C: Adaptor2d_HCurve2d, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... + def Intervals(C: Adaptor2d_Curve2d, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... @staticmethod - def IsClosed(C: Adaptor2d_HCurve2d) -> bool: ... + def IsClosed(C: Adaptor2d_Curve2d) -> bool: ... @staticmethod - def IsPeriodic(C: Adaptor2d_HCurve2d) -> bool: ... + def IsPeriodic(C: Adaptor2d_Curve2d) -> bool: ... @staticmethod - def LastParameter(C: Adaptor2d_HCurve2d) -> float: ... + def LastParameter(C: Adaptor2d_Curve2d) -> float: ... @staticmethod - def Line(C: Adaptor2d_HCurve2d) -> gp_Lin2d: ... + def Line(C: Adaptor2d_Curve2d) -> gp_Lin2d: ... @staticmethod - def NbIntervals(C: Adaptor2d_HCurve2d, S: GeomAbs_Shape) -> int: ... + def NbIntervals(C: Adaptor2d_Curve2d, S: GeomAbs_Shape) -> int: ... @staticmethod - def NbSamples(C: Adaptor2d_HCurve2d, U0: float, U1: float) -> int: ... + def NbSamples(C: Adaptor2d_Curve2d, U0: float, U1: float) -> int: ... @staticmethod - def Parabola(C: Adaptor2d_HCurve2d) -> gp_Parab2d: ... + def Parabola(C: Adaptor2d_Curve2d) -> gp_Parab2d: ... @staticmethod - def Period(C: Adaptor2d_HCurve2d) -> float: ... + def Period(C: Adaptor2d_Curve2d) -> float: ... @staticmethod - def Resolution(C: Adaptor2d_HCurve2d, R3d: float) -> float: ... + def Resolution(C: Adaptor2d_Curve2d, R3d: float) -> float: ... @staticmethod - def Value(C: Adaptor2d_HCurve2d, U: float) -> gp_Pnt2d: ... + def Value(C: Adaptor2d_Curve2d, U: float) -> gp_Pnt2d: ... class IntPatch_HInterTool: def __init__(self) -> None: ... @staticmethod - def Bounds(C: Adaptor2d_HCurve2d) -> Tuple[float, float]: ... + def Bounds(C: Adaptor2d_Curve2d) -> Tuple[float, float]: ... @staticmethod - def HasBeenSeen(C: Adaptor2d_HCurve2d) -> bool: ... + def HasBeenSeen(C: Adaptor2d_Curve2d) -> bool: ... @staticmethod - def HasFirstPoint(C: Adaptor2d_HCurve2d, Index: int) -> Tuple[bool, int]: ... + def HasFirstPoint(C: Adaptor2d_Curve2d, Index: int) -> Tuple[bool, int]: ... @staticmethod - def HasLastPoint(C: Adaptor2d_HCurve2d, Index: int) -> Tuple[bool, int]: ... + def HasLastPoint(C: Adaptor2d_Curve2d, Index: int) -> Tuple[bool, int]: ... @staticmethod - def IsAllSolution(C: Adaptor2d_HCurve2d) -> bool: ... + def IsAllSolution(C: Adaptor2d_Curve2d) -> bool: ... @staticmethod - def IsVertex(C: Adaptor2d_HCurve2d, Index: int) -> bool: ... + def IsVertex(C: Adaptor2d_Curve2d, Index: int) -> bool: ... @staticmethod - def NbPoints(C: Adaptor2d_HCurve2d) -> int: ... - def NbSamplePoints(self, S: Adaptor3d_HSurface) -> int: ... + def NbPoints(C: Adaptor2d_Curve2d) -> int: ... + def NbSamplePoints(self, S: Adaptor3d_Surface) -> int: ... @staticmethod - def NbSamplesOnArc(A: Adaptor2d_HCurve2d) -> int: ... + def NbSamplesOnArc(A: Adaptor2d_Curve2d) -> int: ... @staticmethod - def NbSamplesU(S: Adaptor3d_HSurface, u1: float, u2: float) -> int: ... + def NbSamplesU(S: Adaptor3d_Surface, u1: float, u2: float) -> int: ... @staticmethod - def NbSamplesV(S: Adaptor3d_HSurface, v1: float, v2: float) -> int: ... + def NbSamplesV(S: Adaptor3d_Surface, v1: float, v2: float) -> int: ... @staticmethod - def NbSegments(C: Adaptor2d_HCurve2d) -> int: ... + def NbSegments(C: Adaptor2d_Curve2d) -> int: ... @staticmethod - def Parameter(V: Adaptor3d_HVertex, C: Adaptor2d_HCurve2d) -> float: ... + def Parameter(V: Adaptor3d_HVertex, C: Adaptor2d_Curve2d) -> float: ... @staticmethod - def Project(C: Adaptor2d_HCurve2d, P: gp_Pnt2d, Ptproj: gp_Pnt2d) -> Tuple[bool, float]: ... - def SamplePoint(self, S: Adaptor3d_HSurface, Index: int) -> Tuple[float, float]: ... + def Project(C: Adaptor2d_Curve2d, P: gp_Pnt2d, Ptproj: gp_Pnt2d) -> Tuple[bool, float]: ... + def SamplePoint(self, S: Adaptor3d_Surface, Index: int) -> Tuple[float, float]: ... @staticmethod - def SingularOnUMax(S: Adaptor3d_HSurface) -> bool: ... + def SingularOnUMax(S: Adaptor3d_Surface) -> bool: ... @staticmethod - def SingularOnUMin(S: Adaptor3d_HSurface) -> bool: ... + def SingularOnUMin(S: Adaptor3d_Surface) -> bool: ... @staticmethod - def SingularOnVMax(S: Adaptor3d_HSurface) -> bool: ... + def SingularOnVMax(S: Adaptor3d_Surface) -> bool: ... @staticmethod - def SingularOnVMin(S: Adaptor3d_HSurface) -> bool: ... + def SingularOnVMin(S: Adaptor3d_Surface) -> bool: ... @staticmethod - def Tolerance(V: Adaptor3d_HVertex, C: Adaptor2d_HCurve2d) -> float: ... + def Tolerance(V: Adaptor3d_HVertex, C: Adaptor2d_Curve2d) -> float: ... @staticmethod - def Value(C: Adaptor2d_HCurve2d, Index: int, Pt: gp_Pnt) -> Tuple[float, float]: ... + def Value(C: Adaptor2d_Curve2d, Index: int, Pt: gp_Pnt) -> Tuple[float, float]: ... @staticmethod - def Vertex(C: Adaptor2d_HCurve2d, Index: int, V: Adaptor3d_HVertex) -> None: ... + def Vertex(C: Adaptor2d_Curve2d, Index: int, V: Adaptor3d_HVertex) -> None: ... class IntPatch_ImpImpIntersection: @overload def __init__(self) -> None: ... @overload - def __init__(self, S1: Adaptor3d_HSurface, D1: Adaptor3d_TopolTool, S2: Adaptor3d_HSurface, D2: Adaptor3d_TopolTool, TolArc: float, TolTang: float, theIsReqToKeepRLine: Optional[bool] = False) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, D1: Adaptor3d_TopolTool, S2: Adaptor3d_Surface, D2: Adaptor3d_TopolTool, TolArc: float, TolTang: float, theIsReqToKeepRLine: Optional[bool] = False) -> None: ... def IsDone(self) -> bool: ... def IsEmpty(self) -> bool: ... def Line(self, Index: int) -> IntPatch_Line: ... def NbLines(self) -> int: ... def NbPnts(self) -> int: ... def OppositeFaces(self) -> bool: ... - def Perform(self, S1: Adaptor3d_HSurface, D1: Adaptor3d_TopolTool, S2: Adaptor3d_HSurface, D2: Adaptor3d_TopolTool, TolArc: float, TolTang: float, theIsReqToKeepRLine: Optional[bool] = False) -> None: ... + def Perform(self, S1: Adaptor3d_Surface, D1: Adaptor3d_TopolTool, S2: Adaptor3d_Surface, D2: Adaptor3d_TopolTool, TolArc: float, TolTang: float, theIsReqToKeepRLine: Optional[bool] = False) -> None: ... def Point(self, Index: int) -> IntPatch_Point: ... def TangentFaces(self) -> bool: ... @@ -296,13 +296,13 @@ class IntPatch_ImpPrmIntersection: @overload def __init__(self) -> None: ... @overload - def __init__(self, Surf1: Adaptor3d_HSurface, D1: Adaptor3d_TopolTool, Surf2: Adaptor3d_HSurface, D2: Adaptor3d_TopolTool, TolArc: float, TolTang: float, Fleche: float, Pas: float) -> None: ... + def __init__(self, Surf1: Adaptor3d_Surface, D1: Adaptor3d_TopolTool, Surf2: Adaptor3d_Surface, D2: Adaptor3d_TopolTool, TolArc: float, TolTang: float, Fleche: float, Pas: float) -> None: ... def IsDone(self) -> bool: ... def IsEmpty(self) -> bool: ... def Line(self, Index: int) -> IntPatch_Line: ... def NbLines(self) -> int: ... def NbPnts(self) -> int: ... - def Perform(self, Surf1: Adaptor3d_HSurface, D1: Adaptor3d_TopolTool, Surf2: Adaptor3d_HSurface, D2: Adaptor3d_TopolTool, TolArc: float, TolTang: float, Fleche: float, Pas: float) -> None: ... + def Perform(self, Surf1: Adaptor3d_Surface, D1: Adaptor3d_TopolTool, Surf2: Adaptor3d_Surface, D2: Adaptor3d_TopolTool, TolArc: float, TolTang: float, Fleche: float, Pas: float) -> None: ... def Point(self, Index: int) -> IntPatch_Point: ... def SetStartPoint(self, U: float, V: float) -> None: ... @@ -322,10 +322,14 @@ class IntPatch_Intersection: @overload def __init__(self) -> None: ... @overload - def __init__(self, S1: Adaptor3d_HSurface, D1: Adaptor3d_TopolTool, S2: Adaptor3d_HSurface, D2: Adaptor3d_TopolTool, TolArc: float, TolTang: float) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, D1: Adaptor3d_TopolTool, S2: Adaptor3d_Surface, D2: Adaptor3d_TopolTool, TolArc: float, TolTang: float) -> None: ... @overload - def __init__(self, S1: Adaptor3d_HSurface, D1: Adaptor3d_TopolTool, TolArc: float, TolTang: float) -> None: ... - def Dump(self, Mode: int, S1: Adaptor3d_HSurface, D1: Adaptor3d_TopolTool, S2: Adaptor3d_HSurface, D2: Adaptor3d_TopolTool) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, D1: Adaptor3d_TopolTool, TolArc: float, TolTang: float) -> None: ... + @staticmethod + def CheckSingularPoints(theS1: Adaptor3d_Surface, theD1: Adaptor3d_TopolTool, theS2: Adaptor3d_Surface) -> Tuple[bool, float]: ... + @staticmethod + def DefineUVMaxStep(theS1: Adaptor3d_Surface, theD1: Adaptor3d_TopolTool, theS2: Adaptor3d_Surface, theD2: Adaptor3d_TopolTool) -> float: ... + def Dump(self, Mode: int, S1: Adaptor3d_Surface, D1: Adaptor3d_TopolTool, S2: Adaptor3d_Surface, D2: Adaptor3d_TopolTool) -> None: ... def IsDone(self) -> bool: ... def IsEmpty(self) -> bool: ... def Line(self, Index: int) -> IntPatch_Line: ... @@ -333,13 +337,13 @@ class IntPatch_Intersection: def NbPnts(self) -> int: ... def OppositeFaces(self) -> bool: ... @overload - def Perform(self, S1: Adaptor3d_HSurface, D1: Adaptor3d_TopolTool, S2: Adaptor3d_HSurface, D2: Adaptor3d_TopolTool, TolArc: float, TolTang: float, isGeomInt: Optional[bool] = True, theIsReqToKeepRLine: Optional[bool] = False, theIsReqToPostWLProc: Optional[bool] = True) -> None: ... + def Perform(self, S1: Adaptor3d_Surface, D1: Adaptor3d_TopolTool, S2: Adaptor3d_Surface, D2: Adaptor3d_TopolTool, TolArc: float, TolTang: float, isGeomInt: Optional[bool] = True, theIsReqToKeepRLine: Optional[bool] = False, theIsReqToPostWLProc: Optional[bool] = True) -> None: ... @overload - def Perform(self, S1: Adaptor3d_HSurface, D1: Adaptor3d_TopolTool, S2: Adaptor3d_HSurface, D2: Adaptor3d_TopolTool, TolArc: float, TolTang: float, LOfPnts: IntSurf_ListOfPntOn2S, isGeomInt: Optional[bool] = True, theIsReqToKeepRLine: Optional[bool] = False, theIsReqToPostWLProc: Optional[bool] = True) -> None: ... + def Perform(self, S1: Adaptor3d_Surface, D1: Adaptor3d_TopolTool, S2: Adaptor3d_Surface, D2: Adaptor3d_TopolTool, TolArc: float, TolTang: float, LOfPnts: IntSurf_ListOfPntOn2S, isGeomInt: Optional[bool] = True, theIsReqToKeepRLine: Optional[bool] = False, theIsReqToPostWLProc: Optional[bool] = True) -> None: ... @overload - def Perform(self, S1: Adaptor3d_HSurface, D1: Adaptor3d_TopolTool, S2: Adaptor3d_HSurface, D2: Adaptor3d_TopolTool, U1: float, V1: float, U2: float, V2: float, TolArc: float, TolTang: float) -> None: ... + def Perform(self, S1: Adaptor3d_Surface, D1: Adaptor3d_TopolTool, S2: Adaptor3d_Surface, D2: Adaptor3d_TopolTool, U1: float, V1: float, U2: float, V2: float, TolArc: float, TolTang: float) -> None: ... @overload - def Perform(self, S1: Adaptor3d_HSurface, D1: Adaptor3d_TopolTool, TolArc: float, TolTang: float) -> None: ... + def Perform(self, S1: Adaptor3d_Surface, D1: Adaptor3d_TopolTool, TolArc: float, TolTang: float) -> None: ... def Point(self, Index: int) -> IntPatch_Point: ... def SequenceOfLine(self) -> IntPatch_SequenceOfLine: ... def SetTolerances(self, TolArc: float, TolTang: float, UVMaxStep: float, Fleche: float) -> None: ... @@ -362,12 +366,12 @@ class IntPatch_LineConstructor: def __init__(self, mode: int) -> None: ... def Line(self, index: int) -> IntPatch_Line: ... def NbLines(self) -> int: ... - def Perform(self, SL: IntPatch_SequenceOfLine, L: IntPatch_Line, S1: Adaptor3d_HSurface, D1: Adaptor3d_TopolTool, S2: Adaptor3d_HSurface, D2: Adaptor3d_TopolTool, Tol: float) -> None: ... + def Perform(self, SL: IntPatch_SequenceOfLine, L: IntPatch_Line, S1: Adaptor3d_Surface, D1: Adaptor3d_TopolTool, S2: Adaptor3d_Surface, D2: Adaptor3d_TopolTool, Tol: float) -> None: ... class IntPatch_Point: def __init__(self) -> None: ... - def ArcOnS1(self) -> Adaptor2d_HCurve2d: ... - def ArcOnS2(self) -> Adaptor2d_HCurve2d: ... + def ArcOnS1(self) -> Adaptor2d_Curve2d: ... + def ArcOnS2(self) -> Adaptor2d_Curve2d: ... def Dump(self) -> None: ... def IsMultiple(self) -> bool: ... def IsOnDomS1(self) -> bool: ... @@ -383,7 +387,7 @@ class IntPatch_Point: def ParametersOnS2(self) -> Tuple[float, float]: ... def PntOn2S(self) -> IntSurf_PntOn2S: ... def ReverseTransition(self) -> None: ... - def SetArc(self, OnFirst: bool, A: Adaptor2d_HCurve2d, Param: float, TLine: IntSurf_Transition, TArc: IntSurf_Transition) -> None: ... + def SetArc(self, OnFirst: bool, A: Adaptor2d_Curve2d, Param: float, TLine: IntSurf_Transition, TArc: IntSurf_Transition) -> None: ... def SetMultiple(self, IsMult: bool) -> None: ... def SetParameter(self, Para: float) -> None: ... def SetParameters(self, U1: float, V1: float, U2: float, V2: float) -> None: ... @@ -440,24 +444,24 @@ class IntPatch_PrmPrmIntersection: def Line(self, Index: int) -> IntPatch_Line: ... def NbLines(self) -> int: ... def NbPointsGrille(self) -> int: ... - def NewLine(self, Caro1: Adaptor3d_HSurface, Caro2: Adaptor3d_HSurface, IndexLine: int, LowPoint: int, HighPoint: int, NbPoints: int) -> IntPatch_Line: ... + def NewLine(self, Caro1: Adaptor3d_Surface, Caro2: Adaptor3d_Surface, IndexLine: int, LowPoint: int, HighPoint: int, NbPoints: int) -> IntPatch_Line: ... @overload - def Perform(self, Caro1: Adaptor3d_HSurface, Polyhedron1: IntPatch_Polyhedron, Domain1: Adaptor3d_TopolTool, Caro2: Adaptor3d_HSurface, Polyhedron2: IntPatch_Polyhedron, Domain2: Adaptor3d_TopolTool, TolTangency: float, Epsilon: float, Deflection: float, Increment: float) -> None: ... + def Perform(self, Caro1: Adaptor3d_Surface, Polyhedron1: IntPatch_Polyhedron, Domain1: Adaptor3d_TopolTool, Caro2: Adaptor3d_Surface, Polyhedron2: IntPatch_Polyhedron, Domain2: Adaptor3d_TopolTool, TolTangency: float, Epsilon: float, Deflection: float, Increment: float) -> None: ... @overload - def Perform(self, Caro1: Adaptor3d_HSurface, Polyhedron1: IntPatch_Polyhedron, Domain1: Adaptor3d_TopolTool, TolTangency: float, Epsilon: float, Deflection: float, Increment: float) -> None: ... + def Perform(self, Caro1: Adaptor3d_Surface, Polyhedron1: IntPatch_Polyhedron, Domain1: Adaptor3d_TopolTool, TolTangency: float, Epsilon: float, Deflection: float, Increment: float) -> None: ... @overload - def Perform(self, Caro1: Adaptor3d_HSurface, Domain1: Adaptor3d_TopolTool, Caro2: Adaptor3d_HSurface, Domain2: Adaptor3d_TopolTool, TolTangency: float, Epsilon: float, Deflection: float, Increment: float, ClearFlag: Optional[bool] = True) -> None: ... + def Perform(self, Caro1: Adaptor3d_Surface, Domain1: Adaptor3d_TopolTool, Caro2: Adaptor3d_Surface, Domain2: Adaptor3d_TopolTool, TolTangency: float, Epsilon: float, Deflection: float, Increment: float, ClearFlag: Optional[bool] = True) -> None: ... @overload - def Perform(self, Caro1: Adaptor3d_HSurface, Domain1: Adaptor3d_TopolTool, Caro2: Adaptor3d_HSurface, Domain2: Adaptor3d_TopolTool, TolTangency: float, Epsilon: float, Deflection: float, Increment: float, ListOfPnts: IntSurf_ListOfPntOn2S) -> None: ... + def Perform(self, Caro1: Adaptor3d_Surface, Domain1: Adaptor3d_TopolTool, Caro2: Adaptor3d_Surface, Domain2: Adaptor3d_TopolTool, TolTangency: float, Epsilon: float, Deflection: float, Increment: float, ListOfPnts: IntSurf_ListOfPntOn2S) -> None: ... @overload - def Perform(self, Caro1: Adaptor3d_HSurface, Domain1: Adaptor3d_TopolTool, Caro2: Adaptor3d_HSurface, Domain2: Adaptor3d_TopolTool, U1: float, V1: float, U2: float, V2: float, TolTangency: float, Epsilon: float, Deflection: float, Increment: float) -> None: ... + def Perform(self, Caro1: Adaptor3d_Surface, Domain1: Adaptor3d_TopolTool, Caro2: Adaptor3d_Surface, Domain2: Adaptor3d_TopolTool, U1: float, V1: float, U2: float, V2: float, TolTangency: float, Epsilon: float, Deflection: float, Increment: float) -> None: ... @overload - def Perform(self, Caro1: Adaptor3d_HSurface, Domain1: Adaptor3d_TopolTool, TolTangency: float, Epsilon: float, Deflection: float, Increment: float) -> None: ... + def Perform(self, Caro1: Adaptor3d_Surface, Domain1: Adaptor3d_TopolTool, TolTangency: float, Epsilon: float, Deflection: float, Increment: float) -> None: ... @overload - def Perform(self, Caro1: Adaptor3d_HSurface, Domain1: Adaptor3d_TopolTool, Caro2: Adaptor3d_HSurface, Polyhedron2: IntPatch_Polyhedron, Domain2: Adaptor3d_TopolTool, TolTangency: float, Epsilon: float, Deflection: float, Increment: float) -> None: ... + def Perform(self, Caro1: Adaptor3d_Surface, Domain1: Adaptor3d_TopolTool, Caro2: Adaptor3d_Surface, Polyhedron2: IntPatch_Polyhedron, Domain2: Adaptor3d_TopolTool, TolTangency: float, Epsilon: float, Deflection: float, Increment: float) -> None: ... @overload - def Perform(self, Caro1: Adaptor3d_HSurface, Polyhedron1: IntPatch_Polyhedron, Domain1: Adaptor3d_TopolTool, Caro2: Adaptor3d_HSurface, Domain2: Adaptor3d_TopolTool, TolTangency: float, Epsilon: float, Deflection: float, Increment: float) -> None: ... - def PointDepart(self, LineOn2S: IntSurf_LineOn2S, S1: Adaptor3d_HSurface, SU1: int, SV1: int, S2: Adaptor3d_HSurface, SU2: int, SV2: int) -> None: ... + def Perform(self, Caro1: Adaptor3d_Surface, Polyhedron1: IntPatch_Polyhedron, Domain1: Adaptor3d_TopolTool, Caro2: Adaptor3d_Surface, Domain2: Adaptor3d_TopolTool, TolTangency: float, Epsilon: float, Deflection: float, Increment: float) -> None: ... + def PointDepart(self, LineOn2S: IntSurf_LineOn2S, S1: Adaptor3d_Surface, SU1: int, SV1: int, S2: Adaptor3d_Surface, SU2: int, SV2: int) -> None: ... def Remplit(self, a: int, b: int, c: int, Map: IntPatch_PrmPrmIntersection_T3Bits) -> None: ... def RemplitLin(self, x1: int, y1: int, z1: int, x2: int, y2: int, z2: int, Map: IntPatch_PrmPrmIntersection_T3Bits) -> None: ... def RemplitTri(self, x1: int, y1: int, z1: int, x2: int, y2: int, z2: int, x3: int, y3: int, z3: int, Map: IntPatch_PrmPrmIntersection_T3Bits) -> None: ... @@ -473,19 +477,19 @@ class IntPatch_PrmPrmIntersection_T3Bits: class IntPatch_RstInt: @staticmethod - def PutVertexOnLine(L: IntPatch_Line, Surf: Adaptor3d_HSurface, Domain: Adaptor3d_TopolTool, OtherSurf: Adaptor3d_HSurface, OnFirst: bool, Tol: float) -> None: ... + def PutVertexOnLine(L: IntPatch_Line, Surf: Adaptor3d_Surface, Domain: Adaptor3d_TopolTool, OtherSurf: Adaptor3d_Surface, OnFirst: bool, Tol: float) -> None: ... class IntPatch_SpecialPoints: @staticmethod - def AddCrossUVIsoPoint(theQSurf: Adaptor3d_HSurface, thePSurf: Adaptor3d_HSurface, theRefPt: IntSurf_PntOn2S, theTol3d: float, theAddedPoint: IntSurf_PntOn2S, theIsReversed: Optional[bool] = False) -> bool: ... + def AddCrossUVIsoPoint(theQSurf: Adaptor3d_Surface, thePSurf: Adaptor3d_Surface, theRefPt: IntSurf_PntOn2S, theTol3d: float, theAddedPoint: IntSurf_PntOn2S, theIsReversed: Optional[bool] = False) -> bool: ... @staticmethod - def AddPointOnUorVIso(theQSurf: Adaptor3d_HSurface, thePSurf: Adaptor3d_HSurface, theRefPt: IntSurf_PntOn2S, theIsU: bool, theIsoParameter: float, theToler: math_Vector, theInitPoint: math_Vector, theInfBound: math_Vector, theSupBound: math_Vector, theAddedPoint: IntSurf_PntOn2S, theIsReversed: Optional[bool] = False) -> bool: ... + def AddPointOnUorVIso(theQSurf: Adaptor3d_Surface, thePSurf: Adaptor3d_Surface, theRefPt: IntSurf_PntOn2S, theIsU: bool, theIsoParameter: float, theToler: math_Vector, theInitPoint: math_Vector, theInfBound: math_Vector, theSupBound: math_Vector, theAddedPoint: IntSurf_PntOn2S, theIsReversed: Optional[bool] = False) -> bool: ... @staticmethod - def AddSingularPole(theQSurf: Adaptor3d_HSurface, thePSurf: Adaptor3d_HSurface, thePtIso: IntSurf_PntOn2S, theVertex: IntPatch_Point, theAddedPoint: IntSurf_PntOn2S, theIsReversed: Optional[bool] = False, theIsReqRefCheck: Optional[bool] = False) -> bool: ... + def AddSingularPole(theQSurf: Adaptor3d_Surface, thePSurf: Adaptor3d_Surface, thePtIso: IntSurf_PntOn2S, theVertex: IntPatch_Point, theAddedPoint: IntSurf_PntOn2S, theIsReversed: Optional[bool] = False, theIsReqRefCheck: Optional[bool] = False) -> bool: ... @staticmethod def AdjustPointAndVertex(theRefPoint: IntSurf_PntOn2S, theArrPeriods_list: List[float], theNewPoint: IntSurf_PntOn2S, theVertex: Optional[IntPatch_Point] = 0) -> None: ... @staticmethod - def ContinueAfterSpecialPoint(theQSurf: Adaptor3d_HSurface, thePSurf: Adaptor3d_HSurface, theRefPt: IntSurf_PntOn2S, theSPType: IntPatch_SpecPntType, theTol2D: float, theNewPoint: IntSurf_PntOn2S, theIsReversed: Optional[bool] = False) -> bool: ... + def ContinueAfterSpecialPoint(theQSurf: Adaptor3d_Surface, thePSurf: Adaptor3d_Surface, theRefPt: IntSurf_PntOn2S, theSPType: IntPatch_SpecPntType, theTol2D: float, theNewPoint: IntSurf_PntOn2S, theIsReversed: Optional[bool] = False) -> bool: ... class IntPatch_TheIWLineOfTheIWalking(Standard_Transient): def __init__(self, theAllocator: Optional[IntSurf_Allocator] = 0) -> None: ... @@ -527,9 +531,9 @@ class IntPatch_TheIWalking: def NbLines(self) -> int: ... def NbSinglePnts(self) -> int: ... @overload - def Perform(self, Pnts1: IntSurf_SequenceOfPathPoint, Pnts2: IntSurf_SequenceOfInteriorPoint, Func: IntPatch_TheSurfFunction, S: Adaptor3d_HSurface, Reversed: Optional[bool] = False) -> None: ... + def Perform(self, Pnts1: IntSurf_SequenceOfPathPoint, Pnts2: IntSurf_SequenceOfInteriorPoint, Func: IntPatch_TheSurfFunction, S: Adaptor3d_Surface, Reversed: Optional[bool] = False) -> None: ... @overload - def Perform(self, Pnts1: IntSurf_SequenceOfPathPoint, Func: IntPatch_TheSurfFunction, S: Adaptor3d_HSurface, Reversed: Optional[bool] = False) -> None: ... + def Perform(self, Pnts1: IntSurf_SequenceOfPathPoint, Func: IntPatch_TheSurfFunction, S: Adaptor3d_Surface, Reversed: Optional[bool] = False) -> None: ... def SetTolerance(self, Epsilon: float, Deflection: float, Step: float) -> None: ... def SinglePnt(self, Index: int) -> IntSurf_PathPoint: ... def Value(self, Index: int) -> IntPatch_TheIWLineOfTheIWalking: ... @@ -538,16 +542,16 @@ class IntPatch_ThePathPointOfTheSOnBounds: @overload def __init__(self) -> None: ... @overload - def __init__(self, P: gp_Pnt, Tol: float, V: Adaptor3d_HVertex, A: Adaptor2d_HCurve2d, Parameter: float) -> None: ... + def __init__(self, P: gp_Pnt, Tol: float, V: Adaptor3d_HVertex, A: Adaptor2d_Curve2d, Parameter: float) -> None: ... @overload - def __init__(self, P: gp_Pnt, Tol: float, A: Adaptor2d_HCurve2d, Parameter: float) -> None: ... - def Arc(self) -> Adaptor2d_HCurve2d: ... + def __init__(self, P: gp_Pnt, Tol: float, A: Adaptor2d_Curve2d, Parameter: float) -> None: ... + def Arc(self) -> Adaptor2d_Curve2d: ... def IsNew(self) -> bool: ... def Parameter(self) -> float: ... @overload - def SetValue(self, P: gp_Pnt, Tol: float, V: Adaptor3d_HVertex, A: Adaptor2d_HCurve2d, Parameter: float) -> None: ... + def SetValue(self, P: gp_Pnt, Tol: float, V: Adaptor3d_HVertex, A: Adaptor2d_Curve2d, Parameter: float) -> None: ... @overload - def SetValue(self, P: gp_Pnt, Tol: float, A: Adaptor2d_HCurve2d, Parameter: float) -> None: ... + def SetValue(self, P: gp_Pnt, Tol: float, A: Adaptor2d_Curve2d, Parameter: float) -> None: ... def Tolerance(self) -> float: ... def Value(self) -> gp_Pnt: ... def Vertex(self) -> Adaptor3d_HVertex: ... @@ -566,30 +570,30 @@ class IntPatch_TheSearchInside: @overload def __init__(self) -> None: ... @overload - def __init__(self, F: IntPatch_TheSurfFunction, Surf: Adaptor3d_HSurface, T: Adaptor3d_TopolTool, Epsilon: float) -> None: ... + def __init__(self, F: IntPatch_TheSurfFunction, Surf: Adaptor3d_Surface, T: Adaptor3d_TopolTool, Epsilon: float) -> None: ... def IsDone(self) -> bool: ... def NbPoints(self) -> int: ... @overload - def Perform(self, F: IntPatch_TheSurfFunction, Surf: Adaptor3d_HSurface, T: Adaptor3d_TopolTool, Epsilon: float) -> None: ... + def Perform(self, F: IntPatch_TheSurfFunction, Surf: Adaptor3d_Surface, T: Adaptor3d_TopolTool, Epsilon: float) -> None: ... @overload - def Perform(self, F: IntPatch_TheSurfFunction, Surf: Adaptor3d_HSurface, UStart: float, VStart: float) -> None: ... + def Perform(self, F: IntPatch_TheSurfFunction, Surf: Adaptor3d_Surface, UStart: float, VStart: float) -> None: ... def Value(self, Index: int) -> IntSurf_InteriorPoint: ... class IntPatch_TheSegmentOfTheSOnBounds: def __init__(self) -> None: ... - def Curve(self) -> Adaptor2d_HCurve2d: ... + def Curve(self) -> Adaptor2d_Curve2d: ... def FirstPoint(self) -> IntPatch_ThePathPointOfTheSOnBounds: ... def HasFirstPoint(self) -> bool: ... def HasLastPoint(self) -> bool: ... def LastPoint(self) -> IntPatch_ThePathPointOfTheSOnBounds: ... def SetLimitPoint(self, V: IntPatch_ThePathPointOfTheSOnBounds, First: bool) -> None: ... - def SetValue(self, A: Adaptor2d_HCurve2d) -> None: ... + def SetValue(self, A: Adaptor2d_Curve2d) -> None: ... class IntPatch_TheSurfFunction(math_FunctionSetWithDerivatives): @overload def __init__(self) -> None: ... @overload - def __init__(self, PS: Adaptor3d_HSurface, IS: IntSurf_Quadric) -> None: ... + def __init__(self, PS: Adaptor3d_Surface, IS: IntSurf_Quadric) -> None: ... @overload def __init__(self, IS: IntSurf_Quadric) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... @@ -599,11 +603,11 @@ class IntPatch_TheSurfFunction(math_FunctionSetWithDerivatives): def IsTangent(self) -> bool: ... def NbEquations(self) -> int: ... def NbVariables(self) -> int: ... - def PSurface(self) -> Adaptor3d_HSurface: ... + def PSurface(self) -> Adaptor3d_Surface: ... def Point(self) -> gp_Pnt: ... def Root(self) -> float: ... @overload - def Set(self, PS: Adaptor3d_HSurface) -> None: ... + def Set(self, PS: Adaptor3d_Surface) -> None: ... @overload def Set(self, Tolerance: float) -> None: ... def SetImplicitSurface(self, IS: IntSurf_Quadric) -> None: ... @@ -613,9 +617,9 @@ class IntPatch_TheSurfFunction(math_FunctionSetWithDerivatives): class IntPatch_WLineTool: @staticmethod - def ComputePurgedWLine(theWLine: IntPatch_WLine, theS1: Adaptor3d_HSurface, theS2: Adaptor3d_HSurface, theDom1: Adaptor3d_TopolTool, theDom2: Adaptor3d_TopolTool) -> IntPatch_WLine: ... + def ComputePurgedWLine(theWLine: IntPatch_WLine, theS1: Adaptor3d_Surface, theS2: Adaptor3d_Surface, theDom1: Adaptor3d_TopolTool, theDom2: Adaptor3d_TopolTool) -> IntPatch_WLine: ... @staticmethod - def JoinWLines(theSlin: IntPatch_SequenceOfLine, theSPnt: IntPatch_SequenceOfPoint, theS1: Adaptor3d_HSurface, theS2: Adaptor3d_HSurface, theTol3D: float) -> None: ... + def JoinWLines(theSlin: IntPatch_SequenceOfLine, theSPnt: IntPatch_SequenceOfPoint, theS1: Adaptor3d_Surface, theS2: Adaptor3d_Surface, theTol3D: float) -> None: ... class IntPatch_ALine(IntPatch_Line): @overload @@ -696,7 +700,7 @@ class IntPatch_PointLine(IntPatch_Line): def ChangeVertex(self, Index: int) -> IntPatch_Point: ... def ClearVertexes(self) -> None: ... @staticmethod - def CurvatureRadiusOfIntersLine(theS1: Adaptor3d_HSurface, theS2: Adaptor3d_HSurface, theUVPoint: IntSurf_PntOn2S) -> float: ... + def CurvatureRadiusOfIntersLine(theS1: Adaptor3d_Surface, theS2: Adaptor3d_Surface, theUVPoint: IntSurf_PntOn2S) -> float: ... def Curve(self) -> IntSurf_LineOn2S: ... def IsOutBox(self, P: gp_Pnt) -> bool: ... def IsOutSurf1Box(self, P1: gp_Pnt2d) -> bool: ... @@ -708,7 +712,7 @@ class IntPatch_PointLine(IntPatch_Line): def Vertex(self, Index: int) -> IntPatch_Point: ... class IntPatch_PolyArc(IntPatch_Polygo): - def __init__(self, A: Adaptor2d_HCurve2d, NbSample: int, Pfirst: float, Plast: float, BoxOtherPolygon: Bnd_Box2d) -> None: ... + def __init__(self, A: Adaptor2d_Curve2d, NbSample: int, Pfirst: float, Plast: float, BoxOtherPolygon: Bnd_Box2d) -> None: ... def Closed(self) -> bool: ... def NbPoints(self) -> int: ... def Parameter(self, Index: int) -> float: ... @@ -735,8 +739,8 @@ class IntPatch_RLine(IntPatch_PointLine): def __init__(self, Tang: bool) -> None: ... def Add(self, L: IntSurf_LineOn2S) -> None: ... def AddVertex(self, Pnt: IntPatch_Point, theIsPrepend: Optional[bool] = False) -> None: ... - def ArcOnS1(self) -> Adaptor2d_HCurve2d: ... - def ArcOnS2(self) -> Adaptor2d_HCurve2d: ... + def ArcOnS1(self) -> Adaptor2d_Curve2d: ... + def ArcOnS2(self) -> Adaptor2d_Curve2d: ... def ChangeVertex(self, Index: int) -> IntPatch_Point: ... def ClearVertexes(self) -> None: ... def ComputeVertexParameters(self, Tol: float) -> None: ... @@ -759,8 +763,8 @@ class IntPatch_RLine(IntPatch_PointLine): def Point(self, Index: int) -> IntSurf_PntOn2S: ... def RemoveVertex(self, theIndex: int) -> None: ... def Replace(self, Index: int, Pnt: IntPatch_Point) -> None: ... - def SetArcOnS1(self, A: Adaptor2d_HCurve2d) -> None: ... - def SetArcOnS2(self, A: Adaptor2d_HCurve2d) -> None: ... + def SetArcOnS1(self, A: Adaptor2d_Curve2d) -> None: ... + def SetArcOnS2(self, A: Adaptor2d_Curve2d) -> None: ... def SetCurve(self, theNewCurve: IntSurf_LineOn2S) -> None: ... def SetFirstPoint(self, IndFirst: int) -> None: ... def SetLastPoint(self, IndLast: int) -> None: ... @@ -785,8 +789,8 @@ class IntPatch_WLine(IntPatch_PointLine): def FirstPoint(self) -> IntPatch_Point: ... @overload def FirstPoint(self) -> Tuple[IntPatch_Point, int]: ... - def GetArcOnS1(self) -> Adaptor2d_HCurve2d: ... - def GetArcOnS2(self) -> Adaptor2d_HCurve2d: ... + def GetArcOnS1(self) -> Adaptor2d_Curve2d: ... + def GetArcOnS2(self) -> Adaptor2d_Curve2d: ... def GetCreatingWay(self) -> False: ... def HasArcOnS1(self) -> bool: ... def HasArcOnS2(self) -> bool: ... @@ -806,8 +810,8 @@ class IntPatch_WLine(IntPatch_PointLine): def Point(self, Index: int) -> IntSurf_PntOn2S: ... def RemoveVertex(self, theIndex: int) -> None: ... def Replace(self, Index: int, Pnt: IntPatch_Point) -> None: ... - def SetArcOnS1(self, A: Adaptor2d_HCurve2d) -> None: ... - def SetArcOnS2(self, A: Adaptor2d_HCurve2d) -> None: ... + def SetArcOnS1(self, A: Adaptor2d_Curve2d) -> None: ... + def SetArcOnS2(self, A: Adaptor2d_Curve2d) -> None: ... def SetCreatingWayInfo(self, theAlgo: IntPatch_WLType) -> None: ... def SetFirstPoint(self, IndFirst: int) -> None: ... def SetLastPoint(self, IndLast: int) -> None: ... @@ -870,6 +874,8 @@ IntPatch_HInterTool_SingularOnVMin = IntPatch_HInterTool.SingularOnVMin IntPatch_HInterTool_Tolerance = IntPatch_HInterTool.Tolerance IntPatch_HInterTool_Value = IntPatch_HInterTool.Value IntPatch_HInterTool_Vertex = IntPatch_HInterTool.Vertex +IntPatch_Intersection_CheckSingularPoints = IntPatch_Intersection.CheckSingularPoints +IntPatch_Intersection_DefineUVMaxStep = IntPatch_Intersection.DefineUVMaxStep IntPatch_PolyhedronTool_Bounding = IntPatch_PolyhedronTool.Bounding IntPatch_PolyhedronTool_ComponentsBounding = IntPatch_PolyhedronTool.ComponentsBounding IntPatch_PolyhedronTool_DeflectionOverEstimation = IntPatch_PolyhedronTool.DeflectionOverEstimation diff --git a/src/SWIG_files/wrapper/IntPolyh.i b/src/SWIG_files/wrapper/IntPolyh.i index 408e1e1a1..5c253cc6d 100644 --- a/src/SWIG_files/wrapper/IntPolyh.i +++ b/src/SWIG_files/wrapper/IntPolyh.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define INTPOLYHDOCSTRING "IntPolyh module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_intpolyh.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_intpolyh.html" %enddef %module (package="OCC.Core", docstring=INTPOLYHDOCSTRING) IntPolyh @@ -68,7 +68,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -509,32 +509,32 @@ None class IntPolyh_Intersection { public: /****************** IntPolyh_Intersection ******************/ - /**** md5 signature: f18d9fbcd433488558ef7a008a739917 ****/ + /**** md5 signature: d8f94c58cfea4bdf03f2258e8edaf528 ****/ %feature("compactdefaultargs") IntPolyh_Intersection; %feature("autodoc", "Constructor for intersection of two surfaces with default parameters. performs intersection. Parameters ---------- -theS1: Adaptor3d_HSurface -theS2: Adaptor3d_HSurface +theS1: Adaptor3d_Surface +theS2: Adaptor3d_Surface Returns ------- None ") IntPolyh_Intersection; - IntPolyh_Intersection(const opencascade::handle & theS1, const opencascade::handle & theS2); + IntPolyh_Intersection(const opencascade::handle & theS1, const opencascade::handle & theS2); /****************** IntPolyh_Intersection ******************/ - /**** md5 signature: 94052d037a4896b938be5a6b8fcb526b ****/ + /**** md5 signature: 71b7be6adc9244e9f59fb99eaa24befd ****/ %feature("compactdefaultargs") IntPolyh_Intersection; %feature("autodoc", "Constructor for intersection of two surfaces with the given size of the sampling nets: - x - for the first surface ; - x - for the second surface . performs intersection. Parameters ---------- -theS1: Adaptor3d_HSurface +theS1: Adaptor3d_Surface theNbSU1: int theNbSV1: int -theS2: Adaptor3d_HSurface +theS2: Adaptor3d_Surface theNbSU2: int theNbSV2: int @@ -542,19 +542,19 @@ Returns ------- None ") IntPolyh_Intersection; - IntPolyh_Intersection(const opencascade::handle & theS1, const Standard_Integer theNbSU1, const Standard_Integer theNbSV1, const opencascade::handle & theS2, const Standard_Integer theNbSU2, const Standard_Integer theNbSV2); + IntPolyh_Intersection(const opencascade::handle & theS1, const Standard_Integer theNbSU1, const Standard_Integer theNbSV1, const opencascade::handle & theS2, const Standard_Integer theNbSU2, const Standard_Integer theNbSV2); /****************** IntPolyh_Intersection ******************/ - /**** md5 signature: 93e9167bc900d310c3498d954ecf3183 ****/ + /**** md5 signature: 12ca04ca57100d5f9d30d0ce84e68ecd ****/ %feature("compactdefaultargs") IntPolyh_Intersection; %feature("autodoc", "Constructor for intersection of two surfaces with the precomputed sampling. performs intersection. Parameters ---------- -theS1: Adaptor3d_HSurface +theS1: Adaptor3d_Surface theUPars1: TColStd_Array1OfReal theVPars1: TColStd_Array1OfReal -theS2: Adaptor3d_HSurface +theS2: Adaptor3d_Surface theUPars2: TColStd_Array1OfReal theVPars2: TColStd_Array1OfReal @@ -562,7 +562,7 @@ Returns ------- None ") IntPolyh_Intersection; - IntPolyh_Intersection(const opencascade::handle & theS1, const TColStd_Array1OfReal & theUPars1, const TColStd_Array1OfReal & theVPars1, const opencascade::handle & theS2, const TColStd_Array1OfReal & theUPars2, const TColStd_Array1OfReal & theVPars2); + IntPolyh_Intersection(const opencascade::handle & theS1, const TColStd_Array1OfReal & theUPars1, const TColStd_Array1OfReal & theVPars1, const opencascade::handle & theS2, const TColStd_Array1OfReal & theUPars2, const TColStd_Array1OfReal & theVPars2); /****************** GetLinePoint ******************/ /**** md5 signature: 1d6e9a1fe8c96c912dec520f27020a75 ****/ @@ -818,13 +818,13 @@ None void Dump(const Standard_Integer i); /****************** Middle ******************/ - /**** md5 signature: cc93526ee2db8e570c321c6f93164d0f ****/ + /**** md5 signature: d69a1e6fd4244709afb4adc77b42cd7b ****/ %feature("compactdefaultargs") Middle; %feature("autodoc", "Creates middle point from p1 and p2 and stores it to this. Parameters ---------- -MySurface: Adaptor3d_HSurface +MySurface: Adaptor3d_Surface P1: IntPolyh_Point P2: IntPolyh_Point @@ -832,7 +832,7 @@ Returns ------- None ") Middle; - void Middle(const opencascade::handle & MySurface, const IntPolyh_Point & P1, const IntPolyh_Point & P2); + void Middle(const opencascade::handle & MySurface, const IntPolyh_Point & P1, const IntPolyh_Point & P2); /****************** Multiplication ******************/ /**** md5 signature: 5a6c10891abd815fe7f286827a7694e3 ****/ @@ -1774,13 +1774,13 @@ float class IntPolyh_Tools { public: /****************** ComputeDeflection ******************/ - /**** md5 signature: 10b204e084b5a0096f453c31fa80dfb1 ****/ + /**** md5 signature: 6910f4dfdc84512a298a4c401025077a ****/ %feature("compactdefaultargs") ComputeDeflection; %feature("autodoc", "Computes the deflection tolerance on the surface for the given sampling. Parameters ---------- -theSurf: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface theUPars: TColStd_Array1OfReal theVPars: TColStd_Array1OfReal @@ -1788,16 +1788,16 @@ Returns ------- float ") ComputeDeflection; - static Standard_Real ComputeDeflection(const opencascade::handle & theSurf, const TColStd_Array1OfReal & theUPars, const TColStd_Array1OfReal & theVPars); + static Standard_Real ComputeDeflection(const opencascade::handle & theSurf, const TColStd_Array1OfReal & theUPars, const TColStd_Array1OfReal & theVPars); /****************** FillArrayOfPointNormal ******************/ - /**** md5 signature: 34516749f675f2c90dfd624fa3345954 ****/ + /**** md5 signature: 2adb116f2ef679f969c5bf03ddaff6a1 ****/ %feature("compactdefaultargs") FillArrayOfPointNormal; %feature("autodoc", "Fills the array with the points (triangulation nodes) on the surface and normal directions of the surface in these points. Parameters ---------- -theSurf: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface theUPars: TColStd_Array1OfReal theVPars: TColStd_Array1OfReal thePoints: IntPolyh_ArrayOfPointNormal @@ -1806,32 +1806,32 @@ Returns ------- None ") FillArrayOfPointNormal; - static void FillArrayOfPointNormal(const opencascade::handle & theSurf, const TColStd_Array1OfReal & theUPars, const TColStd_Array1OfReal & theVPars, IntPolyh_ArrayOfPointNormal & thePoints); + static void FillArrayOfPointNormal(const opencascade::handle & theSurf, const TColStd_Array1OfReal & theUPars, const TColStd_Array1OfReal & theVPars, IntPolyh_ArrayOfPointNormal & thePoints); /****************** IsEnlargePossible ******************/ - /**** md5 signature: 440671813562fb10706e466fec369a98 ****/ + /**** md5 signature: 3ab593ec60e1a248533d894cd7c3cea3 ****/ %feature("compactdefaultargs") IsEnlargePossible; %feature("autodoc", "Checks if the surface can be enlarged in u or v direction. Parameters ---------- -theSurf: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface Returns ------- theUEnlarge: bool theVEnlarge: bool ") IsEnlargePossible; - static void IsEnlargePossible(const opencascade::handle & theSurf, Standard_Boolean &OutValue, Standard_Boolean &OutValue); + static void IsEnlargePossible(const opencascade::handle & theSurf, Standard_Boolean &OutValue, Standard_Boolean &OutValue); /****************** MakeSampling ******************/ - /**** md5 signature: a5db612cc5a535de56e16106b36c0dc4 ****/ + /**** md5 signature: cfdeaf4bb5f9938ac66f44b0caab0c9e ****/ %feature("compactdefaultargs") MakeSampling; %feature("autodoc", "Makes the sampling of the given surface making the net of x sampling points. the flag controls the enlargement of the sampling zone on the surface. the parameters of the sampling points are stored into and arrays. Parameters ---------- -theSurf: Adaptor3d_HSurface +theSurf: Adaptor3d_Surface theNbSU: int theNbSV: int theEnlargeZone: bool @@ -1842,7 +1842,7 @@ Returns ------- None ") MakeSampling; - static void MakeSampling(const opencascade::handle & theSurf, const Standard_Integer theNbSU, const Standard_Integer theNbSV, const Standard_Boolean theEnlargeZone, TColStd_Array1OfReal & theUPars, TColStd_Array1OfReal & theVPars); + static void MakeSampling(const opencascade::handle & theSurf, const Standard_Integer theNbSU, const Standard_Integer theNbSV, const Standard_Boolean theEnlargeZone, TColStd_Array1OfReal & theUPars, TColStd_Array1OfReal & theVPars); }; @@ -1902,20 +1902,20 @@ Bnd_Box const Bnd_Box & BoundingBox(const IntPolyh_ArrayOfPoints & thePoints); /****************** ComputeDeflection ******************/ - /**** md5 signature: 39d69f8f43a6bb0e49b5e2c0e12281f0 ****/ + /**** md5 signature: 27152449d94d09952a80dfd69a413feb ****/ %feature("compactdefaultargs") ComputeDeflection; %feature("autodoc", "Computes the deflection for the triangle. Parameters ---------- -theSurface: Adaptor3d_HSurface +theSurface: Adaptor3d_Surface thePoints: IntPolyh_ArrayOfPoints Returns ------- float ") ComputeDeflection; - Standard_Real ComputeDeflection(const opencascade::handle & theSurface, const IntPolyh_ArrayOfPoints & thePoints); + Standard_Real ComputeDeflection(const opencascade::handle & theSurface, const IntPolyh_ArrayOfPoints & thePoints); /****************** Deflection ******************/ /**** md5 signature: 6fb4c31e8f4445c1597fc8b70a63cbfb ****/ @@ -2075,14 +2075,14 @@ None void LinkEdges2Triangle(const IntPolyh_ArrayOfEdges & TEdges, const Standard_Integer theEdge1, const Standard_Integer theEdge2, const Standard_Integer theEdge3); /****************** MiddleRefinement ******************/ - /**** md5 signature: 04f14607f9b83383d5d87e61fdfe7ae6 ****/ + /**** md5 signature: 61626a4a9e3960cafd878c1146fa7f69 ****/ %feature("compactdefaultargs") MiddleRefinement; %feature("autodoc", "Splits the triangle on two to decrease its deflection. Parameters ---------- theTriangleNumber: int -theSurface: Adaptor3d_HSurface +theSurface: Adaptor3d_Surface TPoints: IntPolyh_ArrayOfPoints TTriangles: IntPolyh_ArrayOfTriangles TEdges: IntPolyh_ArrayOfEdges @@ -2091,10 +2091,10 @@ Returns ------- None ") MiddleRefinement; - void MiddleRefinement(const Standard_Integer theTriangleNumber, const opencascade::handle & theSurface, IntPolyh_ArrayOfPoints & TPoints, IntPolyh_ArrayOfTriangles & TTriangles, IntPolyh_ArrayOfEdges & TEdges); + void MiddleRefinement(const Standard_Integer theTriangleNumber, const opencascade::handle & theSurface, IntPolyh_ArrayOfPoints & TPoints, IntPolyh_ArrayOfTriangles & TTriangles, IntPolyh_ArrayOfEdges & TEdges); /****************** MultipleMiddleRefinement ******************/ - /**** md5 signature: 881b3b985aa940def7a3c568440ff6a8 ****/ + /**** md5 signature: edfbe2be00529fe0c26433342bf3f5f2 ****/ %feature("compactdefaultargs") MultipleMiddleRefinement; %feature("autodoc", "Splits the current triangle and new triangles until the refinement criterion is not achieved. @@ -2103,7 +2103,7 @@ Parameters theRefineCriterion: float theBox: Bnd_Box theTriangleNumber: int -theSurface: Adaptor3d_HSurface +theSurface: Adaptor3d_Surface TPoints: IntPolyh_ArrayOfPoints TTriangles: IntPolyh_ArrayOfTriangles TEdges: IntPolyh_ArrayOfEdges @@ -2112,7 +2112,7 @@ Returns ------- None ") MultipleMiddleRefinement; - void MultipleMiddleRefinement(const Standard_Real theRefineCriterion, const Bnd_Box & theBox, const Standard_Integer theTriangleNumber, const opencascade::handle & theSurface, IntPolyh_ArrayOfPoints & TPoints, IntPolyh_ArrayOfTriangles & TTriangles, IntPolyh_ArrayOfEdges & TEdges); + void MultipleMiddleRefinement(const Standard_Real theRefineCriterion, const Bnd_Box & theBox, const Standard_Integer theTriangleNumber, const opencascade::handle & theSurface, IntPolyh_ArrayOfPoints & TPoints, IntPolyh_ArrayOfTriangles & TTriangles, IntPolyh_ArrayOfEdges & TEdges); /****************** SecondEdge ******************/ /**** md5 signature: 472cb748b92b2789c125a4969bbacbcb ****/ diff --git a/src/SWIG_files/wrapper/IntPolyh.pyi b/src/SWIG_files/wrapper/IntPolyh.pyi index a3efa8dfb..e81722155 100644 --- a/src/SWIG_files/wrapper/IntPolyh.pyi +++ b/src/SWIG_files/wrapper/IntPolyh.pyi @@ -91,11 +91,11 @@ class IntPolyh_Edge: class IntPolyh_Intersection: @overload - def __init__(self, theS1: Adaptor3d_HSurface, theS2: Adaptor3d_HSurface) -> None: ... + def __init__(self, theS1: Adaptor3d_Surface, theS2: Adaptor3d_Surface) -> None: ... @overload - def __init__(self, theS1: Adaptor3d_HSurface, theNbSU1: int, theNbSV1: int, theS2: Adaptor3d_HSurface, theNbSU2: int, theNbSV2: int) -> None: ... + def __init__(self, theS1: Adaptor3d_Surface, theNbSU1: int, theNbSV1: int, theS2: Adaptor3d_Surface, theNbSU2: int, theNbSV2: int) -> None: ... @overload - def __init__(self, theS1: Adaptor3d_HSurface, theUPars1: TColStd_Array1OfReal, theVPars1: TColStd_Array1OfReal, theS2: Adaptor3d_HSurface, theUPars2: TColStd_Array1OfReal, theVPars2: TColStd_Array1OfReal) -> None: ... + def __init__(self, theS1: Adaptor3d_Surface, theUPars1: TColStd_Array1OfReal, theVPars1: TColStd_Array1OfReal, theS2: Adaptor3d_Surface, theUPars2: TColStd_Array1OfReal, theVPars2: TColStd_Array1OfReal) -> None: ... def GetLinePoint(self, IndexLine: int, IndexPoint: int) -> Tuple[float, float, float, float, float, float, float, float]: ... def GetTangentZonePoint(self, IndexLine: int, IndexPoint: int) -> Tuple[float, float, float, float, float, float, float]: ... def IsDone(self) -> bool: ... @@ -117,7 +117,7 @@ class IntPolyh_Point: def Dump(self) -> None: ... @overload def Dump(self, i: int) -> None: ... - def Middle(self, MySurface: Adaptor3d_HSurface, P1: IntPolyh_Point, P2: IntPolyh_Point) -> None: ... + def Middle(self, MySurface: Adaptor3d_Surface, P1: IntPolyh_Point, P2: IntPolyh_Point) -> None: ... def Multiplication(self, rr: float) -> IntPolyh_Point: ... def PartOfCommon(self) -> int: ... def Set(self, x: float, y: float, z: float, u: float, v: float, II: Optional[int] = 1) -> None: ... @@ -195,13 +195,13 @@ class IntPolyh_StartPoint: class IntPolyh_Tools: @staticmethod - def ComputeDeflection(theSurf: Adaptor3d_HSurface, theUPars: TColStd_Array1OfReal, theVPars: TColStd_Array1OfReal) -> float: ... + def ComputeDeflection(theSurf: Adaptor3d_Surface, theUPars: TColStd_Array1OfReal, theVPars: TColStd_Array1OfReal) -> float: ... @staticmethod - def FillArrayOfPointNormal(theSurf: Adaptor3d_HSurface, theUPars: TColStd_Array1OfReal, theVPars: TColStd_Array1OfReal, thePoints: IntPolyh_ArrayOfPointNormal) -> None: ... + def FillArrayOfPointNormal(theSurf: Adaptor3d_Surface, theUPars: TColStd_Array1OfReal, theVPars: TColStd_Array1OfReal, thePoints: IntPolyh_ArrayOfPointNormal) -> None: ... @staticmethod - def IsEnlargePossible(theSurf: Adaptor3d_HSurface) -> Tuple[bool, bool]: ... + def IsEnlargePossible(theSurf: Adaptor3d_Surface) -> Tuple[bool, bool]: ... @staticmethod - def MakeSampling(theSurf: Adaptor3d_HSurface, theNbSU: int, theNbSV: int, theEnlargeZone: bool, theUPars: TColStd_Array1OfReal, theVPars: TColStd_Array1OfReal) -> None: ... + def MakeSampling(theSurf: Adaptor3d_Surface, theNbSU: int, theNbSV: int, theEnlargeZone: bool, theUPars: TColStd_Array1OfReal, theVPars: TColStd_Array1OfReal) -> None: ... class IntPolyh_Triangle: @overload @@ -209,7 +209,7 @@ class IntPolyh_Triangle: @overload def __init__(self, thePoint1: int, thePoint2: int, thePoint3: int) -> None: ... def BoundingBox(self, thePoints: IntPolyh_ArrayOfPoints) -> Bnd_Box: ... - def ComputeDeflection(self, theSurface: Adaptor3d_HSurface, thePoints: IntPolyh_ArrayOfPoints) -> float: ... + def ComputeDeflection(self, theSurface: Adaptor3d_Surface, thePoints: IntPolyh_ArrayOfPoints) -> float: ... def Deflection(self) -> float: ... def Dump(self, v: int) -> None: ... def FirstEdge(self) -> int: ... @@ -222,8 +222,8 @@ class IntPolyh_Triangle: def IsDegenerated(self) -> bool: ... def IsIntersectionPossible(self) -> bool: ... def LinkEdges2Triangle(self, TEdges: IntPolyh_ArrayOfEdges, theEdge1: int, theEdge2: int, theEdge3: int) -> None: ... - def MiddleRefinement(self, theTriangleNumber: int, theSurface: Adaptor3d_HSurface, TPoints: IntPolyh_ArrayOfPoints, TTriangles: IntPolyh_ArrayOfTriangles, TEdges: IntPolyh_ArrayOfEdges) -> None: ... - def MultipleMiddleRefinement(self, theRefineCriterion: float, theBox: Bnd_Box, theTriangleNumber: int, theSurface: Adaptor3d_HSurface, TPoints: IntPolyh_ArrayOfPoints, TTriangles: IntPolyh_ArrayOfTriangles, TEdges: IntPolyh_ArrayOfEdges) -> None: ... + def MiddleRefinement(self, theTriangleNumber: int, theSurface: Adaptor3d_Surface, TPoints: IntPolyh_ArrayOfPoints, TTriangles: IntPolyh_ArrayOfTriangles, TEdges: IntPolyh_ArrayOfEdges) -> None: ... + def MultipleMiddleRefinement(self, theRefineCriterion: float, theBox: Bnd_Box, theTriangleNumber: int, theSurface: Adaptor3d_Surface, TPoints: IntPolyh_ArrayOfPoints, TTriangles: IntPolyh_ArrayOfTriangles, TEdges: IntPolyh_ArrayOfEdges) -> None: ... def SecondEdge(self) -> int: ... def SecondEdgeOrientation(self) -> int: ... def SecondPoint(self) -> int: ... diff --git a/src/SWIG_files/wrapper/IntRes2d.i b/src/SWIG_files/wrapper/IntRes2d.i index cd9fad638..133f4784b 100644 --- a/src/SWIG_files/wrapper/IntRes2d.i +++ b/src/SWIG_files/wrapper/IntRes2d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define INTRES2DDOCSTRING "IntRes2d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_intres2d.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_intres2d.html" %enddef %module (package="OCC.Core", docstring=INTRES2DDOCSTRING) IntRes2d @@ -79,7 +79,7 @@ enum IntRes2d_TypeTrans { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class IntRes2d_Position(IntEnum): diff --git a/src/SWIG_files/wrapper/IntStart.i b/src/SWIG_files/wrapper/IntStart.i index d4f5816b8..317ef080a 100644 --- a/src/SWIG_files/wrapper/IntStart.i +++ b/src/SWIG_files/wrapper/IntStart.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define INTSTARTDOCSTRING "IntStart module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_intstart.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_intstart.html" %enddef %module (package="OCC.Core", docstring=INTSTARTDOCSTRING) IntStart @@ -62,7 +62,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/IntSurf.i b/src/SWIG_files/wrapper/IntSurf.i index 299177ada..f5b144e8a 100644 --- a/src/SWIG_files/wrapper/IntSurf.i +++ b/src/SWIG_files/wrapper/IntSurf.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define INTSURFDOCSTRING "IntSurf module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_intsurf.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_intsurf.html" %enddef %module (package="OCC.Core", docstring=INTSURFDOCSTRING) IntSurf @@ -81,7 +81,7 @@ enum IntSurf_TypeTrans { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class IntSurf_Situation(IntEnum): @@ -189,21 +189,21 @@ None static void MakeTransition(const gp_Vec & TgFirst, const gp_Vec & TgSecond, const gp_Dir & Normal, IntSurf_Transition & TFirst, IntSurf_Transition & TSecond); /****************** SetPeriod ******************/ - /**** md5 signature: 16a7ae508b5887130ad1ba538c9ee0ff ****/ + /**** md5 signature: 486891f66d1363af6895d7c681cba2a3 ****/ %feature("compactdefaultargs") SetPeriod; %feature("autodoc", "Fills thearrofperiod array by the period values of thefirstsurf and thesecondsurf. [0] = u-period of thefirstsurf, [1] = v-period of thefirstsurf, [2] = u-period of thesecondsurf, [3] = v-period of thesecondsurf. //! if surface is not periodic in correspond direction then its period is considered to be equal to 0. Parameters ---------- -theFirstSurf: Adaptor3d_HSurface -theSecondSurf: Adaptor3d_HSurface +theFirstSurf: Adaptor3d_Surface +theSecondSurf: Adaptor3d_Surface theArrOfPeriod: float Returns ------- None ") SetPeriod; - static void SetPeriod(const opencascade::handle & theFirstSurf, const opencascade::handle & theSecondSurf, Standard_Real theArrOfPeriod[4]); + static void SetPeriod(const opencascade::handle & theFirstSurf, const opencascade::handle & theSecondSurf, Standard_Real theArrOfPeriod[4]); }; @@ -630,6 +630,22 @@ None ") Reverse; void Reverse(); + /****************** SetPoint ******************/ + /**** md5 signature: 3f014f983e4959a8adc3802bc6e127de ****/ + %feature("compactdefaultargs") SetPoint; + %feature("autodoc", "Sets the 3d point of the index-th pnton2s. + +Parameters +---------- +Index: int +thePnt: gp_Pnt + +Returns +------- +None +") SetPoint; + void SetPoint(const Standard_Integer Index, const gp_Pnt & thePnt); + /****************** SetUV ******************/ /**** md5 signature: ace9005a01cb7b993999ab66ef8c0659 ****/ %feature("compactdefaultargs") SetUV; diff --git a/src/SWIG_files/wrapper/IntSurf.pyi b/src/SWIG_files/wrapper/IntSurf.pyi index 075177490..ec433839b 100644 --- a/src/SWIG_files/wrapper/IntSurf.pyi +++ b/src/SWIG_files/wrapper/IntSurf.pyi @@ -108,7 +108,7 @@ class intsurf: @staticmethod def MakeTransition(TgFirst: gp_Vec, TgSecond: gp_Vec, Normal: gp_Dir, TFirst: IntSurf_Transition, TSecond: IntSurf_Transition) -> None: ... @staticmethod - def SetPeriod(theFirstSurf: Adaptor3d_HSurface, theSecondSurf: Adaptor3d_HSurface, theArrOfPeriod_list: List[float]) -> None: ... + def SetPeriod(theFirstSurf: Adaptor3d_Surface, theSecondSurf: Adaptor3d_Surface, theArrOfPeriod_list: List[float]) -> None: ... class IntSurf_Couple: @overload @@ -152,6 +152,7 @@ class IntSurf_LineOn2S(Standard_Transient): def NbPoints(self) -> int: ... def RemovePoint(self, I: int) -> None: ... def Reverse(self) -> None: ... + def SetPoint(self, Index: int, thePnt: gp_Pnt) -> None: ... def SetUV(self, Index: int, OnFirst: bool, U: float, V: float) -> None: ... def Split(self, Index: int) -> IntSurf_LineOn2S: ... @overload diff --git a/src/SWIG_files/wrapper/IntTools.i b/src/SWIG_files/wrapper/IntTools.i index 6769fcf06..1ee436918 100644 --- a/src/SWIG_files/wrapper/IntTools.i +++ b/src/SWIG_files/wrapper/IntTools.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define INTTOOLSDOCSTRING "IntTools module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_inttools.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_inttools.html" %enddef %module (package="OCC.Core", docstring=INTTOOLSDOCSTRING) IntTools @@ -42,6 +42,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_inttools.html" //Dependencies #include #include +#include #include #include #include @@ -54,7 +55,6 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_inttools.html" #include #include #include -#include #include #include #include @@ -88,6 +88,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_inttools.html" %}; %import Standard.i %import NCollection.i +%import TColStd.i %import BRepAdaptor.i %import TopoDS.i %import gp.i @@ -100,7 +101,6 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_inttools.html" %import Geom2d.i %import GeomAbs.i %import IntSurf.i -%import TColStd.i %import Adaptor3d.i %import IntPatch.i %import GeomAdaptor.i @@ -114,7 +114,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -271,6 +271,7 @@ from OCC.Core.Exception import * /* typedefs */ typedef NCollection_Array1 IntTools_Array1OfRange; typedef NCollection_Array1 IntTools_Array1OfRoots; +typedef TColStd_Array1OfReal IntTools_CArray1OfReal; typedef NCollection_DataMap::Iterator IntTools_DataMapIteratorOfDataMapOfCurveSampleBox; typedef NCollection_DataMap::Iterator IntTools_DataMapIteratorOfDataMapOfSurfaceSampleBox; typedef NCollection_DataMap IntTools_DataMapOfCurveSampleBox; @@ -363,7 +364,7 @@ aParm: float static Standard_Integer Parameter(const gp_Pnt & P, const opencascade::handle & Curve, Standard_Real &OutValue); /****************** PrepareArgs ******************/ - /**** md5 signature: b4c98ac5b03aec6376256041a726519e ****/ + /**** md5 signature: db11865e519dd2b6c4899b1e9a125409 ****/ %feature("compactdefaultargs") PrepareArgs; %feature("autodoc", "No available documentation. @@ -374,13 +375,13 @@ tMax: float tMin: float Discret: int Deflect: float -anArgs: IntTools_CArray1OfReal +anArgs: TColStd_Array1OfReal Returns ------- int ") PrepareArgs; - static Standard_Integer PrepareArgs(BRepAdaptor_Curve & C, const Standard_Real tMax, const Standard_Real tMin, const Standard_Integer Discret, const Standard_Real Deflect, IntTools_CArray1OfReal & anArgs); + static Standard_Integer PrepareArgs(BRepAdaptor_Curve & C, const Standard_Real tMax, const Standard_Real tMin, const Standard_Integer Discret, const Standard_Real Deflect, TColStd_Array1OfReal & anArgs); /****************** RemoveIdenticalRoots ******************/ /**** md5 signature: 105777c711c5ed7389810d8aa8b35c2b ****/ @@ -401,7 +402,7 @@ None /****************** SortRoots ******************/ /**** md5 signature: b0ecb73396f4953e96f152f925a6cdf5 ****/ %feature("compactdefaultargs") SortRoots; - %feature("autodoc", "Sort the sequence aseq of the roots to arrange the roons in increasing order. + %feature("autodoc", "Sort the sequence aseq of the roots to arrange the roots in increasing order. Parameters ---------- @@ -455,7 +456,7 @@ None IntTools_BaseRangeSample(const Standard_Integer theDepth); /****************** GetDepth ******************/ - /**** md5 signature: 5b5fcf7ad77b54551dc80e457c815290 ****/ + /**** md5 signature: 3240086606b0522e674383dfc59a8226 ****/ %feature("compactdefaultargs") GetDepth; %feature("autodoc", "No available documentation. @@ -466,7 +467,7 @@ int Standard_Integer GetDepth(); /****************** SetDepth ******************/ - /**** md5 signature: c8265c6a36782867c90a897686530314 ****/ + /**** md5 signature: 5e77e638430ea7a494f4d91f424ddb79 ****/ %feature("compactdefaultargs") SetDepth; %feature("autodoc", "No available documentation. @@ -566,7 +567,7 @@ None /****************** Context ******************/ /**** md5 signature: 3ea460f8e5a9e1fe83439fe69bd1002e ****/ %feature("compactdefaultargs") Context; - %feature("autodoc", "Gets the intersecton context. + %feature("autodoc", "Gets the intersection context. Returns ------- @@ -710,7 +711,7 @@ None /****************** SetContext ******************/ /**** md5 signature: e78608a6b667b26dfbb5221975ad17a2 ****/ %feature("compactdefaultargs") SetContext; - %feature("autodoc", "Sets the intersecton context. + %feature("autodoc", "Sets the intersection context. Parameters ---------- @@ -749,12 +750,6 @@ None } }; -/********************************** -* class IntTools_CArray1OfInteger * -**********************************/ -/******************************* -* class IntTools_CArray1OfReal * -*******************************/ /*************************** * class IntTools_CommonPrt * ***************************/ @@ -1929,7 +1924,7 @@ bool Standard_Boolean FindBox(const IntTools_CurveRangeSample & theRange, Bnd_Box & theBox); /****************** GetMinRange ******************/ - /**** md5 signature: dcc14bc1113a77b9fb168eb5763c890a ****/ + /**** md5 signature: c20164b072a0539b77d80ec44457b89b ****/ %feature("compactdefaultargs") GetMinRange; %feature("autodoc", "No available documentation. @@ -1940,7 +1935,7 @@ float Standard_Real GetMinRange(); /****************** GetNbSample ******************/ - /**** md5 signature: 0b29023252f4f007c9a6350bbe08369a ****/ + /**** md5 signature: b7817d28b4ff3dc88a09b6dd1762ed0e ****/ %feature("compactdefaultargs") GetNbSample; %feature("autodoc", "No available documentation. @@ -1995,7 +1990,7 @@ None class IntTools_CurveRangeSampleMapHasher { public: /****************** HashCode ******************/ - /**** md5 signature: 93dbae0a5a5a7d9243a92becc779bda7 ****/ + /**** md5 signature: 693b5d51486ed409caaa0e5852c654f0 ****/ %feature("compactdefaultargs") HashCode; %feature("autodoc", "Computes a hash code for the given key, in the range [1, theupperbound] @param thekey the key which hash code is to be computed @param theupperbound the upper bound of the range a computing hash code must be within returns a computed hash code, in the range [1, theupperbound]. @@ -2011,7 +2006,7 @@ int static Standard_Integer HashCode(const IntTools_CurveRangeSample & theKey, const Standard_Integer theUpperBound); /****************** IsEqual ******************/ - /**** md5 signature: d2202a0d0916043d4c098e8eee5ece3d ****/ + /**** md5 signature: 4d1714c29d69b36b600c5e46a135d5a8 ****/ %feature("compactdefaultargs") IsEqual; %feature("autodoc", "Returns true when the two keys are the same. two same keys must have the same hashcode, the contrary is not necessary. @@ -2043,7 +2038,7 @@ class IntTools_EdgeEdge { /****************** IntTools_EdgeEdge ******************/ /**** md5 signature: 4551d18744ed7c6ae5b1e1b4794a6264 ****/ %feature("compactdefaultargs") IntTools_EdgeEdge; - %feature("autodoc", "Empty contructor. + %feature("autodoc", "Empty constructor. Returns ------- @@ -2054,7 +2049,7 @@ None /****************** IntTools_EdgeEdge ******************/ /**** md5 signature: a7b58f57429b22fb3dc3ed0030a8f53e ****/ %feature("compactdefaultargs") IntTools_EdgeEdge; - %feature("autodoc", "Contructor. + %feature("autodoc", "Constructor. Parameters ---------- @@ -2070,7 +2065,7 @@ None /****************** IntTools_EdgeEdge ******************/ /**** md5 signature: 69b54a28360beb7321650d1ae6f019d5 ****/ %feature("compactdefaultargs") IntTools_EdgeEdge; - %feature("autodoc", "Contructor. + %feature("autodoc", "Constructor. Parameters ---------- @@ -2703,7 +2698,7 @@ None /****************** Context ******************/ /**** md5 signature: 3ea460f8e5a9e1fe83439fe69bd1002e ****/ %feature("compactdefaultargs") Context; - %feature("autodoc", "Gets the intersecton context. + %feature("autodoc", "Gets the intersection context. Returns ------- @@ -2767,7 +2762,7 @@ IntTools_SequenceOfCurves const IntTools_SequenceOfCurves & Lines(); /****************** Perform ******************/ - /**** md5 signature: 20b101b6609f56b4df981165ffc5760a ****/ + /**** md5 signature: fc787f09bbe9fa2375bf6639020db29c ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Intersects underliing surfaces of f1 and f2 use sum of tolerance of f1 and f2 as intersection criteria. @@ -2775,12 +2770,14 @@ Parameters ---------- F1: TopoDS_Face F2: TopoDS_Face +theToRunParallel: bool,optional + default value is Standard_False Returns ------- None ") Perform; - void Perform(const TopoDS_Face & F1, const TopoDS_Face & F2); + void Perform(const TopoDS_Face & F1, const TopoDS_Face & F2, const Standard_Boolean theToRunParallel = Standard_False); /****************** Points ******************/ /**** md5 signature: 4c491afe08e7fca7a25cfca5246db6f2 ****/ @@ -2796,7 +2793,7 @@ IntTools_SequenceOfPntOn2Faces /****************** PrepareLines3D ******************/ /**** md5 signature: 9608103b9dced13800e46e92e7b50562 ****/ %feature("compactdefaultargs") PrepareLines3D; - %feature("autodoc", "Provides post-processing the result lines. - the flag. in case of is true the closed 3d-curves will be splitted on parts. in case of is false the closed 3d-curves remain untouched. + %feature("autodoc", "Provides post-processing the result lines. @param btosplit [in] split the closed 3d-curves on parts when true, remain untouched otherwise. Parameters ---------- @@ -2812,7 +2809,7 @@ None /****************** SetContext ******************/ /**** md5 signature: ca18ce635d4700b2601132549e0efa1a ****/ %feature("compactdefaultargs") SetContext; - %feature("autodoc", "Sets the intersecton context. + %feature("autodoc", "Sets the intersection context. Parameters ---------- @@ -2926,20 +2923,20 @@ None IntTools_MarkedRangeSet(const Standard_Real theFirstBoundary, const Standard_Real theLastBoundary, const Standard_Integer theInitFlag); /****************** IntTools_MarkedRangeSet ******************/ - /**** md5 signature: d24094bb339a747b35e080a89aa86097 ****/ + /**** md5 signature: 508a82e4699613c19a94c30b7427830c ****/ %feature("compactdefaultargs") IntTools_MarkedRangeSet; %feature("autodoc", "Build set of ranges based on the array of progressive sorted values //! warning: the constructor do not check if the values of array are not sorted it should be checked before function invocation. Parameters ---------- -theSortedArray: IntTools_CArray1OfReal +theSortedArray: TColStd_Array1OfReal theInitFlag: int Returns ------- None ") IntTools_MarkedRangeSet; - IntTools_MarkedRangeSet(const IntTools_CArray1OfReal & theSortedArray, const Standard_Integer theInitFlag); + IntTools_MarkedRangeSet(const TColStd_Array1OfReal & theSortedArray, const Standard_Integer theInitFlag); /****************** Flag ******************/ /**** md5 signature: 5a633977422925ff5909997008039bcc ****/ @@ -3071,7 +3068,7 @@ bool Standard_Boolean InsertRange(const IntTools_Range & theRange, const Standard_Integer theFlag, const Standard_Integer theIndex); /****************** Length ******************/ - /**** md5 signature: 58bd40380acccb2733bfbd37bf3cbb11 ****/ + /**** md5 signature: f2d149cffca76ec002490404b3e808e1 ****/ %feature("compactdefaultargs") Length; %feature("autodoc", "Returns number of ranges. @@ -3130,20 +3127,20 @@ None void SetFlag(const Standard_Integer theIndex, const Standard_Integer theFlag); /****************** SetRanges ******************/ - /**** md5 signature: 9f170a5b3715e9f6a807626888c14c88 ****/ + /**** md5 signature: c5c8955c67ec7778126857cdd282197b ****/ %feature("compactdefaultargs") SetRanges; %feature("autodoc", "Build set of ranges based on the array of progressive sorted values //! warning: the function do not check if the values of array are not sorted it should be checked before function invocation. Parameters ---------- -theSortedArray: IntTools_CArray1OfReal +theSortedArray: TColStd_Array1OfReal theInitFlag: int Returns ------- None ") SetRanges; - void SetRanges(const IntTools_CArray1OfReal & theSortedArray, const Standard_Integer theInitFlag); + void SetRanges(const TColStd_Array1OfReal & theSortedArray, const Standard_Integer theInitFlag); }; @@ -4804,7 +4801,7 @@ None class IntTools_SurfaceRangeSampleMapHasher { public: /****************** HashCode ******************/ - /**** md5 signature: 35efde7190414f5129d072b44af7911b ****/ + /**** md5 signature: 6ee701ed7444348a33c6581638820b5d ****/ %feature("compactdefaultargs") HashCode; %feature("autodoc", "Computes a hash code for the given key, in the range [1, theupperbound] @param thekey the key which hash code is to be computed @param theupperbound the upper bound of the range a computing hash code must be within returns a computed hash code, in the range [1, theupperbound]. @@ -4820,7 +4817,7 @@ int static Standard_Integer HashCode(const IntTools_SurfaceRangeSample & theKey, Standard_Integer theUpperBound); /****************** IsEqual ******************/ - /**** md5 signature: 6d3b19735347659cabfe0a41e2669234 ****/ + /**** md5 signature: 4a42ac47392dd9c52f7bcd81ded299d5 ****/ %feature("compactdefaultargs") IsEqual; %feature("autodoc", "Returns true when the two keys are the same. two same keys must have the same hashcode, the contrary is not necessary. @@ -4899,7 +4896,7 @@ float static Standard_Real ComputeIntRange(const Standard_Real theTol1, const Standard_Real theTol2, const Standard_Real theAngle); /****************** ComputeTolerance ******************/ - /**** md5 signature: 123f50856194234a392e784b535ee463 ****/ + /**** md5 signature: 81df055defddfd139d552aebd1f5b38b ****/ %feature("compactdefaultargs") ComputeTolerance; %feature("autodoc", "Computes the max distance between points taken from 3d and 2d curves by the same parameter. @@ -4912,13 +4909,15 @@ theFirst: float theLast: float theTolRange: float,optional default value is Precision::PConfusion() +theToRunParallel: bool,optional + default value is Standard_False Returns ------- theMaxDist: float theMaxPar: float ") ComputeTolerance; - static Standard_Boolean ComputeTolerance(const opencascade::handle & theCurve3D, const opencascade::handle & theCurve2D, const opencascade::handle & theSurf, const Standard_Real theFirst, const Standard_Real theLast, Standard_Real &OutValue, Standard_Real &OutValue, const Standard_Real theTolRange = Precision::PConfusion()); + static Standard_Boolean ComputeTolerance(const opencascade::handle & theCurve3D, const opencascade::handle & theCurve2D, const opencascade::handle & theSurf, const Standard_Real theFirst, const Standard_Real theLast, Standard_Real &OutValue, Standard_Real &OutValue, const Standard_Real theTolRange = Precision::PConfusion(), const Standard_Boolean theToRunParallel = Standard_False); /****************** ComputeVV ******************/ /**** md5 signature: 2b5edabfa3d68f4b56b0751fa8f7f611 ****/ @@ -5001,7 +5000,7 @@ bool /****************** IsDirsCoinside ******************/ /**** md5 signature: 5decb6946d416223e5b88e58f24beacb ****/ %feature("compactdefaultargs") IsDirsCoinside; - %feature("autodoc", "Returns true if d1 and d2 coinside. + %feature("autodoc", "Returns true if d1 and d2 coincide. Parameters ---------- @@ -5017,7 +5016,7 @@ bool /****************** IsDirsCoinside ******************/ /**** md5 signature: dd7cc4ec22a39e710a7e84da1ec268a6 ****/ %feature("compactdefaultargs") IsDirsCoinside; - %feature("autodoc", "Returns true if d1 and d2 coinside with given tolerance. + %feature("autodoc", "Returns true if d1 and d2 coincide with given tolerance. Parameters ---------- @@ -5293,19 +5292,19 @@ None IntTools_TopolTool(); /****************** IntTools_TopolTool ******************/ - /**** md5 signature: 087710c751b18169da37de9e3df00120 ****/ + /**** md5 signature: 818340ed6ac86f3b5724d0b7304c646e ****/ %feature("compactdefaultargs") IntTools_TopolTool; %feature("autodoc", "Initializes me by surface. Parameters ---------- -theSurface: Adaptor3d_HSurface +theSurface: Adaptor3d_Surface Returns ------- None ") IntTools_TopolTool; - IntTools_TopolTool(const opencascade::handle & theSurface); + IntTools_TopolTool(const opencascade::handle & theSurface); /****************** ComputeSamplePoints ******************/ /**** md5 signature: 940d159b31fac83590ed8721227cec02 ****/ @@ -5330,19 +5329,19 @@ None virtual void Initialize(); /****************** Initialize ******************/ - /**** md5 signature: 6021f0261cec049855d140d76f7a62a1 ****/ + /**** md5 signature: 2bf222342864de7b8471615bc05064e5 ****/ %feature("compactdefaultargs") Initialize; %feature("autodoc", "Initializes me by surface. Parameters ---------- -theSurface: Adaptor3d_HSurface +theSurface: Adaptor3d_Surface Returns ------- None ") Initialize; - virtual void Initialize(const opencascade::handle & theSurface); + virtual void Initialize(const opencascade::handle & theSurface); /****************** NbSamples ******************/ /**** md5 signature: cd99f1dfd0ef40a4d961f9638d39e555 ****/ @@ -5380,7 +5379,7 @@ int /****************** SamplePnts ******************/ /**** md5 signature: a3961c7c25c5a055dad05c3f17c7d5a9 ****/ %feature("compactdefaultargs") SamplePnts; - %feature("autodoc", "Compute the sample-points for the intersections algorithms by adaptive algorithm for bspline surfaces. for other surfaces algorithm is the same as in method computesamplepoints(), but only fill arrays of u and v sample parameters; thedefl is a requred deflection thenumin, thenvmin are minimal nb points for u and v. + %feature("autodoc", "Compute the sample-points for the intersections algorithms by adaptive algorithm for bspline surfaces. for other surfaces algorithm is the same as in method computesamplepoints(), but only fill arrays of u and v sample parameters; thedefl is a required deflection thenumin, thenvmin are minimal nb points for u and v. Parameters ---------- @@ -5428,15 +5427,15 @@ None class IntTools_WLineTool { public: /****************** DecompositionOfWLine ******************/ - /**** md5 signature: 6f67b74dd70a713679e38978cbda5b5f ****/ + /**** md5 signature: 34e653d17172e47173c6f5f738af6d81 ****/ %feature("compactdefaultargs") DecompositionOfWLine; %feature("autodoc", "No available documentation. Parameters ---------- theWLine: IntPatch_WLine -theSurface1: GeomAdaptor_HSurface -theSurface2: GeomAdaptor_HSurface +theSurface1: GeomAdaptor_Surface +theSurface2: GeomAdaptor_Surface theFace1: TopoDS_Face theFace2: TopoDS_Face theLConstructor: GeomInt_LineConstructor @@ -5449,7 +5448,7 @@ Returns ------- theReachedTol3d: float ") DecompositionOfWLine; - static Standard_Boolean DecompositionOfWLine(const opencascade::handle & theWLine, const opencascade::handle & theSurface1, const opencascade::handle & theSurface2, const TopoDS_Face & theFace1, const TopoDS_Face & theFace2, const GeomInt_LineConstructor & theLConstructor, const Standard_Boolean theAvoidLConstructor, const Standard_Real theTol, IntPatch_SequenceOfLine & theNewLines, Standard_Real &OutValue, const opencascade::handle &); + static Standard_Boolean DecompositionOfWLine(const opencascade::handle & theWLine, const opencascade::handle & theSurface1, const opencascade::handle & theSurface2, const TopoDS_Face & theFace1, const TopoDS_Face & theFace2, const GeomInt_LineConstructor & theLConstructor, const Standard_Boolean theAvoidLConstructor, const Standard_Real theTol, IntPatch_SequenceOfLine & theNewLines, Standard_Real &OutValue, const opencascade::handle &); /****************** NotUseSurfacesForApprox ******************/ /**** md5 signature: eb83c267182a721a80afc576ebb61258 ****/ @@ -5528,7 +5527,7 @@ IntTools_Range IntTools_Range GetRange(const Standard_Real theFirst, const Standard_Real theLast, const Standard_Integer theNbSample); /****************** GetRangeIndex ******************/ - /**** md5 signature: 9e0601229553314c5d6cf17f97f01bb8 ****/ + /**** md5 signature: d7c896b92faa58172b48e4a3aace9c5d ****/ %feature("compactdefaultargs") GetRangeIndex; %feature("autodoc", "No available documentation. @@ -5539,7 +5538,7 @@ int Standard_Integer GetRangeIndex(); /****************** GetRangeIndexDeeper ******************/ - /**** md5 signature: 3b627fc0839e39820de5be25e9e0841c ****/ + /**** md5 signature: 2c6cf6516f0d753f98e1f1c5b208996f ****/ %feature("compactdefaultargs") GetRangeIndexDeeper; %feature("autodoc", "No available documentation. @@ -5554,7 +5553,7 @@ int Standard_Integer GetRangeIndexDeeper(const Standard_Integer theNbSample); /****************** IsEqual ******************/ - /**** md5 signature: 720357c32baa29595c9829a8d3340edc ****/ + /**** md5 signature: d04651fd45b57f48a9ead52d9839367a ****/ %feature("compactdefaultargs") IsEqual; %feature("autodoc", "No available documentation. @@ -5569,7 +5568,7 @@ bool Standard_Boolean IsEqual(const IntTools_CurveRangeSample & Other); /****************** SetRangeIndex ******************/ - /**** md5 signature: 4fdbf789713035dfca58226b512c050d ****/ + /**** md5 signature: d58a3cfeddc0c94332057980ef6d4fef ****/ %feature("compactdefaultargs") SetRangeIndex; %feature("autodoc", "No available documentation. @@ -5609,4 +5608,5 @@ class IntTools_CArray1OfReal: /* hsequence classes */ /* class aliases */ %pythoncode { +IntTools_CArray1OfReal=OCC.Core.TColStd.TColStd_Array1OfReal } diff --git a/src/SWIG_files/wrapper/IntTools.pyi b/src/SWIG_files/wrapper/IntTools.pyi index 880d998f7..1bc6fdecb 100644 --- a/src/SWIG_files/wrapper/IntTools.pyi +++ b/src/SWIG_files/wrapper/IntTools.pyi @@ -3,6 +3,7 @@ from typing import overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * +from OCC.Core.TColStd import * from OCC.Core.BRepAdaptor import * from OCC.Core.TopoDS import * from OCC.Core.gp import * @@ -15,12 +16,12 @@ from OCC.Core.BRepClass3d import * from OCC.Core.Geom2d import * from OCC.Core.GeomAbs import * from OCC.Core.IntSurf import * -from OCC.Core.TColStd import * from OCC.Core.Adaptor3d import * from OCC.Core.IntPatch import * from OCC.Core.GeomAdaptor import * from OCC.Core.GeomInt import * +IntTools_CArray1OfReal = NewType('IntTools_CArray1OfReal', TColStd_Array1OfReal) #the following typedef cannot be wrapped as is IntTools_MapIteratorOfMapOfCurveSample = NewType('IntTools_MapIteratorOfMapOfCurveSample', Any) #the following typedef cannot be wrapped as is @@ -205,7 +206,7 @@ class inttools: @staticmethod def Parameter(P: gp_Pnt, Curve: Geom_Curve) -> Tuple[int, float]: ... @staticmethod - def PrepareArgs(C: BRepAdaptor_Curve, tMax: float, tMin: float, Discret: int, Deflect: float, anArgs: IntTools_CArray1OfReal) -> int: ... + def PrepareArgs(C: BRepAdaptor_Curve, tMax: float, tMin: float, Discret: int, Deflect: float, anArgs: TColStd_Array1OfReal) -> int: ... @staticmethod def RemoveIdenticalRoots(aSeq: IntTools_SequenceOfRoots, anEpsT: float) -> None: ... @staticmethod @@ -430,7 +431,7 @@ class IntTools_FaceFace: def FuzzyValue(self) -> float: ... def IsDone(self) -> bool: ... def Lines(self) -> IntTools_SequenceOfCurves: ... - def Perform(self, F1: TopoDS_Face, F2: TopoDS_Face) -> None: ... + def Perform(self, F1: TopoDS_Face, F2: TopoDS_Face, theToRunParallel: Optional[bool] = False) -> None: ... def Points(self) -> IntTools_SequenceOfPntOn2Faces: ... def PrepareLines3D(self, bToSplit: Optional[bool] = True) -> None: ... def SetContext(self, aContext: IntTools_Context) -> None: ... @@ -445,7 +446,7 @@ class IntTools_MarkedRangeSet: @overload def __init__(self, theFirstBoundary: float, theLastBoundary: float, theInitFlag: int) -> None: ... @overload - def __init__(self, theSortedArray: IntTools_CArray1OfReal, theInitFlag: int) -> None: ... + def __init__(self, theSortedArray: TColStd_Array1OfReal, theInitFlag: int) -> None: ... def Flag(self, theIndex: int) -> int: ... @overload def GetIndex(self, theValue: float) -> int: ... @@ -464,7 +465,7 @@ class IntTools_MarkedRangeSet: def Range(self, theIndex: int) -> IntTools_Range: ... def SetBoundaries(self, theFirstBoundary: float, theLastBoundary: float, theInitFlag: int) -> None: ... def SetFlag(self, theIndex: int, theFlag: int) -> None: ... - def SetRanges(self, theSortedArray: IntTools_CArray1OfReal, theInitFlag: int) -> None: ... + def SetRanges(self, theSortedArray: TColStd_Array1OfReal, theInitFlag: int) -> None: ... class IntTools_PntOn2Faces: @overload @@ -619,7 +620,7 @@ class IntTools_Tools: @staticmethod def ComputeIntRange(theTol1: float, theTol2: float, theAngle: float) -> float: ... @staticmethod - def ComputeTolerance(theCurve3D: Geom_Curve, theCurve2D: Geom2d_Curve, theSurf: Geom_Surface, theFirst: float, theLast: float, theTolRange: Optional[float] = precision_PConfusion()) -> Tuple[bool, float, float]: ... + def ComputeTolerance(theCurve3D: Geom_Curve, theCurve2D: Geom2d_Curve, theSurf: Geom_Surface, theFirst: float, theLast: float, theTolRange: Optional[float] = precision_PConfusion(), theToRunParallel: Optional[bool] = False) -> Tuple[bool, float, float]: ... @staticmethod def ComputeVV(V1: TopoDS_Vertex, V2: TopoDS_Vertex) -> int: ... @staticmethod @@ -673,12 +674,12 @@ class IntTools_TopolTool(Adaptor3d_TopolTool): @overload def __init__(self) -> None: ... @overload - def __init__(self, theSurface: Adaptor3d_HSurface) -> None: ... + def __init__(self, theSurface: Adaptor3d_Surface) -> None: ... def ComputeSamplePoints(self) -> None: ... @overload def Initialize(self) -> None: ... @overload - def Initialize(self, theSurface: Adaptor3d_HSurface) -> None: ... + def Initialize(self, theSurface: Adaptor3d_Surface) -> None: ... def NbSamples(self) -> int: ... def NbSamplesU(self) -> int: ... def NbSamplesV(self) -> int: ... diff --git a/src/SWIG_files/wrapper/IntWalk.i b/src/SWIG_files/wrapper/IntWalk.i index 8eaffd1b6..a4f29f3be 100644 --- a/src/SWIG_files/wrapper/IntWalk.i +++ b/src/SWIG_files/wrapper/IntWalk.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define INTWALKDOCSTRING "IntWalk module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_intwalk.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_intwalk.html" %enddef %module (package="OCC.Core", docstring=INTWALKDOCSTRING) IntWalk @@ -84,7 +84,7 @@ enum IntWalk_StatusDeflection { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class IntWalk_StatusDeflection(IntEnum): @@ -118,42 +118,42 @@ IntWalk_OK = IntWalk_StatusDeflection.IntWalk_OK class IntWalk_TheFunctionOfTheInt2S : public math_FunctionSetWithDerivatives { public: /****************** IntWalk_TheFunctionOfTheInt2S ******************/ - /**** md5 signature: e10ea1317bec9408353d3e39fa4c84eb ****/ + /**** md5 signature: a6e86400c87c4372f37609d6e136a604 ****/ %feature("compactdefaultargs") IntWalk_TheFunctionOfTheInt2S; %feature("autodoc", "No available documentation. Parameters ---------- -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface Returns ------- None ") IntWalk_TheFunctionOfTheInt2S; - IntWalk_TheFunctionOfTheInt2S(const opencascade::handle & S1, const opencascade::handle & S2); + IntWalk_TheFunctionOfTheInt2S(const opencascade::handle & S1, const opencascade::handle & S2); /****************** AuxillarSurface1 ******************/ - /**** md5 signature: de137e38f3f056bf64cd7e4eab548eaf ****/ + /**** md5 signature: 2bcc0e8f6b940dfbbbc22a207b96f139 ****/ %feature("compactdefaultargs") AuxillarSurface1; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") AuxillarSurface1; - const opencascade::handle & AuxillarSurface1(); + const opencascade::handle & AuxillarSurface1(); /****************** AuxillarSurface2 ******************/ - /**** md5 signature: 02af9eff198053eb68634237a25ca989 ****/ + /**** md5 signature: 00eb01b56212c9640d2242fafdf3e920 ****/ %feature("compactdefaultargs") AuxillarSurface2; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") AuxillarSurface2; - const opencascade::handle & AuxillarSurface2(); + const opencascade::handle & AuxillarSurface2(); /****************** ComputeParameters ******************/ /**** md5 signature: 5686d6c4ca7c470ce5a820727bd25544 ****/ @@ -332,39 +332,39 @@ bool class IntWalk_TheInt2S { public: /****************** IntWalk_TheInt2S ******************/ - /**** md5 signature: b95210448193a26bf5c2c55c1f7fca78 ****/ + /**** md5 signature: 1c4cc577e5086d81834c89e839f0d692 ****/ %feature("compactdefaultargs") IntWalk_TheInt2S; %feature("autodoc", "Compute the solution point with the close point. Parameters ---------- Param: TColStd_Array1OfReal -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface TolTangency: float Returns ------- None ") IntWalk_TheInt2S; - IntWalk_TheInt2S(const TColStd_Array1OfReal & Param, const opencascade::handle & S1, const opencascade::handle & S2, const Standard_Real TolTangency); + IntWalk_TheInt2S(const TColStd_Array1OfReal & Param, const opencascade::handle & S1, const opencascade::handle & S2, const Standard_Real TolTangency); /****************** IntWalk_TheInt2S ******************/ - /**** md5 signature: ade0e45c80bb946fd6ef9bc7c2156444 ****/ + /**** md5 signature: f2356976844250378d7966a9409a843c ****/ %feature("compactdefaultargs") IntWalk_TheInt2S; %feature("autodoc", "Initialize the parameters to compute the solution point it 's possible to write to optimize: intimp_int2s inter(s1,s2,func,toltangency); math_functionsetroot rsnld(inter.function()); while ...{ param(1)=... param(2)=... param(3)=... inter.perform(param,rsnld); }. Parameters ---------- -S1: Adaptor3d_HSurface -S2: Adaptor3d_HSurface +S1: Adaptor3d_Surface +S2: Adaptor3d_Surface TolTangency: float Returns ------- None ") IntWalk_TheInt2S; - IntWalk_TheInt2S(const opencascade::handle & S1, const opencascade::handle & S2, const Standard_Real TolTangency); + IntWalk_TheInt2S(const opencascade::handle & S1, const opencascade::handle & S2, const Standard_Real TolTangency); /****************** ChangePoint ******************/ /**** md5 signature: 1b1852ae04e18b1e3ae0c1ea8c1f6773 ****/ diff --git a/src/SWIG_files/wrapper/IntWalk.pyi b/src/SWIG_files/wrapper/IntWalk.pyi index 28cb01f80..a5abb6c30 100644 --- a/src/SWIG_files/wrapper/IntWalk.pyi +++ b/src/SWIG_files/wrapper/IntWalk.pyi @@ -27,9 +27,9 @@ IntWalk_ArretSurPoint = IntWalk_StatusDeflection.IntWalk_ArretSurPoint IntWalk_OK = IntWalk_StatusDeflection.IntWalk_OK class IntWalk_TheFunctionOfTheInt2S(math_FunctionSetWithDerivatives): - def __init__(self, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface) -> None: ... - def AuxillarSurface1(self) -> Adaptor3d_HSurface: ... - def AuxillarSurface2(self) -> Adaptor3d_HSurface: ... + def __init__(self, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface) -> None: ... + def AuxillarSurface1(self) -> Adaptor3d_Surface: ... + def AuxillarSurface2(self) -> Adaptor3d_Surface: ... def ComputeParameters(self, ChoixIso: IntImp_ConstIsoparametric, Param: TColStd_Array1OfReal, UVap: math_Vector, BornInf: math_Vector, BornSup: math_Vector, Tolerance: math_Vector) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def Direction(self) -> gp_Dir: ... @@ -45,9 +45,9 @@ class IntWalk_TheFunctionOfTheInt2S(math_FunctionSetWithDerivatives): class IntWalk_TheInt2S: @overload - def __init__(self, Param: TColStd_Array1OfReal, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, TolTangency: float) -> None: ... + def __init__(self, Param: TColStd_Array1OfReal, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, TolTangency: float) -> None: ... @overload - def __init__(self, S1: Adaptor3d_HSurface, S2: Adaptor3d_HSurface, TolTangency: float) -> None: ... + def __init__(self, S1: Adaptor3d_Surface, S2: Adaptor3d_Surface, TolTangency: float) -> None: ... def ChangePoint(self) -> IntSurf_PntOn2S: ... def Direction(self) -> gp_Dir: ... def DirectionOnS1(self) -> gp_Dir2d: ... diff --git a/src/SWIG_files/wrapper/Interface.i b/src/SWIG_files/wrapper/Interface.i index 9b802f2c6..2e6c8c690 100644 --- a/src/SWIG_files/wrapper/Interface.i +++ b/src/SWIG_files/wrapper/Interface.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define INTERFACEDOCSTRING "Interface module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_interface.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_interface.html" %enddef %module (package="OCC.Core", docstring=INTERFACEDOCSTRING) Interface @@ -100,7 +100,7 @@ enum Interface_CheckStatus { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Interface_ParamType(IntEnum): @@ -1057,7 +1057,7 @@ char * /****************** Clear ******************/ /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears a check, in order to receive informations from transfer (messages and entity). + %feature("autodoc", "Clears a check, in order to receive information from transfer (messages and entity). Returns ------- @@ -1836,7 +1836,7 @@ Interface_CheckStatus /****************** Value ******************/ /**** md5 signature: f4d2f44a410b3e3cf64e685769098635 ****/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns check currently iterated it brings all other informations (status, messages, ...) the number of the entity in the model is given by number below. + %feature("autodoc", "Returns check currently iterated it brings all other information (status, messages, ...) the number of the entity in the model is given by number below. Returns ------- @@ -1922,7 +1922,7 @@ None /****************** AnalyseCheckList ******************/ /**** md5 signature: b1a8bd4983e0bb079b0cb8d99027dfab ****/ %feature("compactdefaultargs") AnalyseCheckList; - %feature("autodoc", "Returns list of errors dectected at analyse time (syntactic) (note that globalcheck is not in this list). + %feature("autodoc", "Returns list of errors detected at analyse time (syntactic) (note that globalcheck is not in this list). Returns ------- @@ -1959,7 +1959,7 @@ Interface_CheckIterator /****************** CheckSuccess ******************/ /**** md5 signature: 831d2a1e101dcafb9604bb86498b17d9 ****/ %feature("compactdefaultargs") CheckSuccess; - %feature("autodoc", "Checks if any error has been detected (checklist not empty) returns normally if none, raises exception if some exists. it reuses the last computations from other checking methods, unless the argument is given true. + %feature("autodoc", "Checks if any error has been detected (checklist not empty) returns normally if none, raises exception if some exists. it reuses the last computations from other checking methods, unless the argument is given true. Parameters ---------- @@ -1975,7 +1975,7 @@ None /****************** CompleteCheckList ******************/ /**** md5 signature: dd892cfac1922aa0f3c0767a3cb97241 ****/ %feature("compactdefaultargs") CompleteCheckList; - %feature("autodoc", "Returns list of all 'remarkable' informations, which include : - globalcheck, if not empty - error checks, for all errors (verify + analyse) - also corrected entities - and unknown entities : for those, each unknown entity is associated to an empty check (it is neither an error nor a correction, but a remarkable information). + %feature("autodoc", "Returns list of all 'remarkable' information, which include : - globalcheck, if not empty - error checks, for all errors (verify + analyse) - also corrected entities - and unknown entities : for those, each unknown entity is associated to an empty check (it is neither an error nor a correction, but a remarkable information). Returns ------- @@ -2768,7 +2768,7 @@ class Interface_EntityList { /****************** Interface_EntityList ******************/ /**** md5 signature: 627b17e512379a9e8b95fe4155041e80 ****/ %feature("compactdefaultargs") Interface_EntityList; - %feature("autodoc", "Creates a list as beeing empty. + %feature("autodoc", "Creates a list as being empty. Returns ------- @@ -3361,7 +3361,7 @@ opencascade::handle /****************** ParamFirstRank ******************/ /**** md5 signature: cf6bb15954cc88ad7b3d34301ce9dd64 ****/ %feature("compactdefaultargs") ParamFirstRank; - %feature("autodoc", "Returns the absolute rank of the beginning of a record (its lsit is from paramfirstrank+1 to paramfirstrank+nbparams). + %feature("autodoc", "Returns the absolute rank of the beginning of a record (its list is from paramfirstrank+1 to paramfirstrank+nbparams). Parameters ---------- @@ -3515,7 +3515,7 @@ None /****************** Clear ******************/ /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clear filelds. + %feature("autodoc", "Clear fields. Returns ------- @@ -3812,7 +3812,7 @@ None /****************** Convert ******************/ /**** md5 signature: b67fef250ce64c3c0c648b18db37f72c ****/ %feature("compactdefaultargs") Convert; - %feature("autodoc", "This class method converts a real value to a string, given options given as arguments. it can be called independantly. warning : even if declared in, content of will be modified. + %feature("autodoc", "This class method converts a real value to a string, given options given as arguments. it can be called independently. warning : even if declared in, content of will be modified. Parameters ---------- @@ -3922,7 +3922,7 @@ None /****************** SetZeroSuppress ******************/ /**** md5 signature: 37a02e3338eee7e275b19584090a7212 ****/ %feature("compactdefaultargs") SetZeroSuppress; - %feature("autodoc", "Sets sending real parameters to suppress trailing zeros and null exponant ('e+00'), if is given true, resets this mode if is false (in addition to real forms) a call to setrealfrom resets this mode to false ig is given true (default from creation is true). + %feature("autodoc", "Sets sending real parameters to suppress trailing zeros and null exponent ('e+00'), if is given true, resets this mode if is false (in addition to real forms) a call to setrealfrom resets this mode to false ig is given true (default from creation is true). Parameters ---------- @@ -4556,7 +4556,7 @@ None /****************** WhenDeleteCase ******************/ /**** md5 signature: 6b78c36a5656a6d73b50c68135a2b6d4 ****/ %feature("compactdefaultargs") WhenDeleteCase; - %feature("autodoc", "Prepares an entity to be deleted. what does it mean : basically, any class of entity may define its own destructor by default, it does nothing but calling destructors on fields with the memory manager, it is useless to call destructor, it is done automatically when the handle is nullified(cleared) but this is ineffective in looping structures (whatever these are 'implied' references or not). //! thus : if no loop may appear in definitions, a class which inherits from tshared is correctly managed by automatic way but if there can be loops (or simply back pointers), they must be broken, for instance by clearing fields of one of the nodes the default does nothing, to be redefined if a loop can occur (implied generally requires whendelete, but other cases can occur) //! warning : tells if the entity to be deleted has been produced by dispatch or not. hence whendelete must be in coherence with dispatch dispatch can either copy or not. if it copies the entity, this one should be deleted if it doesnt (i.e. duplicates the handle) nothing to do //! if is false, normal deletion is to be performed. + %feature("autodoc", "Prepares an entity to be deleted. what does it mean : basically, any class of entity may define its own destructor by default, it does nothing but calling destructors on fields with the memory manager, it is useless to call destructor, it is done automatically when the handle is nullified(cleared) but this is ineffective in looping structures (whatever these are 'implied' references or not). //! thus : if no loop may appear in definitions, a class which inherits from tshared is correctly managed by automatic way but if there can be loops (or simply back pointers), they must be broken, for instance by clearing fields of one of the nodes the default does nothing, to be redefined if a loop can occur (implied generally requires whendelete, but other cases can occur) //! warning : tells if the entity to be deleted has been produced by dispatch or not. hence whendelete must be in coherence with dispatch dispatch can either copy or not. if it copies the entity, this one should be deleted if it doesn't (i.e. duplicates the handle) nothing to do //! if is false, normal deletion is to be performed. Parameters ---------- @@ -4600,7 +4600,7 @@ None /****************** Add ******************/ /**** md5 signature: 52a71ed7b2dcafa006109d66faa88607 ****/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds a module bound with a protocol to the list : does nothing if already in the list, that is, same type (exact match) and same state (that is, isequal is not required) once added, stores its attached protocol in correspondance. + %feature("autodoc", "Adds a module bound with a protocol to the list : does nothing if already in the list, that is, same type (exact match) and same state (that is, isequal is not required) once added, stores its attached protocol in correspondence. Parameters ---------- @@ -4676,7 +4676,7 @@ None /****************** Add ******************/ /**** md5 signature: 9c33b501cc7aba278ca4c14a3d8c84e0 ****/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds a module bound with a protocol to the list : does nothing if already in the list, that is, same type (exact match) and same state (that is, isequal is not required) once added, stores its attached protocol in correspondance. + %feature("autodoc", "Adds a module bound with a protocol to the list : does nothing if already in the list, that is, same type (exact match) and same state (that is, isequal is not required) once added, stores its attached protocol in correspondence. Parameters ---------- @@ -5085,7 +5085,7 @@ bool /****************** ModeStat ******************/ /**** md5 signature: d0863ee0605b2f76e4ecd849fb34078d ****/ %feature("compactdefaultargs") ModeStat; - %feature("autodoc", "Returns mode resposible for computation of statuses;. + %feature("autodoc", "Returns mode responsible for computation of statuses;. Returns ------- @@ -5406,7 +5406,7 @@ Interface_Graph /****************** Graph ******************/ /**** md5 signature: 6a234e0475ae0da1c7d268d231e44a78 ****/ %feature("compactdefaultargs") Graph; - %feature("autodoc", "Returns the graph contained in , for read only operations remark that it is returns as 'const &' getting it in a new variable instead of a reference would be a pitty, because all the graph's content would be duplicated. + %feature("autodoc", "Returns the graph contained in , for read only operations remark that it is returns as 'const &' getting it in a new variable instead of a reference would be a pity, because all the graph's content would be duplicated. Returns ------- @@ -5548,7 +5548,7 @@ nbrefs: int /****************** IsRedefined ******************/ /**** md5 signature: 2634d7efe5f57981ef79cc93aa14462d ****/ %feature("compactdefaultargs") IsRedefined; - %feature("autodoc", "Returns true if the list for a number (default is taken as current) is 'redefined' (usefull for empty list). + %feature("autodoc", "Returns true if the list for a number (default is taken as current) is 'redefined' (useful for empty list). Parameters ---------- @@ -5958,7 +5958,7 @@ None /****************** ClearLabels ******************/ /**** md5 signature: 25c392ea756509d2f11c0754fb09a6d0 ****/ %feature("compactdefaultargs") ClearLabels; - %feature("autodoc", "Erases informations about labels, if any : specific to each norm. + %feature("autodoc", "Erases information about labels, if any : specific to each norm. Returns ------- @@ -5969,7 +5969,7 @@ None /****************** ClearReportEntity ******************/ /**** md5 signature: caece735d9030fe4491e05e5614741b1 ****/ %feature("compactdefaultargs") ClearReportEntity; - %feature("autodoc", "Removes the reportentity attached to entity . returns true if done, false if no reportentity was attached to . warning : the caller must assume that this clearing is meaningfull. + %feature("autodoc", "Removes the reportentity attached to entity . returns true if done, false if no reportentity was attached to . warning : the caller must assume that this clearing is meaningful. Parameters ---------- @@ -6363,7 +6363,7 @@ opencascade::handle /****************** Reports ******************/ /**** md5 signature: 7dcbd1cdc4196a34ee9cc60f3720069c ****/ %feature("compactdefaultargs") Reports; - %feature("autodoc", "Returns the list of all reportentities, i.e. data about entities read with error or warning informations (each item has to be casted to report entity then it can be queried for concerned entity, content, check ...) by default, returns the main reports, is is true it returns the list for sematic checks. + %feature("autodoc", "Returns the list of all reportentities, i.e. data about entities read with error or warning information (each item has to be casted to report entity then it can be queried for concerned entity, content, check ...) by default, returns the main reports, is is true it returns the list for semantic checks. Parameters ---------- @@ -6471,7 +6471,7 @@ None /****************** SetReportEntity ******************/ /**** md5 signature: 47b9d0b16e3a849d4ba4e5137695613e ****/ %feature("compactdefaultargs") SetReportEntity; - %feature("autodoc", "Sets or replaces a reportentity for the entity . returns true if report is replaced, false if it has been replaced warning : the caller must assume that this setting is meaningfull. + %feature("autodoc", "Sets or replaces a reportentity for the entity . returns true if report is replaced, false if it has been replaced warning : the caller must assume that this setting is meaningful. Parameters ---------- @@ -7150,7 +7150,7 @@ None /****************** TDate ******************/ /**** md5 signature: e8cc703373ff0bd4920d29504dfa08bf ****/ %feature("compactdefaultargs") TDate; - %feature("autodoc", "Codes a date as a text, from its numeric value (-> seconds) : yyyy-mm-dd:hh-mn-ss fixed format, completed by leading zeros another format can be provided, as follows : c:%d ... c like format, preceeded by c: s:... format to call system (not yet implemented). + %feature("autodoc", "Codes a date as a text, from its numeric value (-> seconds) : yyyy-mm-dd:hh-mn-ss fixed format, completed by leading zeros another format can be provided, as follows : c:%d ... c like format, preceded by c: s:... format to call system (not yet implemented). Parameters ---------- @@ -7409,7 +7409,7 @@ class Interface_ParamList : public Standard_Transient { /****************** Interface_ParamList ******************/ /**** md5 signature: fa22f878906433dd2e43f0b2deb4af1c ****/ %feature("compactdefaultargs") Interface_ParamList; - %feature("autodoc", "Creates an vector with size of memmory blok equal to theincrement. + %feature("autodoc", "Creates an vector with size of memory block equal to theincrement. Parameters ---------- @@ -7548,7 +7548,7 @@ None /****************** Append ******************/ /**** md5 signature: 6df473310f93a04e1bdad84f4c47b22a ****/ %feature("compactdefaultargs") Append; - %feature("autodoc", "Adds a parameter defined as its value (cstring and length) and type. optionnal entitynumber (for filereaderdata) can be given allows a better memory management than appending a complete fileparameter if < 0, is assumed to be managed elsewhere : its adress is stored as such. else, is copied in a locally (quickly) managed page of characters returns new count of recorded parameters. + %feature("autodoc", "Adds a parameter defined as its value (cstring and length) and type. optional entitynumber (for filereaderdata) can be given allows a better memory management than appending a complete fileparameter if < 0, is assumed to be managed elsewhere : its address is stored as such. else, is copied in a locally (quickly) managed page of characters returns new count of recorded parameters. Parameters ---------- @@ -7633,7 +7633,7 @@ Interface_FileParameter /****************** Params ******************/ /**** md5 signature: e567d6332f33622017ba4bad2eb07dc3 ****/ %feature("compactdefaultargs") Params; - %feature("autodoc", "Builds and returns the sub-list correspinding to parameters, from 'num' included, with count 'nb' if and are zero, returns the whole list. + %feature("autodoc", "Builds and returns the sub-list corresponding to parameters, from 'num' included, with count 'nb' if and are zero, returns the whole list. Parameters ---------- @@ -7719,7 +7719,7 @@ None /****************** GlobalCheck ******************/ /**** md5 signature: 47cba6309a9fd154d60abc631f398f9c ****/ %feature("compactdefaultargs") GlobalCheck; - %feature("autodoc", "Evaluates a global check for a model (with its graph) returns true when done, false if data in model do not apply //! very specific of each norm, i.e. of each protocol : the uppest level protocol assumes it, it can call globalcheck of its ressources only if it is necessary //! default does nothing, can be redefined. + %feature("autodoc", "Evaluates a global check for a model (with its graph) returns true when done, false if data in model do not apply //! very specific of each norm, i.e. of each protocol : the uppest level protocol assumes it, it can call globalcheck of its resources only if it is necessary //! default does nothing, can be redefined. Parameters ---------- @@ -8402,7 +8402,7 @@ total: float /****************** NextCycle ******************/ /**** md5 signature: ca214add52f3821b26accc6fe7f36e0c ****/ %feature("compactdefaultargs") NextCycle; - %feature("autodoc", "Commands to resume the preceeding cycle and start a new one, with a count of items ignored if count of cycles is already passed then, first step is started (or default one) nextitem can be called for the first step, or nextstep to pass to the next one. + %feature("autodoc", "Commands to resume the preceding cycle and start a new one, with a count of items ignored if count of cycles is already passed then, first step is started (or default one) nextitem can be called for the first step, or nextstep to pass to the next one. Parameters ---------- @@ -8433,7 +8433,7 @@ None /****************** NextPhase ******************/ /**** md5 signature: 9b523c6521e8002ac47a539ba98e971b ****/ %feature("compactdefaultargs") NextPhase; - %feature("autodoc", "Commands to resume the preceeding phase and start a new one and as for start, but for this new phase ignored if count of phases is already passed if is more than one, the first cycle must then be started by nextcycle (nextstep/nextitem are ignored). if it is one, nextitem/nextstep can then be called. + %feature("autodoc", "Commands to resume the preceding phase and start a new one and as for start, but for this new phase ignored if count of phases is already passed if is more than one, the first cycle must then be started by nextcycle (nextstep/nextitem are ignored). if it is one, nextitem/nextstep can then be called. Parameters ---------- @@ -8450,7 +8450,7 @@ None /****************** NextStep ******************/ /**** md5 signature: a06b9be16a1cd4fce846a9f6baf11cf8 ****/ %feature("compactdefaultargs") NextStep; - %feature("autodoc", "Commands to resume the preceeding step of the cycle ignored if count of steps is already passed nextitem can be called for this step, nextstep passes to next. + %feature("autodoc", "Commands to resume the preceding step of the cycle ignored if count of steps is already passed nextitem can be called for this step, nextstep passes to next. Returns ------- @@ -8654,7 +8654,7 @@ None /****************** Interface_ShareFlags ******************/ /**** md5 signature: fb87355c221a29bfef4a7716e14429e5 ****/ %feature("compactdefaultargs") Interface_ShareFlags; - %feature("autodoc", "Creates a shareflags by querying informations from a graph (remark that graph also has a method isshared). + %feature("autodoc", "Creates a shareflags by querying information from a graph (remark that graph also has a method isshared). Parameters ---------- @@ -9118,7 +9118,7 @@ None /****************** ParamTypeToValueType ******************/ /**** md5 signature: aee1d139dcd9a716445f9c7c79e55597 ****/ %feature("compactdefaultargs") ParamTypeToValueType; - %feature("autodoc", "Correspondance paramtype from interface to valuetype from monitool. + %feature("autodoc", "Correspondence paramtype from interface to valuetype from monitool. Parameters ---------- @@ -9133,7 +9133,7 @@ MoniTool_ValueType /****************** Type ******************/ /**** md5 signature: 47dd452537804ba27c0351c740f97ef5 ****/ %feature("compactdefaultargs") Type; - %feature("autodoc", "Returns the type i.e. calls valuetype then makes correspondance between paramtype from interface (which remains for compatibility reasons) and valuetype from monitool. + %feature("autodoc", "Returns the type i.e. calls valuetype then makes correspondence between paramtype from interface (which remains for compatibility reasons) and valuetype from monitool. Returns ------- @@ -9144,7 +9144,7 @@ Interface_ParamType /****************** ValueTypeToParamType ******************/ /**** md5 signature: 03fb586ad085bc437a43df1d15b1dda6 ****/ %feature("compactdefaultargs") ValueTypeToParamType; - %feature("autodoc", "Correspondance paramtype from interface to valuetype from monitool. + %feature("autodoc", "Correspondence paramtype from interface to valuetype from monitool. Parameters ---------- @@ -9329,7 +9329,7 @@ Interface_ParamType /****************** ParamValue ******************/ /**** md5 signature: 27f0f605c60e921cd93c878a3119e98b ****/ %feature("compactdefaultargs") ParamValue; - %feature("autodoc", "Returns litteral value of a parameter, given its rank. + %feature("autodoc", "Returns literal value of a parameter, given its rank. Parameters ---------- @@ -9637,7 +9637,7 @@ None /****************** Result ******************/ /**** md5 signature: 8c4c469fb1e25be9ad684d7b09b36228 ****/ %feature("compactdefaultargs") Result; - %feature("autodoc", "Returns result under the exact form of an entityiterator : can be used when entityiterator itself is required (as a returned value for instance), whitout way for a sub-class. + %feature("autodoc", "Returns result under the exact form of an entityiterator : can be used when entityiterator itself is required (as a returned value for instance), without way for a sub-class. Returns ------- @@ -9662,7 +9662,7 @@ class Interface_Static : public Interface_TypedValue { /****************** Interface_Static ******************/ /**** md5 signature: a86af5cdb38073532a5a731958c23daf ****/ %feature("compactdefaultargs") Interface_Static; - %feature("autodoc", "Creates and records a static, with a family and a name family can report to a name of ressource or to a system or internal definition. the name must be unique. //! type gives the type of the parameter, default is free text also available : integer, real, enum, entity (i.e. object) more precise specifications, titles, can be given to the static once created //! init gives an initial value. if it is not given, the static begin as 'not set', its value is empty. + %feature("autodoc", "Creates and records a static, with a family and a name family can report to a name of resource or to a system or internal definition. the name must be unique. //! type gives the type of the parameter, default is free text also available : integer, real, enum, entity (i.e. object) more precise specifications, titles, can be given to the static once created //! init gives an initial value. if it is not given, the static begin as 'not set', its value is empty. Parameters ---------- diff --git a/src/SWIG_files/wrapper/InterfaceGraphic.i b/src/SWIG_files/wrapper/InterfaceGraphic.i index 01cf69b96..c16b4f1a3 100644 --- a/src/SWIG_files/wrapper/InterfaceGraphic.i +++ b/src/SWIG_files/wrapper/InterfaceGraphic.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define INTERFACEGRAPHICDOCSTRING "InterfaceGraphic module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_interfacegraphic.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_interfacegraphic.html" %enddef %module (package="OCC.Core", docstring=INTERFACEGRAPHICDOCSTRING) InterfaceGraphic @@ -58,7 +58,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/Intf.i b/src/SWIG_files/wrapper/Intf.i index 4917c191d..5f6a6b893 100644 --- a/src/SWIG_files/wrapper/Intf.i +++ b/src/SWIG_files/wrapper/Intf.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define INTFDOCSTRING "Intf module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_intf.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_intf.html" %enddef %module (package="OCC.Core", docstring=INTFDOCSTRING) Intf @@ -69,7 +69,7 @@ enum Intf_PIType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Intf_PIType(IntEnum): @@ -786,7 +786,7 @@ Param: float /****************** InfoFirst ******************/ /**** md5 signature: 20ef78affbd1bcd59c9ff0691a63d6e8 ****/ %feature("compactdefaultargs") InfoFirst; - %feature("autodoc", "Gives the datas about the first argument of the interference. + %feature("autodoc", "Gives the data about the first argument of the interference. Parameters ---------- @@ -819,7 +819,7 @@ Param: float /****************** InfoSecond ******************/ /**** md5 signature: 679ab58838015e2dca23bde4c3ef8e13 ****/ %feature("compactdefaultargs") InfoSecond; - %feature("autodoc", "Gives the datas about the second argument of the interference. + %feature("autodoc", "Gives the data about the second argument of the interference. Parameters ---------- @@ -835,7 +835,7 @@ Param: float /****************** IsEqual ******************/ /**** md5 signature: 927719925907a38badbab5fe6cdce988 ****/ %feature("compactdefaultargs") IsEqual; - %feature("autodoc", "Returns true if the two sectionpoint have the same logical informations. + %feature("autodoc", "Returns true if the two sectionpoint have the same logical information. Parameters ---------- @@ -1081,7 +1081,7 @@ paraMax: float /****************** InfoSecond ******************/ /**** md5 signature: 5f7628c3595ae1430ae905fb1aaa5468 ****/ %feature("compactdefaultargs") InfoSecond; - %feature("autodoc", "Gives informations about the second argument of the interference. (usable only for polygon). + %feature("autodoc", "Gives information about the second argument of the interference. (usable only for polygon). Parameters ---------- diff --git a/src/SWIG_files/wrapper/Intrv.i b/src/SWIG_files/wrapper/Intrv.i index 1ace077ba..59b519d73 100644 --- a/src/SWIG_files/wrapper/Intrv.i +++ b/src/SWIG_files/wrapper/Intrv.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define INTRVDOCSTRING "Intrv module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_intrv.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_intrv.html" %enddef %module (package="OCC.Core", docstring=INTRVDOCSTRING) Intrv @@ -74,7 +74,7 @@ enum Intrv_Position { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Intrv_Position(IntEnum): diff --git a/src/SWIG_files/wrapper/LDOM.i b/src/SWIG_files/wrapper/LDOM.i index 02b18587c..8217815c7 100644 --- a/src/SWIG_files/wrapper/LDOM.i +++ b/src/SWIG_files/wrapper/LDOM.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define LDOMDOCSTRING "LDOM module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ldom.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_ldom.html" %enddef %module (package="OCC.Core", docstring=LDOMDOCSTRING) LDOM @@ -58,7 +58,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/LProp.i b/src/SWIG_files/wrapper/LProp.i index e74f7662d..4cc525658 100644 --- a/src/SWIG_files/wrapper/LProp.i +++ b/src/SWIG_files/wrapper/LProp.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define LPROPDOCSTRING "LProp module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_lprop.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_lprop.html" %enddef %module (package="OCC.Core", docstring=LPROPDOCSTRING) LProp @@ -73,7 +73,7 @@ enum LProp_CIType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class LProp_Status(IntEnum): diff --git a/src/SWIG_files/wrapper/LProp3d.i b/src/SWIG_files/wrapper/LProp3d.i index fd50f80fd..46dff4775 100644 --- a/src/SWIG_files/wrapper/LProp3d.i +++ b/src/SWIG_files/wrapper/LProp3d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define LPROP3DDOCSTRING "LProp3d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_lprop3d.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_lprop3d.html" %enddef %module (package="OCC.Core", docstring=LPROP3DDOCSTRING) LProp3d @@ -66,7 +66,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -86,13 +86,13 @@ from OCC.Core.Exception import * class LProp3d_CLProps { public: /****************** LProp3d_CLProps ******************/ - /**** md5 signature: 72c8030382cd0143389eb5f868e97fea ****/ + /**** md5 signature: 55346d22164284569aa322c86d4ed2e9 ****/ %feature("compactdefaultargs") LProp3d_CLProps; %feature("autodoc", "Initializes the local properties of the curve the current point and the derivatives are computed at the same time, which allows an optimization of the computation time. indicates the maximum number of derivations to be done (0, 1, 2 or 3). for example, to compute only the tangent, n should be equal to 1. is the linear tolerance (it is used to test if a vector is null). Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve N: int Resolution: float @@ -100,16 +100,16 @@ Returns ------- None ") LProp3d_CLProps; - LProp3d_CLProps(const opencascade::handle & C, const Standard_Integer N, const Standard_Real Resolution); + LProp3d_CLProps(const opencascade::handle & C, const Standard_Integer N, const Standard_Real Resolution); /****************** LProp3d_CLProps ******************/ - /**** md5 signature: 9175d7a560f2f0a5e53df59d2bac7edf ****/ + /**** md5 signature: 0322c52bac5bb9e9cc7b748c91d91215 ****/ %feature("compactdefaultargs") LProp3d_CLProps; %feature("autodoc", "Same as previous constructor but here the parameter is set to the value . all the computations done will be related to and . Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve U: float N: int Resolution: float @@ -118,7 +118,7 @@ Returns ------- None ") LProp3d_CLProps; - LProp3d_CLProps(const opencascade::handle & C, const Standard_Real U, const Standard_Integer N, const Standard_Real Resolution); + LProp3d_CLProps(const opencascade::handle & C, const Standard_Real U, const Standard_Integer N, const Standard_Real Resolution); /****************** LProp3d_CLProps ******************/ /**** md5 signature: 7f3ee4ee884748be05d5efbac5962e75 ****/ @@ -222,19 +222,19 @@ None void Normal(gp_Dir & N); /****************** SetCurve ******************/ - /**** md5 signature: 0aa2e16ff2d1289512b39f87ba1d546d ****/ + /**** md5 signature: c10d16ef149061e06174e6a21df7d6fd ****/ %feature("compactdefaultargs") SetCurve; %feature("autodoc", "Initializes the local properties of the curve for the new curve. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") SetCurve; - void SetCurve(const opencascade::handle & C); + void SetCurve(const opencascade::handle & C); /****************** SetParameter ******************/ /**** md5 signature: 6d7d0a8f07175b76bb327cfdc33d2266 ****/ @@ -292,28 +292,28 @@ gp_Pnt class LProp3d_CurveTool { public: /****************** Continuity ******************/ - /**** md5 signature: f74282d576193a8a4468c05bd37aebd4 ****/ + /**** md5 signature: 67ad52ef2db0c9cf038f39663725f559 ****/ %feature("compactdefaultargs") Continuity; %feature("autodoc", "Returns the order of continuity of the hcurve . returns 1 : first derivative only is computable returns 2 : first and second derivative only are computable. returns 3 : first, second and third are computable. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- int ") Continuity; - static Standard_Integer Continuity(const opencascade::handle & C); + static Standard_Integer Continuity(const opencascade::handle & C); /****************** D1 ******************/ - /**** md5 signature: ca717eb422034c7a68c51607382fb7ff ****/ + /**** md5 signature: 64701d22c465e4adc06f3de193348692 ****/ %feature("compactdefaultargs") D1; %feature("autodoc", "Computes the point

and first derivative of parameter on the hcurve . Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve U: float P: gp_Pnt V1: gp_Vec @@ -322,16 +322,16 @@ Returns ------- None ") D1; - static void D1(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V1); + static void D1(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V1); /****************** D2 ******************/ - /**** md5 signature: c09529dc7b635a906884c36fc27e6614 ****/ + /**** md5 signature: a03fec54dc9fb384b49128be1eeb6ab5 ****/ %feature("compactdefaultargs") D2; %feature("autodoc", "Computes the point

, the first derivative and second derivative of parameter on the hcurve . Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve U: float P: gp_Pnt V1: gp_Vec @@ -341,16 +341,16 @@ Returns ------- None ") D2; - static void D2(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2); + static void D2(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2); /****************** D3 ******************/ - /**** md5 signature: 3bf35cb48a03694dcf006305239f076f ****/ + /**** md5 signature: daf7fd27ce53952002a95005add4c7db ****/ %feature("compactdefaultargs") D3; %feature("autodoc", "Computes the point

, the first derivative , the second derivative and third derivative of parameter on the hcurve . Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve U: float P: gp_Pnt V1: gp_Vec @@ -361,46 +361,46 @@ Returns ------- None ") D3; - static void D3(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2, gp_Vec & V3); + static void D3(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P, gp_Vec & V1, gp_Vec & V2, gp_Vec & V3); /****************** FirstParameter ******************/ - /**** md5 signature: d9e1f13e76e33ca8ffa49bead51ff742 ****/ + /**** md5 signature: 25c42492a02c6ff0b57c4cf91fb40f86 ****/ %feature("compactdefaultargs") FirstParameter; %feature("autodoc", "Returns the first parameter bound of the hcurve. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- float ") FirstParameter; - static Standard_Real FirstParameter(const opencascade::handle & C); + static Standard_Real FirstParameter(const opencascade::handle & C); /****************** LastParameter ******************/ - /**** md5 signature: cc67fdec2ebae09fe338337b96bbe757 ****/ + /**** md5 signature: c00409255c9efae31d007ea0f35327b6 ****/ %feature("compactdefaultargs") LastParameter; %feature("autodoc", "Returns the last parameter bound of the hcurve. firstparameter must be less than lastparamenter. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- float ") LastParameter; - static Standard_Real LastParameter(const opencascade::handle & C); + static Standard_Real LastParameter(const opencascade::handle & C); /****************** Value ******************/ - /**** md5 signature: 1a099d297657fc72fa3fb3465137d6c6 ****/ + /**** md5 signature: c9166e787eb6dba49df04f09341196b6 ****/ %feature("compactdefaultargs") Value; %feature("autodoc", "Computes the point

of parameter on the hcurve . Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve U: float P: gp_Pnt @@ -408,7 +408,7 @@ Returns ------- None ") Value; - static void Value(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P); + static void Value(const opencascade::handle & C, const Standard_Real U, gp_Pnt & P); }; @@ -425,13 +425,13 @@ None class LProp3d_SLProps { public: /****************** LProp3d_SLProps ******************/ - /**** md5 signature: ca57cd9bd4ea585a715e66900220457d ****/ + /**** md5 signature: 8e26364dfa92e188c2d1b9bdfa61d9d0 ****/ %feature("compactdefaultargs") LProp3d_SLProps; %feature("autodoc", "Initializes the local properties of the surface for the parameter values (, ). the current point and the derivatives are computed at the same time, which allows an optimization of the computation time. indicates the maximum number of derivations to be done (0, 1, or 2). for example, to compute only the tangent, n should be equal to 1. is the linear tolerance (it is used to test if a vector is null). Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface U: float V: float N: int @@ -441,16 +441,16 @@ Returns ------- None ") LProp3d_SLProps; - LProp3d_SLProps(const opencascade::handle & S, const Standard_Real U, const Standard_Real V, const Standard_Integer N, const Standard_Real Resolution); + LProp3d_SLProps(const opencascade::handle & S, const Standard_Real U, const Standard_Real V, const Standard_Integer N, const Standard_Real Resolution); /****************** LProp3d_SLProps ******************/ - /**** md5 signature: 23e46a1e42fa8c20a0abbfbb2c4a3a90 ****/ + /**** md5 signature: 551b173d5b0f247fb20f33862006b68e ****/ %feature("compactdefaultargs") LProp3d_SLProps; %feature("autodoc", "Idem as previous constructor but without setting the value of parameters and . Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface N: int Resolution: float @@ -458,7 +458,7 @@ Returns ------- None ") LProp3d_SLProps; - LProp3d_SLProps(const opencascade::handle & S, const Standard_Integer N, const Standard_Real Resolution); + LProp3d_SLProps(const opencascade::handle & S, const Standard_Integer N, const Standard_Real Resolution); /****************** LProp3d_SLProps ******************/ /**** md5 signature: 4665210bb798bfd8a1be71399d0323f0 ****/ @@ -674,19 +674,19 @@ None void SetParameters(const Standard_Real U, const Standard_Real V); /****************** SetSurface ******************/ - /**** md5 signature: c0f9085198ca86e592bdb1756098ae53 ****/ + /**** md5 signature: 31b5f8e96962760e8ffab10ebcefd535 ****/ %feature("compactdefaultargs") SetSurface; %feature("autodoc", "Initializes the local properties of the surface s for the new surface. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- None ") SetSurface; - void SetSurface(const opencascade::handle & S); + void SetSurface(const opencascade::handle & S); /****************** TangentU ******************/ /**** md5 signature: ff20f7d1d23e153974b932d55fa30a7f ****/ @@ -744,13 +744,13 @@ gp_Pnt class LProp3d_SurfaceTool { public: /****************** Bounds ******************/ - /**** md5 signature: b78317c028597566c368a993cf1c448c ****/ + /**** md5 signature: 2f47c789bea86a8d768de90521a99be5 ****/ %feature("compactdefaultargs") Bounds; %feature("autodoc", "Returns the bounds of the hsurface. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- @@ -759,31 +759,31 @@ V1: float U2: float V2: float ") Bounds; - static void Bounds(const opencascade::handle & S, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); + static void Bounds(const opencascade::handle & S, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); /****************** Continuity ******************/ - /**** md5 signature: 6fd78900dd50afbdc96d50e1e159ee93 ****/ + /**** md5 signature: 0fa75bd197e4456fe4ae2b28cfedb774 ****/ %feature("compactdefaultargs") Continuity; %feature("autodoc", "Returns the order of continuity of the hsurface . returns 1 : first derivative only is computable returns 2 : first and second derivative only are computable. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- int ") Continuity; - static Standard_Integer Continuity(const opencascade::handle & S); + static Standard_Integer Continuity(const opencascade::handle & S); /****************** D1 ******************/ - /**** md5 signature: d1d64a7b4d697015545621cd8dfff2d0 ****/ + /**** md5 signature: 0ed65c587f44222a126bf3c8a594165d ****/ %feature("compactdefaultargs") D1; %feature("autodoc", "Computes the point

and first derivative of parameter and on the hsurface . Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface U: float V: float P: gp_Pnt @@ -794,16 +794,16 @@ Returns ------- None ") D1; - static void D1(const opencascade::handle & S, const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & D1U, gp_Vec & D1V); + static void D1(const opencascade::handle & S, const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & D1U, gp_Vec & D1V); /****************** D2 ******************/ - /**** md5 signature: 5049459f17910ae762d2b23d7dddba6d ****/ + /**** md5 signature: a2a0e00ba5339b2afc6c2cca9361278c ****/ %feature("compactdefaultargs") D2; %feature("autodoc", "Computes the point

, the first derivative and second derivative of parameter and on the hsurface . Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface U: float V: float P: gp_Pnt @@ -817,16 +817,16 @@ Returns ------- None ") D2; - static void D2(const opencascade::handle & S, const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & D1U, gp_Vec & D1V, gp_Vec & D2U, gp_Vec & D2V, gp_Vec & DUV); + static void D2(const opencascade::handle & S, const Standard_Real U, const Standard_Real V, gp_Pnt & P, gp_Vec & D1U, gp_Vec & D1V, gp_Vec & D2U, gp_Vec & D2V, gp_Vec & DUV); /****************** DN ******************/ - /**** md5 signature: b1a239f1b3763bed60166997fbba9bb0 ****/ + /**** md5 signature: bcc30853ace75615fb49f72515a4abb1 ****/ %feature("compactdefaultargs") DN; %feature("autodoc", "No available documentation. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface U: float V: float IU: int @@ -836,16 +836,16 @@ Returns ------- gp_Vec ") DN; - static gp_Vec DN(const opencascade::handle & S, const Standard_Real U, const Standard_Real V, const Standard_Integer IU, const Standard_Integer IV); + static gp_Vec DN(const opencascade::handle & S, const Standard_Real U, const Standard_Real V, const Standard_Integer IU, const Standard_Integer IV); /****************** Value ******************/ - /**** md5 signature: 44050e1becf438b9389ef3cc59c41b3f ****/ + /**** md5 signature: 8c6567385008e24d9a3e3cf268ab3933 ****/ %feature("compactdefaultargs") Value; %feature("autodoc", "Computes the point

of parameter and on the hsurface . Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface U: float V: float P: gp_Pnt @@ -854,7 +854,7 @@ Returns ------- None ") Value; - static void Value(const opencascade::handle & S, const Standard_Real U, const Standard_Real V, gp_Pnt & P); + static void Value(const opencascade::handle & S, const Standard_Real U, const Standard_Real V, gp_Pnt & P); }; diff --git a/src/SWIG_files/wrapper/LProp3d.pyi b/src/SWIG_files/wrapper/LProp3d.pyi index 6108a91bc..4036abbb5 100644 --- a/src/SWIG_files/wrapper/LProp3d.pyi +++ b/src/SWIG_files/wrapper/LProp3d.pyi @@ -9,9 +9,9 @@ from OCC.Core.gp import * class LProp3d_CLProps: @overload - def __init__(self, C: Adaptor3d_HCurve, N: int, Resolution: float) -> None: ... + def __init__(self, C: Adaptor3d_Curve, N: int, Resolution: float) -> None: ... @overload - def __init__(self, C: Adaptor3d_HCurve, U: float, N: int, Resolution: float) -> None: ... + def __init__(self, C: Adaptor3d_Curve, U: float, N: int, Resolution: float) -> None: ... @overload def __init__(self, N: int, Resolution: float) -> None: ... def CentreOfCurvature(self, P: gp_Pnt) -> None: ... @@ -21,32 +21,32 @@ class LProp3d_CLProps: def D3(self) -> gp_Vec: ... def IsTangentDefined(self) -> bool: ... def Normal(self, N: gp_Dir) -> None: ... - def SetCurve(self, C: Adaptor3d_HCurve) -> None: ... + def SetCurve(self, C: Adaptor3d_Curve) -> None: ... def SetParameter(self, U: float) -> None: ... def Tangent(self, D: gp_Dir) -> None: ... def Value(self) -> gp_Pnt: ... class LProp3d_CurveTool: @staticmethod - def Continuity(C: Adaptor3d_HCurve) -> int: ... + def Continuity(C: Adaptor3d_Curve) -> int: ... @staticmethod - def D1(C: Adaptor3d_HCurve, U: float, P: gp_Pnt, V1: gp_Vec) -> None: ... + def D1(C: Adaptor3d_Curve, U: float, P: gp_Pnt, V1: gp_Vec) -> None: ... @staticmethod - def D2(C: Adaptor3d_HCurve, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... + def D2(C: Adaptor3d_Curve, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec) -> None: ... @staticmethod - def D3(C: Adaptor3d_HCurve, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec) -> None: ... + def D3(C: Adaptor3d_Curve, U: float, P: gp_Pnt, V1: gp_Vec, V2: gp_Vec, V3: gp_Vec) -> None: ... @staticmethod - def FirstParameter(C: Adaptor3d_HCurve) -> float: ... + def FirstParameter(C: Adaptor3d_Curve) -> float: ... @staticmethod - def LastParameter(C: Adaptor3d_HCurve) -> float: ... + def LastParameter(C: Adaptor3d_Curve) -> float: ... @staticmethod - def Value(C: Adaptor3d_HCurve, U: float, P: gp_Pnt) -> None: ... + def Value(C: Adaptor3d_Curve, U: float, P: gp_Pnt) -> None: ... class LProp3d_SLProps: @overload - def __init__(self, S: Adaptor3d_HSurface, U: float, V: float, N: int, Resolution: float) -> None: ... + def __init__(self, S: Adaptor3d_Surface, U: float, V: float, N: int, Resolution: float) -> None: ... @overload - def __init__(self, S: Adaptor3d_HSurface, N: int, Resolution: float) -> None: ... + def __init__(self, S: Adaptor3d_Surface, N: int, Resolution: float) -> None: ... @overload def __init__(self, N: int, Resolution: float) -> None: ... def CurvatureDirections(self, MaxD: gp_Dir, MinD: gp_Dir) -> None: ... @@ -66,24 +66,24 @@ class LProp3d_SLProps: def MinCurvature(self) -> float: ... def Normal(self) -> gp_Dir: ... def SetParameters(self, U: float, V: float) -> None: ... - def SetSurface(self, S: Adaptor3d_HSurface) -> None: ... + def SetSurface(self, S: Adaptor3d_Surface) -> None: ... def TangentU(self, D: gp_Dir) -> None: ... def TangentV(self, D: gp_Dir) -> None: ... def Value(self) -> gp_Pnt: ... class LProp3d_SurfaceTool: @staticmethod - def Bounds(S: Adaptor3d_HSurface) -> Tuple[float, float, float, float]: ... + def Bounds(S: Adaptor3d_Surface) -> Tuple[float, float, float, float]: ... @staticmethod - def Continuity(S: Adaptor3d_HSurface) -> int: ... + def Continuity(S: Adaptor3d_Surface) -> int: ... @staticmethod - def D1(S: Adaptor3d_HSurface, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec) -> None: ... + def D1(S: Adaptor3d_Surface, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec) -> None: ... @staticmethod - def D2(S: Adaptor3d_HSurface, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, DUV: gp_Vec) -> None: ... + def D2(S: Adaptor3d_Surface, U: float, V: float, P: gp_Pnt, D1U: gp_Vec, D1V: gp_Vec, D2U: gp_Vec, D2V: gp_Vec, DUV: gp_Vec) -> None: ... @staticmethod - def DN(S: Adaptor3d_HSurface, U: float, V: float, IU: int, IV: int) -> gp_Vec: ... + def DN(S: Adaptor3d_Surface, U: float, V: float, IU: int, IV: int) -> gp_Vec: ... @staticmethod - def Value(S: Adaptor3d_HSurface, U: float, V: float, P: gp_Pnt) -> None: ... + def Value(S: Adaptor3d_Surface, U: float, V: float, P: gp_Pnt) -> None: ... # harray1 classes # harray2 classes diff --git a/src/SWIG_files/wrapper/Law.i b/src/SWIG_files/wrapper/Law.i index 3a1e68f75..f87125067 100644 --- a/src/SWIG_files/wrapper/Law.i +++ b/src/SWIG_files/wrapper/Law.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define LAWDOCSTRING "Law module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_law.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_law.html" %enddef %module (package="OCC.Core", docstring=LAWDOCSTRING) Law @@ -70,7 +70,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -145,7 +145,7 @@ opencascade::handle /****************** MixTgt ******************/ /**** md5 signature: 3c3be1a2329c3b1f6f1e9955082e3637 ****/ %feature("compactdefaultargs") MixTgt; - %feature("autodoc", "Builds the poles of the 1d bspline that is null on the rigth side of knots(index) (on the left if nulontheright is false) and that is like a t*(1-t)(1-t) curve on the left side of knots(index) (on the rigth if nulontheright is false). the result curve is c1 with a derivative equal to 1. at first parameter (-1 at last parameter if nulontheright is false). warning: mults(index) must greater or equal to degree-1. + %feature("autodoc", "Builds the poles of the 1d bspline that is null on the right side of knots(index) (on the left if nulontheright is false) and that is like a t*(1-t)(1-t) curve on the left side of knots(index) (on the right if nulontheright is false). the result curve is c1 with a derivative equal to 1. at first parameter (-1 at last parameter if nulontheright is false). warning: mults(index) must greater or equal to degree-1. Parameters ---------- @@ -801,7 +801,7 @@ int /****************** MovePointAndTangent ******************/ /**** md5 signature: 48e98676b5c4d441b6b8923083347851 ****/ %feature("compactdefaultargs") MovePointAndTangent; - %feature("autodoc", "Changes the value of the law at parameter u to newvalue. and makes its derivative at u be derivative. startingcondition = -1 means first can move endingcondition = -1 means last point can move startingcondition = 0 means the first point cannot move endingcondition = 0 means the last point cannot move startingcondition = 1 means the first point and tangent cannot move endingcondition = 1 means the last point and tangent cannot move and so forth errorstatus != 0 means that there are not enought degree of freedom with the constrain to deform the curve accordingly. + %feature("autodoc", "Changes the value of the law at parameter u to newvalue. and makes its derivative at u be derivative. startingcondition = -1 means first can move endingcondition = -1 means last point can move startingcondition = 0 means the first point cannot move endingcondition = 0 means the last point cannot move startingcondition = 1 means the first point and tangent cannot move endingcondition = 1 means the last point and tangent cannot move and so forth errorstatus != 0 means that there are not enough degree of freedom with the constrain to deform the curve accordingly. Parameters ---------- @@ -1328,7 +1328,7 @@ D2: float /****************** Intervals ******************/ /**** md5 signature: 7d2bf038a9213acf1609cc1244a3ee03 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . the array must provide enough room to accommodate for the parameters, i.e. t.length() > nbintervals(). Parameters ---------- @@ -1623,7 +1623,7 @@ D2: float /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . the array must provide enough room to accommodate for the parameters, i.e. t.length() > nbintervals(). Parameters ---------- @@ -1728,7 +1728,7 @@ None /****************** Law_Composite ******************/ /**** md5 signature: b51d805042e8e834fd1c73c392ffe7bf ****/ %feature("compactdefaultargs") Law_Composite; - %feature("autodoc", "Construct an empty, trimed law. + %feature("autodoc", "Construct an empty, trimmed law. Parameters ---------- @@ -1830,7 +1830,7 @@ D2: float /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . the array must provide enough room to accommodate for the parameters, i.e. t.length() > nbintervals(). Parameters ---------- diff --git a/src/SWIG_files/wrapper/LocOpe.i b/src/SWIG_files/wrapper/LocOpe.i index ea953431c..33486420e 100644 --- a/src/SWIG_files/wrapper/LocOpe.i +++ b/src/SWIG_files/wrapper/LocOpe.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define LOCOPEDOCSTRING "LocOpe module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_locope.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_locope.html" %enddef %module (package="OCC.Core", docstring=LOCOPEDOCSTRING) LocOpe @@ -93,7 +93,7 @@ enum LocOpe_Operation { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class LocOpe_Operation(IntEnum): @@ -444,7 +444,7 @@ bool /****************** LocalizeAfter ******************/ /**** md5 signature: 0c047f3521a889ad3beace61675cb16c ****/ %feature("compactdefaultargs") LocalizeAfter; - %feature("autodoc", "On the element of range , searches the first intersection point located after the parameter , wich orientation is not topabs_external. if found, returns . contains the orientation of the point, and represents the interval of index in the sequence of intersection point corresponding to the point. (indfrom <= indto). is used to determine if 2 parameters are equal. //! otherwise, returns . + %feature("autodoc", "On the element of range , searches the first intersection point located after the parameter , which orientation is not topabs_external. if found, returns . contains the orientation of the point, and represents the interval of index in the sequence of intersection point corresponding to the point. (indfrom <= indto). is used to determine if 2 parameters are equal. //! otherwise, returns . Parameters ---------- @@ -463,7 +463,7 @@ IndTo: int /****************** LocalizeAfter ******************/ /**** md5 signature: d56de202f543156481760d3d927eea66 ****/ %feature("compactdefaultargs") LocalizeAfter; - %feature("autodoc", "On the element of range , searches the first intersection point located after the index ( >= fromind + 1), wich orientation is not topabs_external. if found, returns . contains the orientation of the point, and represents the interval of index in the sequence of intersection point corresponding to the point. (indfrom <= indto). is used to determine if 2 parameters are equal. //! otherwise, returns . + %feature("autodoc", "On the element of range , searches the first intersection point located after the index ( >= fromind + 1), which orientation is not topabs_external. if found, returns . contains the orientation of the point, and represents the interval of index in the sequence of intersection point corresponding to the point. (indfrom <= indto). is used to determine if 2 parameters are equal. //! otherwise, returns . Parameters ---------- @@ -482,7 +482,7 @@ IndTo: int /****************** LocalizeBefore ******************/ /**** md5 signature: 5b2b6de66ba5a81aeee8506f68cfc270 ****/ %feature("compactdefaultargs") LocalizeBefore; - %feature("autodoc", "On the element of range , searches the first intersection point located before the parameter , wich orientation is not topabs_external. if found, returns . contains the orientation of the point, and represents the interval of index in the sequence of intersection point corresponding to the point (indfrom <= indto). is used to determine if 2 parameters are equal. //! otherwise, returns . + %feature("autodoc", "On the element of range , searches the first intersection point located before the parameter , which orientation is not topabs_external. if found, returns . contains the orientation of the point, and represents the interval of index in the sequence of intersection point corresponding to the point (indfrom <= indto). is used to determine if 2 parameters are equal. //! otherwise, returns . Parameters ---------- @@ -501,7 +501,7 @@ IndTo: int /****************** LocalizeBefore ******************/ /**** md5 signature: 89f05e176ad1cd9828188d9a6ada9149 ****/ %feature("compactdefaultargs") LocalizeBefore; - %feature("autodoc", "On the element of range , searches the first intersection point located before the index ( <= fromind -1), wich orientation is not topabs_external. if found, returns . contains the orientation of the point, and represents the interval of index in the sequence of intersection point corresponding to the point (indfrom <= indto). is used to determine if 2 parameters are equal. //! otherwise, returns . + %feature("autodoc", "On the element of range , searches the first intersection point located before the index ( <= fromind -1), which orientation is not topabs_external. if found, returns . contains the orientation of the point, and represents the interval of index in the sequence of intersection point corresponding to the point (indfrom <= indto). is used to determine if 2 parameters are equal. //! otherwise, returns . Parameters ---------- @@ -696,7 +696,7 @@ bool /****************** LocalizeAfter ******************/ /**** md5 signature: db4c67a77f192de37c747de6a6aed7d3 ****/ %feature("compactdefaultargs") LocalizeAfter; - %feature("autodoc", "Searches the first intersection point located after the parameter , wich orientation is not topabs_external. if found, returns . contains the orientation of the point, and represents the interval of index in the sequence of intersection point corresponding to the point. (indfrom <= indto). //! otherwise, returns . + %feature("autodoc", "Searches the first intersection point located after the parameter , which orientation is not topabs_external. if found, returns . contains the orientation of the point, and represents the interval of index in the sequence of intersection point corresponding to the point. (indfrom <= indto). //! otherwise, returns . Parameters ---------- @@ -713,7 +713,7 @@ IndTo: int /****************** LocalizeAfter ******************/ /**** md5 signature: dc5b7987079415874eaa183c6149c405 ****/ %feature("compactdefaultargs") LocalizeAfter; - %feature("autodoc", "Searches the first intersection point located after the index ( >= fromind + 1), wich orientation is not topabs_external. if found, returns . contains the orientation of the point, and represents the interval of index in the sequence of intersection point corresponding to the point. (indfrom <= indto). //! otherwise, returns . + %feature("autodoc", "Searches the first intersection point located after the index ( >= fromind + 1), which orientation is not topabs_external. if found, returns . contains the orientation of the point, and represents the interval of index in the sequence of intersection point corresponding to the point. (indfrom <= indto). //! otherwise, returns . Parameters ---------- @@ -730,7 +730,7 @@ IndTo: int /****************** LocalizeBefore ******************/ /**** md5 signature: fbf6caaf11561e5474c6e8bcbfa6392a ****/ %feature("compactdefaultargs") LocalizeBefore; - %feature("autodoc", "Searches the first intersection point located before the parameter , wich orientation is not topabs_external. if found, returns . contains the orientation of the point, and represents the interval of index in the sequence of intersection point corresponding to the point (indfrom <= indto). //! otherwise, returns . + %feature("autodoc", "Searches the first intersection point located before the parameter , which orientation is not topabs_external. if found, returns . contains the orientation of the point, and represents the interval of index in the sequence of intersection point corresponding to the point (indfrom <= indto). //! otherwise, returns . Parameters ---------- @@ -747,7 +747,7 @@ IndTo: int /****************** LocalizeBefore ******************/ /**** md5 signature: 977b8e8fd7ae8fde8152e2d971922b09 ****/ %feature("compactdefaultargs") LocalizeBefore; - %feature("autodoc", "Searches the first intersection point located before the index ( <= fromind -1), wich orientation is not topabs_external. if found, returns . contains the orientation of the point, and represents the interval of index in the sequence of intersection point corresponding to the point (indfrom <= indto). //! otherwise, returns . + %feature("autodoc", "Searches the first intersection point located before the index ( <= fromind -1), which orientation is not topabs_external. if found, returns . contains the orientation of the point, and represents the interval of index in the sequence of intersection point corresponding to the point (indfrom <= indto). //! otherwise, returns . Parameters ---------- @@ -2116,7 +2116,7 @@ TopTools_ListOfShape class LocOpe_SplitDrafts { public: /****************** LocOpe_SplitDrafts ******************/ - /**** md5 signature: bd98e2f866e9cd1503bf0bc2c1b93dd1 ****/ + /**** md5 signature: 2ee8be10ba301fc967707fa630016f82 ****/ %feature("compactdefaultargs") LocOpe_SplitDrafts; %feature("autodoc", "Empty constructor. @@ -2127,9 +2127,9 @@ None LocOpe_SplitDrafts(); /****************** LocOpe_SplitDrafts ******************/ - /**** md5 signature: c22a80cfddc71e6fda38566dd6e30d6c ****/ + /**** md5 signature: e2701639f1b17ae18c73bfdf74b775be ****/ %feature("compactdefaultargs") LocOpe_SplitDrafts; - %feature("autodoc", "Creates the algoritm on the shape . + %feature("autodoc", "Creates the algorithm on the shape . Parameters ---------- @@ -2144,7 +2144,7 @@ None /****************** Init ******************/ /**** md5 signature: 5b69b32485b3d9f82ae4abb9c853c3c7 ****/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Initializes the algoritm with the shape . + %feature("autodoc", "Initializes the algorithm with the shape . Parameters ---------- @@ -2157,9 +2157,9 @@ None void Init(const TopoDS_Shape & S); /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /**** md5 signature: e385477ab1bec806154173d4a550fd68 ****/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Returns if the modification has been succesfully performed. + %feature("autodoc", "Returns if the modification has been successfully performed. Returns ------- @@ -2168,7 +2168,7 @@ bool Standard_Boolean IsDone(); /****************** OriginalShape ******************/ - /**** md5 signature: 37aa687b33206d2183ad29c927b910b3 ****/ + /**** md5 signature: 0c1425ae3411e433ee33975a98ab8edc ****/ %feature("compactdefaultargs") OriginalShape; %feature("autodoc", "No available documentation. @@ -2582,7 +2582,7 @@ None /****************** Add ******************/ /**** md5 signature: a2f8855eb9d20716f921d30ba939fd6a ****/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Add splitting edges or wires for whole initial shape withot additional specification edge->face, edge->edge this method puts edge on the corresponding faces from initial shape. + %feature("autodoc", "Add splitting edges or wires for whole initial shape without additional specification edge->face, edge->edge this method puts edge on the corresponding faces from initial shape. Parameters ---------- diff --git a/src/SWIG_files/wrapper/LocalAnalysis.i b/src/SWIG_files/wrapper/LocalAnalysis.i index 47d32bef6..43f6bd54b 100644 --- a/src/SWIG_files/wrapper/LocalAnalysis.i +++ b/src/SWIG_files/wrapper/LocalAnalysis.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define LOCALANALYSISDOCSTRING "LocalAnalysis module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_localanalysis.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_localanalysis.html" %enddef %module (package="OCC.Core", docstring=LOCALANALYSISDOCSTRING) LocalAnalysis @@ -75,7 +75,7 @@ enum LocalAnalysis_StatusErrorType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class LocalAnalysis_StatusErrorType(IntEnum): diff --git a/src/SWIG_files/wrapper/MAT.i b/src/SWIG_files/wrapper/MAT.i index 4aab62499..96a6aace9 100644 --- a/src/SWIG_files/wrapper/MAT.i +++ b/src/SWIG_files/wrapper/MAT.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define MATDOCSTRING "MAT module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_mat.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_mat.html" %enddef %module (package="OCC.Core", docstring=MATDOCSTRING) MAT @@ -63,7 +63,7 @@ enum MAT_Side { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class MAT_Side(IntEnum): diff --git a/src/SWIG_files/wrapper/MAT2d.i b/src/SWIG_files/wrapper/MAT2d.i index 79b2bdeb6..3fc46f8a8 100644 --- a/src/SWIG_files/wrapper/MAT2d.i +++ b/src/SWIG_files/wrapper/MAT2d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define MAT2DDOCSTRING "MAT2d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_mat2d.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_mat2d.html" %enddef %module (package="OCC.Core", docstring=MAT2DDOCSTRING) MAT2d @@ -72,7 +72,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -834,7 +834,7 @@ class MAT2d_Mat2d { /****************** MAT2d_Mat2d ******************/ /**** md5 signature: f439b4b585960a22c06e7ea738efcbf9 ****/ %feature("compactdefaultargs") MAT2d_Mat2d; - %feature("autodoc", "Empty construtor. + %feature("autodoc", "Empty constructor. Parameters ---------- @@ -861,7 +861,7 @@ opencascade::handle /****************** CreateMat ******************/ /**** md5 signature: 717224e1f2d3269fea646a133206ad70 ****/ %feature("compactdefaultargs") CreateMat; - %feature("autodoc", "Algoritm of computation of the bisecting locus. + %feature("autodoc", "Algorithm of computation of the bisecting locus. Parameters ---------- @@ -876,7 +876,7 @@ None /****************** CreateMatOpen ******************/ /**** md5 signature: 79ad82fccb9da722fb02fd80f0334bde ****/ %feature("compactdefaultargs") CreateMatOpen; - %feature("autodoc", "Algoritm of computation of the bisecting locus for open wire. + %feature("autodoc", "Algorithm of computation of the bisecting locus for open wire. Parameters ---------- @@ -1180,7 +1180,7 @@ float /****************** Dump ******************/ /**** md5 signature: ed8af339d2cda3e0556fbccf04ebaaea ****/ %feature("compactdefaultargs") Dump; - %feature("autodoc", "Displays informations about the bisector defined by . + %feature("autodoc", "Displays information about the bisector defined by . Parameters ---------- diff --git a/src/SWIG_files/wrapper/MMgt.i b/src/SWIG_files/wrapper/MMgt.i deleted file mode 100644 index 3a049c079..000000000 --- a/src/SWIG_files/wrapper/MMgt.i +++ /dev/null @@ -1,81 +0,0 @@ -/* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) - -This file is part of pythonOCC. -pythonOCC is free software: you can redistribute it and/or modify -it under the terms of the GNU Lesser General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -pythonOCC is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License -along with pythonOCC. If not, see . -*/ -%define MMGTDOCSTRING -"MMgt module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_mmgt.html" -%enddef -%module (package="OCC.Core", docstring=MMGTDOCSTRING) MMgt - - -%{ -#ifdef WNT -#pragma warning(disable : 4716) -#endif -%} - -%include ../common/CommonIncludes.i -%include ../common/ExceptionCatcher.i -%include ../common/FunctionTransformers.i -%include ../common/EnumTemplates.i -%include ../common/Operators.i -%include ../common/OccHandle.i - - -%{ -#include - -//Dependencies -#include -#include -#include -#include -#include -#include -%}; -%import Standard.i -%import NCollection.i - -%pythoncode { -from enum import IntEnum -from OCC.Core.Exception import * -}; - -/* public enums */ -/* end public enums declaration */ - -/* python proy classes for enums */ -%pythoncode { -}; -/* end python proxy for enums */ - -/* handles */ -/* end handles declaration */ - -/* templates */ -/* end templates declaration */ - -/* typedefs */ -typedef Standard_Transient MMgt_TShared; -/* end typedefs declaration */ - -/* harray1 classes */ -/* harray2 classes */ -/* hsequence classes */ -/* class aliases */ -%pythoncode { -} diff --git a/src/SWIG_files/wrapper/MMgt.pyi b/src/SWIG_files/wrapper/MMgt.pyi deleted file mode 100644 index 502dc3184..000000000 --- a/src/SWIG_files/wrapper/MMgt.pyi +++ /dev/null @@ -1,12 +0,0 @@ -from enum import IntEnum -from typing import overload, NewType, Optional, Tuple - -from OCC.Core.Standard import * -from OCC.Core.NCollection import * - -MMgt_TShared = NewType('MMgt_TShared', Standard_Transient) - -# harray1 classes -# harray2 classes -# hsequence classes - diff --git a/src/SWIG_files/wrapper/Media.i b/src/SWIG_files/wrapper/Media.i index 199082daa..2bb7081e1 100644 --- a/src/SWIG_files/wrapper/Media.i +++ b/src/SWIG_files/wrapper/Media.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define MEDIADOCSTRING "Media module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_media.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_media.html" %enddef %module (package="OCC.Core", docstring=MEDIADOCSTRING) Media @@ -68,7 +68,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/Media.pyi b/src/SWIG_files/wrapper/Media.pyi index 88867ebbc..b17e3340a 100644 --- a/src/SWIG_files/wrapper/Media.pyi +++ b/src/SWIG_files/wrapper/Media.pyi @@ -16,12 +16,12 @@ class Media_BufferPool(Standard_Transient): class Media_CodecContext(Standard_Transient): def __init__(self) -> None: ... - def CanProcessPacket(self, thePacket: Media_Packet) -> False: ... + def CanProcessPacket(self, thePacket: Media_Packet) -> bool: ... def Close(self) -> None: ... def Context(self) -> False: ... def Flush(self) -> None: ... - def ReceiveFrame(self, theFrame: Media_Frame) -> False: ... - def SendPacket(self, thePacket: Media_Packet) -> False: ... + def ReceiveFrame(self, theFrame: Media_Frame) -> bool: ... + def SendPacket(self, thePacket: Media_Packet) -> bool: ... def SizeX(self) -> False: ... def SizeY(self) -> False: ... def StreamIndex(self) -> False: ... @@ -32,9 +32,9 @@ class Media_FormatContext(Standard_Transient): def Context(self) -> False: ... def Duration(self) -> False: ... def NbSteams(self) -> int: ... - def OpenInput(self, theInput: TCollection_AsciiString) -> False: ... + def OpenInput(self, theInput: TCollection_AsciiString) -> bool: ... def PtsStartBase(self) -> False: ... - def ReadPacket(self, thePacket: Media_Packet) -> False: ... + def ReadPacket(self, thePacket: Media_Packet) -> bool: ... def Stream(self, theIndex: int) -> False: ... class Media_Frame(Standard_Transient): @@ -45,12 +45,14 @@ class Media_Frame(Standard_Transient): @staticmethod def FormatOcct2FFmpeg(theFormat: Image_Format) -> int: ... def Frame(self) -> False: ... - def InitWrapper(self, thePixMap: Image_PixMap) -> False: ... - def IsEmpty(self) -> False: ... - def IsFullRangeYUV(self) -> False: ... - def IsLocked(self) -> False: ... - def PixelAspectRatio(self) -> False: ... + def InitWrapper(self, thePixMap: Image_PixMap) -> bool: ... + def IsEmpty(self) -> bool: ... + def IsFullRangeYUV(self) -> bool: ... + def IsLocked(self) -> bool: ... + def PixelAspectRatio(self) -> float: ... def Pts(self) -> False: ... + def SetLocked(self, theToLock: bool) -> None: ... + def SetPixelAspectRatio(self, theRatio: float) -> None: ... def Size(self) -> Graphic3d_Vec2i: ... def SizeX(self) -> False: ... def SizeY(self) -> False: ... @@ -70,7 +72,7 @@ class Media_Packet(Standard_Transient): def Dts(self) -> False: ... def Duration(self) -> False: ... def DurationSeconds(self) -> False: ... - def IsKeyFrame(self) -> False: ... + def IsKeyFrame(self) -> bool: ... def Packet(self) -> False: ... def Pts(self) -> False: ... def SetKeyFrame(self) -> None: ... @@ -88,13 +90,14 @@ class Media_PlayerContext(Standard_Transient): def PlaybackState(self) -> Tuple[bool, float, float]: ... def Resume(self) -> None: ... def Seek(self, thePosSec: float) -> None: ... + def SetForceRgb(self, theToForce: bool) -> None: ... def SetInput(self, theInputPath: TCollection_AsciiString, theToWait: bool) -> None: ... - def ToForceRgb(self) -> False: ... + def ToForceRgb(self) -> bool: ... class Media_Scaler(Standard_Transient): def __init__(self) -> None: ... - def Convert(self, theSrc: Media_Frame, theRes: Media_Frame) -> False: ... - def IsValid(self) -> False: ... + def Convert(self, theSrc: Media_Frame, theRes: Media_Frame) -> bool: ... + def IsValid(self) -> bool: ... def Release(self) -> None: ... class Media_Timer(Standard_Transient): diff --git a/src/SWIG_files/wrapper/MeshVS.i b/src/SWIG_files/wrapper/MeshVS.i index 1d20d296e..baec41d6e 100644 --- a/src/SWIG_files/wrapper/MeshVS.i +++ b/src/SWIG_files/wrapper/MeshVS.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define MESHVSDOCSTRING "MeshVS module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_meshvs.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_meshvs.html" %enddef %module (package="OCC.Core", docstring=MESHVSDOCSTRING) MeshVS @@ -44,12 +44,12 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_meshvs.html" #include #include #include -#include #include #include #include #include #include +#include #include #include #include @@ -85,12 +85,12 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_meshvs.html" %import NCollection.i %import TColgp.i %import SelectMgr.i -%import Quantity.i %import Select3D.i %import gp.i %import TColStd.i %import Bnd.i %import TCollection.i +%import Quantity.i %import Graphic3d.i %import SelectBasics.i %import AIS.i @@ -207,7 +207,7 @@ enum { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class MeshVS_EntityType(IntEnum): @@ -544,7 +544,6 @@ MeshVS_DA_User = MeshVS_DrawerAttribute.MeshVS_DA_User /* typedefs */ typedef NCollection_Array1 MeshVS_Array1OfSequenceOfInteger; typedef Standard_Integer MeshVS_BuilderPriority; -typedef Quantity_ColorHasher MeshVS_ColorHasher; typedef NCollection_DataMap::Iterator MeshVS_DataMapIteratorOfDataMapOfColorMapOfInteger; typedef NCollection_DataMap, TColStd_MapIntegerHasher>::Iterator MeshVS_DataMapIteratorOfDataMapOfHArray1OfSequenceOfInteger; typedef NCollection_DataMap::Iterator MeshVS_DataMapIteratorOfDataMapOfIntegerAsciiString; @@ -852,7 +851,7 @@ DMin: float /****************** GetDetectedEntities ******************/ /**** md5 signature: 39ca460111ab817983a833e2f70887f6 ****/ %feature("compactdefaultargs") GetDetectedEntities; - %feature("autodoc", "Returns maps of entities (nodes and elements) detected by mouse selection with rectangular box (xmin, ymin, xmax, ymax) on the current veiw plane, with the tolerance atol. returns true if something is detected. it should be redefined if the advanced mesh selection is activated. default implementation returns false. + %feature("autodoc", "Returns maps of entities (nodes and elements) detected by mouse selection with rectangular box (xmin, ymin, xmax, ymax) on the current view plane, with the tolerance atol. returns true if something is detected. it should be redefined if the advanced mesh selection is activated. default implementation returns false. Parameters ---------- @@ -874,7 +873,7 @@ bool /****************** GetDetectedEntities ******************/ /**** md5 signature: fece8acd4a4e76d11f294ba9cc6b4863 ****/ %feature("compactdefaultargs") GetDetectedEntities; - %feature("autodoc", "Returns maps of entities (nodes and elements) detected by mouse selection with the polyline on the current veiw plane, with the tolerance atol. returns true if something is detected. it should be redefined if the advanced mesh selection is activated. default implementation returns false. + %feature("autodoc", "Returns maps of entities (nodes and elements) detected by mouse selection with the polyline on the current view plane, with the tolerance atol. returns true if something is detected. it should be redefined if the advanced mesh selection is activated. default implementation returns false. Parameters ---------- @@ -911,7 +910,7 @@ bool /****************** GetGeom ******************/ /**** md5 signature: 236738bc464d6c86415c7d5b5ad6b029 ****/ %feature("compactdefaultargs") GetGeom; - %feature("autodoc", "Returns geometry information about node or element id is the numerical identificator of node or element iselement indicates this id describe node ( if standard_false ) or element ( if standard_true ) coords is an array of co-ordinates of node(s). for node it is only 3 numbers: x, y, z in the strict order for element it is 3*n numbers, where n is number of this element vertices the order is strict also: x1, y1, z1, x2,...., where xi, yi, zi are co-ordinates of vertices nbnodes is number of nodes. it is recommended this parameter to be set to 1 for node. type is type of node or element (from enumeration). it is recommended this parameter to be set to meshvs_et_node for node. + %feature("autodoc", "Returns geometry information about node or element id is the numerical identificator of node or element iselement indicates this id describe node ( if standard_false ) or element ( if standard_true ) coords is an array of coordinates of node(s). for node it is only 3 numbers: x, y, z in the strict order for element it is 3*n numbers, where n is number of this element vertices the order is strict also: x1, y1, z1, x2,...., where xi, yi, zi are coordinates of vertices nbnodes is number of nodes. it is recommended this parameter to be set to 1 for node. type is type of node or element (from enumeration). it is recommended this parameter to be set to meshvs_et_node for node. Parameters ---------- @@ -1010,7 +1009,7 @@ NbNodes: int /****************** GetNormal ******************/ /**** md5 signature: 500534b89a1e875e9c4d452ed489ad06 ****/ %feature("compactdefaultargs") GetNormal; - %feature("autodoc", "This method calculates normal of face, which is using for correct reflection presentation. there is default method, for advance reflection this method can be redefined. id is the numerical identificator of only element! max is maximal number of nodes an element can consist of nx, ny, nz are values whose represent co-ordinates of normal (will be returned) in the redefined method you can return normal with length more then 1, but in this case the appearance of element will be more bright than usual. for ordinary brightness you must return normal with length 1. + %feature("autodoc", "This method calculates normal of face, which is using for correct reflection presentation. there is default method, for advance reflection this method can be redefined. id is the numerical identificator of only element! max is maximal number of nodes an element can consist of nx, ny, nz are values whose represent coordinates of normal (will be returned) in the redefined method you can return normal with length more then 1, but in this case the appearance of element will be more bright than usual. for ordinary brightness you must return normal with length 1. Parameters ---------- @@ -1575,37 +1574,37 @@ None virtual void ClearSelected(); /****************** Compute ******************/ - /**** md5 signature: 843401e4757df99542b92ba39cbdf61f ****/ + /**** md5 signature: b295279843aabf998f201e59d7c8b091 ****/ %feature("compactdefaultargs") Compute; %feature("autodoc", "Computes presentation using builders added to sequence. each builder computes own part of mesh presentation according to its type. Parameters ---------- -PM: PrsMgr_PresentationManager3d -Prs: Prs3d_Presentation -DisplayMode: int +thePrsMgr: PrsMgr_PresentationManager +thePrs: Prs3d_Presentation +theDispMode: int Returns ------- None ") Compute; - virtual void Compute(const opencascade::handle & PM, const opencascade::handle & Prs, const Standard_Integer DisplayMode); + virtual void Compute(const opencascade::handle & thePrsMgr, const opencascade::handle & thePrs, const Standard_Integer theDispMode); /****************** ComputeSelection ******************/ - /**** md5 signature: 3bf0ee6eb1ecda287a21d6e66e3c34c0 ****/ + /**** md5 signature: 7321d14f9e1f7bb97bdc8aec5055880a ****/ %feature("compactdefaultargs") ComputeSelection; %feature("autodoc", "Computes selection according to selectmode. Parameters ---------- -Sel: SelectMgr_Selection -SelectMode: int +theSel: SelectMgr_Selection +theSelMode: int Returns ------- None ") ComputeSelection; - virtual void ComputeSelection(const opencascade::handle & Sel, const Standard_Integer SelectMode); + virtual void ComputeSelection(const opencascade::handle & theSel, const Standard_Integer theSelMode); /****************** FindBuilder ******************/ /**** md5 signature: bb263b949271eb7f143c55d2bc9b8716 ****/ @@ -1767,13 +1766,13 @@ opencascade::handle const opencascade::handle & GetSelectableNodes(); /****************** HilightOwnerWithColor ******************/ - /**** md5 signature: 6f4d973046ef824a20ee54ff5ca89e9b ****/ + /**** md5 signature: b933f8f1e93b95072660d63113069b6b ****/ %feature("compactdefaultargs") HilightOwnerWithColor; %feature("autodoc", "Draw hilighted owner presentation. Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theColor: Prs3d_Drawer theOwner: SelectMgr_EntityOwner @@ -1781,23 +1780,23 @@ Returns ------- None ") HilightOwnerWithColor; - virtual void HilightOwnerWithColor(const opencascade::handle & thePM, const opencascade::handle & theColor, const opencascade::handle & theOwner); + virtual void HilightOwnerWithColor(const opencascade::handle & thePM, const opencascade::handle & theColor, const opencascade::handle & theOwner); /****************** HilightSelected ******************/ - /**** md5 signature: 49a0436e98cdb1d487388b0211b1c14d ****/ + /**** md5 signature: 02ea231dde8ab5fdb0f76203fa6bc528 ****/ %feature("compactdefaultargs") HilightSelected; %feature("autodoc", "Draw selected owners presentation. Parameters ---------- -PM: PrsMgr_PresentationManager3d -Owners: SelectMgr_SequenceOfOwner +thePrsMgr: PrsMgr_PresentationManager +theOwners: SelectMgr_SequenceOfOwner Returns ------- None ") HilightSelected; - virtual void HilightSelected(const opencascade::handle & PM, const SelectMgr_SequenceOfOwner & Owners); + virtual void HilightSelected(const opencascade::handle & thePrsMgr, const SelectMgr_SequenceOfOwner & theOwners); /****************** IsHiddenElem ******************/ /**** md5 signature: 339016e180c5cdd521a10fae084f893c ****/ @@ -2106,22 +2105,21 @@ None virtual void Clear(const opencascade::handle & PM, const Standard_Integer Mode = 0); /****************** HilightWithColor ******************/ - /**** md5 signature: 56e556dd0edce796a3c3d12b272af59e ****/ + /**** md5 signature: ff872ded3a30d3b368f40f78eef3d5d8 ****/ %feature("compactdefaultargs") HilightWithColor; %feature("autodoc", "Hilights owner with the certain color. Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theStyle: Prs3d_Drawer -theMode: int,optional - default value is 0 +theMode: int Returns ------- None ") HilightWithColor; - virtual void HilightWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const Standard_Integer theMode = 0); + virtual void HilightWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const Standard_Integer theMode); /****************** ID ******************/ /**** md5 signature: bad178b94960474569631e20c0ad1e69 ****/ @@ -2318,22 +2316,21 @@ opencascade::handle const opencascade::handle & GetSelectedNodes(); /****************** HilightWithColor ******************/ - /**** md5 signature: 05860da31473a9974b1ca9e787c9d31e ****/ + /**** md5 signature: d288227b2265be6943d8ce162a7983ea ****/ %feature("compactdefaultargs") HilightWithColor; %feature("autodoc", "No available documentation. Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theColor: Prs3d_Drawer -theMode: int,optional - default value is 0 +theMode: int Returns ------- None ") HilightWithColor; - virtual void HilightWithColor(const opencascade::handle & thePM, const opencascade::handle & theColor, const Standard_Integer theMode = 0); + virtual void HilightWithColor(const opencascade::handle & thePM, const opencascade::handle & theColor, const Standard_Integer theMode); /****************** IsForcedHilight ******************/ /**** md5 signature: b7e8a39578fc441f958f06f3cf923c7d ****/ @@ -2494,15 +2491,15 @@ int Standard_Integer GetId(); /****************** GetPresentationManager ******************/ - /**** md5 signature: d64c4e3f5d65eee4fe2343ade7564913 ****/ + /**** md5 signature: 6e40a1f4cb619282f3f5fef0362d30c7 ****/ %feature("compactdefaultargs") GetPresentationManager; %feature("autodoc", "Get presentation manager of builder. Returns ------- -opencascade::handle +opencascade::handle ") GetPresentationManager; - opencascade::handle GetPresentationManager(); + opencascade::handle GetPresentationManager(); /****************** GetPriority ******************/ /**** md5 signature: 14b4b2b155ca725d4cb06c0280e4a399 ****/ @@ -2572,19 +2569,19 @@ None void SetExcluding(const Standard_Boolean state); /****************** SetPresentationManager ******************/ - /**** md5 signature: 938b7d07e72abc561bff70afcf6fe6e8 ****/ + /**** md5 signature: d173303c18adee38a57fbcdd196f3023 ****/ %feature("compactdefaultargs") SetPresentationManager; %feature("autodoc", "Set presentation manager for builder. Parameters ---------- -thePrsMgr: PrsMgr_PresentationManager3d +thePrsMgr: PrsMgr_PresentationManager Returns ------- None ") SetPresentationManager; - void SetPresentationManager(const opencascade::handle & thePrsMgr); + void SetPresentationManager(const opencascade::handle & thePrsMgr); /****************** TestFlags ******************/ /**** md5 signature: 3f81fdd69e6875a0d0713045b35799f3 ****/ @@ -4592,5 +4589,4 @@ class MeshVS_HArray1OfSequenceOfInteger : public MeshVS_Array1OfSequenceOfIntege /* hsequence classes */ /* class aliases */ %pythoncode { -MeshVS_ColorHasher=OCC.Core.Quantity.Quantity_ColorHasher } diff --git a/src/SWIG_files/wrapper/MeshVS.pyi b/src/SWIG_files/wrapper/MeshVS.pyi index 4ba955739..403cba954 100644 --- a/src/SWIG_files/wrapper/MeshVS.pyi +++ b/src/SWIG_files/wrapper/MeshVS.pyi @@ -5,12 +5,12 @@ from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.TColgp import * from OCC.Core.SelectMgr import * -from OCC.Core.Quantity import * from OCC.Core.Select3D import * from OCC.Core.gp import * from OCC.Core.TColStd import * from OCC.Core.Bnd import * from OCC.Core.TCollection import * +from OCC.Core.Quantity import * from OCC.Core.Graphic3d import * from OCC.Core.SelectBasics import * from OCC.Core.AIS import * @@ -19,7 +19,6 @@ from OCC.Core.Prs3d import * from OCC.Core.Aspect import * MeshVS_BuilderPriority = NewType('MeshVS_BuilderPriority', Standard_Integer) -MeshVS_ColorHasher = NewType('MeshVS_ColorHasher', Quantity_ColorHasher) MeshVS_DisplayModeFlags = NewType('MeshVS_DisplayModeFlags', Standard_Integer) #the following typedef cannot be wrapped as is MeshVS_MapIteratorOfMapOfTwoNodes = NewType('MeshVS_MapIteratorOfMapOfTwoNodes', Any) @@ -298,8 +297,8 @@ class MeshVS_Mesh(AIS_InteractiveObject): def AcceptDisplayMode(self, theMode: int) -> bool: ... def AddBuilder(self, Builder: MeshVS_PrsBuilder, TreatAsHilighter: Optional[bool] = False) -> None: ... def ClearSelected(self) -> None: ... - def Compute(self, PM: PrsMgr_PresentationManager3d, Prs: Prs3d_Presentation, DisplayMode: int) -> None: ... - def ComputeSelection(self, Sel: SelectMgr_Selection, SelectMode: int) -> None: ... + def Compute(self, thePrsMgr: PrsMgr_PresentationManager, thePrs: Prs3d_Presentation, theDispMode: int) -> None: ... + def ComputeSelection(self, theSel: SelectMgr_Selection, theSelMode: int) -> None: ... def FindBuilder(self, TypeString: str) -> MeshVS_PrsBuilder: ... def GetBuilder(self, Index: int) -> MeshVS_PrsBuilder: ... def GetBuilderById(self, Id: int) -> MeshVS_PrsBuilder: ... @@ -313,8 +312,8 @@ class MeshVS_Mesh(AIS_InteractiveObject): def GetMeshSelMethod(self) -> MeshVS_MeshSelectionMethod: ... def GetOwnerMaps(self, IsElement: bool) -> MeshVS_DataMapOfIntegerOwner: ... def GetSelectableNodes(self) -> TColStd_HPackedMapOfInteger: ... - def HilightOwnerWithColor(self, thePM: PrsMgr_PresentationManager3d, theColor: Prs3d_Drawer, theOwner: SelectMgr_EntityOwner) -> None: ... - def HilightSelected(self, PM: PrsMgr_PresentationManager3d, Owners: SelectMgr_SequenceOfOwner) -> None: ... + def HilightOwnerWithColor(self, thePM: PrsMgr_PresentationManager, theColor: Prs3d_Drawer, theOwner: SelectMgr_EntityOwner) -> None: ... + def HilightSelected(self, thePrsMgr: PrsMgr_PresentationManager, theOwners: SelectMgr_SequenceOfOwner) -> None: ... def IsHiddenElem(self, ID: int) -> bool: ... def IsHiddenNode(self, ID: int) -> bool: ... def IsSelectableElem(self, ID: int) -> bool: ... @@ -338,7 +337,7 @@ class MeshVS_Mesh(AIS_InteractiveObject): class MeshVS_MeshEntityOwner(SelectMgr_EntityOwner): def __init__(self, SelObj: SelectMgr_SelectableObject, ID: int, MeshEntity: None, Type: MeshVS_EntityType, Priority: Optional[int] = 0, IsGroup: Optional[bool] = False) -> None: ... def Clear(self, PM: PrsMgr_PresentationManager, Mode: Optional[int] = 0) -> None: ... - def HilightWithColor(self, thePM: PrsMgr_PresentationManager3d, theStyle: Prs3d_Drawer, theMode: Optional[int] = 0) -> None: ... + def HilightWithColor(self, thePM: PrsMgr_PresentationManager, theStyle: Prs3d_Drawer, theMode: int) -> None: ... def ID(self) -> int: ... def IsGroup(self) -> bool: ... def IsHilighted(self, PM: PrsMgr_PresentationManager, Mode: Optional[int] = 0) -> bool: ... @@ -355,7 +354,7 @@ class MeshVS_MeshOwner(SelectMgr_EntityOwner): def GetDetectedNodes(self) -> TColStd_HPackedMapOfInteger: ... def GetSelectedElements(self) -> TColStd_HPackedMapOfInteger: ... def GetSelectedNodes(self) -> TColStd_HPackedMapOfInteger: ... - def HilightWithColor(self, thePM: PrsMgr_PresentationManager3d, theColor: Prs3d_Drawer, theMode: Optional[int] = 0) -> None: ... + def HilightWithColor(self, thePM: PrsMgr_PresentationManager, theColor: Prs3d_Drawer, theMode: int) -> None: ... def IsForcedHilight(self) -> bool: ... def SetDetectedEntities(self, Nodes: TColStd_HPackedMapOfInteger, Elems: TColStd_HPackedMapOfInteger) -> None: ... def Unhilight(self, PM: PrsMgr_PresentationManager, Mode: Optional[int] = 0) -> None: ... @@ -368,13 +367,13 @@ class MeshVS_PrsBuilder(Standard_Transient): def GetDrawer(self) -> MeshVS_Drawer: ... def GetFlags(self) -> int: ... def GetId(self) -> int: ... - def GetPresentationManager(self) -> PrsMgr_PresentationManager3d: ... + def GetPresentationManager(self) -> PrsMgr_PresentationManager: ... def GetPriority(self) -> int: ... def IsExcludingOn(self) -> bool: ... def SetDataSource(self, newDS: MeshVS_DataSource) -> None: ... def SetDrawer(self, newDr: MeshVS_Drawer) -> None: ... def SetExcluding(self, state: bool) -> None: ... - def SetPresentationManager(self, thePrsMgr: PrsMgr_PresentationManager3d) -> None: ... + def SetPresentationManager(self, thePrsMgr: PrsMgr_PresentationManager) -> None: ... def TestFlags(self, DisplayMode: int) -> bool: ... class MeshVS_SensitiveFace(Select3D_SensitiveFace): diff --git a/src/SWIG_files/wrapper/Message.i b/src/SWIG_files/wrapper/Message.i index faccdd144..6e68cdc3f 100644 --- a/src/SWIG_files/wrapper/Message.i +++ b/src/SWIG_files/wrapper/Message.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define MESSAGEDOCSTRING "Message module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_message.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_message.html" %enddef %module (package="OCC.Core", docstring=MESSAGEDOCSTRING) Message @@ -220,13 +220,14 @@ enum Message_MetricType { Message_MetricType_ThreadCPUSystemTime = 2, Message_MetricType_ProcessCPUUserTime = 3, Message_MetricType_ProcessCPUSystemTime = 4, - Message_MetricType_MemPrivate = 5, - Message_MetricType_MemVirtual = 6, - Message_MetricType_MemWorkingSet = 7, - Message_MetricType_MemWorkingSetPeak = 8, - Message_MetricType_MemSwapUsage = 9, - Message_MetricType_MemSwapUsagePeak = 10, - Message_MetricType_MemHeapUsage = 11, + Message_MetricType_WallClock = 5, + Message_MetricType_MemPrivate = 6, + Message_MetricType_MemVirtual = 7, + Message_MetricType_MemWorkingSet = 8, + Message_MetricType_MemWorkingSetPeak = 9, + Message_MetricType_MemSwapUsage = 10, + Message_MetricType_MemSwapUsagePeak = 11, + Message_MetricType_MemHeapUsage = 12, }; enum Message_StatusType { @@ -238,7 +239,7 @@ enum Message_StatusType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Message_Status(IntEnum): @@ -539,18 +540,20 @@ class Message_MetricType(IntEnum): Message_MetricType_ThreadCPUSystemTime = 2 Message_MetricType_ProcessCPUUserTime = 3 Message_MetricType_ProcessCPUSystemTime = 4 - Message_MetricType_MemPrivate = 5 - Message_MetricType_MemVirtual = 6 - Message_MetricType_MemWorkingSet = 7 - Message_MetricType_MemWorkingSetPeak = 8 - Message_MetricType_MemSwapUsage = 9 - Message_MetricType_MemSwapUsagePeak = 10 - Message_MetricType_MemHeapUsage = 11 + Message_MetricType_WallClock = 5 + Message_MetricType_MemPrivate = 6 + Message_MetricType_MemVirtual = 7 + Message_MetricType_MemWorkingSet = 8 + Message_MetricType_MemWorkingSetPeak = 9 + Message_MetricType_MemSwapUsage = 10 + Message_MetricType_MemSwapUsagePeak = 11 + Message_MetricType_MemHeapUsage = 12 Message_MetricType_None = Message_MetricType.Message_MetricType_None Message_MetricType_ThreadCPUUserTime = Message_MetricType.Message_MetricType_ThreadCPUUserTime Message_MetricType_ThreadCPUSystemTime = Message_MetricType.Message_MetricType_ThreadCPUSystemTime Message_MetricType_ProcessCPUUserTime = Message_MetricType.Message_MetricType_ProcessCPUUserTime Message_MetricType_ProcessCPUSystemTime = Message_MetricType.Message_MetricType_ProcessCPUSystemTime +Message_MetricType_WallClock = Message_MetricType.Message_MetricType_WallClock Message_MetricType_MemPrivate = Message_MetricType.Message_MetricType_MemPrivate Message_MetricType_MemVirtual = Message_MetricType.Message_MetricType_MemVirtual Message_MetricType_MemWorkingSet = Message_MetricType.Message_MetricType_MemWorkingSet @@ -1445,7 +1448,7 @@ enum StatusRange { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class StatusRange(IntEnum): @@ -2357,7 +2360,7 @@ TCollection_ExtendedString /****************** Msg ******************/ /**** md5 signature: 8c621fc4cece4752495337f2186770bf ****/ %feature("compactdefaultargs") Msg; - %feature("autodoc", "Gives the text for the message identified by the keyword if there are no messages with such keyword defined, the error message is returned. in that case reference to static string is returned, it can be chenged with next call(s) to msg(). note: the error message is constructed like 'unknown message: ', and can itself be customized by defining message with key message_msg_badkeyword. + %feature("autodoc", "Gives the text for the message identified by the keyword . if there are no messages with such keyword defined, the error message is returned. in that case reference to static string is returned, it can be changed with next call(s) to msg(). note: the error message is constructed like 'unknown message: ', and can itself be customized by defining message with key message_msg_badkeyword. Parameters ---------- @@ -3187,7 +3190,7 @@ bool /****************** SetAlertMetrics ******************/ /**** md5 signature: c66a5c7cae777f915625c21e78f2d68c ****/ %feature("compactdefaultargs") SetAlertMetrics; - %feature("autodoc", "Sets current values of default report metrics into the alert. processed oly alert with message_attributemeter attribute @param thealert an alert @param thestartvalue flag, if true, the start value is collected otherwise stop. + %feature("autodoc", "Sets current values of default report metrics into the alert. processed only alert with message_attributemeter attribute @param thealert an alert @param thestartvalue flag, if true, the start value is collected otherwise stop. Parameters ---------- @@ -3448,6 +3451,9 @@ Standard_SStream } }; +/********************************** +* class Message_LazyProgressScope * +**********************************/ /******************************* * class Message_PrinterOStream * *******************************/ @@ -3718,6 +3724,10 @@ None class Message_ProgressScope: pass +@classnotwrapped +class Message_LazyProgressScope: + pass + } /* end python proxy for excluded classes */ /* harray1 classes */ diff --git a/src/SWIG_files/wrapper/Message.pyi b/src/SWIG_files/wrapper/Message.pyi index b9050aa36..ab15413b8 100644 --- a/src/SWIG_files/wrapper/Message.pyi +++ b/src/SWIG_files/wrapper/Message.pyi @@ -354,6 +354,7 @@ class Message_MetricType(IntEnum): Message_MetricType_ThreadCPUSystemTime: int = ... Message_MetricType_ProcessCPUUserTime: int = ... Message_MetricType_ProcessCPUSystemTime: int = ... + Message_MetricType_WallClock: int = ... Message_MetricType_MemPrivate: int = ... Message_MetricType_MemVirtual: int = ... Message_MetricType_MemWorkingSet: int = ... @@ -367,6 +368,7 @@ Message_MetricType_ThreadCPUUserTime = Message_MetricType.Message_MetricType_Thr Message_MetricType_ThreadCPUSystemTime = Message_MetricType.Message_MetricType_ThreadCPUSystemTime Message_MetricType_ProcessCPUUserTime = Message_MetricType.Message_MetricType_ProcessCPUUserTime Message_MetricType_ProcessCPUSystemTime = Message_MetricType.Message_MetricType_ProcessCPUSystemTime +Message_MetricType_WallClock = Message_MetricType.Message_MetricType_WallClock Message_MetricType_MemPrivate = Message_MetricType.Message_MetricType_MemPrivate Message_MetricType_MemVirtual = Message_MetricType.Message_MetricType_MemVirtual Message_MetricType_MemWorkingSet = Message_MetricType.Message_MetricType_MemWorkingSet @@ -698,6 +700,9 @@ class Message_ProgressSentry(Message_ProgressScope): #classnotwrapped class Message_ProgressScope: ... +#classnotwrapped +class Message_LazyProgressScope: ... + # harray1 classes # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/MoniTool.i b/src/SWIG_files/wrapper/MoniTool.i index a2f9c342c..b9021c3c2 100644 --- a/src/SWIG_files/wrapper/MoniTool.i +++ b/src/SWIG_files/wrapper/MoniTool.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define MONITOOLDOCSTRING "MoniTool module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_monitool.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_monitool.html" %enddef %module (package="OCC.Core", docstring=MONITOOLDOCSTRING) MoniTool @@ -84,7 +84,7 @@ enum MoniTool_ValueType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class MoniTool_ValueType(IntEnum): @@ -835,7 +835,7 @@ bool /****************** Kind ******************/ /**** md5 signature: 240ee38bbdcd2cdfc62382e178aee32c ****/ %feature("compactdefaultargs") Kind; - %feature("autodoc", "Returns the kind of a data : kind type meaning 0 any any (not one of the followings) 1 ex raised exception 2 en entity 3 g geom 4 sh shape 5 xyz xyz 6 xy or uv xy 7 rr 2 reals 8 r 1 real 9 cpu cpu (1 real) 10 t text 11 i integer //! for namenum, these codes for type must be given exact i.e. sh for a shape, not s nor shape nor solid etc. + %feature("autodoc", "Returns the kind of a data : kind type meaning 0 any any (not one of the following) 1 ex raised exception 2 en entity 3 g geom 4 sh shape 5 xyz xyz 6 xy or uv xy 7 rr 2 reals 8 r 1 real 9 cpu cpu (1 real) 10 t text 11 i integer //! for namenum, these codes for type must be given exact i.e. sh for a shape, not s nor shape nor solid etc. Parameters ---------- @@ -905,7 +905,7 @@ TCollection_AsciiString /****************** NameNum ******************/ /**** md5 signature: 1d3a907e11739d5a6bd945884af12849 ****/ %feature("compactdefaultargs") NameNum; - %feature("autodoc", "Returns the first suitable data rank for a given name exact maching (exact case, no completion) is required firstly checks the recorded names if not found, considers the name as follows : name = 'type' : search for the first item with this type name = 'type:nn' : search for the nn.th item with this type see allowed values in method kind. + %feature("autodoc", "Returns the first suitable data rank for a given name exact matching (exact case, no completion) is required firstly checks the recorded names if not found, considers the name as follows : name = 'type' : search for the first item with this type name = 'type:nn' : search for the nn.th item with this type see allowed values in method kind. Parameters ---------- @@ -1293,7 +1293,7 @@ MoniTool_AttrList /****************** Equates ******************/ /**** md5 signature: 1e903a4f175e33c1a9f161e9ea07b5f3 ****/ %feature("compactdefaultargs") Equates; - %feature("autodoc", "Specific testof equallity : to be defined by each sub-class, must be false if elements have not the same true type, else their contents must be compared. + %feature("autodoc", "Specific testof equality : to be defined by each sub-class, must be false if elements have not the same true type, else their contents must be compared. Parameters ---------- @@ -1616,7 +1616,7 @@ None /****************** Add ******************/ /**** md5 signature: f3fab2c5142a08a50b9a3023611b3ad1 ****/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Directly addes items. + %feature("autodoc", "Directly adds items. Parameters ---------- @@ -2210,7 +2210,7 @@ TCollection_AsciiString /****************** EnumCase ******************/ /**** md5 signature: 62406df61445d184caa1d6ed239fe6a3 ****/ %feature("compactdefaultargs") EnumCase; - %feature("autodoc", "Returns the case number which cooresponds to a string value works with main and additionnal values returns (startenum - 1) if not ok, -1 if not an enum. + %feature("autodoc", "Returns the case number which corresponds to a string value works with main and additional values returns (startenum - 1) if not ok, -1 if not an enum. Parameters ---------- @@ -2721,7 +2721,7 @@ bool /****************** SetSatisfies ******************/ /**** md5 signature: 10cbef7ca241ca4eed214bb6602da3f0 ****/ %feature("compactdefaultargs") SetSatisfies; - %feature("autodoc", "Sets a specific satisfies function : it is added to the already defined criteria it must match the form : statisfies (val : hasciistring) returns boolean. + %feature("autodoc", "Sets a specific satisfies function : it is added to the already defined criteria it must match the form : satisfies (val : hasciistring) returns boolean. Parameters ---------- @@ -2892,7 +2892,7 @@ None /****************** Equates ******************/ /**** md5 signature: 37e72bdf003bc234f02a6795d9820def ****/ %feature("compactdefaultargs") Equates; - %feature("autodoc", "Specific testof equallity : defined as false if has not the same true type, else contents are compared (by c++ operator ==). + %feature("autodoc", "Specific testof equality : defined as false if has not the same true type, else contents are compared (by c++ operator ==). Parameters ---------- diff --git a/src/SWIG_files/wrapper/NCollection.i b/src/SWIG_files/wrapper/NCollection.i index 171b9bd4e..54cddc541 100644 --- a/src/SWIG_files/wrapper/NCollection.i +++ b/src/SWIG_files/wrapper/NCollection.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define NCOLLECTIONDOCSTRING "NCollection module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ncollection.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_ncollection.html" %enddef %module (package="OCC.Core", docstring=NCOLLECTIONDOCSTRING) NCollection @@ -88,7 +88,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -118,6 +118,9 @@ typedef NCollection_UtfString NCollection_UtfWideString; typedef size_t Standard_Size; /* end typedefs declaration */ +/********************************* +* class NCollection_AliasedArray * +*********************************/ /*************************** * class NCollection_Array1 * ***************************/ @@ -158,6 +161,9 @@ typedef size_t Standard_Size; * class NCollection_LocalArray * *******************************/ /************************* +* class NCollection_Mat3 * +*************************/ +/************************* * class NCollection_Mat4 * *************************/ /**************************** @@ -408,6 +414,10 @@ class NCollection_Handle: class NCollection_BaseList: pass +@classnotwrapped +class NCollection_Mat3: + pass + @classnotwrapped class NCollection_SparseArray: pass @@ -436,6 +446,10 @@ class NCollection_IndexedMap: class NCollection_Vec2: pass +@classnotwrapped +class NCollection_AliasedArray: + pass + @classnotwrapped class NCollection_List: pass diff --git a/src/SWIG_files/wrapper/NCollection.pyi b/src/SWIG_files/wrapper/NCollection.pyi index 6d05cf627..8bba80aae 100644 --- a/src/SWIG_files/wrapper/NCollection.pyi +++ b/src/SWIG_files/wrapper/NCollection.pyi @@ -100,6 +100,9 @@ class NCollection_Handle: ... #classnotwrapped class NCollection_BaseList: ... +#classnotwrapped +class NCollection_Mat3: ... + #classnotwrapped class NCollection_SparseArray: ... @@ -121,6 +124,9 @@ class NCollection_IndexedMap: ... #classnotwrapped class NCollection_Vec2: ... +#classnotwrapped +class NCollection_AliasedArray: ... + #classnotwrapped class NCollection_List: ... diff --git a/src/SWIG_files/wrapper/NLPlate.i b/src/SWIG_files/wrapper/NLPlate.i index ddd1d5939..46ac0e775 100644 --- a/src/SWIG_files/wrapper/NLPlate.i +++ b/src/SWIG_files/wrapper/NLPlate.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define NLPLATEDOCSTRING "NLPlate module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_nlplate.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_nlplate.html" %enddef %module (package="OCC.Core", docstring=NLPLATEDOCSTRING) NLPlate @@ -65,7 +65,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/OSD.i b/src/SWIG_files/wrapper/OSD.i index a659fe977..594ad0e3a 100644 --- a/src/SWIG_files/wrapper/OSD.i +++ b/src/SWIG_files/wrapper/OSD.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define OSDDOCSTRING "OSD module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_osd.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_osd.html" %enddef %module (package="OCC.Core", docstring=OSDDOCSTRING) OSD @@ -166,7 +166,7 @@ enum OSD_SingleProtection { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class OSD_LockType(IntEnum): @@ -348,6 +348,9 @@ OSD_RWXD = OSD_SingleProtection.OSD_RWXD /* typedefs */ typedef Standard_Address ( * OSD_ThreadFunction ) ( Standard_Address data ); +typedef OSD_StreamBuffer OSD_IOStreamBuffer; +typedef OSD_StreamBuffer OSD_IStreamBuffer; +typedef OSD_StreamBuffer OSD_OStreamBuffer; typedef pthread_t OSD_PThread; /* end typedefs declaration */ @@ -375,6 +378,9 @@ typedef pthread_t OSD_PThread; /********************* * class OSD_FileNode * *********************/ +/*********************** +* class OSD_FileSystem * +***********************/ /***************** * class OSD_Host * *****************/ @@ -402,18 +408,30 @@ typedef pthread_t OSD_PThread; /************************** * class OSD_SharedLibrary * **************************/ +/************************* +* class OSD_StreamBuffer * +*************************/ /******************* * class OSD_Thread * *******************/ /*********************** * class OSD_ThreadPool * ***********************/ +/***************************** +* class OSD_CachedFileSystem * +*****************************/ /********************** * class OSD_Directory * **********************/ /***************** * class OSD_File * *****************/ +/******************************* +* class OSD_FileSystemSelector * +*******************************/ +/**************************** +* class OSD_LocalFileSystem * +****************************/ /****************** * class OSD_Timer * ******************/ @@ -427,6 +445,10 @@ class OSD_Timer: class OSD_PerfMeter: pass +@classnotwrapped +class OSD_FileSystem: + pass + @classnotwrapped class OSD_Disk: pass @@ -439,10 +461,18 @@ class OSD_Protection: class OSD_MemInfo: pass +@classnotwrapped +class OSD_StreamBuffer: + pass + @classnotwrapped class OSD_DirectoryIterator: pass +@classnotwrapped +class OSD_CachedFileSystem: + pass + @classnotwrapped class OSD_Chronometer: pass @@ -471,6 +501,10 @@ class OSD_Parallel: class OSD_Directory: pass +@classnotwrapped +class OSD_FileSystemSelector: + pass + @classnotwrapped class OSD_Path: pass @@ -499,6 +533,10 @@ class OSD_FileIterator: class OSD_Thread: pass +@classnotwrapped +class OSD_LocalFileSystem: + pass + @classnotwrapped class OSD_Environment: pass diff --git a/src/SWIG_files/wrapper/OSD.pyi b/src/SWIG_files/wrapper/OSD.pyi index 2376fcdb7..a9ce75820 100644 --- a/src/SWIG_files/wrapper/OSD.pyi +++ b/src/SWIG_files/wrapper/OSD.pyi @@ -5,6 +5,12 @@ from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.TCollection import * +#the following typedef cannot be wrapped as is +OSD_IOStreamBuffer = NewType('OSD_IOStreamBuffer', Any) +#the following typedef cannot be wrapped as is +OSD_IStreamBuffer = NewType('OSD_IStreamBuffer', Any) +#the following typedef cannot be wrapped as is +OSD_OStreamBuffer = NewType('OSD_OStreamBuffer', Any) OSD_PThread = NewType('OSD_PThread', pthread_t) class OSD_LockType(IntEnum): @@ -195,6 +201,9 @@ class OSD_Timer: ... #classnotwrapped class OSD_PerfMeter: ... +#classnotwrapped +class OSD_FileSystem: ... + #classnotwrapped class OSD_Disk: ... @@ -204,9 +213,15 @@ class OSD_Protection: ... #classnotwrapped class OSD_MemInfo: ... +#classnotwrapped +class OSD_StreamBuffer: ... + #classnotwrapped class OSD_DirectoryIterator: ... +#classnotwrapped +class OSD_CachedFileSystem: ... + #classnotwrapped class OSD_Chronometer: ... @@ -228,6 +243,9 @@ class OSD_Parallel: ... #classnotwrapped class OSD_Directory: ... +#classnotwrapped +class OSD_FileSystemSelector: ... + #classnotwrapped class OSD_Path: ... @@ -249,6 +267,9 @@ class OSD_FileIterator: ... #classnotwrapped class OSD_Thread: ... +#classnotwrapped +class OSD_LocalFileSystem: ... + #classnotwrapped class OSD_Environment: ... diff --git a/src/SWIG_files/wrapper/PCDM.i b/src/SWIG_files/wrapper/PCDM.i index 5c625df56..15ba282b4 100644 --- a/src/SWIG_files/wrapper/PCDM.i +++ b/src/SWIG_files/wrapper/PCDM.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define PCDMDOCSTRING "PCDM module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_pcdm.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_pcdm.html" %enddef %module (package="OCC.Core", docstring=PCDMDOCSTRING) PCDM @@ -76,6 +76,7 @@ enum PCDM_StoreStatus { PCDM_SS_No_Obj = 5, PCDM_SS_Info_Section_Error = 6, PCDM_SS_UserBreak = 7, + PCDM_SS_UnrecognizedFormat = 8, }; enum PCDM_TypeOfFileDriver { @@ -113,7 +114,7 @@ enum PCDM_ReaderStatus { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class PCDM_StoreStatus(IntEnum): @@ -125,6 +126,7 @@ class PCDM_StoreStatus(IntEnum): PCDM_SS_No_Obj = 5 PCDM_SS_Info_Section_Error = 6 PCDM_SS_UserBreak = 7 + PCDM_SS_UnrecognizedFormat = 8 PCDM_SS_OK = PCDM_StoreStatus.PCDM_SS_OK PCDM_SS_DriverFailure = PCDM_StoreStatus.PCDM_SS_DriverFailure PCDM_SS_WriteFailure = PCDM_StoreStatus.PCDM_SS_WriteFailure @@ -133,6 +135,7 @@ PCDM_SS_Doc_IsNull = PCDM_StoreStatus.PCDM_SS_Doc_IsNull PCDM_SS_No_Obj = PCDM_StoreStatus.PCDM_SS_No_Obj PCDM_SS_Info_Section_Error = PCDM_StoreStatus.PCDM_SS_Info_Section_Error PCDM_SS_UserBreak = PCDM_StoreStatus.PCDM_SS_UserBreak +PCDM_SS_UnrecognizedFormat = PCDM_StoreStatus.PCDM_SS_UnrecognizedFormat class PCDM_TypeOfFileDriver(IntEnum): PCDM_TOFD_File = 0 @@ -197,6 +200,7 @@ PCDM_RS_UserBreak = PCDM_ReaderStatus.PCDM_RS_UserBreak /* handles */ %wrap_handle(PCDM_ReadWriter) %wrap_handle(PCDM_Reader) +%wrap_handle(PCDM_ReaderFilter) %wrap_handle(PCDM_ReferenceIterator) %wrap_handle(PCDM_Writer) %wrap_handle(PCDM_ReadWriter_1) @@ -506,17 +510,6 @@ opencascade::handle %nodefaultctor PCDM_Reader; class PCDM_Reader : public Standard_Transient { public: - /****************** CreateDocument ******************/ - /**** md5 signature: 3dc32007df460b98657018893f54f5da ****/ - %feature("compactdefaultargs") CreateDocument; - %feature("autodoc", "This method is called by the framework before the read method. - -Returns -------- -opencascade::handle -") CreateDocument; - virtual opencascade::handle CreateDocument(); - /****************** GetStatus ******************/ /**** md5 signature: 7da0146422c21bfb19406a01283cc862 ****/ %feature("compactdefaultargs") GetStatus; @@ -529,7 +522,7 @@ PCDM_ReaderStatus PCDM_ReaderStatus GetStatus(); /****************** Read ******************/ - /**** md5 signature: 3c01d1985562127592e40cf6cb2e32c2 ****/ + /**** md5 signature: 2802ce2a9e685240bc6f6a5656a76a5d ****/ %feature("compactdefaultargs") Read; %feature("autodoc", "Retrieves the content of the file into a new document. @@ -538,6 +531,8 @@ Parameters aFileName: TCollection_ExtendedString aNewDocument: CDM_Document anApplication: CDM_Application +theFilter: PCDM_ReaderFilter,optional + default value is opencascade::handle() theProgress: Message_ProgressRange,optional default value is Message_ProgressRange() @@ -545,7 +540,7 @@ Returns ------- None ") Read; - virtual void Read(const TCollection_ExtendedString & aFileName, const opencascade::handle & aNewDocument, const opencascade::handle & anApplication, const Message_ProgressRange & theProgress = Message_ProgressRange()); + virtual void Read(const TCollection_ExtendedString & aFileName, const opencascade::handle & aNewDocument, const opencascade::handle & anApplication, const opencascade::handle & theFilter = opencascade::handle(), const Message_ProgressRange & theProgress = Message_ProgressRange()); }; @@ -558,6 +553,338 @@ None } }; +/************************** +* class PCDM_ReaderFilter * +**************************/ +class PCDM_ReaderFilter : public Standard_Transient { + public: +/* public enums */ +enum AppendMode { + AppendMode_Forbid = 0, + AppendMode_Protect = 1, + AppendMode_Overwrite = 2, +}; + +/* end public enums declaration */ + +/* python proxy classes for enums */ +%pythoncode { + +class AppendMode(IntEnum): + AppendMode_Forbid = 0 + AppendMode_Protect = 1 + AppendMode_Overwrite = 2 +AppendMode_Forbid = AppendMode.AppendMode_Forbid +AppendMode_Protect = AppendMode.AppendMode_Protect +AppendMode_Overwrite = AppendMode.AppendMode_Overwrite +}; +/* end python proxy for enums */ + + /****************** PCDM_ReaderFilter ******************/ + /**** md5 signature: 4fdd663fc1eb9a0562bfea80432f3678 ****/ + %feature("compactdefaultargs") PCDM_ReaderFilter; + %feature("autodoc", "Creates an empty filter, so, all will be retrieved if nothing else is defined. + +Returns +------- +None +") PCDM_ReaderFilter; + PCDM_ReaderFilter(); + + /****************** PCDM_ReaderFilter ******************/ + /**** md5 signature: f469ce07b40ad960e4e48a472d2bc963 ****/ + %feature("compactdefaultargs") PCDM_ReaderFilter; + %feature("autodoc", "Creates a filter to skip only one type of attributes. + +Parameters +---------- +theSkipped: Standard_Type + +Returns +------- +None +") PCDM_ReaderFilter; + PCDM_ReaderFilter(const opencascade::handle & theSkipped); + + /****************** PCDM_ReaderFilter ******************/ + /**** md5 signature: 3dade491e95ccf0d8aa64edf2c0d55c6 ****/ + %feature("compactdefaultargs") PCDM_ReaderFilter; + %feature("autodoc", "Creates a filter to read only sub-labels of a label-path. like, for '0:2' it will read all attributes for labels '0:2', '0:2:1', etc. + +Parameters +---------- +theEntryToRead: TCollection_AsciiString + +Returns +------- +None +") PCDM_ReaderFilter; + PCDM_ReaderFilter(const TCollection_AsciiString & theEntryToRead); + + /****************** PCDM_ReaderFilter ******************/ + /**** md5 signature: 1b48284ae16fd29a0ea550b504663349 ****/ + %feature("compactdefaultargs") PCDM_ReaderFilter; + %feature("autodoc", "Creates a filter to append the content of file to open to existing document. + +Parameters +---------- +theAppend: AppendMode + +Returns +------- +None +") PCDM_ReaderFilter; + PCDM_ReaderFilter(AppendMode theAppend); + + /****************** AddPath ******************/ + /**** md5 signature: e26d150e60c619c720dd8dad7e857bbd ****/ + %feature("compactdefaultargs") AddPath; + %feature("autodoc", "Adds sub-tree path (like '0:2'). + +Parameters +---------- +theEntryToRead: TCollection_AsciiString + +Returns +------- +None +") AddPath; + void AddPath(const TCollection_AsciiString & theEntryToRead); + + /****************** AddRead ******************/ + /**** md5 signature: d55bf2b468f6fe99832137308b5afb34 ****/ + %feature("compactdefaultargs") AddRead; + %feature("autodoc", "Adds attribute to read by type. disables the skipped attributes added. + +Parameters +---------- +theRead: Standard_Type + +Returns +------- +None +") AddRead; + void AddRead(const opencascade::handle & theRead); + + /****************** AddRead ******************/ + /**** md5 signature: a04c52605884c67563792b4d56cfb04d ****/ + %feature("compactdefaultargs") AddRead; + %feature("autodoc", "Adds attribute to read by type name. disables the skipped attributes added. + +Parameters +---------- +theRead: TCollection_AsciiString + +Returns +------- +None +") AddRead; + void AddRead(const TCollection_AsciiString & theRead); + + /****************** AddSkipped ******************/ + /**** md5 signature: 17a3c13212ccf5121e7ea6f008a46a9e ****/ + %feature("compactdefaultargs") AddSkipped; + %feature("autodoc", "Adds skipped attribute by type. + +Parameters +---------- +theSkipped: Standard_Type + +Returns +------- +None +") AddSkipped; + void AddSkipped(const opencascade::handle & theSkipped); + + /****************** AddSkipped ******************/ + /**** md5 signature: 1641b144b6c36dce12e568a2a0acb7f7 ****/ + %feature("compactdefaultargs") AddSkipped; + %feature("autodoc", "Adds skipped attribute by type name. + +Parameters +---------- +theSkipped: TCollection_AsciiString + +Returns +------- +None +") AddSkipped; + void AddSkipped(const TCollection_AsciiString & theSkipped); + + /****************** Clear ******************/ + /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "Makes filter pass all data. + +Returns +------- +None +") Clear; + void Clear(); + + /****************** Down ******************/ + /**** md5 signature: 684b38c2ad7e6446dc5e63e3fe7acc0a ****/ + %feature("compactdefaultargs") Down; + %feature("autodoc", "Iteration to the child with defined tag. + +Parameters +---------- +theTag: int + +Returns +------- +None +") Down; + virtual void Down(const int & theTag); + + /****************** IsAppendMode ******************/ + /**** md5 signature: c53202a73f18a553c82d098bdc9ca535 ****/ + %feature("compactdefaultargs") IsAppendMode; + %feature("autodoc", "Returns true if appending to the document is performed. + +Returns +------- +bool +") IsAppendMode; + Standard_Boolean IsAppendMode(); + + /****************** IsPartTree ******************/ + /**** md5 signature: 642fca9fea4b8f850c4c9c7fb083d1c3 ****/ + %feature("compactdefaultargs") IsPartTree; + %feature("autodoc", "Returns true if only part of the document tree will be retrieved. + +Returns +------- +bool +") IsPartTree; + virtual Standard_Boolean IsPartTree(); + + /****************** IsPassed ******************/ + /**** md5 signature: ff46ea18ae42f633977d14e6c1b34ba2 ****/ + %feature("compactdefaultargs") IsPassed; + %feature("autodoc", "Returns true if attribute must be read. + +Parameters +---------- +theAttributeID: Standard_Type + +Returns +------- +bool +") IsPassed; + virtual Standard_Boolean IsPassed(const opencascade::handle & theAttributeID); + + /****************** IsPassed ******************/ + /**** md5 signature: 9e2e882b262a07e940f0bef16e372b54 ****/ + %feature("compactdefaultargs") IsPassed; + %feature("autodoc", "Returns true if content of the label must be read. + +Parameters +---------- +theEntry: TCollection_AsciiString + +Returns +------- +bool +") IsPassed; + virtual Standard_Boolean IsPassed(const TCollection_AsciiString & theEntry); + + /****************** IsPassed ******************/ + /**** md5 signature: 5e48514b31a5fa61d8a015c3e7729542 ****/ + %feature("compactdefaultargs") IsPassed; + %feature("autodoc", "Returns true if content of the currently iterated label must be read. + +Returns +------- +bool +") IsPassed; + virtual Standard_Boolean IsPassed(); + + /****************** IsPassedAttr ******************/ + /**** md5 signature: c87c4d1f2fdc991decf6199f8cd8a28e ****/ + %feature("compactdefaultargs") IsPassedAttr; + %feature("autodoc", "Returns true if attribute must be read. + +Parameters +---------- +theAttributeType: TCollection_AsciiString + +Returns +------- +bool +") IsPassedAttr; + virtual Standard_Boolean IsPassedAttr(const TCollection_AsciiString & theAttributeType); + + /****************** IsSubPassed ******************/ + /**** md5 signature: ba594a6a5c6a8d3f037af25ddb422741 ****/ + %feature("compactdefaultargs") IsSubPassed; + %feature("autodoc", "Returns true if some sub-label of the given label is passed. + +Parameters +---------- +theEntry: TCollection_AsciiString + +Returns +------- +bool +") IsSubPassed; + virtual Standard_Boolean IsSubPassed(const TCollection_AsciiString & theEntry); + + /****************** IsSubPassed ******************/ + /**** md5 signature: ac3b63e0f17ab0448083482de2136688 ****/ + %feature("compactdefaultargs") IsSubPassed; + %feature("autodoc", "Returns true if some sub-label of the currently iterated label is passed. + +Returns +------- +bool +") IsSubPassed; + virtual Standard_Boolean IsSubPassed(); + + /****************** Mode ******************/ + /**** md5 signature: b965c8583016b065ce8a0e74db3f348a ****/ + %feature("compactdefaultargs") Mode; + %feature("autodoc", "Returns the append mode. + +Returns +------- +PCDM_ReaderFilter::AppendMode +") Mode; + PCDM_ReaderFilter::AppendMode Mode(); + + /****************** StartIteration ******************/ + /**** md5 signature: e37a7287631a4e3700eac402b9e23054 ****/ + %feature("compactdefaultargs") StartIteration; + %feature("autodoc", "Starts the tree iterator. it is used for fast searching of passed labels if the whole tree of labels is parsed. so, on each iteration step the methods up and down must be called after the iteration start. + +Returns +------- +None +") StartIteration; + virtual void StartIteration(); + + /****************** Up ******************/ + /**** md5 signature: bd266ecf07c8b3333e4c76605f7dd842 ****/ + %feature("compactdefaultargs") Up; + %feature("autodoc", "Iteration to the child label. + +Returns +------- +None +") Up; + virtual void Up(); + +}; + + +%make_alias(PCDM_ReaderFilter) + +%extend PCDM_ReaderFilter { + %pythoncode { + __repr__ = _dumps_object + } +}; + /*********************** * class PCDM_Reference * ***********************/ diff --git a/src/SWIG_files/wrapper/PCDM.pyi b/src/SWIG_files/wrapper/PCDM.pyi index e413d114b..00f64ef78 100644 --- a/src/SWIG_files/wrapper/PCDM.pyi +++ b/src/SWIG_files/wrapper/PCDM.pyi @@ -51,6 +51,7 @@ class PCDM_StoreStatus(IntEnum): PCDM_SS_No_Obj: int = ... PCDM_SS_Info_Section_Error: int = ... PCDM_SS_UserBreak: int = ... + PCDM_SS_UnrecognizedFormat: int = ... PCDM_SS_OK = PCDM_StoreStatus.PCDM_SS_OK PCDM_SS_DriverFailure = PCDM_StoreStatus.PCDM_SS_DriverFailure @@ -60,6 +61,7 @@ PCDM_SS_Doc_IsNull = PCDM_StoreStatus.PCDM_SS_Doc_IsNull PCDM_SS_No_Obj = PCDM_StoreStatus.PCDM_SS_No_Obj PCDM_SS_Info_Section_Error = PCDM_StoreStatus.PCDM_SS_Info_Section_Error PCDM_SS_UserBreak = PCDM_StoreStatus.PCDM_SS_UserBreak +PCDM_SS_UnrecognizedFormat = PCDM_StoreStatus.PCDM_SS_UnrecognizedFormat class PCDM_TypeOfFileDriver(IntEnum): PCDM_TOFD_File: int = ... @@ -149,10 +151,44 @@ class PCDM_ReadWriter(Standard_Transient): def Writer() -> PCDM_ReadWriter: ... class PCDM_Reader(Standard_Transient): - def CreateDocument(self) -> CDM_Document: ... def GetStatus(self) -> PCDM_ReaderStatus: ... @overload - def Read(self, aFileName: TCollection_ExtendedString, aNewDocument: CDM_Document, anApplication: CDM_Application, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... + def Read(self, aFileName: TCollection_ExtendedString, aNewDocument: CDM_Document, anApplication: CDM_Application, theFilter: Optional[PCDM_ReaderFilter] = PCDM_ReaderFilter(), theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... + +class PCDM_ReaderFilter(Standard_Transient): + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theSkipped: Standard_Type) -> None: ... + @overload + def __init__(self, theEntryToRead: TCollection_AsciiString) -> None: ... + def AddPath(self, theEntryToRead: TCollection_AsciiString) -> None: ... + @overload + def AddRead(self, theRead: Standard_Type) -> None: ... + @overload + def AddRead(self, theRead: TCollection_AsciiString) -> None: ... + @overload + def AddSkipped(self, theSkipped: Standard_Type) -> None: ... + @overload + def AddSkipped(self, theSkipped: TCollection_AsciiString) -> None: ... + def Clear(self) -> None: ... + def Down(self, theTag: int) -> None: ... + def IsAppendMode(self) -> bool: ... + def IsPartTree(self) -> bool: ... + @overload + def IsPassed(self, theAttributeID: Standard_Type) -> bool: ... + @overload + def IsPassed(self, theEntry: TCollection_AsciiString) -> bool: ... + @overload + def IsPassed(self) -> bool: ... + def IsPassedAttr(self, theAttributeType: TCollection_AsciiString) -> bool: ... + @overload + def IsSubPassed(self, theEntry: TCollection_AsciiString) -> bool: ... + @overload + def IsSubPassed(self) -> bool: ... + def Mode(self) -> False: ... + def StartIteration(self) -> None: ... + def Up(self) -> None: ... class PCDM_Reference: @overload diff --git a/src/SWIG_files/wrapper/PLib.i b/src/SWIG_files/wrapper/PLib.i index 7a32f0c82..469b764a3 100644 --- a/src/SWIG_files/wrapper/PLib.i +++ b/src/SWIG_files/wrapper/PLib.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define PLIBDOCSTRING "PLib module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_plib.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_plib.html" %enddef %module (package="OCC.Core", docstring=PLIBDOCSTRING) PLib @@ -67,7 +67,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -215,7 +215,7 @@ GeomAbs_Shape /****************** EvalCubicHermite ******************/ /**** md5 signature: 70b5084cb477532383770ec1daed2d40 ****/ %feature("compactdefaultargs") EvalCubicHermite; - %feature("autodoc", "Performs the cubic hermite interpolation of given series of points with given parameters with the requested derivative order. valuearray stores the value at the first and last parameter. it has the following format : [0], [dimension-1] : value at first param [dimension], [dimension + dimension-1] : value at last param derivative array stores the value of the derivatives at the first parameter and at the last parameter in the following format [0], [dimension-1] : derivative at first param [dimension], [dimension + dimension-1] : derivative at last param //! parameterarray stores the first and last parameter in the following format : [0] : first parameter [1] : last parameter //! results will store things in the following format with d = derivativeorder //! [0], [dimension-1] : value [dimension], [dimension + dimension-1] : first derivative //! [d *dimension], [d*dimension + dimension-1]: dth derivative. + %feature("autodoc", "Performs the cubic hermite interpolation of given series of points with given parameters with the requested derivative order. valuearray stores the value at the first and last parameter. it has the following format : @code [0], [dimension-1] : value at first param [dimension], [dimension + dimension-1] : value at last param @endcode derivative array stores the value of the derivatives at the first parameter and at the last parameter in the following format @code [0], [dimension-1] : derivative at @endcode first param @code [dimension], [dimension + dimension-1] : derivative at @endcode last param //! parameterarray stores the first and last parameter in the following format : @code [0] : first parameter [1] : last parameter @endcode //! results will store things in the following format with d = derivativeorder @code [0], [dimension-1] : value [dimension], [dimension + dimension-1] : first derivative //! [d *dimension], [d*dimension + dimension-1]: dth derivative @endcode. Parameters ---------- @@ -235,7 +235,7 @@ Results: float /****************** EvalLagrange ******************/ /**** md5 signature: db70dc230b872e9d346e3aab66b28d83 ****/ %feature("compactdefaultargs") EvalLagrange; - %feature("autodoc", "Performs the lagrange interpolation of given series of points with given parameters with the requested derivative order results will store things in the following format with d = derivativeorder //! [0], [dimension-1] : value [dimension], [dimension + dimension-1] : first derivative //! [d *dimension], [d*dimension + dimension-1]: dth derivative. + %feature("autodoc", "Performs the lagrange interpolation of given series of points with given parameters with the requested derivative order results will store things in the following format with d = derivativeorder @code [0], [dimension-1] : value [dimension], [dimension + dimension-1] : first derivative //! [d *dimension], [d*dimension + dimension-1]: dth derivative @endcode. Parameters ---------- @@ -295,7 +295,7 @@ Error: float /****************** EvalPoly2Var ******************/ /**** md5 signature: f820034b111d664eb87d8d6417e36fc7 ****/ %feature("compactdefaultargs") EvalPoly2Var; - %feature("autodoc", "Applies evalpolynomial twice to evaluate the derivative of orders uderivativeorder in u, vderivativeorder in v at parameters u,v //! polynomialcoeff are stored in the following fashion c00(1) .... c00(dimension) c10(1) .... c10(dimension) .... cm0(1) .... cm0(dimension) .... c01(1) .... c01(dimension) c11(1) .... c11(dimension) .... cm1(1) .... cm1(dimension) .... c0n(1) .... c0n(dimension) c1n(1) .... c1n(dimension) .... cmn(1) .... cmn(dimension) //! where the polynomial is defined as : 2 m c00 + c10 u + c20 u + .... + cm0 u 2 m + c01 v + c11 uv + c21 u v + .... + cm1 u v n m n + .... + c0n v + .... + cmn u v //! with m = udegree and n = vdegree //! results stores the result in the following format //! f(1) f(2) .... f(dimension) //! warning: and must be dimensioned properly. + %feature("autodoc", "Applies evalpolynomial twice to evaluate the derivative of orders uderivativeorder in u, vderivativeorder in v at parameters u,v //! polynomialcoeff are stored in the following fashion @code c00(1) .... c00(dimension) c10(1) .... c10(dimension) .... cm0(1) .... cm0(dimension) .... c01(1) .... c01(dimension) c11(1) .... c11(dimension) .... cm1(1) .... cm1(dimension) .... c0n(1) .... c0n(dimension) c1n(1) .... c1n(dimension) .... cmn(1) .... cmn(dimension) @endcode where the polynomial is defined as : @code 2 m c00 + c10 u + c20 u + .... + cm0 u 2 m + c01 v + c11 uv + c21 u v + .... + cm1 u v n m n + .... + c0n v + .... + cmn u v @endcode with m = udegree and n = vdegree //! results stores the result in the following format @code f(1) f(2) .... f(dimension) @endcode warning: and must be dimensioned properly. Parameters ---------- @@ -317,7 +317,7 @@ Results: float /****************** EvalPolynomial ******************/ /**** md5 signature: ab7638add7201ad9dc7d8b63cb124efa ****/ %feature("compactdefaultargs") EvalPolynomial; - %feature("autodoc", "Performs horner method with synthethic division for derivatives parameter , with and . polynomialcoeff are stored in the following fashion c0(1) c0(2) .... c0(dimension) c1(1) c1(2) .... c1(dimension) //! cdegree(1) cdegree(2) .... cdegree(dimension) where the polynomial is defined as : //! 2 degree c0 + c1 x + c2 x + .... cdegree x //! results stores the result in the following format //! f(1) f(2) .... f(dimension) (1) (1) (1) f (1) f (2) .... f (dimension) //! (derivativerequest) (derivativerequest) f (1) f (dimension) //! this just evaluates the point at parameter u //! warning: and must be dimensioned properly. + %feature("autodoc", "Performs horner method with synthetic division for derivatives parameter , with and . polynomialcoeff are stored in the following fashion @code c0(1) c0(2) .... c0(dimension) c1(1) c1(2) .... c1(dimension) //! cdegree(1) cdegree(2) .... cdegree(dimension) @endcode where the polynomial is defined as : @code 2 degree c0 + c1 x + c2 x + .... cdegree x @endcode results stores the result in the following format @code f(1) f(2) .... f(dimension) (1) (1) (1) f (1) f (2) .... f (dimension) //! (derivativerequest) (derivativerequest) f (1) f (dimension) @endcode this just evaluates the point at parameter u //! warning: and must be dimensioned properly. Parameters ---------- @@ -1423,7 +1423,7 @@ int /****************** Points ******************/ /**** md5 signature: 653579675c537b457b38505106af2c77 ****/ %feature("compactdefaultargs") Points; - %feature("autodoc", "Returns the jacobi points for gauss integration ie the positive values of the legendre roots by increasing values nbgausspoints is the number of points choosen for the integral computation. tabpoints (0,nbgausspoints/2) tabpoints (0) is loaded only for the odd values of nbgausspoints the possible values for nbgausspoints are : 8, 10, 15, 20, 25, 30, 35, 40, 50, 61 nbgausspoints must be greater than degree. + %feature("autodoc", "Returns the jacobi points for gauss integration ie the positive values of the legendre roots by increasing values nbgausspoints is the number of points chosen for the integral computation. tabpoints (0,nbgausspoints/2) tabpoints (0) is loaded only for the odd values of nbgausspoints the possible values for nbgausspoints are : 8, 10, 15, 20, 25, 30, 35, 40, 50, 61 nbgausspoints must be greater than degree. Parameters ---------- @@ -1476,7 +1476,7 @@ None /****************** Weights ******************/ /**** md5 signature: 4ae0ffe39406097290e31be2570d9f0d ****/ %feature("compactdefaultargs") Weights; - %feature("autodoc", "Returns the jacobi weigths for gauss integration only for the positive values of the legendre roots in the order they are given by the method points nbgausspoints is the number of points choosen for the integral computation. tabweights (0,nbgausspoints/2,0,degree) tabweights (0,.) are only loaded for the odd values of nbgausspoints the possible values for nbgausspoints are : 8 , 10 , 15 ,20 ,25 , 30, 35 , 40 , 50 , 61 nbgausspoints must be greater than degree. + %feature("autodoc", "Returns the jacobi weigths for gauss integration only for the positive values of the legendre roots in the order they are given by the method points nbgausspoints is the number of points chosen for the integral computation. tabweights (0,nbgausspoints/2,0,degree) tabweights (0,.) are only loaded for the odd values of nbgausspoints the possible values for nbgausspoints are : 8 , 10 , 15 ,20 ,25 , 30, 35 , 40 , 50 , 61 nbgausspoints must be greater than degree. Parameters ---------- diff --git a/src/SWIG_files/wrapper/Plate.i b/src/SWIG_files/wrapper/Plate.i index 645a589a2..06fbe9400 100644 --- a/src/SWIG_files/wrapper/Plate.i +++ b/src/SWIG_files/wrapper/Plate.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define PLATEDOCSTRING "Plate module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_plate.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_plate.html" %enddef %module (package="OCC.Core", docstring=PLATEDOCSTRING) Plate @@ -66,7 +66,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/Plugin.i b/src/SWIG_files/wrapper/Plugin.i index 0cd171641..c444f4fe0 100644 --- a/src/SWIG_files/wrapper/Plugin.i +++ b/src/SWIG_files/wrapper/Plugin.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define PLUGINDOCSTRING "Plugin module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_plugin.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_plugin.html" %enddef %module (package="OCC.Core", docstring=PLUGINDOCSTRING) Plugin @@ -58,7 +58,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/Poly.i b/src/SWIG_files/wrapper/Poly.i index ae4d943b2..7ce987372 100644 --- a/src/SWIG_files/wrapper/Poly.i +++ b/src/SWIG_files/wrapper/Poly.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define POLYDOCSTRING "Poly module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_poly.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_poly.html" %enddef %module (package="OCC.Core", docstring=POLYDOCSTRING) Poly @@ -45,6 +45,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_poly.html" #include #include #include +#include +#include #include #include #include @@ -57,6 +59,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_poly.html" %import gp.i %import TColgp.i %import TColStd.i +%import Bnd.i +%import OSD.i %import TShort.i %pythoncode { @@ -65,18 +69,30 @@ from OCC.Core.Exception import * }; /* public enums */ +enum { + Poly_MeshPurpose_NONE = 0, + Poly_MeshPurpose_Calculation = 1, + Poly_MeshPurpose_Presentation = 2, + Poly_MeshPurpose_Active = 4, + Poly_MeshPurpose_Loaded = 8, + Poly_MeshPurpose_AnyFallback = 16, + Poly_MeshPurpose_USER = 32, +}; + /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ /* handles */ +%wrap_handle(Poly_MergeNodesTool) %wrap_handle(Poly_Polygon2D) %wrap_handle(Poly_Polygon3D) %wrap_handle(Poly_PolygonOnTriangulation) %wrap_handle(Poly_Triangulation) +%wrap_handle(Poly_TriangulationParameters) %wrap_handle(Poly_HArray1OfTriangle) /* end handles declaration */ @@ -132,6 +148,7 @@ typedef NCollection_Vector::Iterator Poly_BaseIteratorOfCoher typedef NCollection_Vector::Iterator Poly_BaseIteratorOfCoherentNode; typedef NCollection_Vector::Iterator Poly_BaseIteratorOfCoherentTriangle; typedef NCollection_List> Poly_ListOfTriangulation; +typedef unsigned int Poly_MeshPurpose; /* end typedefs declaration */ /************* @@ -170,6 +187,43 @@ None ") ComputeNormals; static void ComputeNormals(const opencascade::handle & Tri); + /****************** Intersect ******************/ + /**** md5 signature: 71cc08bc38965ffeef03bdfbfe9c34a4 ****/ + %feature("compactdefaultargs") Intersect; + %feature("autodoc", "Computes the intersection between axis and triangulation. @param thetri [in] input triangulation @param theaxis [in] intersecting ray @param theisclosest [in] finds the closest intersection when true, finds the farthest otherwise @param thetriangle [out] intersected triangle @param thedistance [out] distance along ray to intersection point returns true if intersection takes place, false otherwise. + +Parameters +---------- +theTri: Poly_Triangulation +theAxis: gp_Ax1 +theIsClosest: bool +theTriangle: Poly_Triangle + +Returns +------- +theDistance: float +") Intersect; + static Standard_Boolean Intersect(const opencascade::handle & theTri, const gp_Ax1 & theAxis, const Standard_Boolean theIsClosest, Poly_Triangle & theTriangle, Standard_Real &OutValue); + + /****************** IntersectTriLine ******************/ + /**** md5 signature: 3f27e1173b34c9ae04f7086818dc488c ****/ + %feature("compactdefaultargs") IntersectTriLine; + %feature("autodoc", "Computes the intersection between a triangle defined by three vertexes and a line. @param thestart [in] picking ray origin @param thedir [in] picking ray direction @param thev0 [in] first triangle node @param thev1 [in] second triangle node @param thev2 [in] third triangle node @param theparam [out] param on line of the intersection point returns 1 if intersection was found, 0 otherwise. + +Parameters +---------- +theStart: gp_XYZ +theDir: gp_Dir +theV0: gp_XYZ +theV1: gp_XYZ +theV2: gp_XYZ + +Returns +------- +theParam: float +") IntersectTriLine; + static Standard_Integer IntersectTriLine(const gp_XYZ & theStart, const gp_Dir & theDir, const gp_XYZ & theV0, const gp_XYZ & theV1, const gp_XYZ & theV2, Standard_Real &OutValue); + /****************** PointOnTriangle ******************/ /**** md5 signature: f16707629e29bded6eb5591e5f49f99e ****/ %feature("compactdefaultargs") PointOnTriangle; @@ -223,6 +277,384 @@ float } }; +/************************** +* class Poly_ArrayOfNodes * +**************************/ +class Poly_ArrayOfNodes : public NCollection_AliasedArray<> { + public: + /****************** Poly_ArrayOfNodes ******************/ + /**** md5 signature: a3fbef88d7cea7f227931f473b2f3f7e ****/ + %feature("compactdefaultargs") Poly_ArrayOfNodes; + %feature("autodoc", "Empty constructor of double-precision array. + +Returns +------- +None +") Poly_ArrayOfNodes; + Poly_ArrayOfNodes(); + + /****************** Poly_ArrayOfNodes ******************/ + /**** md5 signature: b77f7672fcf3bad012991e517148d0b6 ****/ + %feature("compactdefaultargs") Poly_ArrayOfNodes; + %feature("autodoc", "Constructor of double-precision array. + +Parameters +---------- +theLength: int + +Returns +------- +None +") Poly_ArrayOfNodes; + Poly_ArrayOfNodes(Standard_Integer theLength); + + /****************** Poly_ArrayOfNodes ******************/ + /**** md5 signature: 71c54cc617fa3212fe7f98037904ee67 ****/ + %feature("compactdefaultargs") Poly_ArrayOfNodes; + %feature("autodoc", "Copy constructor . + +Parameters +---------- +theOther: Poly_ArrayOfNodes + +Returns +------- +None +") Poly_ArrayOfNodes; + Poly_ArrayOfNodes(const Poly_ArrayOfNodes & theOther); + + /****************** Poly_ArrayOfNodes ******************/ + /**** md5 signature: 282e112d1d6b3b00cb621fbcc3d69c68 ****/ + %feature("compactdefaultargs") Poly_ArrayOfNodes; + %feature("autodoc", "Constructor wrapping pre-allocated c-array of values without copying them. + +Parameters +---------- +theBegin: gp_Pnt +theLength: int + +Returns +------- +None +") Poly_ArrayOfNodes; + Poly_ArrayOfNodes(const gp_Pnt & theBegin, Standard_Integer theLength); + + /****************** Poly_ArrayOfNodes ******************/ + /**** md5 signature: f55ffaa17385828819bcc3d1f6ab78f6 ****/ + %feature("compactdefaultargs") Poly_ArrayOfNodes; + %feature("autodoc", "Constructor wrapping pre-allocated c-array of values without copying them. + +Parameters +---------- +theBegin: gp_Vec3f +theLength: int + +Returns +------- +None +") Poly_ArrayOfNodes; + Poly_ArrayOfNodes(const gp_Vec3f & theBegin, Standard_Integer theLength); + + /****************** Poly_ArrayOfNodes ******************/ + /**** md5 signature: cb45040330e6998f9e997be1b9e9fd56 ****/ + %feature("compactdefaultargs") Poly_ArrayOfNodes; + %feature("autodoc", "Move constructor. + +Parameters +---------- +theOther: Poly_ArrayOfNodes + +Returns +------- +None +") Poly_ArrayOfNodes; + Poly_ArrayOfNodes(Poly_ArrayOfNodes & theOther); + + /****************** Assign ******************/ + /**** md5 signature: 702830dcb95dd43aecf671cba8d7bfdb ****/ + %feature("compactdefaultargs") Assign; + %feature("autodoc", "Copies data of theother array to this. the arrays should have the same length, but may have different precision / number of components (data conversion will be applied in the latter case). + +Parameters +---------- +theOther: Poly_ArrayOfNodes + +Returns +------- +Poly_ArrayOfNodes +") Assign; + Poly_ArrayOfNodes & Assign(const Poly_ArrayOfNodes & theOther); + + /****************** IsDoublePrecision ******************/ + /**** md5 signature: c768d26054fe7836c133ffb1451dd7cd ****/ + %feature("compactdefaultargs") IsDoublePrecision; + %feature("autodoc", "Returns true if array defines nodes with double precision. + +Returns +------- +bool +") IsDoublePrecision; + bool IsDoublePrecision(); + + /****************** Move ******************/ + /**** md5 signature: 20553a602539ccce80fca1871695acaa ****/ + %feature("compactdefaultargs") Move; + %feature("autodoc", "Move assignment. + +Parameters +---------- +theOther: Poly_ArrayOfNodes + +Returns +------- +Poly_ArrayOfNodes +") Move; + Poly_ArrayOfNodes & Move(Poly_ArrayOfNodes & theOther); + + /****************** SetDoublePrecision ******************/ + /**** md5 signature: 2fee9d611d346cc1324a9f63e1c71f99 ****/ + %feature("compactdefaultargs") SetDoublePrecision; + %feature("autodoc", "Sets if array should define nodes with double or single precision. raises exception if array was already allocated. + +Parameters +---------- +theIsDouble: bool + +Returns +------- +None +") SetDoublePrecision; + void SetDoublePrecision(bool theIsDouble); + + /****************** SetValue ******************/ + /**** md5 signature: 1aac1c7522caf00e0c3f974b2daa072f ****/ + %feature("compactdefaultargs") SetValue; + %feature("autodoc", "A generalized setter for point. + +Parameters +---------- +theIndex: int +theValue: gp_Pnt + +Returns +------- +None +") SetValue; + void SetValue(Standard_Integer theIndex, const gp_Pnt & theValue); + + /****************** Value ******************/ + /**** md5 signature: cbbd0dda18a18774ab964a5d559342fd ****/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "A generalized accessor to point. + +Parameters +---------- +theIndex: int + +Returns +------- +gp_Pnt +") Value; + gp_Pnt Value(Standard_Integer theIndex); + +}; + + +%extend Poly_ArrayOfNodes { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/**************************** +* class Poly_ArrayOfUVNodes * +****************************/ +class Poly_ArrayOfUVNodes : public NCollection_AliasedArray<> { + public: + /****************** Poly_ArrayOfUVNodes ******************/ + /**** md5 signature: 6a860cf1c687b8dd0af354b672ebd0be ****/ + %feature("compactdefaultargs") Poly_ArrayOfUVNodes; + %feature("autodoc", "Empty constructor of double-precision array. + +Returns +------- +None +") Poly_ArrayOfUVNodes; + Poly_ArrayOfUVNodes(); + + /****************** Poly_ArrayOfUVNodes ******************/ + /**** md5 signature: 1d8cb6cf40bbc06f334d0a0a080d9f94 ****/ + %feature("compactdefaultargs") Poly_ArrayOfUVNodes; + %feature("autodoc", "Constructor of double-precision array. + +Parameters +---------- +theLength: int + +Returns +------- +None +") Poly_ArrayOfUVNodes; + Poly_ArrayOfUVNodes(Standard_Integer theLength); + + /****************** Poly_ArrayOfUVNodes ******************/ + /**** md5 signature: e7970186b41655b1bbfbf070a9a812fa ****/ + %feature("compactdefaultargs") Poly_ArrayOfUVNodes; + %feature("autodoc", "Copy constructor . + +Parameters +---------- +theOther: Poly_ArrayOfUVNodes + +Returns +------- +None +") Poly_ArrayOfUVNodes; + Poly_ArrayOfUVNodes(const Poly_ArrayOfUVNodes & theOther); + + /****************** Poly_ArrayOfUVNodes ******************/ + /**** md5 signature: fcc79601f1f551bf654e4b036563851d ****/ + %feature("compactdefaultargs") Poly_ArrayOfUVNodes; + %feature("autodoc", "Constructor wrapping pre-allocated c-array of values without copying them. + +Parameters +---------- +theBegin: gp_Pnt2d +theLength: int + +Returns +------- +None +") Poly_ArrayOfUVNodes; + Poly_ArrayOfUVNodes(const gp_Pnt2d & theBegin, Standard_Integer theLength); + + /****************** Poly_ArrayOfUVNodes ******************/ + /**** md5 signature: 8dc88b2a8e6a1970829bc8d4ae3807c9 ****/ + %feature("compactdefaultargs") Poly_ArrayOfUVNodes; + %feature("autodoc", "Constructor wrapping pre-allocated c-array of values without copying them. + +Parameters +---------- +theBegin: gp_Vec2f +theLength: int + +Returns +------- +None +") Poly_ArrayOfUVNodes; + Poly_ArrayOfUVNodes(const gp_Vec2f & theBegin, Standard_Integer theLength); + + /****************** Poly_ArrayOfUVNodes ******************/ + /**** md5 signature: e3d61b6156099393a7872494033064a3 ****/ + %feature("compactdefaultargs") Poly_ArrayOfUVNodes; + %feature("autodoc", "Move constructor. + +Parameters +---------- +theOther: Poly_ArrayOfUVNodes + +Returns +------- +None +") Poly_ArrayOfUVNodes; + Poly_ArrayOfUVNodes(Poly_ArrayOfUVNodes & theOther); + + /****************** Assign ******************/ + /**** md5 signature: 0bd9a842cd074feea2878a80c6c59e05 ****/ + %feature("compactdefaultargs") Assign; + %feature("autodoc", "Copies data of theother array to this. the arrays should have the same length, but may have different precision / number of components (data conversion will be applied in the latter case). + +Parameters +---------- +theOther: Poly_ArrayOfUVNodes + +Returns +------- +Poly_ArrayOfUVNodes +") Assign; + Poly_ArrayOfUVNodes & Assign(const Poly_ArrayOfUVNodes & theOther); + + /****************** IsDoublePrecision ******************/ + /**** md5 signature: c768d26054fe7836c133ffb1451dd7cd ****/ + %feature("compactdefaultargs") IsDoublePrecision; + %feature("autodoc", "Returns true if array defines nodes with double precision. + +Returns +------- +bool +") IsDoublePrecision; + bool IsDoublePrecision(); + + /****************** Move ******************/ + /**** md5 signature: 540403cdd9a8016019da7b6bbf0e77a2 ****/ + %feature("compactdefaultargs") Move; + %feature("autodoc", "Move assignment. + +Parameters +---------- +theOther: Poly_ArrayOfUVNodes + +Returns +------- +Poly_ArrayOfUVNodes +") Move; + Poly_ArrayOfUVNodes & Move(Poly_ArrayOfUVNodes & theOther); + + /****************** SetDoublePrecision ******************/ + /**** md5 signature: 2fee9d611d346cc1324a9f63e1c71f99 ****/ + %feature("compactdefaultargs") SetDoublePrecision; + %feature("autodoc", "Sets if array should define nodes with double or single precision. raises exception if array was already allocated. + +Parameters +---------- +theIsDouble: bool + +Returns +------- +None +") SetDoublePrecision; + void SetDoublePrecision(bool theIsDouble); + + /****************** SetValue ******************/ + /**** md5 signature: 932309e2e29429a1b56967cc7847fbb2 ****/ + %feature("compactdefaultargs") SetValue; + %feature("autodoc", "A generalized setter for point. + +Parameters +---------- +theIndex: int +theValue: gp_Pnt2d + +Returns +------- +None +") SetValue; + void SetValue(Standard_Integer theIndex, const gp_Pnt2d & theValue); + + /****************** Value ******************/ + /**** md5 signature: 4d7c0ab83170d94e467103748821c3a2 ****/ + %feature("compactdefaultargs") Value; + %feature("autodoc", "A generalized accessor to point. + +Parameters +---------- +theIndex: int + +Returns +------- +gp_Pnt2d +") Value; + gp_Pnt2d Value(Standard_Integer theIndex); + +}; + + +%extend Poly_ArrayOfUVNodes { + %pythoncode { + __repr__ = _dumps_object + } +}; + /************************** * class Poly_CoherentLink * **************************/ @@ -615,7 +1047,7 @@ None /****************** FindConnection ******************/ /**** md5 signature: 505623f75ec36da5e1eb5d1c4b345491 ****/ %feature("compactdefaultargs") FindConnection; - %feature("autodoc", "/** * retuns the index of the connection with the given triangle, or -1 if not * found. */. + %feature("autodoc", "/** * returns the index of the connection with the given triangle, or -1 if not found. */. Parameters ---------- @@ -948,51 +1380,465 @@ int /*********************** * class Poly_MakeLoops * ***********************/ -/*********************** -* class Poly_Polygon2D * -***********************/ -class Poly_Polygon2D : public Standard_Transient { +/**************************** +* class Poly_MergeNodesTool * +****************************/ +class Poly_MergeNodesTool : public Standard_Transient { public: - /****************** Poly_Polygon2D ******************/ - /**** md5 signature: 3a8c467f0240c4e2a1e715ce82b546ac ****/ - %feature("compactdefaultargs") Poly_Polygon2D; - %feature("autodoc", "Constructs a 2d polygon with specified number of nodes. + class Vec3AndNormal {}; + class MergedNodesMap {}; + class MergedElemHasher {}; + /****************** Poly_MergeNodesTool ******************/ + /**** md5 signature: 3a7388c9049734e002b68e6950dd289b ****/ + %feature("compactdefaultargs") Poly_MergeNodesTool; + %feature("autodoc", "Constructor @param[in] thesmoothangle smooth angle in radians or 0.0 to disable merging by angle @param[in] themergetolerance node merging maximum distance @param[in] thenbfacets estimated number of facets for map preallocation. Parameters ---------- -theNbNodes: int +theSmoothAngle: double +theMergeTolerance: double,optional + default value is 0.0 +theNbFacets: int,optional + default value is -1 Returns ------- None -") Poly_Polygon2D; - Poly_Polygon2D(const Standard_Integer theNbNodes); +") Poly_MergeNodesTool; + Poly_MergeNodesTool(const double theSmoothAngle, const double theMergeTolerance = 0.0, const int theNbFacets = -1); - /****************** Poly_Polygon2D ******************/ - /**** md5 signature: ce8c56beaf19a56938aa246c5bd1a08e ****/ - %feature("compactdefaultargs") Poly_Polygon2D; - %feature("autodoc", "Constructs a 2d polygon defined by the table of points, . + /****************** AddElement ******************/ + /**** md5 signature: f54449798b8c250c1939c2e71ad619e9 ****/ + %feature("compactdefaultargs") AddElement; + %feature("autodoc", "Add new triangle or quad. @param[in] theelemnodes element nodes @param[in] thenbnodes number of element nodes, should be 3 or 4. Parameters ---------- -Nodes: TColgp_Array1OfPnt2d +theElemNodes: gp_XYZ * +theNbNodes: int Returns ------- None -") Poly_Polygon2D; - Poly_Polygon2D(const TColgp_Array1OfPnt2d & Nodes); +") AddElement; + void AddElement(const gp_XYZ * theElemNodes, int theNbNodes); - /****************** ChangeNodes ******************/ - /**** md5 signature: f72dedd03604abdffc46813042de4100 ****/ - %feature("compactdefaultargs") ChangeNodes; - %feature("autodoc", "Returns the table of nodes for this polygon. + /****************** AddQuad ******************/ + /**** md5 signature: 466ec42f2ca8a5fa29a362ea7d89be15 ****/ + %feature("compactdefaultargs") AddQuad; + %feature("autodoc", "Add new quad. @param[in] theelemnodes 4 element nodes. + +Parameters +---------- +theElemNodes: gp_XYZ Returns ------- -TColgp_Array1OfPnt2d -") ChangeNodes; - TColgp_Array1OfPnt2d & ChangeNodes(); +None +") AddQuad; + void AddQuad(const gp_XYZ theElemNodes[4]); + + /****************** AddTriangle ******************/ + /**** md5 signature: 3f99f4658880f383d17505464542edaf ****/ + %feature("compactdefaultargs") AddTriangle; + %feature("autodoc", "Add new triangle. @param[in] theelemnodes 3 element nodes. + +Parameters +---------- +theElemNodes: gp_XYZ + +Returns +------- +None +") AddTriangle; + void AddTriangle(const gp_XYZ theElemNodes[3]); + + /****************** AddTriangulation ******************/ + /**** md5 signature: bc6056f0ba55a334b398b898dd60cb25 ****/ + %feature("compactdefaultargs") AddTriangulation; + %feature("autodoc", "Add another triangulation to created one. @param[in] thetris triangulation to add @param[in] thetrsf transformation to apply @param[in] thetoreverse reverse triangle nodes order. + +Parameters +---------- +theTris: Poly_Triangulation +theTrsf: gp_Trsf,optional + default value is gp_Trsf() +theToReverse: bool,optional + default value is false + +Returns +------- +None +") AddTriangulation; + virtual void AddTriangulation(const opencascade::handle & theTris, const gp_Trsf & theTrsf = gp_Trsf(), const Standard_Boolean theToReverse = false); + + /****************** ChangeElementNode ******************/ + /**** md5 signature: cfa2b9d654017414261980230af66908 ****/ + %feature("compactdefaultargs") ChangeElementNode; + %feature("autodoc", "Change node coordinates of element to be pushed. @param[in] theindex node index within current element, in 0..3 range. + +Parameters +---------- +theIndex: int + +Returns +------- +gp_XYZ +") ChangeElementNode; + gp_XYZ ChangeElementNode(int theIndex); + + /****************** ChangeOutput ******************/ + /**** md5 signature: a9dc71f3c110b2a16acbd54cfd1bfeaa ****/ + %feature("compactdefaultargs") ChangeOutput; + %feature("autodoc", "Setup output triangulation for modifications. when set to null, the tool could be used as a merge map for filling in external mesh structure. + +Returns +------- +opencascade::handle +") ChangeOutput; + opencascade::handle & ChangeOutput(); + + /****************** ElementNodeIndex ******************/ + /**** md5 signature: b3912f8ed8ba96458bb5fe8222b9db8a ****/ + %feature("compactdefaultargs") ElementNodeIndex; + %feature("autodoc", "Return current element node index defined by pushlastelement(). + +Parameters +---------- +theIndex: int + +Returns +------- +int +") ElementNodeIndex; + Standard_Integer ElementNodeIndex(int theIndex); + + /****************** MergeAngle ******************/ + /**** md5 signature: 5d00926a7bd3e498cdc5a4c2a8db704c ****/ + %feature("compactdefaultargs") MergeAngle; + %feature("autodoc", "Return merge angle in radians; 0.0 by default (normals with non-exact directions are not merged). + +Returns +------- +double +") MergeAngle; + double MergeAngle(); + + /****************** MergeNodes ******************/ + /**** md5 signature: 69db4be2948df2cb0f73011b0524e17b ****/ + %feature("compactdefaultargs") MergeNodes; + %feature("autodoc", "Merge nodes of existing mesh and return the new mesh. @param[in] thetris triangulation to add @param[in] thetrsf transformation to apply @param[in] thetoreverse reverse triangle nodes order @param[in] thesmoothangle merge angle in radians @param[in] themergetolerance linear merge tolerance @param[in] thetoforce return merged triangulation even if it's statistics is equal to input one returns merged triangulation or null on no result. + +Parameters +---------- +theTris: Poly_Triangulation +theTrsf: gp_Trsf +theToReverse: bool +theSmoothAngle: double +theMergeTolerance: double,optional + default value is 0.0 +theToForce: bool,optional + default value is true + +Returns +------- +opencascade::handle +") MergeNodes; + static opencascade::handle MergeNodes(const opencascade::handle & theTris, const gp_Trsf & theTrsf, const Standard_Boolean theToReverse, const double theSmoothAngle, const double theMergeTolerance = 0.0, const bool theToForce = true); + + /****************** MergeTolerance ******************/ + /**** md5 signature: fa6eb2c52a4c2b1d74d587a33cf643e6 ****/ + %feature("compactdefaultargs") MergeTolerance; + %feature("autodoc", "Return merge tolerance; 0.0 by default (only 3d points with exactly matching coordinates are merged). + +Returns +------- +double +") MergeTolerance; + double MergeTolerance(); + + /****************** NbDegenerativeElems ******************/ + /**** md5 signature: f7c1a94fbb555c490c2bfa3343d230dd ****/ + %feature("compactdefaultargs") NbDegenerativeElems; + %feature("autodoc", "Return number of discarded degenerate elements. + +Returns +------- +int +") NbDegenerativeElems; + int NbDegenerativeElems(); + + /****************** NbElements ******************/ + /**** md5 signature: a3bde70b76cbd01fd87444d7af358185 ****/ + %feature("compactdefaultargs") NbElements; + %feature("autodoc", "Return number of elements. + +Returns +------- +int +") NbElements; + int NbElements(); + + /****************** NbMergedElems ******************/ + /**** md5 signature: ecd75b52f11a73bd5b6b9dd1889271df ****/ + %feature("compactdefaultargs") NbMergedElems; + %feature("autodoc", "Return number of merged equal elements. + +Returns +------- +int +") NbMergedElems; + int NbMergedElems(); + + /****************** NbNodes ******************/ + /**** md5 signature: d40157e610feffebe18aa0d56c09a4f4 ****/ + %feature("compactdefaultargs") NbNodes; + %feature("autodoc", "Return number of nodes. + +Returns +------- +int +") NbNodes; + int NbNodes(); + + /****************** PushLastElement ******************/ + /**** md5 signature: 277d833a2ade233d612ac9bbb60ac6d1 ****/ + %feature("compactdefaultargs") PushLastElement; + %feature("autodoc", "Add new triangle or quad with nodes specified by changeelementnode(). + +Parameters +---------- +theNbNodes: int + +Returns +------- +None +") PushLastElement; + void PushLastElement(int theNbNodes); + + /****************** PushLastQuad ******************/ + /**** md5 signature: 1cfa8ee32054107dba52c4d795b9c6bb ****/ + %feature("compactdefaultargs") PushLastQuad; + %feature("autodoc", "Add new quad with nodes specified by changeelementnode(). + +Returns +------- +None +") PushLastQuad; + void PushLastQuad(); + + /****************** PushLastTriangle ******************/ + /**** md5 signature: ae8c69e28e2e9bd5ae3ca8a822d92073 ****/ + %feature("compactdefaultargs") PushLastTriangle; + %feature("autodoc", "Add new triangle with nodes specified by changeelementnode(). + +Returns +------- +None +") PushLastTriangle; + void PushLastTriangle(); + + /****************** Result ******************/ + /**** md5 signature: 8f645f11f5d462565ca5df82c5facbc2 ****/ + %feature("compactdefaultargs") Result; + %feature("autodoc", "Prepare and return result triangulation (temporary data will be truncated to result size). + +Returns +------- +opencascade::handle +") Result; + opencascade::handle Result(); + + /****************** SetDropDegenerative ******************/ + /**** md5 signature: 2afb3f12bc4617f94254843e80b1098c ****/ + %feature("compactdefaultargs") SetDropDegenerative; + %feature("autodoc", "Set if degenerate elements should be discarded. + +Parameters +---------- +theToDrop: bool + +Returns +------- +None +") SetDropDegenerative; + void SetDropDegenerative(bool theToDrop); + + /****************** SetMergeAngle ******************/ + /**** md5 signature: 87c2aaa1acaed6770f3402745832717c ****/ + %feature("compactdefaultargs") SetMergeAngle; + %feature("autodoc", "Set merge angle. + +Parameters +---------- +theAngleRad: double + +Returns +------- +None +") SetMergeAngle; + void SetMergeAngle(double theAngleRad); + + /****************** SetMergeElems ******************/ + /**** md5 signature: ed329276ee91b65e45badb01dc0e8260 ****/ + %feature("compactdefaultargs") SetMergeElems; + %feature("autodoc", "Set if equal elements should be filtered. + +Parameters +---------- +theToMerge: bool + +Returns +------- +None +") SetMergeElems; + void SetMergeElems(bool theToMerge); + + /****************** SetMergeOpposite ******************/ + /**** md5 signature: 4e4c753314be161d9f17adb6eee772b4 ****/ + %feature("compactdefaultargs") SetMergeOpposite; + %feature("autodoc", "Set if nodes with opposite normals should be merged. + +Parameters +---------- +theToMerge: bool + +Returns +------- +None +") SetMergeOpposite; + void SetMergeOpposite(bool theToMerge); + + /****************** SetMergeTolerance ******************/ + /**** md5 signature: 68ac77dc68d463a45fe791220c4c1037 ****/ + %feature("compactdefaultargs") SetMergeTolerance; + %feature("autodoc", "Set merge tolerance. + +Parameters +---------- +theTolerance: double + +Returns +------- +None +") SetMergeTolerance; + void SetMergeTolerance(double theTolerance); + + /****************** SetUnitFactor ******************/ + /**** md5 signature: f7ae34d46d91996c57038f792982636e ****/ + %feature("compactdefaultargs") SetUnitFactor; + %feature("autodoc", "Setup unit factor. + +Parameters +---------- +theUnitFactor: double + +Returns +------- +None +") SetUnitFactor; + void SetUnitFactor(double theUnitFactor); + + /****************** ToDropDegenerative ******************/ + /**** md5 signature: d0d29e78b3ec8be2e3b06c85e4aa3169 ****/ + %feature("compactdefaultargs") ToDropDegenerative; + %feature("autodoc", "Return true if degenerate elements should be discarded; true by default. + +Returns +------- +bool +") ToDropDegenerative; + bool ToDropDegenerative(); + + /****************** ToMergeElems ******************/ + /**** md5 signature: faab5f7e47b13d1e82a5f43489d865d7 ****/ + %feature("compactdefaultargs") ToMergeElems; + %feature("autodoc", "Return true if equal elements should be filtered; false by default. + +Returns +------- +bool +") ToMergeElems; + bool ToMergeElems(); + + /****************** ToMergeOpposite ******************/ + /**** md5 signature: 28336470350be6372b143f45e7955794 ****/ + %feature("compactdefaultargs") ToMergeOpposite; + %feature("autodoc", "Return true if nodes with opposite normals should be merged; false by default. + +Returns +------- +bool +") ToMergeOpposite; + bool ToMergeOpposite(); + + /****************** computeTriNormal ******************/ + /**** md5 signature: 25e09c9ffb0af3cb0363dc699d14ab79 ****/ + %feature("compactdefaultargs") computeTriNormal; + %feature("autodoc", "Compute normal for the mesh element. + +Returns +------- +NCollection_Vec3 +") computeTriNormal; + NCollection_Vec3 computeTriNormal(); + +}; + + +%make_alias(Poly_MergeNodesTool) + +%extend Poly_MergeNodesTool { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/*********************** +* class Poly_Polygon2D * +***********************/ +class Poly_Polygon2D : public Standard_Transient { + public: + /****************** Poly_Polygon2D ******************/ + /**** md5 signature: 3a8c467f0240c4e2a1e715ce82b546ac ****/ + %feature("compactdefaultargs") Poly_Polygon2D; + %feature("autodoc", "Constructs a 2d polygon with specified number of nodes. + +Parameters +---------- +theNbNodes: int + +Returns +------- +None +") Poly_Polygon2D; + Poly_Polygon2D(const Standard_Integer theNbNodes); + + /****************** Poly_Polygon2D ******************/ + /**** md5 signature: ce8c56beaf19a56938aa246c5bd1a08e ****/ + %feature("compactdefaultargs") Poly_Polygon2D; + %feature("autodoc", "Constructs a 2d polygon defined by the table of points, . + +Parameters +---------- +Nodes: TColgp_Array1OfPnt2d + +Returns +------- +None +") Poly_Polygon2D; + Poly_Polygon2D(const TColgp_Array1OfPnt2d & Nodes); + + /****************** ChangeNodes ******************/ + /**** md5 signature: f72dedd03604abdffc46813042de4100 ****/ + %feature("compactdefaultargs") ChangeNodes; + %feature("autodoc", "Returns the table of nodes for this polygon. + +Returns +------- +TColgp_Array1OfPnt2d +") ChangeNodes; + TColgp_Array1OfPnt2d & ChangeNodes(); /****************** Deflection ******************/ /**** md5 signature: 6fb4c31e8f4445c1597fc8b70a63cbfb ****/ @@ -1127,7 +1973,7 @@ TColgp_Array1OfPnt /****************** ChangeParameters ******************/ /**** md5 signature: 8ed84ac3a67f35b579cc6d28270bac04 ****/ %feature("compactdefaultargs") ChangeParameters; - %feature("autodoc", "Returns the table of the parameters associated with each node in this polygon. changeparameters function returnes the array as shared. therefore if the table is selected by reference you can, by simply modifying it, directly modify the data structure of this polygon. + %feature("autodoc", "Returns the table of the parameters associated with each node in this polygon. changeparameters function returns the array as shared. therefore if the table is selected by reference you can, by simply modifying it, directly modify the data structure of this polygon. Returns ------- @@ -1290,7 +2136,7 @@ None /****************** ChangeNodes ******************/ /**** md5 signature: 804d9242adacaa7a4d3f6b5e4c274788 ****/ %feature("compactdefaultargs") ChangeNodes; - %feature("autodoc", "Returns the table of nodes for this polygon for modification. + %feature("autodoc", "No available documentation. Returns ------- @@ -1301,7 +2147,7 @@ TColStd_Array1OfInteger /****************** ChangeParameters ******************/ /**** md5 signature: 40b04bec95a03e3395d29d982eedb28b ****/ %feature("compactdefaultargs") ChangeParameters; - %feature("autodoc", "Returns the table of the parameters associated with each node in this polygon. warning! hasparameters() should be called beforehand to check if parameters array is allocated. + %feature("autodoc", "No available documentation. Returns ------- @@ -1376,6 +2222,21 @@ int ") NbNodes; Standard_Integer NbNodes(); + /****************** Node ******************/ + /**** md5 signature: 9f232dd20d41f5521d50372a652ec320 ****/ + %feature("compactdefaultargs") Node; + %feature("autodoc", "Returns node at the given index. + +Parameters +---------- +theIndex: int + +Returns +------- +int +") Node; + Standard_Integer Node(Standard_Integer theIndex); + /****************** Nodes ******************/ /**** md5 signature: 70cb2993ef664c271d7fd9a8e642d0be ****/ %feature("compactdefaultargs") Nodes; @@ -1387,10 +2248,25 @@ TColStd_Array1OfInteger ") Nodes; const TColStd_Array1OfInteger & Nodes(); + /****************** Parameter ******************/ + /**** md5 signature: 2f5e734c6e42280e9e364952ae484882 ****/ + %feature("compactdefaultargs") Parameter; + %feature("autodoc", "Returns parameter at the given index. + +Parameters +---------- +theIndex: int + +Returns +------- +float +") Parameter; + Standard_Real Parameter(Standard_Integer theIndex); + /****************** Parameters ******************/ /**** md5 signature: daf943ce276a3f498cf7feb206e7f048 ****/ %feature("compactdefaultargs") Parameters; - %feature("autodoc", "Returns the table of the parameters associated with each node in this polygon. warning use the function hasparameters to check if parameters are associated with the nodes in this polygon. + %feature("autodoc", "Returns the table of the parameters associated with each node in this polygon. warning! use the function hasparameters to check if parameters are associated with the nodes in this polygon. Returns ------- @@ -1398,15 +2274,47 @@ opencascade::handle ") Parameters; const opencascade::handle & Parameters(); - /****************** SetParameters ******************/ - /**** md5 signature: 7e854a225b1c5a73057ee36a637ee884 ****/ - %feature("compactdefaultargs") SetParameters; - %feature("autodoc", "Sets the table of the parameters associated with each node in this polygon. raises exception if array size doesn't much number of polygon nodes. + /****************** SetNode ******************/ + /**** md5 signature: 6dafb5b35480fc427463237a0f797a89 ****/ + %feature("compactdefaultargs") SetNode; + %feature("autodoc", "Sets node at the given index. Parameters ---------- -theParameters: TColStd_HArray1OfReal - +theIndex: int +theNode: int + +Returns +------- +None +") SetNode; + void SetNode(Standard_Integer theIndex, Standard_Integer theNode); + + /****************** SetParameter ******************/ + /**** md5 signature: 222a24354720b23b67bfff1614cffd76 ****/ + %feature("compactdefaultargs") SetParameter; + %feature("autodoc", "Sets parameter at the given index. + +Parameters +---------- +theIndex: int +theValue: float + +Returns +------- +None +") SetParameter; + void SetParameter(Standard_Integer theIndex, Standard_Real theValue); + + /****************** SetParameters ******************/ + /**** md5 signature: 7e854a225b1c5a73057ee36a637ee884 ****/ + %feature("compactdefaultargs") SetParameters; + %feature("autodoc", "Sets the table of the parameters associated with each node in this polygon. raises exception if array size doesn't much number of polygon nodes. + +Parameters +---------- +theParameters: TColStd_HArray1OfReal + Returns ------- None @@ -1549,21 +2457,34 @@ int class Poly_Triangulation : public Standard_Transient { public: /****************** Poly_Triangulation ******************/ - /**** md5 signature: 8341ada4161e016e785939dd9244fa45 ****/ + /**** md5 signature: fb64c7c55a06db0e43a312bf4d247ed4 ****/ %feature("compactdefaultargs") Poly_Triangulation; - %feature("autodoc", "Constructs a triangulation from a set of triangles. the triangulation is initialized without a triangle or a node, but capable of containing nbnodes nodes, and nbtriangles triangles. here the uvnodes flag indicates whether 2d nodes will be associated with 3d ones, (i.e. to enable a 2d representation). + %feature("autodoc", "Constructs an empty triangulation. + +Returns +------- +None +") Poly_Triangulation; + Poly_Triangulation(); + + /****************** Poly_Triangulation ******************/ + /**** md5 signature: cf580e761a0d35d2b1b1bf249127ab07 ****/ + %feature("compactdefaultargs") Poly_Triangulation; + %feature("autodoc", "Constructs a triangulation from a set of triangles. the triangulation is initialized without a triangle or a node, but capable of containing specified number of nodes and triangles. @param thenbnodes [in] number of nodes to allocate @param thenbtriangles [in] number of triangles to allocate @param thehasuvnodes [in] indicates whether 2d nodes will be associated with 3d ones, (i.e. to enable a 2d representation) @param thehasnormals [in] indicates whether normals will be given and associated with nodes. Parameters ---------- -nbNodes: int -nbTriangles: int -UVNodes: bool +theNbNodes: int +theNbTriangles: int +theHasUVNodes: bool +theHasNormals: bool,optional + default value is false Returns ------- None ") Poly_Triangulation; - Poly_Triangulation(const Standard_Integer nbNodes, const Standard_Integer nbTriangles, const Standard_Boolean UVNodes); + Poly_Triangulation(const Standard_Integer theNbNodes, const Standard_Integer theNbTriangles, const Standard_Boolean theHasUVNodes, const Standard_Boolean theHasNormals = false); /****************** Poly_Triangulation ******************/ /**** md5 signature: 5868e2be354e056689e3361d93e4d1a9 ****/ @@ -1613,47 +2534,43 @@ None ") Poly_Triangulation; Poly_Triangulation(const opencascade::handle & theTriangulation); - /****************** ChangeNode ******************/ - /**** md5 signature: fa4e4a3502f183b462ac1eeeddb886b3 ****/ - %feature("compactdefaultargs") ChangeNode; - %feature("autodoc", "Give access to the node at the given index. raises standard_outofrange exception if theindex is less than 1 or greater than nbnodes. - -Parameters ----------- -theIndex: int + /****************** AddNormals ******************/ + /**** md5 signature: 988703ac37188d57b77d5222e786606b ****/ + %feature("compactdefaultargs") AddNormals; + %feature("autodoc", "If an array for normals is not allocated yet, do it now. Returns ------- -gp_Pnt -") ChangeNode; - gp_Pnt ChangeNode(const Standard_Integer theIndex); +None +") AddNormals; + void AddNormals(); - /****************** ChangeNodes ******************/ - /**** md5 signature: bc61f369247d26fc843e3e40e222a6e0 ****/ - %feature("compactdefaultargs") ChangeNodes; - %feature("autodoc", "Returns the table of 3d nodes (3d points) for this triangulation. the returned array is shared. therefore if the table is selected by reference, you can, by simply modifying it, directly modify the data structure of this triangulation. + /****************** AddUVNodes ******************/ + /**** md5 signature: aef4f8f1c7752e806298ac1fdb6f085e ****/ + %feature("compactdefaultargs") AddUVNodes; + %feature("autodoc", "If an array for uv coordinates is not allocated yet, do it now. Returns ------- -TColgp_Array1OfPnt -") ChangeNodes; - TColgp_Array1OfPnt & ChangeNodes(); +None +") AddUVNodes; + void AddUVNodes(); - /****************** ChangeNormals ******************/ - /**** md5 signature: 1dfff352fe8190fed215b0cd1a8bfcee ****/ - %feature("compactdefaultargs") ChangeNormals; - %feature("autodoc", "Gives access to the table of node normals. + /****************** CachedMinMax ******************/ + /**** md5 signature: 860f1473de4c867bdd1263481bff6a31 ****/ + %feature("compactdefaultargs") CachedMinMax; + %feature("autodoc", "Returns cached min - max range of triangulation data, which is void by default (e.g, no cached information). Returns ------- -TShort_Array1OfShortReal -") ChangeNormals; - TShort_Array1OfShortReal & ChangeNormals(); +Bnd_Box +") CachedMinMax; + const Bnd_Box & CachedMinMax(); /****************** ChangeTriangle ******************/ - /**** md5 signature: 942d50a55a5601fac4f74bb8616e013c ****/ + /**** md5 signature: 97503b6bcbbe63dc66901debc4bacfe4 ****/ %feature("compactdefaultargs") ChangeTriangle; - %feature("autodoc", "Give access to the triangle at the given index. raises standard_outofrange exception if theindex is less than 1 or greater than nbtriangles. + %feature("autodoc", "No available documentation. Parameters ---------- @@ -1668,7 +2585,7 @@ Poly_Triangle /****************** ChangeTriangles ******************/ /**** md5 signature: 93e00889ebc68a48adbbe563da75709d ****/ %feature("compactdefaultargs") ChangeTriangles; - %feature("autodoc", "Returns the table of triangles for this triangulation. function changeuvnodes shares the returned array. therefore if the table is selected by reference, you can, by simply modifying it, directly modify the data structure of this triangulation. + %feature("autodoc", "No available documentation. Returns ------- @@ -1676,31 +2593,27 @@ Poly_Array1OfTriangle ") ChangeTriangles; Poly_Array1OfTriangle & ChangeTriangles(); - /****************** ChangeUVNode ******************/ - /**** md5 signature: 978695900b7c1d9e9271b954a113b0bd ****/ - %feature("compactdefaultargs") ChangeUVNode; - %feature("autodoc", "Give access to the uvnode at the given index. raises standard_outofrange exception if theindex is less than 1 or greater than nbnodes. - -Parameters ----------- -theIndex: int + /****************** Clear ******************/ + /**** md5 signature: 1badd2d119b64dbdb177834e510c3af9 ****/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "Clears internal arrays of nodes and all attributes. Returns ------- -gp_Pnt2d -") ChangeUVNode; - gp_Pnt2d ChangeUVNode(const Standard_Integer theIndex); +None +") Clear; + virtual void Clear(); - /****************** ChangeUVNodes ******************/ - /**** md5 signature: 369d7a8ffd94f297e7de73a825b82e73 ****/ - %feature("compactdefaultargs") ChangeUVNodes; - %feature("autodoc", "Returns the table of 2d nodes (2d points) associated with each 3d node of this triangulation. function changeuvnodes shares the returned array. therefore if the table is selected by reference, you can, by simply modifying it, directly modify the data structure of this triangulation. + /****************** ComputeNormals ******************/ + /**** md5 signature: 110f2870d1645fb6f770425c5390b82b ****/ + %feature("compactdefaultargs") ComputeNormals; + %feature("autodoc", "Compute smooth normals by averaging triangle normals. Returns ------- -TColgp_Array1OfPnt2d -") ChangeUVNodes; - TColgp_Array1OfPnt2d & ChangeUVNodes(); +None +") ComputeNormals; + void ComputeNormals(); /****************** Copy ******************/ /**** md5 signature: eca097a0bd418e6d57a457eb92e7098f ****/ @@ -1725,7 +2638,7 @@ float Standard_Real Deflection(); /****************** Deflection ******************/ - /**** md5 signature: e3314129dc278c4d2782072a6d9cb7bb ****/ + /**** md5 signature: b86bc3614056d639b4f5cd50c01cdd01 ****/ %feature("compactdefaultargs") Deflection; %feature("autodoc", "Sets the deflection of this triangulation to thedeflection. see more on deflection in polygon2d. @@ -1739,6 +2652,22 @@ None ") Deflection; void Deflection(const Standard_Real theDeflection); + /****************** DetachedLoadDeferredData ******************/ + /**** md5 signature: 9af9a4d45f59e107cacdd9ec789b0012 ****/ + %feature("compactdefaultargs") DetachedLoadDeferredData; + %feature("autodoc", "Loads triangulation data into new poly_triangulation object from some deferred storage using specified shared input file system. + +Parameters +---------- +theFileSystem: OSD_FileSystem,optional + default value is opencascade::handle() + +Returns +------- +opencascade::handle +") DetachedLoadDeferredData; + virtual opencascade::handle DetachedLoadDeferredData(const opencascade::handle & theFileSystem = opencascade::handle()); + %feature("autodoc", "1"); %extend{ @@ -1747,8 +2676,41 @@ None self->DumpJson(s, depth); return s.str();} }; + /****************** HasCachedMinMax ******************/ + /**** md5 signature: f79a105a5bcf422403c5e9f9fd81b27f ****/ + %feature("compactdefaultargs") HasCachedMinMax; + %feature("autodoc", "Returns true if there is some cached min - max range of this triangulation. + +Returns +------- +bool +") HasCachedMinMax; + Standard_Boolean HasCachedMinMax(); + + /****************** HasDeferredData ******************/ + /**** md5 signature: 6d3e21e66856957a5fa945244fecad2c ****/ + %feature("compactdefaultargs") HasDeferredData; + %feature("autodoc", "Returns true if there is some triangulation data that can be loaded using loaddeferreddata(). + +Returns +------- +bool +") HasDeferredData; + virtual Standard_Boolean HasDeferredData(); + + /****************** HasGeometry ******************/ + /**** md5 signature: a4660e9afa0dc45d915e55b9cc6a1ce8 ****/ + %feature("compactdefaultargs") HasGeometry; + %feature("autodoc", "Returns true if triangulation has some geometry. + +Returns +------- +bool +") HasGeometry; + virtual Standard_Boolean HasGeometry(); + /****************** HasNormals ******************/ - /**** md5 signature: 181f2084bd118d7033834a50e616fde5 ****/ + /**** md5 signature: 07515066bfaef42256152544d89b8a1b ****/ %feature("compactdefaultargs") HasNormals; %feature("autodoc", "Returns standard_true if nodal normals are defined. @@ -1769,6 +2731,172 @@ bool ") HasUVNodes; Standard_Boolean HasUVNodes(); + /****************** InternalNodes ******************/ + /**** md5 signature: 403a5fe5cb6597f76bbee32dd2e0bec6 ****/ + %feature("compactdefaultargs") InternalNodes; + %feature("autodoc", "Returns an internal array of nodes. node()/setnode() should be used instead in portable code. + +Returns +------- +Poly_ArrayOfNodes +") InternalNodes; + Poly_ArrayOfNodes & InternalNodes(); + + /****************** InternalNormals ******************/ + /**** md5 signature: 93e4192abafb087bf6c239c37a37ebf6 ****/ + %feature("compactdefaultargs") InternalNormals; + %feature("autodoc", "Return an internal array of normals. normal()/setnormal() should be used instead in portable code. + +Returns +------- +NCollection_Array1 +") InternalNormals; + NCollection_Array1 InternalNormals(); + + /****************** InternalTriangles ******************/ + /**** md5 signature: 1a53bffdd17170444b156e94f8320fdf ****/ + %feature("compactdefaultargs") InternalTriangles; + %feature("autodoc", "Returns an internal array of triangles. triangle()/settriangle() should be used instead in portable code. + +Returns +------- +Poly_Array1OfTriangle +") InternalTriangles; + Poly_Array1OfTriangle & InternalTriangles(); + + /****************** InternalUVNodes ******************/ + /**** md5 signature: 59cea86b8917085f807b814917ebbb4e ****/ + %feature("compactdefaultargs") InternalUVNodes; + %feature("autodoc", "Returns an internal array of uv nodes. ubnode()/setuvnode() should be used instead in portable code. + +Returns +------- +Poly_ArrayOfUVNodes +") InternalUVNodes; + Poly_ArrayOfUVNodes & InternalUVNodes(); + + /****************** IsDoublePrecision ******************/ + /**** md5 signature: c768d26054fe7836c133ffb1451dd7cd ****/ + %feature("compactdefaultargs") IsDoublePrecision; + %feature("autodoc", "Returns true if node positions are defined with double precision; true by default. + +Returns +------- +bool +") IsDoublePrecision; + bool IsDoublePrecision(); + + /****************** LoadDeferredData ******************/ + /**** md5 signature: 24c1ab4ecc3f85c797488cce47e81392 ****/ + %feature("compactdefaultargs") LoadDeferredData; + %feature("autodoc", "Loads triangulation data into itself from some deferred storage using specified shared input file system. + +Parameters +---------- +theFileSystem: OSD_FileSystem,optional + default value is opencascade::handle() + +Returns +------- +bool +") LoadDeferredData; + virtual Standard_Boolean LoadDeferredData(const opencascade::handle & theFileSystem = opencascade::handle()); + + /****************** MapNodeArray ******************/ + /**** md5 signature: 9c275c60798ddd9c1b7e5d68f7c29b6d ****/ + %feature("compactdefaultargs") MapNodeArray; + %feature("autodoc", "Returns the table of 3d points for read-only access or null if nodes array is undefined. poly_triangulation::node() should be used instead when possible. returned object should not be used after poly_triangulation destruction. + +Returns +------- +opencascade::handle +") MapNodeArray; + opencascade::handle MapNodeArray(); + + /****************** MapNormalArray ******************/ + /**** md5 signature: 4ff4fd7887eef1b2c85132e2201f9244 ****/ + %feature("compactdefaultargs") MapNormalArray; + %feature("autodoc", "Returns the table of per-vertex normals for read-only access or null if normals array is undefined. poly_triangulation::normal() should be used instead when possible. returned object should not be used after poly_triangulation destruction. + +Returns +------- +opencascade::handle +") MapNormalArray; + opencascade::handle MapNormalArray(); + + /****************** MapTriangleArray ******************/ + /**** md5 signature: e5a1f4ced93fc073d52de30aa690a57d ****/ + %feature("compactdefaultargs") MapTriangleArray; + %feature("autodoc", "Returns the triangle array for read-only access or null if triangle array is undefined. poly_triangulation::triangle() should be used instead when possible. returned object should not be used after poly_triangulation destruction. + +Returns +------- +opencascade::handle +") MapTriangleArray; + opencascade::handle MapTriangleArray(); + + /****************** MapUVNodeArray ******************/ + /**** md5 signature: 06601b50e73ad7b0e2ea1e0a991dfb6f ****/ + %feature("compactdefaultargs") MapUVNodeArray; + %feature("autodoc", "Returns the table of 2d nodes for read-only access or null if uv nodes array is undefined. poly_triangulation::uvnode() should be used instead when possible. returned object should not be used after poly_triangulation destruction. + +Returns +------- +opencascade::handle +") MapUVNodeArray; + opencascade::handle MapUVNodeArray(); + + /****************** MeshPurpose ******************/ + /**** md5 signature: ba1e18e20d36cd45158708664262234a ****/ + %feature("compactdefaultargs") MeshPurpose; + %feature("autodoc", "Returns mesh purpose bits. + +Returns +------- +Poly_MeshPurpose +") MeshPurpose; + Poly_MeshPurpose MeshPurpose(); + + /****************** MinMax ******************/ + /**** md5 signature: 6e35e4cffcebf3b16403a57344e99893 ****/ + %feature("compactdefaultargs") MinMax; + %feature("autodoc", "Extends the passed box with bounding box of this triangulation. uses cached min - max range when available and: - input transformation thetrsf has no rotation part; - theisaccurate is set to false; - no triangulation data available (e.g. it is deferred and not loaded). @param thebox [in] [out] bounding box to extend by this triangulation @param thetrsf [in] optional transformation @param theisaccurate [in] when false, allows using a cached min - max range of this triangulation even for non-identity transformation. returns false if there is no any data to extend the passed box (no both triangulation and cached min - max range). + +Parameters +---------- +theBox: Bnd_Box +theTrsf: gp_Trsf +theIsAccurate: bool,optional + default value is false + +Returns +------- +bool +") MinMax; + Standard_Boolean MinMax(Bnd_Box & theBox, const gp_Trsf & theTrsf, const bool theIsAccurate = false); + + /****************** NbDeferredNodes ******************/ + /**** md5 signature: 181f24753f86afef53db878ca490cb7f ****/ + %feature("compactdefaultargs") NbDeferredNodes; + %feature("autodoc", "Returns number of deferred nodes that can be loaded using loaddeferreddata(). note: this is estimated values, which might be different from actually loaded values. always check triangulation size of actually loaded data in code to avoid out-of-range issues. + +Returns +------- +int +") NbDeferredNodes; + virtual Standard_Integer NbDeferredNodes(); + + /****************** NbDeferredTriangles ******************/ + /**** md5 signature: 6590098237c07bc2fc7c793b6ca3b413 ****/ + %feature("compactdefaultargs") NbDeferredTriangles; + %feature("autodoc", "Returns number of deferred triangles that can be loaded using loaddeferreddata(). note: this is estimated values, which might be different from actually loaded values always check triangulation size of actually loaded data in code to avoid out-of-range issues. + +Returns +------- +int +") NbDeferredTriangles; + virtual Standard_Integer NbDeferredTriangles(); + /****************** NbNodes ******************/ /**** md5 signature: e10a1e755c3c99568fdfec53b6a1d5d1 ****/ %feature("compactdefaultargs") NbNodes; @@ -1792,9 +2920,9 @@ int Standard_Integer NbTriangles(); /****************** Node ******************/ - /**** md5 signature: 86df678a3d98d54374f5f531a65a2fc7 ****/ + /**** md5 signature: 48e932705302aa5c401569deb665fd5b ****/ %feature("compactdefaultargs") Node; - %feature("autodoc", "Returns node at the given index. raises standard_outofrange exception if theindex is less than 1 or greater than nbnodes. + %feature("autodoc", "Returns a node at the given index. Parameters ---------- @@ -1804,49 +2932,80 @@ Returns ------- gp_Pnt ") Node; - const gp_Pnt Node(const Standard_Integer theIndex); + gp_Pnt Node(Standard_Integer theIndex); - /****************** Nodes ******************/ - /**** md5 signature: 63910e43049268bc77cc7eb526dc4294 ****/ - %feature("compactdefaultargs") Nodes; - %feature("autodoc", "Returns the table of 3d nodes (3d points) for this triangulation. + /****************** Normal ******************/ + /**** md5 signature: 253664a7e4e8068dfd6a122d8bad4c73 ****/ + %feature("compactdefaultargs") Normal; + %feature("autodoc", "Returns normal at the given index. + +Parameters +---------- +theIndex: int Returns ------- -TColgp_Array1OfPnt -") Nodes; - const TColgp_Array1OfPnt & Nodes(); +gp_Dir +") Normal; + gp_Dir Normal(Standard_Integer theIndex); /****************** Normal ******************/ - /**** md5 signature: 1f8c1bc50986664ddc2a6444da0aec81 ****/ + /**** md5 signature: 110aa4fbe5c4eb7a7d08446898f30660 ****/ %feature("compactdefaultargs") Normal; - %feature("autodoc", "Returns normal at the given index. raises standard_outofrange exception. + %feature("autodoc", "Returns normal at the given index. Parameters ---------- theIndex: int +theVec3: gp_Vec3f Returns ------- -gp_Dir +None ") Normal; - gp_Dir Normal(const Standard_Integer theIndex); + void Normal(Standard_Integer theIndex, gp_Vec3f & theVec3); + + /****************** Parameters ******************/ + /**** md5 signature: 6252211024a9c3cb02e54aa22a221883 ****/ + %feature("compactdefaultargs") Parameters; + %feature("autodoc", "Returns initial set of parameters used to generate this triangulation. + +Returns +------- +opencascade::handle +") Parameters; + const opencascade::handle & Parameters(); + + /****************** Parameters ******************/ + /**** md5 signature: 61d90060156bad034a55aa0c625a7f41 ****/ + %feature("compactdefaultargs") Parameters; + %feature("autodoc", "Updates initial set of parameters used to generate this triangulation. + +Parameters +---------- +theParams: Poly_TriangulationParameters + +Returns +------- +None +") Parameters; + void Parameters(const opencascade::handle & theParams); - /****************** Normals ******************/ - /**** md5 signature: 5caf9a2706fda608446853b1edfc2b27 ****/ - %feature("compactdefaultargs") Normals; - %feature("autodoc", "Returns the table of node normals. + /****************** RemoveNormals ******************/ + /**** md5 signature: 906873267f0d5cb3a94c9b91f41d3f43 ****/ + %feature("compactdefaultargs") RemoveNormals; + %feature("autodoc", "Deallocates the normals array. Returns ------- -TShort_Array1OfShortReal -") Normals; - const TShort_Array1OfShortReal & Normals(); +None +") RemoveNormals; + void RemoveNormals(); /****************** RemoveUVNodes ******************/ /**** md5 signature: 40045c3c77e535165bfc8c8523acf1d5 ****/ %feature("compactdefaultargs") RemoveUVNodes; - %feature("autodoc", "Deallocates the uv nodes. + %feature("autodoc", "Deallocates the uv nodes array. Returns ------- @@ -1854,10 +3013,119 @@ None ") RemoveUVNodes; void RemoveUVNodes(); + /****************** ResizeNodes ******************/ + /**** md5 signature: 3b86fbe9b3c9ba30b4ebf0344ad53a7b ****/ + %feature("compactdefaultargs") ResizeNodes; + %feature("autodoc", "Method resizing internal arrays of nodes (synchronously for all attributes). @param thenbnodes [in] new number of nodes @param thetocopyold [in] copy old nodes into the new array. + +Parameters +---------- +theNbNodes: int +theToCopyOld: bool + +Returns +------- +None +") ResizeNodes; + void ResizeNodes(Standard_Integer theNbNodes, Standard_Boolean theToCopyOld); + + /****************** ResizeTriangles ******************/ + /**** md5 signature: adc8606878f0507cdc07dcad06d7a5a2 ****/ + %feature("compactdefaultargs") ResizeTriangles; + %feature("autodoc", "Method resizing an internal array of triangles. @param thenbtriangles [in] new number of triangles @param thetocopyold [in] copy old triangles into the new array. + +Parameters +---------- +theNbTriangles: int +theToCopyOld: bool + +Returns +------- +None +") ResizeTriangles; + void ResizeTriangles(Standard_Integer theNbTriangles, Standard_Boolean theToCopyOld); + + /****************** SetCachedMinMax ******************/ + /**** md5 signature: 19ad72bfcaa33accf71079a046805f6c ****/ + %feature("compactdefaultargs") SetCachedMinMax; + %feature("autodoc", "Sets a cached min - max range of this triangulation. the bounding box should exactly match actual range of triangulation data without a gap or transformation, or otherwise undefined behavior will be observed. passing a void range invalidates the cache. + +Parameters +---------- +theBox: Bnd_Box + +Returns +------- +None +") SetCachedMinMax; + void SetCachedMinMax(const Bnd_Box & theBox); + + /****************** SetDoublePrecision ******************/ + /**** md5 signature: 6c35f8efef0e359ce10f5e168a8c2030 ****/ + %feature("compactdefaultargs") SetDoublePrecision; + %feature("autodoc", "Set if node positions should be defined with double or single precision for 3d and uv nodes. raises exception if data was already allocated. + +Parameters +---------- +theIsDouble: bool + +Returns +------- +None +") SetDoublePrecision; + void SetDoublePrecision(bool theIsDouble); + + /****************** SetMeshPurpose ******************/ + /**** md5 signature: 196379fb8aefcd5ad64b2c91f7fee649 ****/ + %feature("compactdefaultargs") SetMeshPurpose; + %feature("autodoc", "Sets mesh purpose bits. + +Parameters +---------- +thePurpose: Poly_MeshPurpose + +Returns +------- +None +") SetMeshPurpose; + void SetMeshPurpose(const Poly_MeshPurpose thePurpose); + + /****************** SetNode ******************/ + /**** md5 signature: 4c86150f9d355bdf6918f3438a943304 ****/ + %feature("compactdefaultargs") SetNode; + %feature("autodoc", "Sets a node coordinates. + +Parameters +---------- +theIndex: int +thePnt: gp_Pnt + +Returns +------- +None +") SetNode; + void SetNode(Standard_Integer theIndex, const gp_Pnt & thePnt); + /****************** SetNormal ******************/ - /**** md5 signature: 16090a2b1fc1f76d31b9afd2a0c42cc1 ****/ + /**** md5 signature: dc19aaf77561dbe449024631f4eeee1b ****/ %feature("compactdefaultargs") SetNormal; - %feature("autodoc", "Changes normal at the given index. raises standard_outofrange exception. + %feature("autodoc", "Changes normal at the given index. + +Parameters +---------- +theIndex: int +theNormal: gp_Vec3f + +Returns +------- +None +") SetNormal; + void SetNormal(const Standard_Integer theIndex, const gp_Vec3f & theNormal); + + /****************** SetNormal ******************/ + /**** md5 signature: 0fdfdf6eef8e01f6f44ef167778a8399 ****/ + %feature("compactdefaultargs") SetNormal; + %feature("autodoc", "Changes normal at the given index. Parameters ---------- @@ -1873,7 +3141,7 @@ None /****************** SetNormals ******************/ /**** md5 signature: 7c3a3b618d135482bdaa83f0ced5edb7 ****/ %feature("compactdefaultargs") SetNormals; - %feature("autodoc", "Sets the table of node normals. raises exception if length of thenormals != 3*nbnodes. + %feature("autodoc", "No available documentation. Parameters ---------- @@ -1885,10 +3153,42 @@ None ") SetNormals; void SetNormals(const opencascade::handle & theNormals); + /****************** SetTriangle ******************/ + /**** md5 signature: 95a552e8aa9d409a641c1fe5418519b3 ****/ + %feature("compactdefaultargs") SetTriangle; + %feature("autodoc", "Sets a triangle. + +Parameters +---------- +theIndex: int +theTriangle: Poly_Triangle + +Returns +------- +None +") SetTriangle; + void SetTriangle(Standard_Integer theIndex, const Poly_Triangle & theTriangle); + + /****************** SetUVNode ******************/ + /**** md5 signature: 75f2dd3953e33c453b0caa0b3b20f49f ****/ + %feature("compactdefaultargs") SetUVNode; + %feature("autodoc", "Sets an uv-node coordinates. + +Parameters +---------- +theIndex: int +thePnt: gp_Pnt2d + +Returns +------- +None +") SetUVNode; + void SetUVNode(Standard_Integer theIndex, const gp_Pnt2d & thePnt); + /****************** Triangle ******************/ - /**** md5 signature: 4b478dad3ef750a602442807b17fca5a ****/ + /**** md5 signature: 3883dfb3e28eb482bbc2fa1ac9c0a8bd ****/ %feature("compactdefaultargs") Triangle; - %feature("autodoc", "Returns triangle at the given index. raises standard_outofrange exception if theindex is less than 1 or greater than nbtriangles. + %feature("autodoc", "Returns triangle at the given index. Parameters ---------- @@ -1898,12 +3198,12 @@ Returns ------- Poly_Triangle ") Triangle; - const Poly_Triangle & Triangle(const Standard_Integer theIndex); + const Poly_Triangle & Triangle(Standard_Integer theIndex); /****************** Triangles ******************/ /**** md5 signature: ba43a8d32c20fbeb1020e37bd97d4aca ****/ %feature("compactdefaultargs") Triangles; - %feature("autodoc", "Returns the table of triangles for this triangulation. + %feature("autodoc", "No available documentation. Returns ------- @@ -1912,9 +3212,9 @@ Poly_Array1OfTriangle const Poly_Array1OfTriangle & Triangles(); /****************** UVNode ******************/ - /**** md5 signature: 45592da925c13e10349c0f573d7d2cd6 ****/ + /**** md5 signature: 30f3fd5f160869900c18f852f4c89b00 ****/ %feature("compactdefaultargs") UVNode; - %feature("autodoc", "Returns uvnode at the given index. raises standard_outofrange exception if theindex is less than 1 or greater than nbnodes. + %feature("autodoc", "Returns uv-node at the given index. Parameters ---------- @@ -1924,18 +3224,29 @@ Returns ------- gp_Pnt2d ") UVNode; - const gp_Pnt2d UVNode(const Standard_Integer theIndex); + gp_Pnt2d UVNode(Standard_Integer theIndex); - /****************** UVNodes ******************/ - /**** md5 signature: 49590b14d68f909a1de6ea52cb486d50 ****/ - %feature("compactdefaultargs") UVNodes; - %feature("autodoc", "Returns the table of 2d nodes (2d points) associated with each 3d node of this triangulation. the function hasuvnodes checks if 2d nodes are associated with the 3d nodes of this triangulation. const reference on the 2d nodes values. + /****************** UnloadDeferredData ******************/ + /**** md5 signature: 7d284011e56d3e968d822420287d0f32 ****/ + %feature("compactdefaultargs") UnloadDeferredData; + %feature("autodoc", "Releases triangulation data if it has connected deferred storage. Returns ------- -TColgp_Array1OfPnt2d -") UVNodes; - const TColgp_Array1OfPnt2d & UVNodes(); +bool +") UnloadDeferredData; + virtual Standard_Boolean UnloadDeferredData(); + + /****************** UpdateCachedMinMax ******************/ + /**** md5 signature: 4c361d8b4180a1ed7c2336bf5a7b6550 ****/ + %feature("compactdefaultargs") UpdateCachedMinMax; + %feature("autodoc", "Updates cached min - max range of this triangulation with bounding box of nodal data. + +Returns +------- +None +") UpdateCachedMinMax; + void UpdateCachedMinMax(); }; @@ -1948,6 +3259,108 @@ TColgp_Array1OfPnt2d } }; +/************************************* +* class Poly_TriangulationParameters * +*************************************/ +class Poly_TriangulationParameters : public Standard_Transient { + public: + /****************** Poly_TriangulationParameters ******************/ + /**** md5 signature: 2846ec507556dc9aeed354635ae24a71 ****/ + %feature("compactdefaultargs") Poly_TriangulationParameters; + %feature("autodoc", "Constructor. initializes object with the given parameters. @param thedeflection linear deflection @param theangle angular deflection @param theminsize minimum size. + +Parameters +---------- +theDeflection: float,optional + default value is -1 +theAngle: float,optional + default value is -1 +theMinSize: float,optional + default value is -1 + +Returns +------- +None +") Poly_TriangulationParameters; + Poly_TriangulationParameters(const Standard_Real theDeflection = -1, const Standard_Real theAngle = -1, const Standard_Real theMinSize = -1); + + /****************** Angle ******************/ + /**** md5 signature: 2e7a91a67b1745bc9ecd36bc3650ed68 ****/ + %feature("compactdefaultargs") Angle; + %feature("autodoc", "Returns angular deflection or -1 if undefined. + +Returns +------- +float +") Angle; + Standard_Real Angle(); + + /****************** Deflection ******************/ + /**** md5 signature: 6fb4c31e8f4445c1597fc8b70a63cbfb ****/ + %feature("compactdefaultargs") Deflection; + %feature("autodoc", "Returns linear deflection or -1 if undefined. + +Returns +------- +float +") Deflection; + Standard_Real Deflection(); + + /****************** HasAngle ******************/ + /**** md5 signature: c1223160f2439e874120d1b51f6c461c ****/ + %feature("compactdefaultargs") HasAngle; + %feature("autodoc", "Returns true if angular deflection is defined. + +Returns +------- +bool +") HasAngle; + Standard_Boolean HasAngle(); + + /****************** HasDeflection ******************/ + /**** md5 signature: 90ac27dcf3a3d8ea534c31817e1d0330 ****/ + %feature("compactdefaultargs") HasDeflection; + %feature("autodoc", "Returns true if linear deflection is defined. + +Returns +------- +bool +") HasDeflection; + Standard_Boolean HasDeflection(); + + /****************** HasMinSize ******************/ + /**** md5 signature: d918376e08395b3d644d99b6d1b1d4f9 ****/ + %feature("compactdefaultargs") HasMinSize; + %feature("autodoc", "Returns true if minimum size is defined. + +Returns +------- +bool +") HasMinSize; + Standard_Boolean HasMinSize(); + + /****************** MinSize ******************/ + /**** md5 signature: e59d58f0974e9001490d4ab40193a04b ****/ + %feature("compactdefaultargs") MinSize; + %feature("autodoc", "Returns minimum size or -1 if undefined. + +Returns +------- +float +") MinSize; + Standard_Real MinSize(); + +}; + + +%make_alias(Poly_TriangulationParameters) + +%extend Poly_TriangulationParameters { + %pythoncode { + __repr__ = _dumps_object + } +}; + /************************* * class Poly_MakeLoops2D * *************************/ diff --git a/src/SWIG_files/wrapper/Poly.pyi b/src/SWIG_files/wrapper/Poly.pyi index 909723304..531875bfe 100644 --- a/src/SWIG_files/wrapper/Poly.pyi +++ b/src/SWIG_files/wrapper/Poly.pyi @@ -6,6 +6,8 @@ from OCC.Core.NCollection import * from OCC.Core.gp import * from OCC.Core.TColgp import * from OCC.Core.TColStd import * +from OCC.Core.Bnd import * +from OCC.Core.OSD import * from OCC.Core.TShort import * #the following typedef cannot be wrapped as is @@ -14,6 +16,7 @@ Poly_BaseIteratorOfCoherentLink = NewType('Poly_BaseIteratorOfCoherentLink', Any Poly_BaseIteratorOfCoherentNode = NewType('Poly_BaseIteratorOfCoherentNode', Any) #the following typedef cannot be wrapped as is Poly_BaseIteratorOfCoherentTriangle = NewType('Poly_BaseIteratorOfCoherentTriangle', Any) +Poly_MeshPurpose = NewType('Poly_MeshPurpose', int) class Poly_Array1OfTriangle: @overload @@ -53,14 +56,59 @@ class Poly_ListOfTriangulation: def Value(self, theIndex: int) -> False: ... def SetValue(self, theIndex: int, theValue: False) -> None: ... + class poly: @staticmethod def Catenate(lstTri: Poly_ListOfTriangulation) -> Poly_Triangulation: ... @staticmethod def ComputeNormals(Tri: Poly_Triangulation) -> None: ... @staticmethod + def Intersect(theTri: Poly_Triangulation, theAxis: gp_Ax1, theIsClosest: bool, theTriangle: Poly_Triangle) -> Tuple[bool, float]: ... + @staticmethod + def IntersectTriLine(theStart: gp_XYZ, theDir: gp_Dir, theV0: gp_XYZ, theV1: gp_XYZ, theV2: gp_XYZ) -> Tuple[int, float]: ... + @staticmethod def PointOnTriangle(P1: gp_XY, P2: gp_XY, P3: gp_XY, P: gp_XY, UV: gp_XY) -> float: ... +class Poly_ArrayOfNodes(): + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theLength: int) -> None: ... + @overload + def __init__(self, theOther: Poly_ArrayOfNodes) -> None: ... + @overload + def __init__(self, theBegin: gp_Pnt, theLength: int) -> None: ... + @overload + def __init__(self, theBegin: gp_Vec3f, theLength: int) -> None: ... + @overload + def __init__(self, theOther: Poly_ArrayOfNodes) -> None: ... + def Assign(self, theOther: Poly_ArrayOfNodes) -> Poly_ArrayOfNodes: ... + def IsDoublePrecision(self) -> bool: ... + def Move(self, theOther: Poly_ArrayOfNodes) -> Poly_ArrayOfNodes: ... + def SetDoublePrecision(self, theIsDouble: bool) -> None: ... + def SetValue(self, theIndex: int, theValue: gp_Pnt) -> None: ... + def Value(self, theIndex: int) -> gp_Pnt: ... + +class Poly_ArrayOfUVNodes(): + @overload + def __init__(self) -> None: ... + @overload + def __init__(self, theLength: int) -> None: ... + @overload + def __init__(self, theOther: Poly_ArrayOfUVNodes) -> None: ... + @overload + def __init__(self, theBegin: gp_Pnt2d, theLength: int) -> None: ... + @overload + def __init__(self, theBegin: gp_Vec2f, theLength: int) -> None: ... + @overload + def __init__(self, theOther: Poly_ArrayOfUVNodes) -> None: ... + def Assign(self, theOther: Poly_ArrayOfUVNodes) -> Poly_ArrayOfUVNodes: ... + def IsDoublePrecision(self) -> bool: ... + def Move(self, theOther: Poly_ArrayOfUVNodes) -> Poly_ArrayOfUVNodes: ... + def SetDoublePrecision(self, theIsDouble: bool) -> None: ... + def SetValue(self, theIndex: int, theValue: gp_Pnt2d) -> None: ... + def Value(self, theIndex: int) -> gp_Pnt2d: ... + class Poly_CoherentLink: @overload def __init__(self) -> None: ... @@ -128,6 +176,28 @@ class Poly_Connect: def Triangulation(self) -> Poly_Triangulation: ... def Value(self) -> int: ... +class Poly_MergeNodesTool(Standard_Transient): + def AddQuad(self, theElemNodes_list: List[gp_XYZ]) -> None: ... + def AddTriangle(self, theElemNodes_list: List[gp_XYZ]) -> None: ... + def AddTriangulation(self, theTris: Poly_Triangulation, theTrsf: Optional[gp_Trsf] = gp_Trsf(), theToReverse: Optional[bool] = false) -> None: ... + def ChangeOutput(self) -> Poly_Triangulation: ... + def MergeAngle(self) -> False: ... + def MergeTolerance(self) -> False: ... + def NbDegenerativeElems(self) -> False: ... + def NbElements(self) -> False: ... + def NbMergedElems(self) -> False: ... + def NbNodes(self) -> False: ... + def PushLastQuad(self) -> None: ... + def PushLastTriangle(self) -> None: ... + def Result(self) -> Poly_Triangulation: ... + def SetDropDegenerative(self, theToDrop: bool) -> None: ... + def SetMergeElems(self, theToMerge: bool) -> None: ... + def SetMergeOpposite(self, theToMerge: bool) -> None: ... + def ToDropDegenerative(self) -> bool: ... + def ToMergeElems(self) -> bool: ... + def ToMergeOpposite(self) -> bool: ... + def computeTriNormal(self) -> float: ... + class Poly_Polygon2D(Standard_Transient): @overload def __init__(self, theNbNodes: int) -> None: ... @@ -176,8 +246,12 @@ class Poly_PolygonOnTriangulation(Standard_Transient): def Deflection(self, theDefl: float) -> None: ... def HasParameters(self) -> bool: ... def NbNodes(self) -> int: ... + def Node(self, theIndex: int) -> int: ... def Nodes(self) -> TColStd_Array1OfInteger: ... + def Parameter(self, theIndex: int) -> float: ... def Parameters(self) -> TColStd_HArray1OfReal: ... + def SetNode(self, theIndex: int, theNode: int) -> None: ... + def SetParameter(self, theIndex: int, theValue: float) -> None: ... def SetParameters(self, theParameters: TColStd_HArray1OfReal) -> None: ... class Poly_Triangle: @@ -196,40 +270,87 @@ class Poly_Triangle: class Poly_Triangulation(Standard_Transient): @overload - def __init__(self, nbNodes: int, nbTriangles: int, UVNodes: bool) -> None: ... + def __init__(self) -> None: ... + @overload + def __init__(self, theNbNodes: int, theNbTriangles: int, theHasUVNodes: bool, theHasNormals: Optional[bool] = false) -> None: ... @overload def __init__(self, Nodes: TColgp_Array1OfPnt, Triangles: Poly_Array1OfTriangle) -> None: ... @overload def __init__(self, Nodes: TColgp_Array1OfPnt, UVNodes: TColgp_Array1OfPnt2d, Triangles: Poly_Array1OfTriangle) -> None: ... @overload def __init__(self, theTriangulation: Poly_Triangulation) -> None: ... - def ChangeNode(self, theIndex: int) -> gp_Pnt: ... - def ChangeNodes(self) -> TColgp_Array1OfPnt: ... - def ChangeNormals(self) -> TShort_Array1OfShortReal: ... + def AddNormals(self) -> None: ... + def AddUVNodes(self) -> None: ... + def CachedMinMax(self) -> Bnd_Box: ... def ChangeTriangle(self, theIndex: int) -> Poly_Triangle: ... def ChangeTriangles(self) -> Poly_Array1OfTriangle: ... - def ChangeUVNode(self, theIndex: int) -> gp_Pnt2d: ... - def ChangeUVNodes(self) -> TColgp_Array1OfPnt2d: ... + def Clear(self) -> None: ... + def ComputeNormals(self) -> None: ... def Copy(self) -> Poly_Triangulation: ... @overload def Deflection(self) -> float: ... @overload def Deflection(self, theDeflection: float) -> None: ... + def DetachedLoadDeferredData(self, theFileSystem: Optional[OSD_FileSystem] = OSD_FileSystem()) -> Poly_Triangulation: ... + def HasCachedMinMax(self) -> bool: ... + def HasDeferredData(self) -> bool: ... + def HasGeometry(self) -> bool: ... def HasNormals(self) -> bool: ... def HasUVNodes(self) -> bool: ... + def InternalNodes(self) -> Poly_ArrayOfNodes: ... + def InternalNormals(self) -> False: ... + def InternalTriangles(self) -> Poly_Array1OfTriangle: ... + def InternalUVNodes(self) -> Poly_ArrayOfUVNodes: ... + def IsDoublePrecision(self) -> bool: ... + def LoadDeferredData(self, theFileSystem: Optional[OSD_FileSystem] = OSD_FileSystem()) -> bool: ... + def MapNodeArray(self) -> TColgp_HArray1OfPnt: ... + def MapNormalArray(self) -> TShort_HArray1OfShortReal: ... + def MapTriangleArray(self) -> Poly_HArray1OfTriangle: ... + def MapUVNodeArray(self) -> TColgp_HArray1OfPnt2d: ... + def MeshPurpose(self) -> Poly_MeshPurpose: ... + def MinMax(self, theBox: Bnd_Box, theTrsf: gp_Trsf, theIsAccurate: Optional[bool] = false) -> bool: ... + def NbDeferredNodes(self) -> int: ... + def NbDeferredTriangles(self) -> int: ... def NbNodes(self) -> int: ... def NbTriangles(self) -> int: ... def Node(self, theIndex: int) -> gp_Pnt: ... - def Nodes(self) -> TColgp_Array1OfPnt: ... + @overload def Normal(self, theIndex: int) -> gp_Dir: ... - def Normals(self) -> TShort_Array1OfShortReal: ... + @overload + def Normal(self, theIndex: int, theVec3: gp_Vec3f) -> None: ... + @overload + def Parameters(self) -> Poly_TriangulationParameters: ... + @overload + def Parameters(self, theParams: Poly_TriangulationParameters) -> None: ... + def RemoveNormals(self) -> None: ... def RemoveUVNodes(self) -> None: ... + def ResizeNodes(self, theNbNodes: int, theToCopyOld: bool) -> None: ... + def ResizeTriangles(self, theNbTriangles: int, theToCopyOld: bool) -> None: ... + def SetCachedMinMax(self, theBox: Bnd_Box) -> None: ... + def SetDoublePrecision(self, theIsDouble: bool) -> None: ... + def SetMeshPurpose(self, thePurpose: Poly_MeshPurpose) -> None: ... + def SetNode(self, theIndex: int, thePnt: gp_Pnt) -> None: ... + @overload + def SetNormal(self, theIndex: int, theNormal: gp_Vec3f) -> None: ... + @overload def SetNormal(self, theIndex: int, theNormal: gp_Dir) -> None: ... def SetNormals(self, theNormals: TShort_HArray1OfShortReal) -> None: ... + def SetTriangle(self, theIndex: int, theTriangle: Poly_Triangle) -> None: ... + def SetUVNode(self, theIndex: int, thePnt: gp_Pnt2d) -> None: ... def Triangle(self, theIndex: int) -> Poly_Triangle: ... def Triangles(self) -> Poly_Array1OfTriangle: ... def UVNode(self, theIndex: int) -> gp_Pnt2d: ... - def UVNodes(self) -> TColgp_Array1OfPnt2d: ... + def UnloadDeferredData(self) -> bool: ... + def UpdateCachedMinMax(self) -> None: ... + +class Poly_TriangulationParameters(Standard_Transient): + def __init__(self, theDeflection: Optional[float] = -1, theAngle: Optional[float] = -1, theMinSize: Optional[float] = -1) -> None: ... + def Angle(self) -> float: ... + def Deflection(self) -> float: ... + def HasAngle(self) -> bool: ... + def HasDeflection(self) -> bool: ... + def HasMinSize(self) -> bool: ... + def MinSize(self) -> float: ... #classnotwrapped class Poly_CoherentTriPtr: ... @@ -260,7 +381,10 @@ poly_ComputeNormals = poly.ComputeNormals poly_Dump = poly.Dump poly_Dump = poly.Dump poly_Dump = poly.Dump +poly_Intersect = poly.Intersect +poly_IntersectTriLine = poly.IntersectTriLine poly_PointOnTriangle = poly.PointOnTriangle poly_Write = poly.Write poly_Write = poly.Write poly_Write = poly.Write +Poly_MergeNodesTool_MergeNodes = Poly_MergeNodesTool.MergeNodes diff --git a/src/SWIG_files/wrapper/Precision.i b/src/SWIG_files/wrapper/Precision.i index 226095510..369e10bfc 100644 --- a/src/SWIG_files/wrapper/Precision.i +++ b/src/SWIG_files/wrapper/Precision.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define PRECISIONDOCSTRING "Precision module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_precision.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_precision.html" %enddef %module (package="OCC.Core", docstring=PRECISIONDOCSTRING) Precision @@ -58,7 +58,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/ProjLib.i b/src/SWIG_files/wrapper/ProjLib.i index 1d0a480b7..dee1c86ed 100644 --- a/src/SWIG_files/wrapper/ProjLib.i +++ b/src/SWIG_files/wrapper/ProjLib.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define PROJLIBDOCSTRING "ProjLib module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_projlib.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_projlib.html" %enddef %module (package="OCC.Core", docstring=PROJLIBDOCSTRING) ProjLib @@ -47,11 +47,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_projlib.html" #include #include #include +#include #include #include #include #include -#include #include #include #include @@ -66,11 +66,11 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_projlib.html" %import Geom2d.i %import gp.i %import Adaptor2d.i +%import Geom.i %import GeomAbs.i %import TColStd.i %import AppParCurves.i %import math.i -%import Geom.i %import GeomAdaptor.i %pythoncode { @@ -81,14 +81,15 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ /* handles */ -%wrap_handle(ProjLib_HCompProjectedCurve) -%wrap_handle(ProjLib_HProjectedCurve) +%wrap_handle(ProjLib_CompProjectedCurve) +%wrap_handle(ProjLib_ProjectOnPlane) +%wrap_handle(ProjLib_ProjectedCurve) %wrap_handle(ProjLib_HSequenceOfHSequenceOfPnt) /* end handles declaration */ @@ -104,6 +105,8 @@ from OCC.Core.Exception import * /* end templates declaration */ /* typedefs */ +typedef ProjLib_CompProjectedCurve ProjLib_HCompProjectedCurve; +typedef ProjLib_ProjectedCurve ProjLib_HProjectedCurve; typedef NCollection_Sequence> ProjLib_SequenceOfHSequenceOfPnt; /* end typedefs declaration */ @@ -114,19 +117,19 @@ typedef NCollection_Sequence> ProjLib class ProjLib { public: /****************** IsAnaSurf ******************/ - /**** md5 signature: 4ea8d0e9af36abaf035c27a554ceb7fa ****/ + /**** md5 signature: 409f5415ecf911e71bada1348ae276b0 ****/ %feature("compactdefaultargs") IsAnaSurf; %feature("autodoc", "Returns 'true' if surface is analytical, that is it can be plane, cylinder, cone, sphere, torus. for all other types of surface method returns 'false'. Parameters ---------- -theAS: Adaptor3d_HSurface +theAS: Adaptor3d_Surface Returns ------- bool ") IsAnaSurf; - static Standard_Boolean IsAnaSurf(const opencascade::handle & theAS); + static Standard_Boolean IsAnaSurf(const opencascade::handle & theAS); /****************** MakePCurveOfType ******************/ /**** md5 signature: 874915f47cdfd90614a48c32012a43ce ****/ @@ -426,14 +429,14 @@ None ProjLib_CompProjectedCurve(); /****************** ProjLib_CompProjectedCurve ******************/ - /**** md5 signature: a7e3e034951b8cd0d4ce3b91b069b3d9 ****/ + /**** md5 signature: 08dd3c7edaea388012cc726f98f9e13e ****/ %feature("compactdefaultargs") ProjLib_CompProjectedCurve; %feature("autodoc", "Try to find all solutions. Parameters ---------- -S: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S: Adaptor3d_Surface +C: Adaptor3d_Curve TolU: float TolV: float @@ -441,17 +444,17 @@ Returns ------- None ") ProjLib_CompProjectedCurve; - ProjLib_CompProjectedCurve(const opencascade::handle & S, const opencascade::handle & C, const Standard_Real TolU, const Standard_Real TolV); + ProjLib_CompProjectedCurve(const opencascade::handle & S, const opencascade::handle & C, const Standard_Real TolU, const Standard_Real TolV); /****************** ProjLib_CompProjectedCurve ******************/ - /**** md5 signature: a16b7212abfd4e7d3504b464616d2397 ****/ + /**** md5 signature: a5db5b76fcdc305ab156c65c2cd559a9 ****/ %feature("compactdefaultargs") ProjLib_CompProjectedCurve; %feature("autodoc", "This constructor tries to optimize the search using the assumption that maximum distance between surface and curve less or equal then maxdist. if maxdist < 0 then algorithm works as above. Parameters ---------- -S: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S: Adaptor3d_Surface +C: Adaptor3d_Curve TolU: float TolV: float MaxDist: float @@ -460,7 +463,26 @@ Returns ------- None ") ProjLib_CompProjectedCurve; - ProjLib_CompProjectedCurve(const opencascade::handle & S, const opencascade::handle & C, const Standard_Real TolU, const Standard_Real TolV, const Standard_Real MaxDist); + ProjLib_CompProjectedCurve(const opencascade::handle & S, const opencascade::handle & C, const Standard_Real TolU, const Standard_Real TolV, const Standard_Real MaxDist); + + /****************** ProjLib_CompProjectedCurve ******************/ + /**** md5 signature: 05bb3bd54ea40e0e7af3be7d2c911359 ****/ + %feature("compactdefaultargs") ProjLib_CompProjectedCurve; + %feature("autodoc", "This constructor tries to optimize the search using the assumption that maximum distance between surface and curve less or equal then maxdist. if maxdist < 0 then algorithm try to find all solutions tolerances of parameters are calculated automatically. + +Parameters +---------- +Tol3d: float +S: Adaptor3d_Surface +C: Adaptor3d_Curve +MaxDist: float,optional + default value is -1.0 + +Returns +------- +None +") ProjLib_CompProjectedCurve; + ProjLib_CompProjectedCurve(const Standard_Real Tol3d, const opencascade::handle & S, const opencascade::handle & C, const Standard_Real MaxDist = -1.0); /****************** Bounds ******************/ /**** md5 signature: 24282d415a0402b2ddb398db6e27be97 ****/ @@ -557,15 +579,142 @@ float Standard_Real FirstParameter(); /****************** GetCurve ******************/ - /**** md5 signature: 2dafd2c1a86bd5912cda3a4f5114b0ca ****/ + /**** md5 signature: c4c186157bff8d4b55a9d0a19a63ce6d ****/ %feature("compactdefaultargs") GetCurve; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") GetCurve; - const opencascade::handle & GetCurve(); + const opencascade::handle & GetCurve(); + + /****************** GetProj2d ******************/ + /**** md5 signature: 007fc2fbfc8771942194fc818ead51b5 ****/ + %feature("compactdefaultargs") GetProj2d; + %feature("autodoc", "Returns the parameter, which defines necessity of only 2d results. + +Returns +------- +bool +") GetProj2d; + Standard_Boolean GetProj2d(); + + /****************** GetProj3d ******************/ + /**** md5 signature: 5bc1d8a6587b179d2045e5157c866850 ****/ + %feature("compactdefaultargs") GetProj3d; + %feature("autodoc", "Returns the parameter, which defines necessity of only 3d results. + +Returns +------- +bool +") GetProj3d; + Standard_Boolean GetProj3d(); + + /****************** GetResult2dC ******************/ + /**** md5 signature: 96d965765f63b3b91f4cb37112eaa771 ****/ + %feature("compactdefaultargs") GetResult2dC; + %feature("autodoc", "Returns the resulting 2d-curve of projecting of the curve interval with number index. + +Parameters +---------- +theIndex: int + +Returns +------- +opencascade::handle +") GetResult2dC; + opencascade::handle GetResult2dC(const Standard_Integer theIndex); + + /****************** GetResult2dP ******************/ + /**** md5 signature: e5ed7efabb43e9a259abe437b09fea96 ****/ + %feature("compactdefaultargs") GetResult2dP; + %feature("autodoc", "Returns the resulting 2d-point of projecting of the curve interval with number index. + +Parameters +---------- +theIndex: int + +Returns +------- +gp_Pnt2d +") GetResult2dP; + gp_Pnt2d GetResult2dP(const Standard_Integer theIndex); + + /****************** GetResult2dUApproxError ******************/ + /**** md5 signature: a7c2281b27a985837ed11d6494634c9b ****/ + %feature("compactdefaultargs") GetResult2dUApproxError; + %feature("autodoc", "Returns the error of approximation of u parameter 2d-curve as a result projecting of the curve interval with number index. + +Parameters +---------- +theIndex: int + +Returns +------- +float +") GetResult2dUApproxError; + Standard_Real GetResult2dUApproxError(const Standard_Integer theIndex); + + /****************** GetResult2dVApproxError ******************/ + /**** md5 signature: 11b8dbfbde6c5749f403bfd3f4bbd1a1 ****/ + %feature("compactdefaultargs") GetResult2dVApproxError; + %feature("autodoc", "Returns the error of approximation of v parameter 2d-curve as a result projecting of the curve interval with number index. + +Parameters +---------- +theIndex: int + +Returns +------- +float +") GetResult2dVApproxError; + Standard_Real GetResult2dVApproxError(const Standard_Integer theIndex); + + /****************** GetResult3dApproxError ******************/ + /**** md5 signature: e2590f528d3ee217cdec7ce160b40731 ****/ + %feature("compactdefaultargs") GetResult3dApproxError; + %feature("autodoc", "Returns the error of approximation of 3d-curve as a result projecting of the curve interval with number index. + +Parameters +---------- +theIndex: int + +Returns +------- +float +") GetResult3dApproxError; + Standard_Real GetResult3dApproxError(const Standard_Integer theIndex); + + /****************** GetResult3dC ******************/ + /**** md5 signature: 7a13a149ade3dc00f611c82fbdffb5d0 ****/ + %feature("compactdefaultargs") GetResult3dC; + %feature("autodoc", "Returns the resulting 3d-curve of projecting of the curve interval with number index. + +Parameters +---------- +theIndex: int + +Returns +------- +opencascade::handle +") GetResult3dC; + opencascade::handle GetResult3dC(const Standard_Integer theIndex); + + /****************** GetResult3dP ******************/ + /**** md5 signature: 0e7d7f5de659e7d823081953d0527c61 ****/ + %feature("compactdefaultargs") GetResult3dP; + %feature("autodoc", "Returns the resulting 3d-point of projecting of the curve interval with number index. + +Parameters +---------- +theIndex: int + +Returns +------- +gp_Pnt +") GetResult3dP; + gp_Pnt GetResult3dP(const Standard_Integer theIndex); /****************** GetSequence ******************/ /**** md5 signature: e9bad1b71015b635dfab48628ac28803 ****/ @@ -579,15 +728,15 @@ opencascade::handle const opencascade::handle & GetSequence(); /****************** GetSurface ******************/ - /**** md5 signature: a4a1c7c92c718762dc89945deb151cb7 ****/ + /**** md5 signature: 56dff0248d5d8fc9e2bd341c8dad1556 ****/ %feature("compactdefaultargs") GetSurface; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") GetSurface; - const opencascade::handle & GetSurface(); + const opencascade::handle & GetSurface(); /****************** GetTolerance ******************/ /**** md5 signature: f8936a6db95965d7ff78da376cdea110 ****/ @@ -700,34 +849,34 @@ float Standard_Real LastParameter(); /****************** Load ******************/ - /**** md5 signature: 4e28ad4f267fb2bf6f257a9658f019ac ****/ + /**** md5 signature: 5fdedc45f7f3e3286603c8152dd5d5ba ****/ %feature("compactdefaultargs") Load; %feature("autodoc", "Changes the surface. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- None ") Load; - void Load(const opencascade::handle & S); + void Load(const opencascade::handle & S); /****************** Load ******************/ - /**** md5 signature: 7ec2d3d2173b0cd6b7f2097ff67dfa81 ****/ + /**** md5 signature: 01185c022b32d6c381a2144e2963295b ****/ %feature("compactdefaultargs") Load; %feature("autodoc", "Changes the curve. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") Load; - void Load(const opencascade::handle & C); + void Load(const opencascade::handle & C); /****************** MaxDistance ******************/ /**** md5 signature: 2482e25dc8d2cba55f7f64c41a0160e5 ****/ @@ -770,8 +919,124 @@ int ") NbIntervals; Standard_Integer NbIntervals(const GeomAbs_Shape S); + /****************** Perform ******************/ + /**** md5 signature: c04b01412cba7220c024b5eb4532697f ****/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "Performs projecting for given curve. if projecting uses approximation, approximation parameters can be set before by corresponding methods settol3d(...), secontinuity(...), setmaxdegree(...), setmaxseg(...). + +Returns +------- +None +") Perform; + void Perform(); + + /****************** ResultIsPoint ******************/ + /**** md5 signature: 8df4055fdfa68a6f03a84be17417af04 ****/ + %feature("compactdefaultargs") ResultIsPoint; + %feature("autodoc", "Returns true if result of projecting of the curve interval with number index is point. + +Parameters +---------- +theIndex: int + +Returns +------- +bool +") ResultIsPoint; + Standard_Boolean ResultIsPoint(const Standard_Integer theIndex); + + /****************** SetContinuity ******************/ + /**** md5 signature: 473faebb309a058577820ec9b582e0f6 ****/ + %feature("compactdefaultargs") SetContinuity; + %feature("autodoc", "Set the parameter, which defines curve continuity. default value is geomabs_c2;. + +Parameters +---------- +theContinuity: GeomAbs_Shape + +Returns +------- +None +") SetContinuity; + void SetContinuity(const GeomAbs_Shape theContinuity); + + /****************** SetMaxDegree ******************/ + /**** md5 signature: efc61408e3f0d1e41503836c049cbe18 ****/ + %feature("compactdefaultargs") SetMaxDegree; + %feature("autodoc", "Set max possible degree of result bspline curve2d, which is got by approximation. if maxdegree < 0, algorithm uses values that are chosen depending of types curve 3d and surface. + +Parameters +---------- +theMaxDegree: int + +Returns +------- +None +") SetMaxDegree; + void SetMaxDegree(const Standard_Integer theMaxDegree); + + /****************** SetMaxSeg ******************/ + /**** md5 signature: 66e7b336ed24a318e6679512ef71b3a7 ****/ + %feature("compactdefaultargs") SetMaxSeg; + %feature("autodoc", "Set the parameter, which defines maximal value of parametric intervals the projected curve can be cut for approximation. if maxseg < 0, algorithm uses default value = 16. + +Parameters +---------- +theMaxSeg: int + +Returns +------- +None +") SetMaxSeg; + void SetMaxSeg(const Standard_Integer theMaxSeg); + + /****************** SetProj2d ******************/ + /**** md5 signature: 7a320b8018cb550d84f2f2fcca0967e8 ****/ + %feature("compactdefaultargs") SetProj2d; + %feature("autodoc", "Set the parameter, which defines necessity of 2d results. + +Parameters +---------- +theProj2d: bool + +Returns +------- +None +") SetProj2d; + void SetProj2d(const Standard_Boolean theProj2d); + + /****************** SetProj3d ******************/ + /**** md5 signature: 5c98f0f94ea5c0ea4efb0e680a4a9679 ****/ + %feature("compactdefaultargs") SetProj3d; + %feature("autodoc", "Set the parameter, which defines necessity of 3d results. + +Parameters +---------- +theProj3d: bool + +Returns +------- +None +") SetProj3d; + void SetProj3d(const Standard_Boolean theProj3d); + + /****************** SetTol3d ******************/ + /**** md5 signature: e30512cadc319d04110248d2c13d0c2a ****/ + %feature("compactdefaultargs") SetTol3d; + %feature("autodoc", "Set the parameter, which defines 3d tolerance of approximation. + +Parameters +---------- +theTol3d: float + +Returns +------- +None +") SetTol3d; + void SetTol3d(const Standard_Real theTol3d); + /****************** Trim ******************/ - /**** md5 signature: 623ded740078dacb8936ca103506ad99 ****/ + /**** md5 signature: 8e64093bc793cc6590b82d43c4a17978 ****/ %feature("compactdefaultargs") Trim; %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 2d points confusion. if >= . @@ -783,9 +1048,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") Trim; - opencascade::handle Trim(const Standard_Real FirstParam, const Standard_Real LastParam, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real FirstParam, const Standard_Real LastParam, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: 91dcf5c5229f25c64d3a714347090b29 ****/ @@ -805,6 +1070,8 @@ gp_Pnt2d }; +%make_alias(ProjLib_CompProjectedCurve) + %extend ProjLib_CompProjectedCurve { %pythoncode { __repr__ = _dumps_object @@ -828,21 +1095,21 @@ None ProjLib_ComputeApprox(); /****************** ProjLib_ComputeApprox ******************/ - /**** md5 signature: 7c4894bf0bb138d2510fbc65a69a6a10 ****/ + /**** md5 signature: 6e6bbb92eece37105f669d98cd6b1394 ****/ %feature("compactdefaultargs") ProjLib_ComputeApprox; %feature("autodoc", " is the tolerance with which the approximation is performed. other parameters for approximation have default values. Parameters ---------- -C: Adaptor3d_HCurve -S: Adaptor3d_HSurface +C: Adaptor3d_Curve +S: Adaptor3d_Surface Tol: float Returns ------- None ") ProjLib_ComputeApprox; - ProjLib_ComputeApprox(const opencascade::handle & C, const opencascade::handle & S, const Standard_Real Tol); + ProjLib_ComputeApprox(const opencascade::handle & C, const opencascade::handle & S, const Standard_Real Tol); /****************** BSpline ******************/ /**** md5 signature: 990ef8e312bcecfd89dc4fcce5384c7d ****/ @@ -867,20 +1134,20 @@ opencascade::handle opencascade::handle Bezier(); /****************** Perform ******************/ - /**** md5 signature: d446ecbf3a39591baf4f9c1dc6ae542d ****/ + /**** md5 signature: 0c34f73535d2bab5ab08edde25a61f18 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs projecting. in case of approximation current values of parameters are used: default values or set by corresponding methods set... Parameters ---------- -C: Adaptor3d_HCurve -S: Adaptor3d_HSurface +C: Adaptor3d_Curve +S: Adaptor3d_Surface Returns ------- None ") Perform; - void Perform(const opencascade::handle & C, const opencascade::handle & S); + void Perform(const opencascade::handle & C, const opencascade::handle & S); /****************** SetBndPnt ******************/ /**** md5 signature: 83e95ddb03e3f36471306d61ee8ca703 ****/ @@ -980,14 +1247,14 @@ None ProjLib_ComputeApproxOnPolarSurface(); /****************** ProjLib_ComputeApproxOnPolarSurface ******************/ - /**** md5 signature: b7e66678196ac14f3227b34265a75e1f ****/ + /**** md5 signature: d0490d2e8ad01483388efe6cd271814b ****/ %feature("compactdefaultargs") ProjLib_ComputeApproxOnPolarSurface; %feature("autodoc", "Constructor, which performs projecting. Parameters ---------- -C: Adaptor3d_HCurve -S: Adaptor3d_HSurface +C: Adaptor3d_Curve +S: Adaptor3d_Surface Tol: float,optional default value is 1.0e-4 @@ -995,44 +1262,44 @@ Returns ------- None ") ProjLib_ComputeApproxOnPolarSurface; - ProjLib_ComputeApproxOnPolarSurface(const opencascade::handle & C, const opencascade::handle & S, const Standard_Real Tol = 1.0e-4); + ProjLib_ComputeApproxOnPolarSurface(const opencascade::handle & C, const opencascade::handle & S, const Standard_Real Tol = 1.0e-4); /****************** ProjLib_ComputeApproxOnPolarSurface ******************/ - /**** md5 signature: 900fa8ca5834433b6602044e5be38c2e ****/ + /**** md5 signature: 26723c3f812147a3071b4f1a8310e739 ****/ %feature("compactdefaultargs") ProjLib_ComputeApproxOnPolarSurface; %feature("autodoc", "Constructor, which performs projecting, using initial curve 2d initcurve2d, which is any rough approximation of result curve. parameter tol is 3d tolerance of approximation. Parameters ---------- -InitCurve2d: Adaptor2d_HCurve2d -C: Adaptor3d_HCurve -S: Adaptor3d_HSurface +InitCurve2d: Adaptor2d_Curve2d +C: Adaptor3d_Curve +S: Adaptor3d_Surface Tol: float Returns ------- None ") ProjLib_ComputeApproxOnPolarSurface; - ProjLib_ComputeApproxOnPolarSurface(const opencascade::handle & InitCurve2d, const opencascade::handle & C, const opencascade::handle & S, const Standard_Real Tol); + ProjLib_ComputeApproxOnPolarSurface(const opencascade::handle & InitCurve2d, const opencascade::handle & C, const opencascade::handle & S, const Standard_Real Tol); /****************** ProjLib_ComputeApproxOnPolarSurface ******************/ - /**** md5 signature: 845e5d8bb0f9f41dd87c48de8e627404 ****/ + /**** md5 signature: 302746a86975d11d0b69ccb9cfa8c8be ****/ %feature("compactdefaultargs") ProjLib_ComputeApproxOnPolarSurface; %feature("autodoc", "Constructor, which performs projecting, using two initial curves 2d: initcurve2d and initcurve2dbis that are any rough approximations of result curves. this constructor is used to get two pcurves for seem edge. parameter tol is 3d tolerance of approximation. Parameters ---------- -InitCurve2d: Adaptor2d_HCurve2d -InitCurve2dBis: Adaptor2d_HCurve2d -C: Adaptor3d_HCurve -S: Adaptor3d_HSurface +InitCurve2d: Adaptor2d_Curve2d +InitCurve2dBis: Adaptor2d_Curve2d +C: Adaptor3d_Curve +S: Adaptor3d_Surface Tol: float Returns ------- None ") ProjLib_ComputeApproxOnPolarSurface; - ProjLib_ComputeApproxOnPolarSurface(const opencascade::handle & InitCurve2d, const opencascade::handle & InitCurve2dBis, const opencascade::handle & C, const opencascade::handle & S, const Standard_Real Tol); + ProjLib_ComputeApproxOnPolarSurface(const opencascade::handle & InitCurve2d, const opencascade::handle & InitCurve2dBis, const opencascade::handle & C, const opencascade::handle & S, const Standard_Real Tol); /****************** BSpline ******************/ /**** md5 signature: 990ef8e312bcecfd89dc4fcce5384c7d ****/ @@ -1046,20 +1313,20 @@ opencascade::handle opencascade::handle BSpline(); /****************** BuildInitialCurve2d ******************/ - /**** md5 signature: 9fdb01557bf42e018e26c2897d17d64e ****/ + /**** md5 signature: 05adce7fea9e40e792f1212d9ed1cd2d ****/ %feature("compactdefaultargs") BuildInitialCurve2d; - %feature("autodoc", "Builds initial 2d curve as bspline with degree = 1 using extrema algoritm. method is used in method perform(...). + %feature("autodoc", "Builds initial 2d curve as bspline with degree = 1 using extrema algorithm. method is used in method perform(...). Parameters ---------- -Curve: Adaptor3d_HCurve -S: Adaptor3d_HSurface +Curve: Adaptor3d_Curve +S: Adaptor3d_Surface Returns ------- -opencascade::handle +opencascade::handle ") BuildInitialCurve2d; - opencascade::handle BuildInitialCurve2d(const opencascade::handle & Curve, const opencascade::handle & S); + opencascade::handle BuildInitialCurve2d(const opencascade::handle & Curve, const opencascade::handle & S); /****************** Curve2d ******************/ /**** md5 signature: 2238084fe0748f28af09927c40970ede ****/ @@ -1084,54 +1351,54 @@ bool Standard_Boolean IsDone(); /****************** Perform ******************/ - /**** md5 signature: d446ecbf3a39591baf4f9c1dc6ae542d ****/ + /**** md5 signature: 0c34f73535d2bab5ab08edde25a61f18 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Method, which performs projecting, using default values of parameters or they must be set by corresponding methods before using. Parameters ---------- -C: Adaptor3d_HCurve -S: Adaptor3d_HSurface +C: Adaptor3d_Curve +S: Adaptor3d_Surface Returns ------- None ") Perform; - void Perform(const opencascade::handle & C, const opencascade::handle & S); + void Perform(const opencascade::handle & C, const opencascade::handle & S); /****************** Perform ******************/ - /**** md5 signature: 5a33a0b48c117d0ce48bbbe01744bca5 ****/ + /**** md5 signature: 96366b287f4e6016f04fb0468a888911 ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Method, which performs projecting, using default values of parameters or they must be set by corresponding methods before using. parameter initcurve2d is any rough estimation of 2d result curve. Parameters ---------- -InitCurve2d: Adaptor2d_HCurve2d -C: Adaptor3d_HCurve -S: Adaptor3d_HSurface +InitCurve2d: Adaptor2d_Curve2d +C: Adaptor3d_Curve +S: Adaptor3d_Surface Returns ------- opencascade::handle ") Perform; - opencascade::handle Perform(const opencascade::handle & InitCurve2d, const opencascade::handle & C, const opencascade::handle & S); + opencascade::handle Perform(const opencascade::handle & InitCurve2d, const opencascade::handle & C, const opencascade::handle & S); /****************** ProjectUsingInitialCurve2d ******************/ - /**** md5 signature: 3e39f2136c785561c6394b72b31783b1 ****/ + /**** md5 signature: 3900b16638c8542857f0acb902b2c4f7 ****/ %feature("compactdefaultargs") ProjectUsingInitialCurve2d; %feature("autodoc", "Method, which performs projecting. method is used in method perform(...). Parameters ---------- -Curve: Adaptor3d_HCurve -S: Adaptor3d_HSurface -InitCurve2d: Adaptor2d_HCurve2d +Curve: Adaptor3d_Curve +S: Adaptor3d_Surface +InitCurve2d: Adaptor2d_Curve2d Returns ------- opencascade::handle ") ProjectUsingInitialCurve2d; - opencascade::handle ProjectUsingInitialCurve2d(const opencascade::handle & Curve, const opencascade::handle & S, const opencascade::handle & InitCurve2d); + opencascade::handle ProjectUsingInitialCurve2d(const opencascade::handle & Curve, const opencascade::handle & S, const opencascade::handle & InitCurve2d); /****************** SetBndPnt ******************/ /**** md5 signature: 83e95ddb03e3f36471306d61ee8ca703 ****/ @@ -1167,7 +1434,7 @@ None /****************** SetMaxDist ******************/ /**** md5 signature: 42d3e5302e76e2f097ff4b175c4b2803 ****/ %feature("compactdefaultargs") SetMaxDist; - %feature("autodoc", "Set the parameter, which defines maximal possible distance between projected curve and surface. it is used only for projecting on not analytical surfaces. if themaxdist < 0, algoritm uses default value 100.*tolerance. if real distance between curve and surface more then themaxdist, algorithm stops working. + %feature("autodoc", "Set the parameter, which defines maximal possible distance between projected curve and surface. it is used only for projecting on not analytical surfaces. if themaxdist < 0, algorithm uses default value 100.*tolerance. if real distance between curve and surface more then themaxdist, algorithm stops working. Parameters ---------- @@ -1229,186 +1496,28 @@ float } }; -/************************************ -* class ProjLib_HCompProjectedCurve * -************************************/ -class ProjLib_HCompProjectedCurve : public Adaptor2d_HCurve2d { - public: - /****************** ProjLib_HCompProjectedCurve ******************/ - /**** md5 signature: 3ecaa2ad5d82bf2aa9ff327aab54cf2d ****/ - %feature("compactdefaultargs") ProjLib_HCompProjectedCurve; - %feature("autodoc", "Creates an empty genhcurve2d. - -Returns -------- -None -") ProjLib_HCompProjectedCurve; - ProjLib_HCompProjectedCurve(); - - /****************** ProjLib_HCompProjectedCurve ******************/ - /**** md5 signature: 9bf654b49337e561275b4a580c472f55 ****/ - %feature("compactdefaultargs") ProjLib_HCompProjectedCurve; - %feature("autodoc", "Creates a genhcurve2d from a curve. - -Parameters ----------- -C: ProjLib_CompProjectedCurve - -Returns -------- -None -") ProjLib_HCompProjectedCurve; - ProjLib_HCompProjectedCurve(const ProjLib_CompProjectedCurve & C); - - /****************** ChangeCurve2d ******************/ - /**** md5 signature: f7f86956c0ba637a0f9c6048de02ef31 ****/ - %feature("compactdefaultargs") ChangeCurve2d; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -ProjLib_CompProjectedCurve -") ChangeCurve2d; - ProjLib_CompProjectedCurve & ChangeCurve2d(); - - /****************** Curve2d ******************/ - /**** md5 signature: 87546edb35f2000a54f99255bb8c94db ****/ - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", "Returns the curve used to create the genhcurve2d. this is redefined from hcurve2d, cannot be inline. - -Returns -------- -Adaptor2d_Curve2d -") Curve2d; - const Adaptor2d_Curve2d & Curve2d(); - - /****************** Set ******************/ - /**** md5 signature: 8ba622ae759f2a7bf42e2d500d284b8f ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve2d. - -Parameters ----------- -C: ProjLib_CompProjectedCurve - -Returns -------- -None -") Set; - void Set(const ProjLib_CompProjectedCurve & C); - -}; - - -%make_alias(ProjLib_HCompProjectedCurve) - -%extend ProjLib_HCompProjectedCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/******************************** -* class ProjLib_HProjectedCurve * -********************************/ -class ProjLib_HProjectedCurve : public Adaptor2d_HCurve2d { - public: - /****************** ProjLib_HProjectedCurve ******************/ - /**** md5 signature: 88449fe224eecf8f7bbfc5569769b3e9 ****/ - %feature("compactdefaultargs") ProjLib_HProjectedCurve; - %feature("autodoc", "Creates an empty genhcurve2d. - -Returns -------- -None -") ProjLib_HProjectedCurve; - ProjLib_HProjectedCurve(); - - /****************** ProjLib_HProjectedCurve ******************/ - /**** md5 signature: f04ab940032efcce7bc9fe8d490e5954 ****/ - %feature("compactdefaultargs") ProjLib_HProjectedCurve; - %feature("autodoc", "Creates a genhcurve2d from a curve. - -Parameters ----------- -C: ProjLib_ProjectedCurve - -Returns -------- -None -") ProjLib_HProjectedCurve; - ProjLib_HProjectedCurve(const ProjLib_ProjectedCurve & C); - - /****************** ChangeCurve2d ******************/ - /**** md5 signature: 686f86de8b255b7ca668d5dbaf4b03c6 ****/ - %feature("compactdefaultargs") ChangeCurve2d; - %feature("autodoc", "Returns the curve used to create the genhcurve. - -Returns -------- -ProjLib_ProjectedCurve -") ChangeCurve2d; - ProjLib_ProjectedCurve & ChangeCurve2d(); - - /****************** Curve2d ******************/ - /**** md5 signature: 87546edb35f2000a54f99255bb8c94db ****/ - %feature("compactdefaultargs") Curve2d; - %feature("autodoc", "Returns the curve used to create the genhcurve2d. this is redefined from hcurve2d, cannot be inline. - -Returns -------- -Adaptor2d_Curve2d -") Curve2d; - const Adaptor2d_Curve2d & Curve2d(); - - /****************** Set ******************/ - /**** md5 signature: 785fe0defe0ffbf47b4e01938ce190e7 ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the field of the genhcurve2d. - -Parameters ----------- -C: ProjLib_ProjectedCurve - -Returns -------- -None -") Set; - void Set(const ProjLib_ProjectedCurve & C); - -}; - - -%make_alias(ProjLib_HProjectedCurve) - -%extend ProjLib_HProjectedCurve { - %pythoncode { - __repr__ = _dumps_object - } -}; - /************************ * class ProjLib_PrjFunc * ************************/ class ProjLib_PrjFunc : public math_FunctionSetWithDerivatives { public: /****************** ProjLib_PrjFunc ******************/ - /**** md5 signature: 120b7bc7b0254663e57deac550cc038c ****/ + /**** md5 signature: b8f566acf7a0e9e08415dab3f6e4da36 ****/ %feature("compactdefaultargs") ProjLib_PrjFunc; %feature("autodoc", "No available documentation. Parameters ---------- -C: Adaptor3d_CurvePtr +C: Adaptor3d_Curve * FixVal: float -S: Adaptor3d_SurfacePtr +S: Adaptor3d_Surface * Fix: int Returns ------- None ") ProjLib_PrjFunc; - ProjLib_PrjFunc(const Adaptor3d_CurvePtr & C, const Standard_Real FixVal, const Adaptor3d_SurfacePtr & S, const Standard_Integer Fix); + ProjLib_PrjFunc(const Adaptor3d_Curve * C, const Standard_Real FixVal, const Adaptor3d_Surface * S, const Standard_Integer Fix); /****************** Derivatives ******************/ /**** md5 signature: 80ee5f16e62731c095910ad60228848b ****/ @@ -1537,7 +1646,7 @@ bool /****************** Perform ******************/ /**** md5 signature: 3e6c7ef4ff8082da8be8b1588435d3c7 ****/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Calculates the ort from c(t) to s with a close point. the close point is defined by the parameter values u0 and v0. the function f(u,v)=distance(s(u,v),c(t)) has an extremum when gradient(f)=0. the algorithm searchs a zero near the close point. + %feature("autodoc", "Calculates the ort from c(t) to s with a close point. the close point is defined by the parameter values u0 and v0. the function f(u,v)=distance(s(u,v),c(t)) has an extremum when gradient(f)=0. the algorithm searches a zero near the close point. Parameters ---------- @@ -1789,15 +1898,15 @@ float Standard_Real FirstParameter(); /****************** GetCurve ******************/ - /**** md5 signature: 2dafd2c1a86bd5912cda3a4f5114b0ca ****/ + /**** md5 signature: c4c186157bff8d4b55a9d0a19a63ce6d ****/ %feature("compactdefaultargs") GetCurve; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") GetCurve; - const opencascade::handle & GetCurve(); + const opencascade::handle & GetCurve(); /****************** GetDirection ******************/ /**** md5 signature: b6eb17b51f95e3e399a1271a423f3532 ****/ @@ -1822,15 +1931,15 @@ gp_Ax3 const gp_Ax3 GetPlane(); /****************** GetResult ******************/ - /**** md5 signature: 10a0abdf9d7ceafa53273593232c8ed6 ****/ + /**** md5 signature: f6ba5b1ad08f0e4df5c78e461cf39633 ****/ %feature("compactdefaultargs") GetResult; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") GetResult; - const opencascade::handle & GetResult(); + const opencascade::handle & GetResult(); /****************** GetType ******************/ /**** md5 signature: 0ad61dcbb5497908c1b536e766f0fcb9 ****/ @@ -1857,7 +1966,7 @@ gp_Hypr /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -1926,13 +2035,13 @@ gp_Lin gp_Lin Line(); /****************** Load ******************/ - /**** md5 signature: f65c8de6d296dca9a6b80f037128bc37 ****/ + /**** md5 signature: 31a752f627fb0153cb1407e5c6490ff4 ****/ %feature("compactdefaultargs") Load; - %feature("autodoc", "Sets the curve and perform the projection. if is true, the parametrization of the projected curve will be the same as the parametrization of the initial curve . it meens: proj(c(u)) = pc(u) for each u. otherwize, the parametrization may change. + %feature("autodoc", "Sets the curve and perform the projection. if is true, the parametrization of the projected curve will be the same as the parametrization of the initial curve . it means: proj(c(u)) = pc(u) for each u. otherwise, the parametrization may change. Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Tolerance: float KeepParametrization: bool,optional default value is Standard_True @@ -1941,7 +2050,7 @@ Returns ------- None ") Load; - void Load(const opencascade::handle & C, const Standard_Real Tolerance, const Standard_Boolean KeepParametrization = Standard_True); + void Load(const opencascade::handle & C, const Standard_Real Tolerance, const Standard_Boolean KeepParametrization = Standard_True); /****************** NbIntervals ******************/ /**** md5 signature: 8ce4f61bff96d1ce0784028b47edd8dc ****/ @@ -2018,7 +2127,7 @@ float Standard_Real Resolution(const Standard_Real R3d); /****************** Trim ******************/ - /**** md5 signature: 113944489c8ce9efcb5cb2d44fff51d7 ****/ + /**** md5 signature: 40a46ffe7379c6d919968b501b8343a5 ****/ %feature("compactdefaultargs") Trim; %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -2030,9 +2139,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: d7f310c73762cbaa285ace0a141bc7bf ****/ @@ -2052,6 +2161,8 @@ gp_Pnt }; +%make_alias(ProjLib_ProjectOnPlane) + %extend ProjLib_ProjectOnPlane { %pythoncode { __repr__ = _dumps_object @@ -2075,19 +2186,19 @@ None ProjLib_ProjectOnSurface(); /****************** ProjLib_ProjectOnSurface ******************/ - /**** md5 signature: 7ee7d94f2665b6bd5dce8b0872213d02 ****/ + /**** md5 signature: e0f2fe05c79663cd563fd99d0aa83d9f ****/ %feature("compactdefaultargs") ProjLib_ProjectOnSurface; - %feature("autodoc", "Create a projector normaly to the surface . + %feature("autodoc", "Create a projector normally to the surface . Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- None ") ProjLib_ProjectOnSurface; - ProjLib_ProjectOnSurface(const opencascade::handle & S); + ProjLib_ProjectOnSurface(const opencascade::handle & S); /****************** BSpline ******************/ /**** md5 signature: 496d8648e54b9bba1acabb31d1b7a380 ****/ @@ -2101,7 +2212,7 @@ opencascade::handle opencascade::handle BSpline(); /****************** IsDone ******************/ - /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ + /**** md5 signature: e385477ab1bec806154173d4a550fd68 ****/ %feature("compactdefaultargs") IsDone; %feature("autodoc", "No available documentation. @@ -2141,52 +2252,52 @@ None ProjLib_ProjectedCurve(); /****************** ProjLib_ProjectedCurve ******************/ - /**** md5 signature: 6e3d07889a90aa7da697f1d58ace3ab4 ****/ + /**** md5 signature: 806e5753a4ed213087d3260ea4e88cc4 ****/ %feature("compactdefaultargs") ProjLib_ProjectedCurve; %feature("autodoc", "Constructor with initialisation field mysurface. Parameters ---------- -S: Adaptor3d_HSurface +S: Adaptor3d_Surface Returns ------- None ") ProjLib_ProjectedCurve; - ProjLib_ProjectedCurve(const opencascade::handle & S); + ProjLib_ProjectedCurve(const opencascade::handle & S); /****************** ProjLib_ProjectedCurve ******************/ - /**** md5 signature: 10684abd3bdd6a4eb971f33f58b2fcd6 ****/ + /**** md5 signature: 5d1c7eb5c22d6e037ea9b3c4462a649d ****/ %feature("compactdefaultargs") ProjLib_ProjectedCurve; %feature("autodoc", "Constructor, which performs projecting. if projecting uses approximation, default parameters are used, in particular, 3d tolerance of approximation is precision::confusion(). Parameters ---------- -S: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S: Adaptor3d_Surface +C: Adaptor3d_Curve Returns ------- None ") ProjLib_ProjectedCurve; - ProjLib_ProjectedCurve(const opencascade::handle & S, const opencascade::handle & C); + ProjLib_ProjectedCurve(const opencascade::handle & S, const opencascade::handle & C); /****************** ProjLib_ProjectedCurve ******************/ - /**** md5 signature: 8a39bf49a3c66e0c953d638824602b0c ****/ + /**** md5 signature: 3d9164c6323fdb2132df526d14e5ec72 ****/ %feature("compactdefaultargs") ProjLib_ProjectedCurve; %feature("autodoc", "Constructor, which performs projecting. if projecting uses approximation, 3d tolerance is tol, default parameters are used, . Parameters ---------- -S: Adaptor3d_HSurface -C: Adaptor3d_HCurve +S: Adaptor3d_Surface +C: Adaptor3d_Curve Tol: float Returns ------- None ") ProjLib_ProjectedCurve; - ProjLib_ProjectedCurve(const opencascade::handle & S, const opencascade::handle & C, const Standard_Real Tol); + ProjLib_ProjectedCurve(const opencascade::handle & S, const opencascade::handle & C, const Standard_Real Tol); /****************** BSpline ******************/ /**** md5 signature: 9439c331c4f14f299277aa5a4ff16cec ****/ @@ -2352,26 +2463,26 @@ float Standard_Real FirstParameter(); /****************** GetCurve ******************/ - /**** md5 signature: 2dafd2c1a86bd5912cda3a4f5114b0ca ****/ + /**** md5 signature: c4c186157bff8d4b55a9d0a19a63ce6d ****/ %feature("compactdefaultargs") GetCurve; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") GetCurve; - const opencascade::handle & GetCurve(); + const opencascade::handle & GetCurve(); /****************** GetSurface ******************/ - /**** md5 signature: a4a1c7c92c718762dc89945deb151cb7 ****/ + /**** md5 signature: 56dff0248d5d8fc9e2bd341c8dad1556 ****/ %feature("compactdefaultargs") GetSurface; %feature("autodoc", "No available documentation. Returns ------- -opencascade::handle +opencascade::handle ") GetSurface; - const opencascade::handle & GetSurface(); + const opencascade::handle & GetSurface(); /****************** GetTolerance ******************/ /**** md5 signature: 0b68579e68d60bdd102d14afab21387e ****/ @@ -2409,7 +2520,7 @@ gp_Hypr2d /****************** Intervals ******************/ /**** md5 signature: fc573cb56cf1a9c05ee189fd913ff6f5 ****/ %feature("compactdefaultargs") Intervals; - %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accomodate for the parameters. i.e. t.length() > nbintervals(). + %feature("autodoc", "Stores in the parameters bounding the intervals of continuity . //! the array must provide enough room to accommodate for the parameters. i.e. t.length() > nbintervals(). Parameters ---------- @@ -2526,19 +2637,19 @@ gp_Parab2d gp_Parab2d Parabola(); /****************** Perform ******************/ - /**** md5 signature: b16044d0b6ab4a0f0ebe4930b8cca351 ****/ + /**** md5 signature: 9a095a38277b9f3df203b3cfa73b1f1d ****/ %feature("compactdefaultargs") Perform; %feature("autodoc", "Performs projecting for given curve. if projecting uses approximation, approximation parameters can be set before by corresponding methods setdegree(...), setmaxsegmets(...), setbndpnt(...), setmaxdist(...). Parameters ---------- -C: Adaptor3d_HCurve +C: Adaptor3d_Curve Returns ------- None ") Perform; - void Perform(const opencascade::handle & C); + void Perform(const opencascade::handle & C); /****************** Period ******************/ /**** md5 signature: 88909a321398632744c0d6841580c626 ****/ @@ -2600,7 +2711,7 @@ None /****************** SetMaxDist ******************/ /**** md5 signature: 42d3e5302e76e2f097ff4b175c4b2803 ****/ %feature("compactdefaultargs") SetMaxDist; - %feature("autodoc", "Set the parameter, which degines maximal possible distance between projected curve and surface. it uses only for projecting on not analytical surfaces. if themaxdist < 0, algoritm uses default value 100.*tolerance. if real distance between curve and surface more then themaxdist, algorithm stops working. + %feature("autodoc", "Set the parameter, which degines maximal possible distance between projected curve and surface. it uses only for projecting on not analytical surfaces. if themaxdist < 0, algorithm uses default value 100.*tolerance. if real distance between curve and surface more then themaxdist, algorithm stops working. Parameters ---------- @@ -2628,7 +2739,7 @@ None void SetMaxSegments(const Standard_Integer theMaxSegments); /****************** Trim ******************/ - /**** md5 signature: e1eef64565323d75c47ee19ca861de8d ****/ + /**** md5 signature: b5ce1c7f3b02aa6680da8e9ad704acc6 ****/ %feature("compactdefaultargs") Trim; %feature("autodoc", "Returns a curve equivalent of between parameters and . is used to test for 3d points confusion. if >= . @@ -2640,9 +2751,9 @@ Tol: float Returns ------- -opencascade::handle +opencascade::handle ") Trim; - opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); + opencascade::handle Trim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); /****************** Value ******************/ /**** md5 signature: 91dcf5c5229f25c64d3a714347090b29 ****/ @@ -2662,6 +2773,8 @@ gp_Pnt2d }; +%make_alias(ProjLib_ProjectedCurve) + %extend ProjLib_ProjectedCurve { %pythoncode { __repr__ = _dumps_object @@ -3859,4 +3972,6 @@ class ProjLib_HSequenceOfHSequenceOfPnt : public ProjLib_SequenceOfHSequenceOfPn /* class aliases */ %pythoncode { +ProjLib_HCompProjectedCurve=ProjLib_CompProjectedCurve +ProjLib_HProjectedCurve=ProjLib_ProjectedCurve } diff --git a/src/SWIG_files/wrapper/ProjLib.pyi b/src/SWIG_files/wrapper/ProjLib.pyi index e0a10673c..cba9c5e1f 100644 --- a/src/SWIG_files/wrapper/ProjLib.pyi +++ b/src/SWIG_files/wrapper/ProjLib.pyi @@ -8,13 +8,15 @@ from OCC.Core.Adaptor3d import * from OCC.Core.Geom2d import * from OCC.Core.gp import * from OCC.Core.Adaptor2d import * +from OCC.Core.Geom import * from OCC.Core.GeomAbs import * from OCC.Core.TColStd import * from OCC.Core.AppParCurves import * from OCC.Core.math import * -from OCC.Core.Geom import * from OCC.Core.GeomAdaptor import * +ProjLib_HCompProjectedCurve = NewType('ProjLib_HCompProjectedCurve', ProjLib_CompProjectedCurve) +ProjLib_HProjectedCurve = NewType('ProjLib_HProjectedCurve', ProjLib_ProjectedCurve) class ProjLib_SequenceOfHSequenceOfPnt: def __init__(self) -> None: ... @@ -33,7 +35,7 @@ class ProjLib_SequenceOfHSequenceOfPnt: class projlib: @staticmethod - def IsAnaSurf(theAS: Adaptor3d_HSurface) -> bool: ... + def IsAnaSurf(theAS: Adaptor3d_Surface) -> bool: ... @staticmethod def MakePCurveOfType(PC: ProjLib_ProjectedCurve, aC: Geom2d_Curve) -> None: ... @overload @@ -89,18 +91,29 @@ class ProjLib_CompProjectedCurve(Adaptor2d_Curve2d): @overload def __init__(self) -> None: ... @overload - def __init__(self, S: Adaptor3d_HSurface, C: Adaptor3d_HCurve, TolU: float, TolV: float) -> None: ... + def __init__(self, S: Adaptor3d_Surface, C: Adaptor3d_Curve, TolU: float, TolV: float) -> None: ... + @overload + def __init__(self, S: Adaptor3d_Surface, C: Adaptor3d_Curve, TolU: float, TolV: float, MaxDist: float) -> None: ... @overload - def __init__(self, S: Adaptor3d_HSurface, C: Adaptor3d_HCurve, TolU: float, TolV: float, MaxDist: float) -> None: ... + def __init__(self, Tol3d: float, S: Adaptor3d_Surface, C: Adaptor3d_Curve, MaxDist: Optional[float] = -1.0) -> None: ... def Bounds(self, Index: int) -> Tuple[float, float]: ... def D0(self, U: float, P: gp_Pnt2d) -> None: ... def D1(self, U: float, P: gp_Pnt2d, V: gp_Vec2d) -> None: ... def D2(self, U: float, P: gp_Pnt2d, V1: gp_Vec2d, V2: gp_Vec2d) -> None: ... def DN(self, U: float, N: int) -> gp_Vec2d: ... def FirstParameter(self) -> float: ... - def GetCurve(self) -> Adaptor3d_HCurve: ... + def GetCurve(self) -> Adaptor3d_Curve: ... + def GetProj2d(self) -> bool: ... + def GetProj3d(self) -> bool: ... + def GetResult2dC(self, theIndex: int) -> Geom2d_Curve: ... + def GetResult2dP(self, theIndex: int) -> gp_Pnt2d: ... + def GetResult2dUApproxError(self, theIndex: int) -> float: ... + def GetResult2dVApproxError(self, theIndex: int) -> float: ... + def GetResult3dApproxError(self, theIndex: int) -> float: ... + def GetResult3dC(self, theIndex: int) -> Geom_Curve: ... + def GetResult3dP(self, theIndex: int) -> gp_Pnt: ... def GetSequence(self) -> ProjLib_HSequenceOfHSequenceOfPnt: ... - def GetSurface(self) -> Adaptor3d_HSurface: ... + def GetSurface(self) -> Adaptor3d_Surface: ... def GetTolerance(self) -> Tuple[float, float]: ... def GetType(self) -> GeomAbs_CurveType: ... def Init(self) -> None: ... @@ -110,23 +123,31 @@ class ProjLib_CompProjectedCurve(Adaptor2d_Curve2d): def IsVIso(self, Index: int) -> Tuple[bool, float]: ... def LastParameter(self) -> float: ... @overload - def Load(self, S: Adaptor3d_HSurface) -> None: ... + def Load(self, S: Adaptor3d_Surface) -> None: ... @overload - def Load(self, C: Adaptor3d_HCurve) -> None: ... + def Load(self, C: Adaptor3d_Curve) -> None: ... def MaxDistance(self, Index: int) -> float: ... def NbCurves(self) -> int: ... def NbIntervals(self, S: GeomAbs_Shape) -> int: ... - def Trim(self, FirstParam: float, LastParam: float, Tol: float) -> Adaptor2d_HCurve2d: ... + def Perform(self) -> None: ... + def ResultIsPoint(self, theIndex: int) -> bool: ... + def SetContinuity(self, theContinuity: GeomAbs_Shape) -> None: ... + def SetMaxDegree(self, theMaxDegree: int) -> None: ... + def SetMaxSeg(self, theMaxSeg: int) -> None: ... + def SetProj2d(self, theProj2d: bool) -> None: ... + def SetProj3d(self, theProj3d: bool) -> None: ... + def SetTol3d(self, theTol3d: float) -> None: ... + def Trim(self, FirstParam: float, LastParam: float, Tol: float) -> Adaptor2d_Curve2d: ... def Value(self, U: float) -> gp_Pnt2d: ... class ProjLib_ComputeApprox: @overload def __init__(self) -> None: ... @overload - def __init__(self, C: Adaptor3d_HCurve, S: Adaptor3d_HSurface, Tol: float) -> None: ... + def __init__(self, C: Adaptor3d_Curve, S: Adaptor3d_Surface, Tol: float) -> None: ... def BSpline(self) -> Geom2d_BSplineCurve: ... def Bezier(self) -> Geom2d_BezierCurve: ... - def Perform(self, C: Adaptor3d_HCurve, S: Adaptor3d_HSurface) -> None: ... + def Perform(self, C: Adaptor3d_Curve, S: Adaptor3d_Surface) -> None: ... def SetBndPnt(self, theBndPnt: AppParCurves_Constraint) -> None: ... def SetDegree(self, theDegMin: int, theDegMax: int) -> None: ... def SetMaxSegments(self, theMaxSegments: int) -> None: ... @@ -137,20 +158,20 @@ class ProjLib_ComputeApproxOnPolarSurface: @overload def __init__(self) -> None: ... @overload - def __init__(self, C: Adaptor3d_HCurve, S: Adaptor3d_HSurface, Tol: Optional[float] = 1.0e-4) -> None: ... + def __init__(self, C: Adaptor3d_Curve, S: Adaptor3d_Surface, Tol: Optional[float] = 1.0e-4) -> None: ... @overload - def __init__(self, InitCurve2d: Adaptor2d_HCurve2d, C: Adaptor3d_HCurve, S: Adaptor3d_HSurface, Tol: float) -> None: ... + def __init__(self, InitCurve2d: Adaptor2d_Curve2d, C: Adaptor3d_Curve, S: Adaptor3d_Surface, Tol: float) -> None: ... @overload - def __init__(self, InitCurve2d: Adaptor2d_HCurve2d, InitCurve2dBis: Adaptor2d_HCurve2d, C: Adaptor3d_HCurve, S: Adaptor3d_HSurface, Tol: float) -> None: ... + def __init__(self, InitCurve2d: Adaptor2d_Curve2d, InitCurve2dBis: Adaptor2d_Curve2d, C: Adaptor3d_Curve, S: Adaptor3d_Surface, Tol: float) -> None: ... def BSpline(self) -> Geom2d_BSplineCurve: ... - def BuildInitialCurve2d(self, Curve: Adaptor3d_HCurve, S: Adaptor3d_HSurface) -> Adaptor2d_HCurve2d: ... + def BuildInitialCurve2d(self, Curve: Adaptor3d_Curve, S: Adaptor3d_Surface) -> Adaptor2d_Curve2d: ... def Curve2d(self) -> Geom2d_Curve: ... def IsDone(self) -> bool: ... @overload - def Perform(self, C: Adaptor3d_HCurve, S: Adaptor3d_HSurface) -> None: ... + def Perform(self, C: Adaptor3d_Curve, S: Adaptor3d_Surface) -> None: ... @overload - def Perform(self, InitCurve2d: Adaptor2d_HCurve2d, C: Adaptor3d_HCurve, S: Adaptor3d_HSurface) -> Geom2d_BSplineCurve: ... - def ProjectUsingInitialCurve2d(self, Curve: Adaptor3d_HCurve, S: Adaptor3d_HSurface, InitCurve2d: Adaptor2d_HCurve2d) -> Geom2d_BSplineCurve: ... + def Perform(self, InitCurve2d: Adaptor2d_Curve2d, C: Adaptor3d_Curve, S: Adaptor3d_Surface) -> Geom2d_BSplineCurve: ... + def ProjectUsingInitialCurve2d(self, Curve: Adaptor3d_Curve, S: Adaptor3d_Surface, InitCurve2d: Adaptor2d_Curve2d) -> Geom2d_BSplineCurve: ... def SetBndPnt(self, theBndPnt: AppParCurves_Constraint) -> None: ... def SetDegree(self, theDegMin: int, theDegMax: int) -> None: ... def SetMaxDist(self, theMaxDist: float) -> None: ... @@ -158,26 +179,8 @@ class ProjLib_ComputeApproxOnPolarSurface: def SetTolerance(self, theTolerance: float) -> None: ... def Tolerance(self) -> float: ... -class ProjLib_HCompProjectedCurve(Adaptor2d_HCurve2d): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: ProjLib_CompProjectedCurve) -> None: ... - def ChangeCurve2d(self) -> ProjLib_CompProjectedCurve: ... - def Curve2d(self) -> Adaptor2d_Curve2d: ... - def Set(self, C: ProjLib_CompProjectedCurve) -> None: ... - -class ProjLib_HProjectedCurve(Adaptor2d_HCurve2d): - @overload - def __init__(self) -> None: ... - @overload - def __init__(self, C: ProjLib_ProjectedCurve) -> None: ... - def ChangeCurve2d(self) -> ProjLib_ProjectedCurve: ... - def Curve2d(self) -> Adaptor2d_Curve2d: ... - def Set(self, C: ProjLib_ProjectedCurve) -> None: ... - class ProjLib_PrjFunc(math_FunctionSetWithDerivatives): - def __init__(self, C: Adaptor3d_CurvePtr, FixVal: float, S: Adaptor3d_SurfacePtr, Fix: int) -> None: ... + def __init__(self, C: Adaptor3d_Curve, FixVal: float, S: Adaptor3d_Surface, Fix: int) -> None: ... def Derivatives(self, X: math_Vector, D: math_Matrix) -> bool: ... def NbEquations(self) -> int: ... def NbVariables(self) -> int: ... @@ -210,10 +213,10 @@ class ProjLib_ProjectOnPlane(Adaptor3d_Curve): def Degree(self) -> int: ... def Ellipse(self) -> gp_Elips: ... def FirstParameter(self) -> float: ... - def GetCurve(self) -> Adaptor3d_HCurve: ... + def GetCurve(self) -> Adaptor3d_Curve: ... def GetDirection(self) -> gp_Dir: ... def GetPlane(self) -> gp_Ax3: ... - def GetResult(self) -> GeomAdaptor_HCurve: ... + def GetResult(self) -> GeomAdaptor_Curve: ... def GetType(self) -> GeomAbs_CurveType: ... def Hyperbola(self) -> gp_Hypr: ... def Intervals(self, T: TColStd_Array1OfReal, S: GeomAbs_Shape) -> None: ... @@ -222,21 +225,21 @@ class ProjLib_ProjectOnPlane(Adaptor3d_Curve): def IsRational(self) -> bool: ... def LastParameter(self) -> float: ... def Line(self) -> gp_Lin: ... - def Load(self, C: Adaptor3d_HCurve, Tolerance: float, KeepParametrization: Optional[bool] = True) -> None: ... + def Load(self, C: Adaptor3d_Curve, Tolerance: float, KeepParametrization: Optional[bool] = True) -> None: ... def NbIntervals(self, S: GeomAbs_Shape) -> int: ... def NbKnots(self) -> int: ... def NbPoles(self) -> int: ... def Parabola(self) -> gp_Parab: ... def Period(self) -> float: ... def Resolution(self, R3d: float) -> float: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_HCurve: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor3d_Curve: ... def Value(self, U: float) -> gp_Pnt: ... class ProjLib_ProjectOnSurface: @overload def __init__(self) -> None: ... @overload - def __init__(self, S: Adaptor3d_HSurface) -> None: ... + def __init__(self, S: Adaptor3d_Surface) -> None: ... def BSpline(self) -> Geom_BSplineCurve: ... def IsDone(self) -> bool: ... @@ -244,11 +247,11 @@ class ProjLib_ProjectedCurve(Adaptor2d_Curve2d): @overload def __init__(self) -> None: ... @overload - def __init__(self, S: Adaptor3d_HSurface) -> None: ... + def __init__(self, S: Adaptor3d_Surface) -> None: ... @overload - def __init__(self, S: Adaptor3d_HSurface, C: Adaptor3d_HCurve) -> None: ... + def __init__(self, S: Adaptor3d_Surface, C: Adaptor3d_Curve) -> None: ... @overload - def __init__(self, S: Adaptor3d_HSurface, C: Adaptor3d_HCurve, Tol: float) -> None: ... + def __init__(self, S: Adaptor3d_Surface, C: Adaptor3d_Curve, Tol: float) -> None: ... def BSpline(self) -> Geom2d_BSplineCurve: ... def Bezier(self) -> Geom2d_BezierCurve: ... def Circle(self) -> gp_Circ2d: ... @@ -261,8 +264,8 @@ class ProjLib_ProjectedCurve(Adaptor2d_Curve2d): def Degree(self) -> int: ... def Ellipse(self) -> gp_Elips2d: ... def FirstParameter(self) -> float: ... - def GetCurve(self) -> Adaptor3d_HCurve: ... - def GetSurface(self) -> Adaptor3d_HSurface: ... + def GetCurve(self) -> Adaptor3d_Curve: ... + def GetSurface(self) -> Adaptor3d_Surface: ... def GetTolerance(self) -> float: ... def GetType(self) -> GeomAbs_CurveType: ... def Hyperbola(self) -> gp_Hypr2d: ... @@ -276,14 +279,14 @@ class ProjLib_ProjectedCurve(Adaptor2d_Curve2d): def NbKnots(self) -> int: ... def NbPoles(self) -> int: ... def Parabola(self) -> gp_Parab2d: ... - def Perform(self, C: Adaptor3d_HCurve) -> None: ... + def Perform(self, C: Adaptor3d_Curve) -> None: ... def Period(self) -> float: ... def Resolution(self, R3d: float) -> float: ... def SetBndPnt(self, theBndPnt: AppParCurves_Constraint) -> None: ... def SetDegree(self, theDegMin: int, theDegMax: int) -> None: ... def SetMaxDist(self, theMaxDist: float) -> None: ... def SetMaxSegments(self, theMaxSegments: int) -> None: ... - def Trim(self, First: float, Last: float, Tol: float) -> Adaptor2d_HCurve2d: ... + def Trim(self, First: float, Last: float, Tol: float) -> Adaptor2d_Curve2d: ... def Value(self, U: float) -> gp_Pnt2d: ... class ProjLib_Projector: diff --git a/src/SWIG_files/wrapper/Prs3d.i b/src/SWIG_files/wrapper/Prs3d.i index 75fadeba1..cf8d28227 100644 --- a/src/SWIG_files/wrapper/Prs3d.i +++ b/src/SWIG_files/wrapper/Prs3d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define PRS3DDOCSTRING "Prs3d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_prs3d.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_prs3d.html" %enddef %module (package="OCC.Core", docstring=PRS3DDOCSTRING) Prs3d @@ -126,14 +126,26 @@ enum Prs3d_DatumMode { }; enum Prs3d_DatumAttribute { - Prs3d_DA_XAxisLength = 0, - Prs3d_DA_YAxisLength = 1, - Prs3d_DA_ZAxisLength = 2, - Prs3d_DP_ShadingTubeRadiusPercent = 3, - Prs3d_DP_ShadingConeRadiusPercent = 4, - Prs3d_DP_ShadingConeLengthPercent = 5, - Prs3d_DP_ShadingOriginRadiusPercent = 6, - Prs3d_DP_ShadingNumberOfFacettes = 7, + Prs3d_DatumAttribute_XAxisLength = 0, + Prs3d_DatumAttribute_YAxisLength = 1, + Prs3d_DatumAttribute_ZAxisLength = 2, + Prs3d_DatumAttribute_ShadingTubeRadiusPercent = 3, + Prs3d_DatumAttribute_ShadingConeRadiusPercent = 4, + Prs3d_DatumAttribute_ShadingConeLengthPercent = 5, + Prs3d_DatumAttribute_ShadingOriginRadiusPercent = 6, + Prs3d_DatumAttribute_ShadingNumberOfFacettes = 7, + Prs3d_DA_XAxisLength = Prs3d_DatumAttribute_XAxisLength, + Prs3d_DA_YAxisLength = Prs3d_DatumAttribute_YAxisLength, + Prs3d_DA_ZAxisLength = Prs3d_DatumAttribute_ZAxisLength, + Prs3d_DP_ShadingTubeRadiusPercent = Prs3d_DatumAttribute_ShadingTubeRadiusPercent, + Prs3d_DP_ShadingConeRadiusPercent = Prs3d_DatumAttribute_ShadingConeRadiusPercent, + Prs3d_DP_ShadingConeLengthPercent = Prs3d_DatumAttribute_ShadingConeLengthPercent, + Prs3d_DP_ShadingOriginRadiusPercent = Prs3d_DatumAttribute_ShadingOriginRadiusPercent, + Prs3d_DP_ShadingNumberOfFacettes = Prs3d_DatumAttribute_ShadingNumberOfFacettes, +}; + +enum { + Prs3d_DatumAttribute_NB = Prs3d_DatumAttribute_ShadingNumberOfFacettes + 1, }; enum Prs3d_DimensionTextHorizontalPosition { @@ -155,27 +167,49 @@ enum Prs3d_TypeOfHLR { }; enum Prs3d_DatumAxes { - Prs3d_DA_XAxis = 1, - Prs3d_DA_YAxis = 2, - Prs3d_DA_ZAxis = 4, - Prs3d_DA_XYAxis = Prs3d_DA_XAxis | Prs3d_DA_YAxis, - Prs3d_DA_YZAxis = Prs3d_DA_YAxis | Prs3d_DA_ZAxis, - Prs3d_DA_XZAxis = Prs3d_DA_XAxis | Prs3d_DA_ZAxis, - Prs3d_DA_XYZAxis = Prs3d_DA_XAxis | Prs3d_DA_YAxis | Prs3d_DA_ZAxis, + Prs3d_DatumAxes_XAxis = 1, + Prs3d_DatumAxes_YAxis = 2, + Prs3d_DatumAxes_ZAxis = 4, + Prs3d_DatumAxes_XYAxes = Prs3d_DatumAxes_XAxis | Prs3d_DatumAxes_YAxis, + Prs3d_DatumAxes_YZAxes = Prs3d_DatumAxes_YAxis | Prs3d_DatumAxes_ZAxis, + Prs3d_DatumAxes_XZAxes = Prs3d_DatumAxes_XAxis | Prs3d_DatumAxes_ZAxis, + Prs3d_DatumAxes_XYZAxes = Prs3d_DatumAxes_XAxis | Prs3d_DatumAxes_YAxis | Prs3d_DatumAxes_ZAxis, + Prs3d_DA_XAxis = Prs3d_DatumAxes_XAxis, + Prs3d_DA_YAxis = Prs3d_DatumAxes_YAxis, + Prs3d_DA_ZAxis = Prs3d_DatumAxes_ZAxis, + Prs3d_DA_XYAxis = Prs3d_DatumAxes_XYAxes, + Prs3d_DA_YZAxis = Prs3d_DatumAxes_YZAxes, + Prs3d_DA_XZAxis = Prs3d_DatumAxes_XZAxes, + Prs3d_DA_XYZAxis = Prs3d_DatumAxes_XYZAxes, }; enum Prs3d_DatumParts { - Prs3d_DP_Origin = 0, - Prs3d_DP_XAxis = 1, - Prs3d_DP_YAxis = 2, - Prs3d_DP_ZAxis = 3, - Prs3d_DP_XArrow = 4, - Prs3d_DP_YArrow = 5, - Prs3d_DP_ZArrow = 6, - Prs3d_DP_XOYAxis = 7, - Prs3d_DP_YOZAxis = 8, - Prs3d_DP_XOZAxis = 9, - Prs3d_DP_None = 10, + Prs3d_DatumParts_Origin = 0, + Prs3d_DatumParts_XAxis = 1, + Prs3d_DatumParts_YAxis = 2, + Prs3d_DatumParts_ZAxis = 3, + Prs3d_DatumParts_XArrow = 4, + Prs3d_DatumParts_YArrow = 5, + Prs3d_DatumParts_ZArrow = 6, + Prs3d_DatumParts_XOYAxis = 7, + Prs3d_DatumParts_YOZAxis = 8, + Prs3d_DatumParts_XOZAxis = 9, + Prs3d_DatumParts_None = 10, + Prs3d_DP_Origin = Prs3d_DatumParts_Origin, + Prs3d_DP_XAxis = Prs3d_DatumParts_XAxis, + Prs3d_DP_YAxis = Prs3d_DatumParts_YAxis, + Prs3d_DP_ZAxis = Prs3d_DatumParts_ZAxis, + Prs3d_DP_XArrow = Prs3d_DatumParts_XArrow, + Prs3d_DP_YArrow = Prs3d_DatumParts_YArrow, + Prs3d_DP_ZArrow = Prs3d_DatumParts_ZArrow, + Prs3d_DP_XOYAxis = Prs3d_DatumParts_XOYAxis, + Prs3d_DP_YOZAxis = Prs3d_DatumParts_YOZAxis, + Prs3d_DP_XOZAxis = Prs3d_DatumParts_XOZAxis, + Prs3d_DP_None = Prs3d_DatumParts_None, +}; + +enum { + Prs3d_DatumParts_NB = Prs3d_DatumParts_None + 1, }; enum Prs3d_DimensionArrowOrientation { @@ -186,7 +220,7 @@ enum Prs3d_DimensionArrowOrientation { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Prs3d_DimensionTextVerticalPosition(IntEnum): @@ -228,14 +262,30 @@ Prs3d_DM_WireFrame = Prs3d_DatumMode.Prs3d_DM_WireFrame Prs3d_DM_Shaded = Prs3d_DatumMode.Prs3d_DM_Shaded class Prs3d_DatumAttribute(IntEnum): - Prs3d_DA_XAxisLength = 0 - Prs3d_DA_YAxisLength = 1 - Prs3d_DA_ZAxisLength = 2 - Prs3d_DP_ShadingTubeRadiusPercent = 3 - Prs3d_DP_ShadingConeRadiusPercent = 4 - Prs3d_DP_ShadingConeLengthPercent = 5 - Prs3d_DP_ShadingOriginRadiusPercent = 6 - Prs3d_DP_ShadingNumberOfFacettes = 7 + Prs3d_DatumAttribute_XAxisLength = 0 + Prs3d_DatumAttribute_YAxisLength = 1 + Prs3d_DatumAttribute_ZAxisLength = 2 + Prs3d_DatumAttribute_ShadingTubeRadiusPercent = 3 + Prs3d_DatumAttribute_ShadingConeRadiusPercent = 4 + Prs3d_DatumAttribute_ShadingConeLengthPercent = 5 + Prs3d_DatumAttribute_ShadingOriginRadiusPercent = 6 + Prs3d_DatumAttribute_ShadingNumberOfFacettes = 7 + Prs3d_DA_XAxisLength = Prs3d_DatumAttribute_XAxisLength + Prs3d_DA_YAxisLength = Prs3d_DatumAttribute_YAxisLength + Prs3d_DA_ZAxisLength = Prs3d_DatumAttribute_ZAxisLength + Prs3d_DP_ShadingTubeRadiusPercent = Prs3d_DatumAttribute_ShadingTubeRadiusPercent + Prs3d_DP_ShadingConeRadiusPercent = Prs3d_DatumAttribute_ShadingConeRadiusPercent + Prs3d_DP_ShadingConeLengthPercent = Prs3d_DatumAttribute_ShadingConeLengthPercent + Prs3d_DP_ShadingOriginRadiusPercent = Prs3d_DatumAttribute_ShadingOriginRadiusPercent + Prs3d_DP_ShadingNumberOfFacettes = Prs3d_DatumAttribute_ShadingNumberOfFacettes +Prs3d_DatumAttribute_XAxisLength = Prs3d_DatumAttribute.Prs3d_DatumAttribute_XAxisLength +Prs3d_DatumAttribute_YAxisLength = Prs3d_DatumAttribute.Prs3d_DatumAttribute_YAxisLength +Prs3d_DatumAttribute_ZAxisLength = Prs3d_DatumAttribute.Prs3d_DatumAttribute_ZAxisLength +Prs3d_DatumAttribute_ShadingTubeRadiusPercent = Prs3d_DatumAttribute.Prs3d_DatumAttribute_ShadingTubeRadiusPercent +Prs3d_DatumAttribute_ShadingConeRadiusPercent = Prs3d_DatumAttribute.Prs3d_DatumAttribute_ShadingConeRadiusPercent +Prs3d_DatumAttribute_ShadingConeLengthPercent = Prs3d_DatumAttribute.Prs3d_DatumAttribute_ShadingConeLengthPercent +Prs3d_DatumAttribute_ShadingOriginRadiusPercent = Prs3d_DatumAttribute.Prs3d_DatumAttribute_ShadingOriginRadiusPercent +Prs3d_DatumAttribute_ShadingNumberOfFacettes = Prs3d_DatumAttribute.Prs3d_DatumAttribute_ShadingNumberOfFacettes Prs3d_DA_XAxisLength = Prs3d_DatumAttribute.Prs3d_DA_XAxisLength Prs3d_DA_YAxisLength = Prs3d_DatumAttribute.Prs3d_DA_YAxisLength Prs3d_DA_ZAxisLength = Prs3d_DatumAttribute.Prs3d_DA_ZAxisLength @@ -270,13 +320,27 @@ Prs3d_TOH_PolyAlgo = Prs3d_TypeOfHLR.Prs3d_TOH_PolyAlgo Prs3d_TOH_Algo = Prs3d_TypeOfHLR.Prs3d_TOH_Algo class Prs3d_DatumAxes(IntEnum): - Prs3d_DA_XAxis = 1 - Prs3d_DA_YAxis = 2 - Prs3d_DA_ZAxis = 4 - Prs3d_DA_XYAxis = Prs3d_DA_XAxis | Prs3d_DA_YAxis - Prs3d_DA_YZAxis = Prs3d_DA_YAxis | Prs3d_DA_ZAxis - Prs3d_DA_XZAxis = Prs3d_DA_XAxis | Prs3d_DA_ZAxis - Prs3d_DA_XYZAxis = Prs3d_DA_XAxis | Prs3d_DA_YAxis | Prs3d_DA_ZAxis + Prs3d_DatumAxes_XAxis = 1 + Prs3d_DatumAxes_YAxis = 2 + Prs3d_DatumAxes_ZAxis = 4 + Prs3d_DatumAxes_XYAxes = Prs3d_DatumAxes_XAxis | Prs3d_DatumAxes_YAxis + Prs3d_DatumAxes_YZAxes = Prs3d_DatumAxes_YAxis | Prs3d_DatumAxes_ZAxis + Prs3d_DatumAxes_XZAxes = Prs3d_DatumAxes_XAxis | Prs3d_DatumAxes_ZAxis + Prs3d_DatumAxes_XYZAxes = Prs3d_DatumAxes_XAxis | Prs3d_DatumAxes_YAxis | Prs3d_DatumAxes_ZAxis + Prs3d_DA_XAxis = Prs3d_DatumAxes_XAxis + Prs3d_DA_YAxis = Prs3d_DatumAxes_YAxis + Prs3d_DA_ZAxis = Prs3d_DatumAxes_ZAxis + Prs3d_DA_XYAxis = Prs3d_DatumAxes_XYAxes + Prs3d_DA_YZAxis = Prs3d_DatumAxes_YZAxes + Prs3d_DA_XZAxis = Prs3d_DatumAxes_XZAxes + Prs3d_DA_XYZAxis = Prs3d_DatumAxes_XYZAxes +Prs3d_DatumAxes_XAxis = Prs3d_DatumAxes.Prs3d_DatumAxes_XAxis +Prs3d_DatumAxes_YAxis = Prs3d_DatumAxes.Prs3d_DatumAxes_YAxis +Prs3d_DatumAxes_ZAxis = Prs3d_DatumAxes.Prs3d_DatumAxes_ZAxis +Prs3d_DatumAxes_XYAxes = Prs3d_DatumAxes.Prs3d_DatumAxes_XYAxes +Prs3d_DatumAxes_YZAxes = Prs3d_DatumAxes.Prs3d_DatumAxes_YZAxes +Prs3d_DatumAxes_XZAxes = Prs3d_DatumAxes.Prs3d_DatumAxes_XZAxes +Prs3d_DatumAxes_XYZAxes = Prs3d_DatumAxes.Prs3d_DatumAxes_XYZAxes Prs3d_DA_XAxis = Prs3d_DatumAxes.Prs3d_DA_XAxis Prs3d_DA_YAxis = Prs3d_DatumAxes.Prs3d_DA_YAxis Prs3d_DA_ZAxis = Prs3d_DatumAxes.Prs3d_DA_ZAxis @@ -286,17 +350,39 @@ Prs3d_DA_XZAxis = Prs3d_DatumAxes.Prs3d_DA_XZAxis Prs3d_DA_XYZAxis = Prs3d_DatumAxes.Prs3d_DA_XYZAxis class Prs3d_DatumParts(IntEnum): - Prs3d_DP_Origin = 0 - Prs3d_DP_XAxis = 1 - Prs3d_DP_YAxis = 2 - Prs3d_DP_ZAxis = 3 - Prs3d_DP_XArrow = 4 - Prs3d_DP_YArrow = 5 - Prs3d_DP_ZArrow = 6 - Prs3d_DP_XOYAxis = 7 - Prs3d_DP_YOZAxis = 8 - Prs3d_DP_XOZAxis = 9 - Prs3d_DP_None = 10 + Prs3d_DatumParts_Origin = 0 + Prs3d_DatumParts_XAxis = 1 + Prs3d_DatumParts_YAxis = 2 + Prs3d_DatumParts_ZAxis = 3 + Prs3d_DatumParts_XArrow = 4 + Prs3d_DatumParts_YArrow = 5 + Prs3d_DatumParts_ZArrow = 6 + Prs3d_DatumParts_XOYAxis = 7 + Prs3d_DatumParts_YOZAxis = 8 + Prs3d_DatumParts_XOZAxis = 9 + Prs3d_DatumParts_None = 10 + Prs3d_DP_Origin = Prs3d_DatumParts_Origin + Prs3d_DP_XAxis = Prs3d_DatumParts_XAxis + Prs3d_DP_YAxis = Prs3d_DatumParts_YAxis + Prs3d_DP_ZAxis = Prs3d_DatumParts_ZAxis + Prs3d_DP_XArrow = Prs3d_DatumParts_XArrow + Prs3d_DP_YArrow = Prs3d_DatumParts_YArrow + Prs3d_DP_ZArrow = Prs3d_DatumParts_ZArrow + Prs3d_DP_XOYAxis = Prs3d_DatumParts_XOYAxis + Prs3d_DP_YOZAxis = Prs3d_DatumParts_YOZAxis + Prs3d_DP_XOZAxis = Prs3d_DatumParts_XOZAxis + Prs3d_DP_None = Prs3d_DatumParts_None +Prs3d_DatumParts_Origin = Prs3d_DatumParts.Prs3d_DatumParts_Origin +Prs3d_DatumParts_XAxis = Prs3d_DatumParts.Prs3d_DatumParts_XAxis +Prs3d_DatumParts_YAxis = Prs3d_DatumParts.Prs3d_DatumParts_YAxis +Prs3d_DatumParts_ZAxis = Prs3d_DatumParts.Prs3d_DatumParts_ZAxis +Prs3d_DatumParts_XArrow = Prs3d_DatumParts.Prs3d_DatumParts_XArrow +Prs3d_DatumParts_YArrow = Prs3d_DatumParts.Prs3d_DatumParts_YArrow +Prs3d_DatumParts_ZArrow = Prs3d_DatumParts.Prs3d_DatumParts_ZArrow +Prs3d_DatumParts_XOYAxis = Prs3d_DatumParts.Prs3d_DatumParts_XOYAxis +Prs3d_DatumParts_YOZAxis = Prs3d_DatumParts.Prs3d_DatumParts_YOZAxis +Prs3d_DatumParts_XOZAxis = Prs3d_DatumParts.Prs3d_DatumParts_XOZAxis +Prs3d_DatumParts_None = Prs3d_DatumParts.Prs3d_DatumParts_None Prs3d_DP_Origin = Prs3d_DatumParts.Prs3d_DP_Origin Prs3d_DP_XAxis = Prs3d_DatumParts.Prs3d_DP_XAxis Prs3d_DP_YAxis = Prs3d_DatumParts.Prs3d_DP_YAxis @@ -346,7 +432,6 @@ Prs3d_DAO_Fit = Prs3d_DimensionArrowOrientation.Prs3d_DAO_Fit /* end templates declaration */ /* typedefs */ -typedef Prs3d_Drawer Graphic3d_HighlightStyle; typedef Prs3d_NListOfSequenceOfPnt::Iterator Prs3d_NListIteratorOfListOfSequenceOfPnt; typedef NCollection_List> Prs3d_NListOfSequenceOfPnt; typedef Graphic3d_Structure Prs3d_Presentation; @@ -494,25 +579,6 @@ None ") Draw; static void Draw(const opencascade::handle & theGroup, const gp_Pnt & theLocation, const gp_Dir & theDirection, const Standard_Real theAngle, const Standard_Real theLength); - /****************** Draw ******************/ - /**** md5 signature: 0d01026ed2217a2665b0a14a5cd75a9e ****/ - %feature("compactdefaultargs") Draw; - %feature("autodoc", "Alias to another method draw() for backward compatibility. - -Parameters ----------- -thePrs: Prs3d_Presentation -theLocation: gp_Pnt -theDirection: gp_Dir -theAngle: float -theLength: float - -Returns -------- -None -") Draw; - static void Draw(const opencascade::handle & thePrs, const gp_Pnt & theLocation, const gp_Dir & theDirection, const Standard_Real theAngle, const Standard_Real theLength); - /****************** DrawSegments ******************/ /**** md5 signature: 732901be4cc19438764121766619db8b ****/ %feature("compactdefaultargs") DrawSegments; @@ -950,7 +1016,7 @@ bool /****************** HasOwnDeviationAngle ******************/ /**** md5 signature: 9b350005642d36f5630be22438d1d286 ****/ %feature("compactdefaultargs") HasOwnDeviationAngle; - %feature("autodoc", "Returns true if the there is a local setting for deviation angle in this framework for a specific interactive object. + %feature("autodoc", "Returns true if there is a local setting for deviation angle in this framework for a specific interactive object. Returns ------- @@ -1630,7 +1696,7 @@ None /****************** SetDeviationAngle ******************/ /**** md5 signature: 9bdb5f10031ccd09c439fbc45ff4df32 ****/ %feature("compactdefaultargs") SetDeviationAngle; - %feature("autodoc", "Sets the hasowndeviationangle flag to standard_false. + %feature("autodoc", "Resets hasowndeviationangle() flag, e.g. undoes previous setdeviationangle(). Returns ------- @@ -1656,7 +1722,7 @@ None /****************** SetDeviationCoefficient ******************/ /**** md5 signature: 755d6894d3ae7cb400d463653d96c593 ****/ %feature("compactdefaultargs") SetDeviationCoefficient; - %feature("autodoc", "Sets the hasowndeviationcoefficient flag to standard_false. + %feature("autodoc", "Resets hasowndeviationcoefficient() flag, e.g. undoes previous setdeviationcoefficient(). Returns ------- @@ -2418,6 +2484,193 @@ None ") UnsetFaceBoundaryUpperContinuity; void UnsetFaceBoundaryUpperContinuity(); + /****************** UnsetOwnDimAngleDisplayUnits ******************/ + /**** md5 signature: 9dd91da7ca6e7927a05fc6117ef0e294 ****/ + %feature("compactdefaultargs") UnsetOwnDimAngleDisplayUnits; + %feature("autodoc", "Resets hasowndimangledisplayunits() flag, e.g. undoes setdimlengthdisplayunits(). + +Returns +------- +None +") UnsetOwnDimAngleDisplayUnits; + void UnsetOwnDimAngleDisplayUnits(); + + /****************** UnsetOwnDimAngleModelUnits ******************/ + /**** md5 signature: 71d0041e858711a7619e2e03df179c5d ****/ + %feature("compactdefaultargs") UnsetOwnDimAngleModelUnits; + %feature("autodoc", "Resets hasowndimanglemodelunits() flag, e.g. undoes setdimanglemodelunits(). + +Returns +------- +None +") UnsetOwnDimAngleModelUnits; + void UnsetOwnDimAngleModelUnits(); + + /****************** UnsetOwnDimLengthDisplayUnits ******************/ + /**** md5 signature: fdb3e789b66cd1942b0d00bcd6670af3 ****/ + %feature("compactdefaultargs") UnsetOwnDimLengthDisplayUnits; + %feature("autodoc", "Resets hasowndimlengthmodelunits() flag, e.g. undoes setdimlengthdisplayunits(). + +Returns +------- +None +") UnsetOwnDimLengthDisplayUnits; + void UnsetOwnDimLengthDisplayUnits(); + + /****************** UnsetOwnDimLengthModelUnits ******************/ + /**** md5 signature: 1a50bb3283206afa34f9447361719bb1 ****/ + %feature("compactdefaultargs") UnsetOwnDimLengthModelUnits; + %feature("autodoc", "Resets hasowndimlengthmodelunits() flag, e.g. undoes setdimlengthmodelunits(). + +Returns +------- +None +") UnsetOwnDimLengthModelUnits; + void UnsetOwnDimLengthModelUnits(); + + /****************** UnsetOwnDiscretisation ******************/ + /**** md5 signature: 047cfc51bae6ced11e4becb284dbacb3 ****/ + %feature("compactdefaultargs") UnsetOwnDiscretisation; + %feature("autodoc", "Resets hasowndiscretisation() flag, e.g. undoes setdiscretisation(). + +Returns +------- +None +") UnsetOwnDiscretisation; + void UnsetOwnDiscretisation(); + + /****************** UnsetOwnDrawHiddenLine ******************/ + /**** md5 signature: 5572431df9d967dfcbbf53584bd58d8b ****/ + %feature("compactdefaultargs") UnsetOwnDrawHiddenLine; + %feature("autodoc", "Resets hasowndrawhiddenline() flag, e.g. unsets enabledrawhiddenline()/disabledrawhiddenline(). + +Returns +------- +None +") UnsetOwnDrawHiddenLine; + void UnsetOwnDrawHiddenLine(); + + /****************** UnsetOwnFaceBoundaryDraw ******************/ + /**** md5 signature: a7a27bb2f61eb3eaa5c8b06d5f139710 ****/ + %feature("compactdefaultargs") UnsetOwnFaceBoundaryDraw; + %feature("autodoc", "Resets hasownfaceboundarydraw() flag, e.g. undoes setfaceboundarydraw(). + +Returns +------- +None +") UnsetOwnFaceBoundaryDraw; + void UnsetOwnFaceBoundaryDraw(); + + /****************** UnsetOwnFreeBoundaryDraw ******************/ + /**** md5 signature: 94cefbc7316ca879e51afce0a584b793 ****/ + %feature("compactdefaultargs") UnsetOwnFreeBoundaryDraw; + %feature("autodoc", "Resets hasownfreeboundarydraw() flag, e.g. undoes setfreeboundarydraw(). + +Returns +------- +None +") UnsetOwnFreeBoundaryDraw; + void UnsetOwnFreeBoundaryDraw(); + + /****************** UnsetOwnIsAutoTriangulation ******************/ + /**** md5 signature: e03d2d88873eb2223a6ee7b07d14bdc5 ****/ + %feature("compactdefaultargs") UnsetOwnIsAutoTriangulation; + %feature("autodoc", "Resets hasownisautotriangulation() flag, e.g. undoes setautotriangulation(). + +Returns +------- +None +") UnsetOwnIsAutoTriangulation; + void UnsetOwnIsAutoTriangulation(); + + /****************** UnsetOwnIsoOnPlane ******************/ + /**** md5 signature: 41dbe1528d3b195f364a7aca52198133 ****/ + %feature("compactdefaultargs") UnsetOwnIsoOnPlane; + %feature("autodoc", "Resets hasownisoonplane() flag, e.g. undoes setisoonplane(). + +Returns +------- +None +") UnsetOwnIsoOnPlane; + void UnsetOwnIsoOnPlane(); + + /****************** UnsetOwnIsoOnTriangulation ******************/ + /**** md5 signature: a426e9014db1398599f41f21a28db797 ****/ + %feature("compactdefaultargs") UnsetOwnIsoOnTriangulation; + %feature("autodoc", "Resets hasownisoontriangulation() flag, e.g. undoes setisoontriangulation(). + +Returns +------- +None +") UnsetOwnIsoOnTriangulation; + void UnsetOwnIsoOnTriangulation(); + + /****************** UnsetOwnLineArrowDraw ******************/ + /**** md5 signature: 8f51e78cbc30ffc8a248acb5c6b3f77e ****/ + %feature("compactdefaultargs") UnsetOwnLineArrowDraw; + %feature("autodoc", "Reset hasownlinearrowdraw() flag, e.g. undoes setlinearrowdraw(). + +Returns +------- +None +") UnsetOwnLineArrowDraw; + void UnsetOwnLineArrowDraw(); + + /****************** UnsetOwnMaximalChordialDeviation ******************/ + /**** md5 signature: f807868cfb852d7979ae0ccc60dab291 ****/ + %feature("compactdefaultargs") UnsetOwnMaximalChordialDeviation; + %feature("autodoc", "Resets hasownmaximalchordialdeviation() flag, e.g. undoes setmaximalchordialdeviation(). + +Returns +------- +None +") UnsetOwnMaximalChordialDeviation; + void UnsetOwnMaximalChordialDeviation(); + + /****************** UnsetOwnMaximalParameterValue ******************/ + /**** md5 signature: 600e906557feb6c3ae0b212506b7a078 ****/ + %feature("compactdefaultargs") UnsetOwnMaximalParameterValue; + %feature("autodoc", "Resets hasownmaximalparametervalue() flag, e.g. undoes setmaximalparametervalue(). + +Returns +------- +None +") UnsetOwnMaximalParameterValue; + void UnsetOwnMaximalParameterValue(); + + /****************** UnsetOwnTypeOfDeflection ******************/ + /**** md5 signature: 9a6eca2451096ca0cb4e2fd0a5d381fe ****/ + %feature("compactdefaultargs") UnsetOwnTypeOfDeflection; + %feature("autodoc", "Resets hasowntypeofdeflection() flag, e.g. undoes settypeofdeflection(). + +Returns +------- +None +") UnsetOwnTypeOfDeflection; + void UnsetOwnTypeOfDeflection(); + + /****************** UnsetOwnUnFreeBoundaryDraw ******************/ + /**** md5 signature: cb19469a6b5169c30236136f43f1f781 ****/ + %feature("compactdefaultargs") UnsetOwnUnFreeBoundaryDraw; + %feature("autodoc", "Resets hasownunfreeboundarydraw() flag, e.g. undoes setunfreeboundarydraw(). + +Returns +------- +None +") UnsetOwnUnFreeBoundaryDraw; + void UnsetOwnUnFreeBoundaryDraw(); + + /****************** UnsetOwnWireDraw ******************/ + /**** md5 signature: 81d5ff89cf03224619b8f656a62af29d ****/ + %feature("compactdefaultargs") UnsetOwnWireDraw; + %feature("autodoc", "Resets hasownwiredraw() flag, e.g. undoes setwiredraw(). + +Returns +------- +None +") UnsetOwnWireDraw; + void UnsetOwnWireDraw(); + /****************** UpdatePreviousDeviationAngle ******************/ /**** md5 signature: 89a7b1ecfa621e3e7fc2f96b8782afff ****/ %feature("compactdefaultargs") UpdatePreviousDeviationAngle; @@ -2716,62 +2969,6 @@ opencascade::handle ") Draw; static opencascade::handle Draw(const opencascade::handle & theGroup, const opencascade::handle & theAspect, const TCollection_ExtendedString & theText, const gp_Ax2 & theOrientation, const Standard_Boolean theHasOwnAnchor = Standard_True); - /****************** Draw ******************/ - /**** md5 signature: c81a1d63918e052869c2ea407ed25824 ****/ - %feature("compactdefaultargs") Draw; - %feature("autodoc", "Alias to another method draw() for backward compatibility. - -Parameters ----------- -thePrs: Prs3d_Presentation -theDrawer: Prs3d_Drawer -theText: TCollection_ExtendedString -theAttachmentPoint: gp_Pnt - -Returns -------- -None -") Draw; - static void Draw(const opencascade::handle & thePrs, const opencascade::handle & theDrawer, const TCollection_ExtendedString & theText, const gp_Pnt & theAttachmentPoint); - - /****************** Draw ******************/ - /**** md5 signature: f2388f36de4bfc3744a462bf82ce37ad ****/ - %feature("compactdefaultargs") Draw; - %feature("autodoc", "Alias to another method draw() for backward compatibility. - -Parameters ----------- -thePrs: Prs3d_Presentation -theAspect: Prs3d_TextAspect -theText: TCollection_ExtendedString -theOrientation: gp_Ax2 -theHasOwnAnchor: bool,optional - default value is Standard_True - -Returns -------- -None -") Draw; - static void Draw(const opencascade::handle & thePrs, const opencascade::handle & theAspect, const TCollection_ExtendedString & theText, const gp_Ax2 & theOrientation, const Standard_Boolean theHasOwnAnchor = Standard_True); - - /****************** Draw ******************/ - /**** md5 signature: 44971b9f623140f1480964ad0077a232 ****/ - %feature("compactdefaultargs") Draw; - %feature("autodoc", "Alias to another method draw() for backward compatibility. - -Parameters ----------- -thePrs: Prs3d_Presentation -theAspect: Prs3d_TextAspect -theText: TCollection_ExtendedString -theAttachmentPoint: gp_Pnt - -Returns -------- -None -") Draw; - static void Draw(const opencascade::handle & thePrs, const opencascade::handle & theAspect, const TCollection_ExtendedString & theText, const gp_Pnt & theAttachmentPoint); - }; @@ -2866,6 +3063,17 @@ int ") TrianglesNb; static Standard_Integer TrianglesNb(const Standard_Integer theSlicesNb, const Standard_Integer theStacksNb); + /****************** TrianglesNb ******************/ + /**** md5 signature: 79e9c94384c6f9eca1682b3bd078e884 ****/ + %feature("compactdefaultargs") TrianglesNb; + %feature("autodoc", "Return number of triangles in generated presentation. + +Returns +------- +int +") TrianglesNb; + Standard_Integer TrianglesNb(); + /****************** VerticesNb ******************/ /**** md5 signature: 1326b929d9932628a0c679a5777a5b6c ****/ %feature("compactdefaultargs") VerticesNb; @@ -2884,6 +3092,22 @@ int ") VerticesNb; static Standard_Integer VerticesNb(const Standard_Integer theSlicesNb, const Standard_Integer theStacksNb, const Standard_Boolean theIsIndexed = Standard_True); + /****************** VerticesNb ******************/ + /**** md5 signature: 2f242abab1be940c103aeca916c73e88 ****/ + %feature("compactdefaultargs") VerticesNb; + %feature("autodoc", "Return number of vertices in generated presentation. + +Parameters +---------- +theIsIndexed: bool,optional + default value is true + +Returns +------- +int +") VerticesNb; + Standard_Integer VerticesNb(bool theIsIndexed = true); + }; @@ -2970,6 +3194,17 @@ opencascade::handle self->DumpJson(s, depth); return s.str();} }; + /****************** IsZoomable ******************/ + /**** md5 signature: 0e11552facaac98faf2474f0071c0b9d ****/ + %feature("compactdefaultargs") IsZoomable; + %feature("autodoc", "Returns true when the arrow zoomable is on; true by default. + +Returns +------- +bool +") IsZoomable; + bool IsZoomable(); + /****************** Length ******************/ /**** md5 signature: 1d863a710d06afea5559458878200357 ****/ %feature("compactdefaultargs") Length; @@ -3041,6 +3276,21 @@ None ") SetLength; void SetLength(const Standard_Real theLength); + /****************** SetZoomable ******************/ + /**** md5 signature: 97ffe04fce7ef540e2fce9a76dd33eaa ****/ + %feature("compactdefaultargs") SetZoomable; + %feature("autodoc", "Turns usage of arrow zoomable on/off. + +Parameters +---------- +theIsZoomable: bool + +Returns +------- +None +") SetZoomable; + void SetZoomable(bool theIsZoomable); + }; @@ -3186,7 +3436,7 @@ class Prs3d_DatumAspect : public Prs3d_BasicAspect { /****************** Prs3d_DatumAspect ******************/ /**** md5 signature: 71be1d27ce693ac5509c01c1b9013cbd ****/ %feature("compactdefaultargs") Prs3d_DatumAspect; - %feature("autodoc", "An empty framework to define the display of datums. + %feature("autodoc", "An empty constructor. Returns ------- @@ -3206,7 +3456,7 @@ opencascade::handle const opencascade::handle & ArrowAspect(); /****************** ArrowPartForAxis ******************/ - /**** md5 signature: ba8be796912002c554edec80fbb71e40 ****/ + /**** md5 signature: 7a1df2eb76e4e1e3416cc302c58ee37b ****/ %feature("compactdefaultargs") ArrowPartForAxis; %feature("autodoc", "Returns type of arrow for a type of axis. @@ -3218,7 +3468,7 @@ Returns ------- Prs3d_DatumParts ") ArrowPartForAxis; - Prs3d_DatumParts ArrowPartForAxis(Prs3d_DatumParts thePart); + static Prs3d_DatumParts ArrowPartForAxis(Prs3d_DatumParts thePart); /****************** Attribute ******************/ /**** md5 signature: d7ca7bee3d949bb4cd8c2c3c07920d6e ****/ @@ -3250,6 +3500,21 @@ float ") AxisLength; Standard_Real AxisLength(Prs3d_DatumParts thePart); + /****************** CopyAspectsFrom ******************/ + /**** md5 signature: ec90d65075dc1aad3151ac0b5a24cb1b ****/ + %feature("compactdefaultargs") CopyAspectsFrom; + %feature("autodoc", "Performs deep copy of attributes from another aspect instance. + +Parameters +---------- +theOther: Prs3d_DatumAspect + +Returns +------- +None +") CopyAspectsFrom; + void CopyAspectsFrom(const opencascade::handle & theOther); + /****************** DatumAxes ******************/ /**** md5 signature: 25421ca286b68e0e5619b29932d4e2d2 ****/ %feature("compactdefaultargs") DatumAxes; @@ -3276,28 +3541,6 @@ bool ") DrawDatumPart; Standard_Boolean DrawDatumPart(Prs3d_DatumParts thePart); - /****************** DrawFirstAndSecondAxis ******************/ - /**** md5 signature: a0e465f1223a2d85d8cf98864563b464 ****/ - %feature("compactdefaultargs") DrawFirstAndSecondAxis; - %feature("autodoc", "Returns true if the first and second axes can be drawn. - -Returns -------- -bool -") DrawFirstAndSecondAxis; - Standard_Boolean DrawFirstAndSecondAxis(); - - /****************** DrawThirdAxis ******************/ - /**** md5 signature: b6b74fb637cb33eed855466956a9dc74 ****/ - %feature("compactdefaultargs") DrawThirdAxis; - %feature("autodoc", "Returns true if the third axis can be drawn. - -Returns -------- -bool -") DrawThirdAxis; - Standard_Boolean DrawThirdAxis(); - %feature("autodoc", "1"); %extend{ @@ -3306,32 +3549,10 @@ bool self->DumpJson(s, depth); return s.str();} }; - /****************** FirstAxisAspect ******************/ - /**** md5 signature: 9aa788101e717f40cfacb0717ed44a7c ****/ - %feature("compactdefaultargs") FirstAxisAspect; - %feature("autodoc", "Returns the attributes for display of the first axis. - -Returns -------- -opencascade::handle -") FirstAxisAspect; - const opencascade::handle & FirstAxisAspect(); - - /****************** FirstAxisLength ******************/ - /**** md5 signature: 2fac70fe0195bf6cbaad6b999ffcaafd ****/ - %feature("compactdefaultargs") FirstAxisLength; - %feature("autodoc", "Returns the length of the displayed first axis. - -Returns -------- -float -") FirstAxisLength; - Standard_Real FirstAxisLength(); - /****************** LineAspect ******************/ - /**** md5 signature: cfa870d45098332f1f2a70014a1e5b5a ****/ + /**** md5 signature: 9af72ca119f843e15222dd5546dc6dfb ****/ %feature("compactdefaultargs") LineAspect; - %feature("autodoc", "Returns the right-handed coordinate system set in setcomponent. + %feature("autodoc", "Returns line aspect for specified part. Parameters ---------- @@ -3341,7 +3562,7 @@ Returns ------- opencascade::handle ") LineAspect; - opencascade::handle LineAspect(Prs3d_DatumParts thePart); + const opencascade::handle & LineAspect(Prs3d_DatumParts thePart); /****************** PointAspect ******************/ /**** md5 signature: 50902dc571bbda51cee2855b6ef5ff8d ****/ @@ -3354,28 +3575,6 @@ opencascade::handle ") PointAspect; const opencascade::handle & PointAspect(); - /****************** SecondAxisAspect ******************/ - /**** md5 signature: ce8734d7d727f75d991aae6a746d3d4b ****/ - %feature("compactdefaultargs") SecondAxisAspect; - %feature("autodoc", "Returns the attributes for display of the second axis. - -Returns -------- -opencascade::handle -") SecondAxisAspect; - const opencascade::handle & SecondAxisAspect(); - - /****************** SecondAxisLength ******************/ - /**** md5 signature: 06308dfc93205a8ddcc8ea93da1530d5 ****/ - %feature("compactdefaultargs") SecondAxisLength; - %feature("autodoc", "Returns the length of the displayed second axis. - -Returns -------- -float -") SecondAxisLength; - Standard_Real SecondAxisLength(); - /****************** SetArrowAspect ******************/ /**** md5 signature: 0a1adde0b720014d803adbe7c86e169d ****/ %feature("compactdefaultargs") SetArrowAspect; @@ -3392,7 +3591,7 @@ None void SetArrowAspect(const opencascade::handle & theAspect); /****************** SetAttribute ******************/ - /**** md5 signature: 08e15b2bbcd3edc89190dceccd3bcc13 ****/ + /**** md5 signature: addb95d2429f8a93b0aa29cc41d7d7c3 ****/ %feature("compactdefaultargs") SetAttribute; %feature("autodoc", "Sets the attribute of the datum type. @@ -3405,7 +3604,7 @@ Returns ------- None ") SetAttribute; - void SetAttribute(Prs3d_DatumAttribute theType, const Standard_Real & theValue); + void SetAttribute(Prs3d_DatumAttribute theType, const Standard_Real theValue); /****************** SetAxisLength ******************/ /**** md5 signature: 368cf5f58e7c88156ee1613e1838afa1 ****/ @@ -3454,21 +3653,6 @@ None ") SetDrawDatumAxes; void SetDrawDatumAxes(Prs3d_DatumAxes theType); - /****************** SetDrawFirstAndSecondAxis ******************/ - /**** md5 signature: 1fd5bcd59115b72c767701c3bf1f6f5b ****/ - %feature("compactdefaultargs") SetDrawFirstAndSecondAxis; - %feature("autodoc", "Sets the drawfirstandsecondaxis attributes to active. - -Parameters ----------- -theToDraw: bool - -Returns -------- -None -") SetDrawFirstAndSecondAxis; - void SetDrawFirstAndSecondAxis(Standard_Boolean theToDraw); - /****************** SetDrawLabels ******************/ /**** md5 signature: e034ff7bc5e70c3493e6a993aa989169 ****/ %feature("compactdefaultargs") SetDrawLabels; @@ -3484,21 +3668,6 @@ None ") SetDrawLabels; void SetDrawLabels(Standard_Boolean theToDraw); - /****************** SetDrawThirdAxis ******************/ - /**** md5 signature: 4d8879c1fd39a0164e6d80ad1a538318 ****/ - %feature("compactdefaultargs") SetDrawThirdAxis; - %feature("autodoc", "Sets the drawthirdaxis attributes to active. - -Parameters ----------- -theToDraw: bool - -Returns -------- -None -") SetDrawThirdAxis; - void SetDrawThirdAxis(Standard_Boolean theToDraw); - /****************** SetPointAspect ******************/ /**** md5 signature: 94b301114933fbb123df3ae8775512cc ****/ %feature("compactdefaultargs") SetPointAspect; @@ -3545,9 +3714,9 @@ None void SetToDrawLabels(Standard_Boolean theToDraw); /****************** ShadingAspect ******************/ - /**** md5 signature: f37e95672d8954a405e93d06cd2e55b7 ****/ + /**** md5 signature: 0e02ad2657728f8fa670dd55189d1518 ****/ %feature("compactdefaultargs") ShadingAspect; - %feature("autodoc", "Returns the right-handed coordinate system set in setcomponent. + %feature("autodoc", "Returns shading aspect for specified part. Parameters ---------- @@ -3557,40 +3726,33 @@ Returns ------- opencascade::handle ") ShadingAspect; - opencascade::handle ShadingAspect(Prs3d_DatumParts thePart); + const opencascade::handle & ShadingAspect(Prs3d_DatumParts thePart); /****************** TextAspect ******************/ - /**** md5 signature: cfcafff19dee0a33d3ad10bb73a9e0cf ****/ + /**** md5 signature: e0f44028ed1f363b874a5b8421f2d89b ****/ %feature("compactdefaultargs") TextAspect; - %feature("autodoc", "Returns the text attributes for rendering labels. + %feature("autodoc", "Returns the text attributes for rendering label of specified part (prs3d_datumparts_xaxis/prs3d_datumparts_yaxis/prs3d_datumparts_zaxis). + +Parameters +---------- +thePart: Prs3d_DatumParts Returns ------- opencascade::handle ") TextAspect; - const opencascade::handle & TextAspect(); - - /****************** ThirdAxisAspect ******************/ - /**** md5 signature: c6194af8dde5688a41414412bdb4427d ****/ - %feature("compactdefaultargs") ThirdAxisAspect; - %feature("autodoc", "Returns the attributes for display of the third axis. - -Returns -------- -opencascade::handle -") ThirdAxisAspect; - const opencascade::handle & ThirdAxisAspect(); + const opencascade::handle & TextAspect(Prs3d_DatumParts thePart); - /****************** ThirdAxisLength ******************/ - /**** md5 signature: d74a4508e782b7e7414178c8d744754f ****/ - %feature("compactdefaultargs") ThirdAxisLength; - %feature("autodoc", "Returns the length of the displayed third axis. + /****************** TextAspect ******************/ + /**** md5 signature: cfcafff19dee0a33d3ad10bb73a9e0cf ****/ + %feature("compactdefaultargs") TextAspect; + %feature("autodoc", "Returns the text attributes for rendering labels. Returns ------- -float -") ThirdAxisLength; - Standard_Real ThirdAxisLength(); +opencascade::handle +") TextAspect; + const opencascade::handle & TextAspect(); /****************** ToDrawArrows ******************/ /**** md5 signature: 7fd3cfe7831ebb75887b42f1c3721e82 ****/ @@ -5501,6 +5663,5 @@ class Prs3d_ShapeTool: /* hsequence classes */ /* class aliases */ %pythoncode { -Graphic3d_HighlightStyle=Prs3d_Drawer Prs3d_Presentation=OCC.Core.Graphic3d.Graphic3d_Structure } diff --git a/src/SWIG_files/wrapper/Prs3d.pyi b/src/SWIG_files/wrapper/Prs3d.pyi index 30071e52d..a58cac0ff 100644 --- a/src/SWIG_files/wrapper/Prs3d.pyi +++ b/src/SWIG_files/wrapper/Prs3d.pyi @@ -14,7 +14,6 @@ from OCC.Core.Aspect import * from OCC.Core.Quantity import * from OCC.Core.TColStd import * -Graphic3d_HighlightStyle = NewType('Graphic3d_HighlightStyle', Prs3d_Drawer) #the following typedef cannot be wrapped as is Prs3d_NListIteratorOfListOfSequenceOfPnt = NewType('Prs3d_NListIteratorOfListOfSequenceOfPnt', Any) Prs3d_Presentation = NewType('Prs3d_Presentation', Graphic3d_Structure) @@ -76,6 +75,14 @@ Prs3d_DM_WireFrame = Prs3d_DatumMode.Prs3d_DM_WireFrame Prs3d_DM_Shaded = Prs3d_DatumMode.Prs3d_DM_Shaded class Prs3d_DatumAttribute(IntEnum): + Prs3d_DatumAttribute_XAxisLength: int = ... + Prs3d_DatumAttribute_YAxisLength: int = ... + Prs3d_DatumAttribute_ZAxisLength: int = ... + Prs3d_DatumAttribute_ShadingTubeRadiusPercent: int = ... + Prs3d_DatumAttribute_ShadingConeRadiusPercent: int = ... + Prs3d_DatumAttribute_ShadingConeLengthPercent: int = ... + Prs3d_DatumAttribute_ShadingOriginRadiusPercent: int = ... + Prs3d_DatumAttribute_ShadingNumberOfFacettes: int = ... Prs3d_DA_XAxisLength: int = ... Prs3d_DA_YAxisLength: int = ... Prs3d_DA_ZAxisLength: int = ... @@ -85,6 +92,14 @@ class Prs3d_DatumAttribute(IntEnum): Prs3d_DP_ShadingOriginRadiusPercent: int = ... Prs3d_DP_ShadingNumberOfFacettes: int = ... +Prs3d_DatumAttribute_XAxisLength = Prs3d_DatumAttribute.Prs3d_DatumAttribute_XAxisLength +Prs3d_DatumAttribute_YAxisLength = Prs3d_DatumAttribute.Prs3d_DatumAttribute_YAxisLength +Prs3d_DatumAttribute_ZAxisLength = Prs3d_DatumAttribute.Prs3d_DatumAttribute_ZAxisLength +Prs3d_DatumAttribute_ShadingTubeRadiusPercent = Prs3d_DatumAttribute.Prs3d_DatumAttribute_ShadingTubeRadiusPercent +Prs3d_DatumAttribute_ShadingConeRadiusPercent = Prs3d_DatumAttribute.Prs3d_DatumAttribute_ShadingConeRadiusPercent +Prs3d_DatumAttribute_ShadingConeLengthPercent = Prs3d_DatumAttribute.Prs3d_DatumAttribute_ShadingConeLengthPercent +Prs3d_DatumAttribute_ShadingOriginRadiusPercent = Prs3d_DatumAttribute.Prs3d_DatumAttribute_ShadingOriginRadiusPercent +Prs3d_DatumAttribute_ShadingNumberOfFacettes = Prs3d_DatumAttribute.Prs3d_DatumAttribute_ShadingNumberOfFacettes Prs3d_DA_XAxisLength = Prs3d_DatumAttribute.Prs3d_DA_XAxisLength Prs3d_DA_YAxisLength = Prs3d_DatumAttribute.Prs3d_DA_YAxisLength Prs3d_DA_ZAxisLength = Prs3d_DatumAttribute.Prs3d_DA_ZAxisLength @@ -94,6 +109,7 @@ Prs3d_DP_ShadingConeLengthPercent = Prs3d_DatumAttribute.Prs3d_DP_ShadingConeLen Prs3d_DP_ShadingOriginRadiusPercent = Prs3d_DatumAttribute.Prs3d_DP_ShadingOriginRadiusPercent Prs3d_DP_ShadingNumberOfFacettes = Prs3d_DatumAttribute.Prs3d_DP_ShadingNumberOfFacettes + class Prs3d_DimensionTextHorizontalPosition(IntEnum): Prs3d_DTHP_Left: int = ... Prs3d_DTHP_Right: int = ... @@ -122,6 +138,13 @@ Prs3d_TOH_PolyAlgo = Prs3d_TypeOfHLR.Prs3d_TOH_PolyAlgo Prs3d_TOH_Algo = Prs3d_TypeOfHLR.Prs3d_TOH_Algo class Prs3d_DatumAxes(IntEnum): + Prs3d_DatumAxes_XAxis: int = ... + Prs3d_DatumAxes_YAxis: int = ... + Prs3d_DatumAxes_ZAxis: int = ... + Prs3d_DatumAxes_XYAxes: int = ... + Prs3d_DatumAxes_YZAxes: int = ... + Prs3d_DatumAxes_XZAxes: int = ... + Prs3d_DatumAxes_XYZAxes: int = ... Prs3d_DA_XAxis: int = ... Prs3d_DA_YAxis: int = ... Prs3d_DA_ZAxis: int = ... @@ -130,6 +153,13 @@ class Prs3d_DatumAxes(IntEnum): Prs3d_DA_XZAxis: int = ... Prs3d_DA_XYZAxis: int = ... +Prs3d_DatumAxes_XAxis = Prs3d_DatumAxes.Prs3d_DatumAxes_XAxis +Prs3d_DatumAxes_YAxis = Prs3d_DatumAxes.Prs3d_DatumAxes_YAxis +Prs3d_DatumAxes_ZAxis = Prs3d_DatumAxes.Prs3d_DatumAxes_ZAxis +Prs3d_DatumAxes_XYAxes = Prs3d_DatumAxes.Prs3d_DatumAxes_XYAxes +Prs3d_DatumAxes_YZAxes = Prs3d_DatumAxes.Prs3d_DatumAxes_YZAxes +Prs3d_DatumAxes_XZAxes = Prs3d_DatumAxes.Prs3d_DatumAxes_XZAxes +Prs3d_DatumAxes_XYZAxes = Prs3d_DatumAxes.Prs3d_DatumAxes_XYZAxes Prs3d_DA_XAxis = Prs3d_DatumAxes.Prs3d_DA_XAxis Prs3d_DA_YAxis = Prs3d_DatumAxes.Prs3d_DA_YAxis Prs3d_DA_ZAxis = Prs3d_DatumAxes.Prs3d_DA_ZAxis @@ -139,6 +169,17 @@ Prs3d_DA_XZAxis = Prs3d_DatumAxes.Prs3d_DA_XZAxis Prs3d_DA_XYZAxis = Prs3d_DatumAxes.Prs3d_DA_XYZAxis class Prs3d_DatumParts(IntEnum): + Prs3d_DatumParts_Origin: int = ... + Prs3d_DatumParts_XAxis: int = ... + Prs3d_DatumParts_YAxis: int = ... + Prs3d_DatumParts_ZAxis: int = ... + Prs3d_DatumParts_XArrow: int = ... + Prs3d_DatumParts_YArrow: int = ... + Prs3d_DatumParts_ZArrow: int = ... + Prs3d_DatumParts_XOYAxis: int = ... + Prs3d_DatumParts_YOZAxis: int = ... + Prs3d_DatumParts_XOZAxis: int = ... + Prs3d_DatumParts_None: int = ... Prs3d_DP_Origin: int = ... Prs3d_DP_XAxis: int = ... Prs3d_DP_YAxis: int = ... @@ -151,6 +192,17 @@ class Prs3d_DatumParts(IntEnum): Prs3d_DP_XOZAxis: int = ... Prs3d_DP_None: int = ... +Prs3d_DatumParts_Origin = Prs3d_DatumParts.Prs3d_DatumParts_Origin +Prs3d_DatumParts_XAxis = Prs3d_DatumParts.Prs3d_DatumParts_XAxis +Prs3d_DatumParts_YAxis = Prs3d_DatumParts.Prs3d_DatumParts_YAxis +Prs3d_DatumParts_ZAxis = Prs3d_DatumParts.Prs3d_DatumParts_ZAxis +Prs3d_DatumParts_XArrow = Prs3d_DatumParts.Prs3d_DatumParts_XArrow +Prs3d_DatumParts_YArrow = Prs3d_DatumParts.Prs3d_DatumParts_YArrow +Prs3d_DatumParts_ZArrow = Prs3d_DatumParts.Prs3d_DatumParts_ZArrow +Prs3d_DatumParts_XOYAxis = Prs3d_DatumParts.Prs3d_DatumParts_XOYAxis +Prs3d_DatumParts_YOZAxis = Prs3d_DatumParts.Prs3d_DatumParts_YOZAxis +Prs3d_DatumParts_XOZAxis = Prs3d_DatumParts.Prs3d_DatumParts_XOZAxis +Prs3d_DatumParts_None = Prs3d_DatumParts.Prs3d_DatumParts_None Prs3d_DP_Origin = Prs3d_DatumParts.Prs3d_DP_Origin Prs3d_DP_XAxis = Prs3d_DatumParts.Prs3d_DP_XAxis Prs3d_DP_YAxis = Prs3d_DatumParts.Prs3d_DP_YAxis @@ -163,6 +215,7 @@ Prs3d_DP_YOZAxis = Prs3d_DatumParts.Prs3d_DP_YOZAxis Prs3d_DP_XOZAxis = Prs3d_DatumParts.Prs3d_DP_XOZAxis Prs3d_DP_None = Prs3d_DatumParts.Prs3d_DP_None + class Prs3d_DimensionArrowOrientation(IntEnum): Prs3d_DAO_Internal: int = ... Prs3d_DAO_External: int = ... @@ -189,12 +242,8 @@ class prs3d: def PrimitivesFromPolylines(thePoints: Prs3d_NListOfSequenceOfPnt) -> Graphic3d_ArrayOfPrimitives: ... class Prs3d_Arrow: - @overload @staticmethod def Draw(theGroup: Graphic3d_Group, theLocation: gp_Pnt, theDirection: gp_Dir, theAngle: float, theLength: float) -> None: ... - @overload - @staticmethod - def Draw(thePrs: Prs3d_Presentation, theLocation: gp_Pnt, theDirection: gp_Dir, theAngle: float, theLength: float) -> None: ... @staticmethod def DrawSegments(theLocation: gp_Pnt, theDir: gp_Dir, theAngle: float, theLength: float, theNbSegments: int) -> Graphic3d_ArrayOfSegments: ... @staticmethod @@ -336,7 +385,9 @@ class Prs3d_Drawer(Graphic3d_PresentationAttributes): def SetPointAspect(self, theAspect: Prs3d_PointAspect) -> None: ... def SetSectionAspect(self, theAspect: Prs3d_LineAspect) -> None: ... def SetSeenLineAspect(self, theAspect: Prs3d_LineAspect) -> None: ... + def SetShaderProgram(self, theProgram: Graphic3d_ShaderProgram, theAspect: Graphic3d_GroupAspect, theToOverrideDefaults: Optional[bool] = false) -> bool: ... def SetShadingAspect(self, theAspect: Prs3d_ShadingAspect) -> None: ... + def SetShadingModel(self, theModel: Graphic3d_TypeOfShadingModel, theToOverrideDefaults: Optional[bool] = false) -> bool: ... def SetTextAspect(self, theAspect: Prs3d_TextAspect) -> None: ... def SetTypeOfDeflection(self, theTypeOfDeflection: Aspect_TypeOfDeflection) -> None: ... def SetTypeOfHLR(self, theTypeOfHLR: Prs3d_TypeOfHLR) -> None: ... @@ -359,6 +410,23 @@ class Prs3d_Drawer(Graphic3d_PresentationAttributes): def UnFreeBoundaryAspect(self) -> Prs3d_LineAspect: ... def UnFreeBoundaryDraw(self) -> bool: ... def UnsetFaceBoundaryUpperContinuity(self) -> None: ... + def UnsetOwnDimAngleDisplayUnits(self) -> None: ... + def UnsetOwnDimAngleModelUnits(self) -> None: ... + def UnsetOwnDimLengthDisplayUnits(self) -> None: ... + def UnsetOwnDimLengthModelUnits(self) -> None: ... + def UnsetOwnDiscretisation(self) -> None: ... + def UnsetOwnDrawHiddenLine(self) -> None: ... + def UnsetOwnFaceBoundaryDraw(self) -> None: ... + def UnsetOwnFreeBoundaryDraw(self) -> None: ... + def UnsetOwnIsAutoTriangulation(self) -> None: ... + def UnsetOwnIsoOnPlane(self) -> None: ... + def UnsetOwnIsoOnTriangulation(self) -> None: ... + def UnsetOwnLineArrowDraw(self) -> None: ... + def UnsetOwnMaximalChordialDeviation(self) -> None: ... + def UnsetOwnMaximalParameterValue(self) -> None: ... + def UnsetOwnTypeOfDeflection(self) -> None: ... + def UnsetOwnUnFreeBoundaryDraw(self) -> None: ... + def UnsetOwnWireDraw(self) -> None: ... def UpdatePreviousDeviationAngle(self) -> None: ... def UpdatePreviousDeviationCoefficient(self) -> None: ... def VIsoAspect(self) -> Prs3d_IsoAspect: ... @@ -389,15 +457,6 @@ class Prs3d_Text: @overload @staticmethod def Draw(theGroup: Graphic3d_Group, theAspect: Prs3d_TextAspect, theText: TCollection_ExtendedString, theOrientation: gp_Ax2, theHasOwnAnchor: Optional[bool] = True) -> Graphic3d_Text: ... - @overload - @staticmethod - def Draw(thePrs: Prs3d_Presentation, theDrawer: Prs3d_Drawer, theText: TCollection_ExtendedString, theAttachmentPoint: gp_Pnt) -> None: ... - @overload - @staticmethod - def Draw(thePrs: Prs3d_Presentation, theAspect: Prs3d_TextAspect, theText: TCollection_ExtendedString, theOrientation: gp_Ax2, theHasOwnAnchor: Optional[bool] = True) -> None: ... - @overload - @staticmethod - def Draw(thePrs: Prs3d_Presentation, theAspect: Prs3d_TextAspect, theText: TCollection_ExtendedString, theAttachmentPoint: gp_Pnt) -> None: ... class Prs3d_ToolQuadric: def CreatePolyTriangulation(self, theTrsf: gp_Trsf) -> Poly_Triangulation: ... @@ -406,10 +465,16 @@ class Prs3d_ToolQuadric: def FillArray(self, theArray: Graphic3d_ArrayOfTriangles, theTrsf: gp_Trsf) -> None: ... @overload def FillArray(self, theArray: Graphic3d_ArrayOfTriangles, theTriangulation: Poly_Triangulation, theTrsf: gp_Trsf) -> None: ... + @overload @staticmethod def TrianglesNb(theSlicesNb: int, theStacksNb: int) -> int: ... + @overload + def TrianglesNb(self) -> int: ... + @overload @staticmethod def VerticesNb(theSlicesNb: int, theStacksNb: int, theIsIndexed: Optional[bool] = True) -> int: ... + @overload + def VerticesNb(self, theIsIndexed: Optional[bool] = true) -> int: ... class Prs3d_ArrowAspect(Prs3d_BasicAspect): @overload @@ -420,11 +485,13 @@ class Prs3d_ArrowAspect(Prs3d_BasicAspect): def __init__(self, theAspect: Graphic3d_AspectLine3d) -> None: ... def Angle(self) -> float: ... def Aspect(self) -> Graphic3d_AspectLine3d: ... + def IsZoomable(self) -> bool: ... def Length(self) -> float: ... def SetAngle(self, anAngle: float) -> None: ... def SetAspect(self, theAspect: Graphic3d_AspectLine3d) -> None: ... def SetColor(self, theColor: Quantity_Color) -> None: ... def SetLength(self, theLength: float) -> None: ... + def SetZoomable(self, theIsZoomable: bool) -> None: ... class Prs3d_BndBox(Prs3d_Root): @overload @@ -451,34 +518,29 @@ class Prs3d_BndBox(Prs3d_Root): class Prs3d_DatumAspect(Prs3d_BasicAspect): def __init__(self) -> None: ... def ArrowAspect(self) -> Prs3d_ArrowAspect: ... - def ArrowPartForAxis(self, thePart: Prs3d_DatumParts) -> Prs3d_DatumParts: ... + @staticmethod + def ArrowPartForAxis(thePart: Prs3d_DatumParts) -> Prs3d_DatumParts: ... def Attribute(self, theType: Prs3d_DatumAttribute) -> float: ... def AxisLength(self, thePart: Prs3d_DatumParts) -> float: ... + def CopyAspectsFrom(self, theOther: Prs3d_DatumAspect) -> None: ... def DatumAxes(self) -> Prs3d_DatumAxes: ... def DrawDatumPart(self, thePart: Prs3d_DatumParts) -> bool: ... - def DrawFirstAndSecondAxis(self) -> bool: ... - def DrawThirdAxis(self) -> bool: ... - def FirstAxisAspect(self) -> Prs3d_LineAspect: ... - def FirstAxisLength(self) -> float: ... def LineAspect(self, thePart: Prs3d_DatumParts) -> Prs3d_LineAspect: ... def PointAspect(self) -> Prs3d_PointAspect: ... - def SecondAxisAspect(self) -> Prs3d_LineAspect: ... - def SecondAxisLength(self) -> float: ... def SetArrowAspect(self, theAspect: Prs3d_ArrowAspect) -> None: ... def SetAttribute(self, theType: Prs3d_DatumAttribute, theValue: float) -> None: ... def SetAxisLength(self, theL1: float, theL2: float, theL3: float) -> None: ... def SetDrawArrows(self, theToDraw: bool) -> None: ... def SetDrawDatumAxes(self, theType: Prs3d_DatumAxes) -> None: ... - def SetDrawFirstAndSecondAxis(self, theToDraw: bool) -> None: ... def SetDrawLabels(self, theToDraw: bool) -> None: ... - def SetDrawThirdAxis(self, theToDraw: bool) -> None: ... def SetPointAspect(self, theAspect: Prs3d_PointAspect) -> None: ... def SetTextAspect(self, theTextAspect: Prs3d_TextAspect) -> None: ... def SetToDrawLabels(self, theToDraw: bool) -> None: ... def ShadingAspect(self, thePart: Prs3d_DatumParts) -> Prs3d_ShadingAspect: ... + @overload + def TextAspect(self, thePart: Prs3d_DatumParts) -> Prs3d_TextAspect: ... + @overload def TextAspect(self) -> Prs3d_TextAspect: ... - def ThirdAxisAspect(self) -> Prs3d_LineAspect: ... - def ThirdAxisLength(self) -> float: ... def ToDrawArrows(self) -> bool: ... def ToDrawLabels(self) -> bool: ... @@ -659,7 +721,6 @@ prs3d_GetDeflection = prs3d.GetDeflection prs3d_MatchSegment = prs3d.MatchSegment prs3d_PrimitivesFromPolylines = prs3d.PrimitivesFromPolylines Prs3d_Arrow_Draw = Prs3d_Arrow.Draw -Prs3d_Arrow_Draw = Prs3d_Arrow.Draw Prs3d_Arrow_DrawSegments = Prs3d_Arrow.DrawSegments Prs3d_Arrow_DrawShaded = Prs3d_Arrow.DrawShaded Prs3d_Point_Add = Prs3d_Point.Add @@ -668,9 +729,6 @@ Prs3d_Root_CurrentGroup = Prs3d_Root.CurrentGroup Prs3d_Root_NewGroup = Prs3d_Root.NewGroup Prs3d_Text_Draw = Prs3d_Text.Draw Prs3d_Text_Draw = Prs3d_Text.Draw -Prs3d_Text_Draw = Prs3d_Text.Draw -Prs3d_Text_Draw = Prs3d_Text.Draw -Prs3d_Text_Draw = Prs3d_Text.Draw Prs3d_ToolQuadric_TrianglesNb = Prs3d_ToolQuadric.TrianglesNb Prs3d_ToolQuadric_VerticesNb = Prs3d_ToolQuadric.VerticesNb Prs3d_BndBox_Add = Prs3d_BndBox.Add @@ -680,6 +738,7 @@ Prs3d_BndBox_FillSegments = Prs3d_BndBox.FillSegments Prs3d_BndBox_FillSegments = Prs3d_BndBox.FillSegments Prs3d_BndBox_FillSegments = Prs3d_BndBox.FillSegments Prs3d_BndBox_fillSegments = Prs3d_BndBox.fillSegments +Prs3d_DatumAspect_ArrowPartForAxis = Prs3d_DatumAspect.ArrowPartForAxis Prs3d_ToolCylinder_Create = Prs3d_ToolCylinder.Create Prs3d_ToolDisk_Create = Prs3d_ToolDisk.Create Prs3d_ToolSector_Create = Prs3d_ToolSector.Create diff --git a/src/SWIG_files/wrapper/PrsDim.i b/src/SWIG_files/wrapper/PrsDim.i index 153bde51a..0a8a841c2 100644 --- a/src/SWIG_files/wrapper/PrsDim.i +++ b/src/SWIG_files/wrapper/PrsDim.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define PRSDIMDOCSTRING "PrsDim module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_prsdim.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_prsdim.html" %enddef %module (package="OCC.Core", docstring=PRSDIMDOCSTRING) PrsDim @@ -164,7 +164,7 @@ enum PrsDim_TypeOfAngle { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class PrsDim_DimensionSelectionMode(IntEnum): @@ -834,7 +834,7 @@ enum ComputeMode { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class ComputeMode(IntEnum): @@ -1060,7 +1060,7 @@ None /****************** SetCustomValue ******************/ /**** md5 signature: aa638ede9bd0fe424934618474a9c131 ****/ %feature("compactdefaultargs") SetCustomValue; - %feature("autodoc", "Sets user-defined dimension value. unit conversion during the display is not applyed. @param thevalue [in] the user-defined value to display. + %feature("autodoc", "Sets user-defined dimension value. unit conversion during the display is not applied. @param thevalue [in] the user-defined value to display. Parameters ---------- @@ -1275,22 +1275,21 @@ None PrsDim_DimensionOwner(const opencascade::handle & theSelObject, const PrsDim_DimensionSelectionMode theSelMode, const Standard_Integer thePriority = 0); /****************** HilightWithColor ******************/ - /**** md5 signature: 56e556dd0edce796a3c3d12b272af59e ****/ + /**** md5 signature: ff872ded3a30d3b368f40f78eef3d5d8 ****/ %feature("compactdefaultargs") HilightWithColor; %feature("autodoc", "No available documentation. Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theStyle: Prs3d_Drawer -theMode: int,optional - default value is 0 +theMode: int Returns ------- None ") HilightWithColor; - virtual void HilightWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const Standard_Integer theMode = 0); + virtual void HilightWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const Standard_Integer theMode); /****************** IsHilighted ******************/ /**** md5 signature: 47cdfcd94ad9e17a52e4b8d49964f328 ****/ @@ -3021,6 +3020,17 @@ TColStd_ListOfTransient *******************************/ class PrsDim_LengthDimension : public PrsDim_Dimension { public: + /****************** PrsDim_LengthDimension ******************/ + /**** md5 signature: 76e262900b82f282d533e9d72cd330de ****/ + %feature("compactdefaultargs") PrsDim_LengthDimension; + %feature("autodoc", "Construct an empty length dimension. @sa setmeasuredgeometry(), setmeasuredshapes() for initialization. + +Returns +------- +None +") PrsDim_LengthDimension; + PrsDim_LengthDimension(); + /****************** PrsDim_LengthDimension ******************/ /**** md5 signature: b8d2bd968153bc92dd94147ef64017a0 ****/ %feature("compactdefaultargs") PrsDim_LengthDimension; @@ -3106,7 +3116,7 @@ None /****************** FirstPoint ******************/ /**** md5 signature: ce6daac63a94ae39a0d0bfa7edc5f3cd ****/ %feature("compactdefaultargs") FirstPoint; - %feature("autodoc", "Returns first attachement point. + %feature("autodoc", "Returns first attachment point. Returns ------- @@ -3117,7 +3127,7 @@ gp_Pnt /****************** FirstShape ******************/ /**** md5 signature: 0052eba922702f3e525649e52d93f4e7 ****/ %feature("compactdefaultargs") FirstShape; - %feature("autodoc", "Returns first attachement shape. + %feature("autodoc", "Returns first attachment shape. Returns ------- @@ -3161,7 +3171,7 @@ gp_Pnt /****************** SecondPoint ******************/ /**** md5 signature: 66319c8fbdc379c409c2efa67f6e79e2 ****/ %feature("compactdefaultargs") SecondPoint; - %feature("autodoc", "Returns second attachement point. + %feature("autodoc", "Returns second attachment point. Returns ------- @@ -3172,7 +3182,7 @@ gp_Pnt /****************** SecondShape ******************/ /**** md5 signature: 3c9d5f80bfbcac42f6848475061ecf61 ****/ %feature("compactdefaultargs") SecondShape; - %feature("autodoc", "Returns second attachement shape. + %feature("autodoc", "Returns second attachment shape. Returns ------- @@ -3215,7 +3225,7 @@ None /****************** SetMeasuredGeometry ******************/ /**** md5 signature: cef07b2afa7411d338e4348d1fb09cb3 ****/ %feature("compactdefaultargs") SetMeasuredGeometry; - %feature("autodoc", "Measure distance between two points. the dimension will become invalid if the new distance between attachement points is less than precision::confusion(). @param thefirstpoint [in] the first point. @param thesecondpoint [in] the second point. @param theplane [in] the user-defined plane. + %feature("autodoc", "Measure distance between two points. the dimension will become invalid if the new distance between attachment points is less than precision::confusion(). @param thefirstpoint [in] the first point. @param thesecondpoint [in] the second point. @param theplane [in] the user-defined plane. Parameters ---------- diff --git a/src/SWIG_files/wrapper/PrsDim.pyi b/src/SWIG_files/wrapper/PrsDim.pyi index 4324a5489..694b69518 100644 --- a/src/SWIG_files/wrapper/PrsDim.pyi +++ b/src/SWIG_files/wrapper/PrsDim.pyi @@ -234,7 +234,7 @@ class PrsDim_Dimension(AIS_InteractiveObject): class PrsDim_DimensionOwner(SelectMgr_EntityOwner): def __init__(self, theSelObject: SelectMgr_SelectableObject, theSelMode: PrsDim_DimensionSelectionMode, thePriority: Optional[int] = 0) -> None: ... - def HilightWithColor(self, thePM: PrsMgr_PresentationManager3d, theStyle: Prs3d_Drawer, theMode: Optional[int] = 0) -> None: ... + def HilightWithColor(self, thePM: PrsMgr_PresentationManager, theStyle: Prs3d_Drawer, theMode: int) -> None: ... def IsHilighted(self, thePM: PrsMgr_PresentationManager, theMode: Optional[int] = 0) -> bool: ... def SelectionMode(self) -> PrsDim_DimensionSelectionMode: ... def Unhilight(self, thePM: PrsMgr_PresentationManager, theMode: Optional[int] = 0) -> None: ... @@ -396,6 +396,8 @@ class PrsDim_IdenticRelation(PrsDim_Relation): def Users(self) -> TColStd_ListOfTransient: ... class PrsDim_LengthDimension(PrsDim_Dimension): + @overload + def __init__(self) -> None: ... @overload def __init__(self, theFace: TopoDS_Face, theEdge: TopoDS_Edge) -> None: ... @overload diff --git a/src/SWIG_files/wrapper/PrsMgr.i b/src/SWIG_files/wrapper/PrsMgr.i index f7b955300..045c20cf9 100644 --- a/src/SWIG_files/wrapper/PrsMgr.i +++ b/src/SWIG_files/wrapper/PrsMgr.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define PRSMGRDOCSTRING "PrsMgr module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_prsmgr.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_prsmgr.html" %enddef %module (package="OCC.Core", docstring=PRSMGRDOCSTRING) PrsMgr @@ -101,19 +101,42 @@ from OCC.Core.Exception import * /* public enums */ enum PrsMgr_TypeOfPresentation3d { PrsMgr_TOP_AllView = 0, - PrsMgr_TOP_ProjectorDependant = 1, + PrsMgr_TOP_ProjectorDependent = 1, +}; + +enum PrsMgr_DisplayStatus { + PrsMgr_DisplayStatus_Displayed = 0, + PrsMgr_DisplayStatus_Erased = 1, + PrsMgr_DisplayStatus_None = 2, + AIS_DS_Displayed = PrsMgr_DisplayStatus_Displayed, + AIS_DS_Erased = PrsMgr_DisplayStatus_Erased, + AIS_DS_None = PrsMgr_DisplayStatus_None, }; /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class PrsMgr_TypeOfPresentation3d(IntEnum): PrsMgr_TOP_AllView = 0 - PrsMgr_TOP_ProjectorDependant = 1 + PrsMgr_TOP_ProjectorDependent = 1 PrsMgr_TOP_AllView = PrsMgr_TypeOfPresentation3d.PrsMgr_TOP_AllView -PrsMgr_TOP_ProjectorDependant = PrsMgr_TypeOfPresentation3d.PrsMgr_TOP_ProjectorDependant +PrsMgr_TOP_ProjectorDependent = PrsMgr_TypeOfPresentation3d.PrsMgr_TOP_ProjectorDependent + +class PrsMgr_DisplayStatus(IntEnum): + PrsMgr_DisplayStatus_Displayed = 0 + PrsMgr_DisplayStatus_Erased = 1 + PrsMgr_DisplayStatus_None = 2 + AIS_DS_Displayed = PrsMgr_DisplayStatus_Displayed + AIS_DS_Erased = PrsMgr_DisplayStatus_Erased + AIS_DS_None = PrsMgr_DisplayStatus_None +PrsMgr_DisplayStatus_Displayed = PrsMgr_DisplayStatus.PrsMgr_DisplayStatus_Displayed +PrsMgr_DisplayStatus_Erased = PrsMgr_DisplayStatus.PrsMgr_DisplayStatus_Erased +PrsMgr_DisplayStatus_None = PrsMgr_DisplayStatus.PrsMgr_DisplayStatus_None +AIS_DS_Displayed = PrsMgr_DisplayStatus.AIS_DS_Displayed +AIS_DS_Erased = PrsMgr_DisplayStatus.AIS_DS_Erased +AIS_DS_None = PrsMgr_DisplayStatus.AIS_DS_None }; /* end python proxy for enums */ @@ -337,6 +360,17 @@ int ") DisplayMode; Standard_Integer DisplayMode(); + /****************** DisplayStatus ******************/ + /**** md5 signature: ee3d5b78bf379a82087b86d8b5b0b3e3 ****/ + %feature("compactdefaultargs") DisplayStatus; + %feature("autodoc", "Return presentation display status; prsmgr_displaystatus_none by default. + +Returns +------- +PrsMgr_DisplayStatus +") DisplayStatus; + PrsMgr_DisplayStatus DisplayStatus(); + %feature("autodoc", "1"); %extend{ @@ -348,7 +382,7 @@ int /****************** DynamicHilightAttributes ******************/ /**** md5 signature: 9c44b3555020951e689ea9d2e141bc3d ****/ %feature("compactdefaultargs") DynamicHilightAttributes; - %feature("autodoc", "Returns the hilight attributes settings. when not null, overrides both prs3d_typeofhighlight_localdynamic and prs3d_typeofhighlight_dynamic defined within ais_interactivecontext. + %feature("autodoc", "Returns the hilight attributes settings. when not null, overrides both prs3d_typeofhighlight_localdynamic and prs3d_typeofhighlight_dynamic defined within ais_interactivecontext::highlightstyle(). @sa ais_interactivecontext::highlightstyle(). Returns ------- @@ -356,28 +390,6 @@ opencascade::handle ") DynamicHilightAttributes; const opencascade::handle & DynamicHilightAttributes(); - /****************** GetTransformPersistenceMode ******************/ - /**** md5 signature: 962072ac918366817a8f5012a823a38e ****/ - %feature("compactdefaultargs") GetTransformPersistenceMode; - %feature("autodoc", "Gets transform persistence mode for this object. - -Returns -------- -Graphic3d_TransModeFlags -") GetTransformPersistenceMode; - Graphic3d_TransModeFlags GetTransformPersistenceMode(); - - /****************** GetTransformPersistencePoint ******************/ - /**** md5 signature: 3adb552378412254ff4b806352304578 ****/ - %feature("compactdefaultargs") GetTransformPersistencePoint; - %feature("autodoc", "Gets point of transform persistence for this object. - -Returns -------- -gp_Pnt -") GetTransformPersistencePoint; - gp_Pnt GetTransformPersistencePoint(); - /****************** HasColor ******************/ /**** md5 signature: f14084fe0c7674324d105b06cc1ff5b4 ****/ %feature("compactdefaultargs") HasColor; @@ -403,7 +415,7 @@ bool /****************** HasHilightMode ******************/ /**** md5 signature: 35c4cc36b9d1287cbb8be9209c167aef ****/ %feature("compactdefaultargs") HasHilightMode; - %feature("autodoc", "Returns true if the interactive object is in highlight mode. + %feature("autodoc", "Returns true if the interactive object is in highlight mode. @sa hilightattributes(). Returns ------- @@ -469,7 +481,7 @@ bool /****************** HilightAttributes ******************/ /**** md5 signature: 028c3cfd528f1150f36206e2e1fd24ab ****/ %feature("compactdefaultargs") HilightAttributes; - %feature("autodoc", "Returns the hilight attributes settings. when not null, overrides both prs3d_typeofhighlight_localselected and prs3d_typeofhighlight_selected defined within ais_interactivecontext. + %feature("autodoc", "Returns the hilight attributes settings. when not null, overrides both prs3d_typeofhighlight_localselected and prs3d_typeofhighlight_selected defined within ais_interactivecontext::highlightstyle(). @sa ais_interactivecontext::highlightstyle(). Returns ------- @@ -480,7 +492,7 @@ opencascade::handle /****************** HilightMode ******************/ /**** md5 signature: 65e4b0407fae3cd6d737aa6b7e74bfa0 ****/ %feature("compactdefaultargs") HilightMode; - %feature("autodoc", "Returns highlight display mode. this is obsolete method for backward compatibility - use ::hilightattributes() and ::dynamichilightattributes() instead. + %feature("autodoc", "Returns highlight display mode. this is obsolete method for backward compatibility - use ::hilightattributes() and ::dynamichilightattributes() instead. @sa hilightattributes(). Returns ------- @@ -689,21 +701,6 @@ None ") SetClipPlanes; virtual void SetClipPlanes(const opencascade::handle & thePlanes); - /****************** SetClipPlanes ******************/ - /**** md5 signature: 07b77eb94c54463d3580213e6e88f118 ****/ - %feature("compactdefaultargs") SetClipPlanes; - %feature("autodoc", "No available documentation. - -Parameters ----------- -thePlanes: Graphic3d_SequenceOfHClipPlane - -Returns -------- -None -") SetClipPlanes; - void SetClipPlanes(const Graphic3d_SequenceOfHClipPlane & thePlanes); - /****************** SetColor ******************/ /**** md5 signature: 00f0a4e343c1e144a6992078bccbe32c ****/ %feature("compactdefaultargs") SetColor; @@ -783,7 +780,7 @@ None /****************** SetHilightMode ******************/ /**** md5 signature: 0fd85a8f52dd5fb591746b6a5ceb9590 ****/ %feature("compactdefaultargs") SetHilightMode; - %feature("autodoc", "Sets highlight display mode. this is obsolete method for backward compatibility - use ::hilightattributes() and ::dynamichilightattributes() instead. + %feature("autodoc", "Sets highlight display mode. this is obsolete method for backward compatibility - use ::hilightattributes() and ::dynamichilightattributes() instead. @sa hilightattributes(). Parameters ---------- @@ -961,23 +958,6 @@ None ") SetTransformPersistence; virtual void SetTransformPersistence(const opencascade::handle & theTrsfPers); - /****************** SetTransformPersistence ******************/ - /**** md5 signature: 40850175dee1c75cf5c4de5f4378d711 ****/ - %feature("compactdefaultargs") SetTransformPersistence; - %feature("autodoc", "Sets up transform persistence mode for this object. this function used to lock in object position, rotation and / or zooming relative to camera position. object will be drawn in the origin setted by thepoint parameter (except graphic3d_tmf_triedronpers flag - see description later). themode should be: - graphic3d_tmf_none - no persistence attributes (reset); - graphic3d_tmf_zoompers - object doesn't resize; - graphic3d_tmf_rotatepers - object doesn't rotate; - graphic3d_tmf_zoomrotatepers - object doesn't resize and rotate; - graphic3d_tmf_rotatepers - object doesn't rotate; - graphic3d_tmf_triedronpers - object behaves like trihedron. if graphic3d_tmf_triedronpers or graphic3d_tmf_2d persistence mode selected thepoint coordinates x and y means: - x = 0.0, y = 0.0 - center of view window; - x > 0.0, y > 0.0 - right upper corner of view window; - x > 0.0, y < 0.0 - right lower corner of view window; - x < 0.0, y > 0.0 - left upper corner of view window; - x < 0.0, y < 0.0 - left lower corner of view window. and z coordinate defines the gap from border of view window (except center position). - -Parameters ----------- -theMode: Graphic3d_TransModeFlags -thePoint: gp_Pnt,optional - default value is gp_Pnt(0.0,0.0,0.0) - -Returns -------- -None -") SetTransformPersistence; - void SetTransformPersistence(const Graphic3d_TransModeFlags theMode, const gp_Pnt & thePoint = gp_Pnt(0.0,0.0,0.0)); - /****************** SetTransparency ******************/ /**** md5 signature: 6904036a7c429832a3fcf1769aa51bbc ****/ %feature("compactdefaultargs") SetTransparency; @@ -1194,7 +1174,7 @@ None /****************** UnsetHilightMode ******************/ /**** md5 signature: cc3796da2fbce682bdfefcce93091c39 ****/ %feature("compactdefaultargs") UnsetHilightMode; - %feature("autodoc", "Unsets highlight display mode. + %feature("autodoc", "Unsets highlight display mode. @sa hilightattributes(). Returns ------- @@ -1837,22 +1817,6 @@ None ") Unhighlight; void Unhighlight(const opencascade::handle & thePrsObject); - /****************** Unhighlight ******************/ - /**** md5 signature: 1a2e1121e9c12589e75a718f291cd4b8 ****/ - %feature("compactdefaultargs") Unhighlight; - %feature("autodoc", "No available documentation. - -Parameters ----------- -thePrsObject: PrsMgr_PresentableObject -theMode: int - -Returns -------- -None -") Unhighlight; - void Unhighlight(const opencascade::handle & thePrsObject, const Standard_Integer theMode); - /****************** Update ******************/ /**** md5 signature: 6f121173a28205c89b330155df4d893b ****/ %feature("compactdefaultargs") Update; diff --git a/src/SWIG_files/wrapper/PrsMgr.pyi b/src/SWIG_files/wrapper/PrsMgr.pyi index d99e63f14..66ab5d418 100644 --- a/src/SWIG_files/wrapper/PrsMgr.pyi +++ b/src/SWIG_files/wrapper/PrsMgr.pyi @@ -64,10 +64,25 @@ class PrsMgr_Presentations: class PrsMgr_TypeOfPresentation3d(IntEnum): PrsMgr_TOP_AllView: int = ... - PrsMgr_TOP_ProjectorDependant: int = ... + PrsMgr_TOP_ProjectorDependent: int = ... PrsMgr_TOP_AllView = PrsMgr_TypeOfPresentation3d.PrsMgr_TOP_AllView -PrsMgr_TOP_ProjectorDependant = PrsMgr_TypeOfPresentation3d.PrsMgr_TOP_ProjectorDependant +PrsMgr_TOP_ProjectorDependent = PrsMgr_TypeOfPresentation3d.PrsMgr_TOP_ProjectorDependent + +class PrsMgr_DisplayStatus(IntEnum): + PrsMgr_DisplayStatus_Displayed: int = ... + PrsMgr_DisplayStatus_Erased: int = ... + PrsMgr_DisplayStatus_None: int = ... + AIS_DS_Displayed: int = ... + AIS_DS_Erased: int = ... + AIS_DS_None: int = ... + +PrsMgr_DisplayStatus_Displayed = PrsMgr_DisplayStatus.PrsMgr_DisplayStatus_Displayed +PrsMgr_DisplayStatus_Erased = PrsMgr_DisplayStatus.PrsMgr_DisplayStatus_Erased +PrsMgr_DisplayStatus_None = PrsMgr_DisplayStatus.PrsMgr_DisplayStatus_None +AIS_DS_Displayed = PrsMgr_DisplayStatus.AIS_DS_Displayed +AIS_DS_Erased = PrsMgr_DisplayStatus.AIS_DS_Erased +AIS_DS_None = PrsMgr_DisplayStatus.AIS_DS_None class PrsMgr_PresentableObject(Standard_Transient): def AcceptDisplayMode(self, theMode: int) -> bool: ... @@ -83,9 +98,8 @@ class PrsMgr_PresentableObject(Standard_Transient): def CurrentFacingModel(self) -> Aspect_TypeOfFacingModel: ... def DefaultDisplayMode(self) -> int: ... def DisplayMode(self) -> int: ... + def DisplayStatus(self) -> PrsMgr_DisplayStatus: ... def DynamicHilightAttributes(self) -> Prs3d_Drawer: ... - def GetTransformPersistenceMode(self) -> Graphic3d_TransModeFlags: ... - def GetTransformPersistencePoint(self) -> gp_Pnt: ... def HasColor(self) -> bool: ... def HasDisplayMode(self) -> bool: ... def HasHilightMode(self) -> bool: ... @@ -111,9 +125,6 @@ class PrsMgr_PresentableObject(Standard_Transient): def RemoveClipPlane(self, thePlane: Graphic3d_ClipPlane) -> None: ... def ResetTransformation(self) -> None: ... def SetAttributes(self, theDrawer: Prs3d_Drawer) -> None: ... - @overload - def SetClipPlanes(self, thePlanes: Graphic3d_SequenceOfHClipPlane) -> None: ... - @overload def SetClipPlanes(self, thePlanes: Graphic3d_SequenceOfHClipPlane) -> None: ... def SetColor(self, theColor: Quantity_Color) -> None: ... def SetCurrentFacingModel(self, theModel: Optional[Aspect_TypeOfFacingModel] = Aspect_TOFM_BOTH_SIDE) -> None: ... @@ -135,10 +146,7 @@ class PrsMgr_PresentableObject(Standard_Transient): def SetToUpdate(self, theMode: int) -> None: ... @overload def SetToUpdate(self) -> None: ... - @overload def SetTransformPersistence(self, theTrsfPers: Graphic3d_TransformPers) -> None: ... - @overload - def SetTransformPersistence(self, theMode: Graphic3d_TransModeFlags, thePoint: Optional[gp_Pnt] = gp_Pnt(0.0,0.0,0.0)) -> None: ... def SetTransparency(self, aValue: Optional[float] = 0.6) -> None: ... def SetTypeOfPresentation(self, theType: PrsMgr_TypeOfPresentation3d) -> None: ... def SetWidth(self, theWidth: float) -> None: ... @@ -201,10 +209,7 @@ class PrsMgr_PresentationManager(Standard_Transient): def SetVisibility(self, thePrsObject: PrsMgr_PresentableObject, theMode: int, theValue: bool) -> None: ... def StructureManager(self) -> Graphic3d_StructureManager: ... def Transform(self, thePrsObject: PrsMgr_PresentableObject, theTransformation: TopLoc_Datum3D, theMode: Optional[int] = 0) -> None: ... - @overload def Unhighlight(self, thePrsObject: PrsMgr_PresentableObject) -> None: ... - @overload - def Unhighlight(self, thePrsObject: PrsMgr_PresentableObject, theMode: int) -> None: ... def Update(self, thePrsObject: PrsMgr_PresentableObject, theMode: Optional[int] = 0) -> None: ... def UpdateHighlightTrsf(self, theViewer: V3d_Viewer, theObj: PrsMgr_PresentableObject, theMode: Optional[int] = 0, theSelObj: Optional[PrsMgr_PresentableObject] = None) -> None: ... diff --git a/src/SWIG_files/wrapper/Quantity.i b/src/SWIG_files/wrapper/Quantity.i index 0b8c829b1..90b325c3a 100644 --- a/src/SWIG_files/wrapper/Quantity.i +++ b/src/SWIG_files/wrapper/Quantity.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define QUANTITYDOCSTRING "Quantity module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_quantity.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_quantity.html" %enddef %module (package="OCC.Core", docstring=QUANTITYDOCSTRING) Quantity @@ -663,7 +663,7 @@ enum Quantity_PhysicalQuantity { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Quantity_NameOfColor(IntEnum): @@ -1906,87 +1906,8 @@ Quantity_DOSEEQUIVALENT = Quantity_PhysicalQuantity.Quantity_DOSEEQUIVALENT /* end templates declaration */ /* typedefs */ -typedef Standard_Real Quantity_AbsorbedDose; -typedef Standard_Real Quantity_Acceleration; -typedef Standard_Real Quantity_AcousticIntensity; -typedef Standard_Real Quantity_Activity; -typedef Standard_Real Quantity_Admittance; -typedef Standard_Real Quantity_AmountOfSubstance; -typedef Standard_Real Quantity_AngularVelocity; -typedef Standard_Real Quantity_Area; typedef NCollection_Array1 Quantity_Array1OfColor; typedef NCollection_Array2 Quantity_Array2OfColor; -typedef Standard_Real Quantity_Capacitance; -typedef Standard_Real Quantity_Coefficient; -typedef Standard_Real Quantity_CoefficientOfExpansion; -typedef Standard_Real Quantity_Concentration; -typedef Standard_Real Quantity_Conductivity; -typedef Standard_Real Quantity_Constant; -typedef Standard_Real Quantity_Consumption; -typedef Standard_Real Quantity_Content; -typedef Standard_Real Quantity_Density; -typedef Standard_Real Quantity_DoseEquivalent; -typedef Standard_Real Quantity_ElectricCapacitance; -typedef Standard_Real Quantity_ElectricCharge; -typedef Standard_Real Quantity_ElectricCurrent; -typedef Standard_Real Quantity_ElectricFieldStrength; -typedef Standard_Real Quantity_ElectricPotential; -typedef Standard_Real Quantity_Energy; -typedef Standard_Real Quantity_Enthalpy; -typedef Standard_Real Quantity_Entropy; -typedef Standard_Real Quantity_Factor; -typedef Standard_Real Quantity_Force; -typedef Standard_Real Quantity_Frequency; -typedef Standard_Real Quantity_Illuminance; -typedef Standard_Real Quantity_Impedance; -typedef Standard_Real Quantity_Index; -typedef Standard_Real Quantity_Inductance; -typedef Standard_Real Quantity_KinematicViscosity; -typedef Standard_Real Quantity_KineticMoment; -typedef Standard_Real Quantity_Length; -typedef Standard_Real Quantity_Luminance; -typedef Standard_Real Quantity_LuminousEfficacity; -typedef Standard_Real Quantity_LuminousExposition; -typedef Standard_Real Quantity_LuminousFlux; -typedef Standard_Real Quantity_LuminousIntensity; -typedef Standard_Real Quantity_MagneticFieldStrength; -typedef Standard_Real Quantity_MagneticFlux; -typedef Standard_Real Quantity_MagneticFluxDensity; -typedef Standard_Real Quantity_Mass; -typedef Standard_Real Quantity_MassFlow; -typedef Standard_Real Quantity_MolarConcentration; -typedef Standard_Real Quantity_MolarMass; -typedef Standard_Real Quantity_MolarVolume; -typedef Standard_Real Quantity_Molarity; -typedef Standard_Real Quantity_MomentOfAForce; -typedef Standard_Real Quantity_MomentOfInertia; -typedef Standard_Real Quantity_Momentum; -typedef Standard_Real Quantity_Normality; -typedef Standard_Real Quantity_Parameter; -typedef Standard_Real Quantity_PlaneAngle; -typedef Standard_Real Quantity_Power; -typedef Standard_Real Quantity_Pressure; -typedef Standard_Real Quantity_Quotient; -typedef Standard_Real Quantity_Rate; -typedef Standard_Real Quantity_Ratio; -typedef Standard_Real Quantity_Reluctance; -typedef Standard_Real Quantity_Resistance; -typedef Standard_Real Quantity_Resistivity; -typedef Standard_Real Quantity_Scalaire; -typedef Standard_Real Quantity_SolidAngle; -typedef Standard_Real Quantity_SoundIntensity; -typedef Standard_Real Quantity_SpecificHeatCapacity; -typedef Standard_Real Quantity_Speed; -typedef Standard_Real Quantity_SurfaceTension; -typedef Standard_Real Quantity_Temperature; -typedef Standard_Real Quantity_ThermalConductivity; -typedef Standard_Real Quantity_Torque; -typedef Standard_Real Quantity_Velocity; -typedef Standard_Real Quantity_Viscosity; -typedef Standard_Real Quantity_Volume; -typedef Standard_Real Quantity_VolumeFlow; -typedef Standard_Real Quantity_Weight; -typedef Standard_Real Quantity_Work; /* end typedefs declaration */ /*********************** @@ -3367,7 +3288,7 @@ bool /****************** IsLeap ******************/ /**** md5 signature: 637a928f83e67c8159746f72af70ea4b ****/ %feature("compactdefaultargs") IsLeap; - %feature("autodoc", "Returns true if a year is a leap year. the leap years are divisable by 4 and not by 100 except the years divisable by 400. + %feature("autodoc", "Returns true if a year is a leap year. the leap years are divisible by 4 and not by 100 except the years divisible by 400. Parameters ---------- diff --git a/src/SWIG_files/wrapper/Quantity.pyi b/src/SWIG_files/wrapper/Quantity.pyi index c7f676e71..6bb8b2e0f 100644 --- a/src/SWIG_files/wrapper/Quantity.pyi +++ b/src/SWIG_files/wrapper/Quantity.pyi @@ -5,87 +5,8 @@ from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.TCollection import * -Quantity_AbsorbedDose = NewType('Quantity_AbsorbedDose', Standard_Real) -Quantity_Acceleration = NewType('Quantity_Acceleration', Standard_Real) -Quantity_AcousticIntensity = NewType('Quantity_AcousticIntensity', Standard_Real) -Quantity_Activity = NewType('Quantity_Activity', Standard_Real) -Quantity_Admittance = NewType('Quantity_Admittance', Standard_Real) -Quantity_AmountOfSubstance = NewType('Quantity_AmountOfSubstance', Standard_Real) -Quantity_AngularVelocity = NewType('Quantity_AngularVelocity', Standard_Real) -Quantity_Area = NewType('Quantity_Area', Standard_Real) #the following typedef cannot be wrapped as is Quantity_Array2OfColor = NewType('Quantity_Array2OfColor', Any) -Quantity_Capacitance = NewType('Quantity_Capacitance', Standard_Real) -Quantity_Coefficient = NewType('Quantity_Coefficient', Standard_Real) -Quantity_CoefficientOfExpansion = NewType('Quantity_CoefficientOfExpansion', Standard_Real) -Quantity_Concentration = NewType('Quantity_Concentration', Standard_Real) -Quantity_Conductivity = NewType('Quantity_Conductivity', Standard_Real) -Quantity_Constant = NewType('Quantity_Constant', Standard_Real) -Quantity_Consumption = NewType('Quantity_Consumption', Standard_Real) -Quantity_Content = NewType('Quantity_Content', Standard_Real) -Quantity_Density = NewType('Quantity_Density', Standard_Real) -Quantity_DoseEquivalent = NewType('Quantity_DoseEquivalent', Standard_Real) -Quantity_ElectricCapacitance = NewType('Quantity_ElectricCapacitance', Standard_Real) -Quantity_ElectricCharge = NewType('Quantity_ElectricCharge', Standard_Real) -Quantity_ElectricCurrent = NewType('Quantity_ElectricCurrent', Standard_Real) -Quantity_ElectricFieldStrength = NewType('Quantity_ElectricFieldStrength', Standard_Real) -Quantity_ElectricPotential = NewType('Quantity_ElectricPotential', Standard_Real) -Quantity_Energy = NewType('Quantity_Energy', Standard_Real) -Quantity_Enthalpy = NewType('Quantity_Enthalpy', Standard_Real) -Quantity_Entropy = NewType('Quantity_Entropy', Standard_Real) -Quantity_Factor = NewType('Quantity_Factor', Standard_Real) -Quantity_Force = NewType('Quantity_Force', Standard_Real) -Quantity_Frequency = NewType('Quantity_Frequency', Standard_Real) -Quantity_Illuminance = NewType('Quantity_Illuminance', Standard_Real) -Quantity_Impedance = NewType('Quantity_Impedance', Standard_Real) -Quantity_Index = NewType('Quantity_Index', Standard_Real) -Quantity_Inductance = NewType('Quantity_Inductance', Standard_Real) -Quantity_KinematicViscosity = NewType('Quantity_KinematicViscosity', Standard_Real) -Quantity_KineticMoment = NewType('Quantity_KineticMoment', Standard_Real) -Quantity_Length = NewType('Quantity_Length', Standard_Real) -Quantity_Luminance = NewType('Quantity_Luminance', Standard_Real) -Quantity_LuminousEfficacity = NewType('Quantity_LuminousEfficacity', Standard_Real) -Quantity_LuminousExposition = NewType('Quantity_LuminousExposition', Standard_Real) -Quantity_LuminousFlux = NewType('Quantity_LuminousFlux', Standard_Real) -Quantity_LuminousIntensity = NewType('Quantity_LuminousIntensity', Standard_Real) -Quantity_MagneticFieldStrength = NewType('Quantity_MagneticFieldStrength', Standard_Real) -Quantity_MagneticFlux = NewType('Quantity_MagneticFlux', Standard_Real) -Quantity_MagneticFluxDensity = NewType('Quantity_MagneticFluxDensity', Standard_Real) -Quantity_Mass = NewType('Quantity_Mass', Standard_Real) -Quantity_MassFlow = NewType('Quantity_MassFlow', Standard_Real) -Quantity_MolarConcentration = NewType('Quantity_MolarConcentration', Standard_Real) -Quantity_MolarMass = NewType('Quantity_MolarMass', Standard_Real) -Quantity_MolarVolume = NewType('Quantity_MolarVolume', Standard_Real) -Quantity_Molarity = NewType('Quantity_Molarity', Standard_Real) -Quantity_MomentOfAForce = NewType('Quantity_MomentOfAForce', Standard_Real) -Quantity_MomentOfInertia = NewType('Quantity_MomentOfInertia', Standard_Real) -Quantity_Momentum = NewType('Quantity_Momentum', Standard_Real) -Quantity_Normality = NewType('Quantity_Normality', Standard_Real) -Quantity_Parameter = NewType('Quantity_Parameter', Standard_Real) -Quantity_PlaneAngle = NewType('Quantity_PlaneAngle', Standard_Real) -Quantity_Power = NewType('Quantity_Power', Standard_Real) -Quantity_Pressure = NewType('Quantity_Pressure', Standard_Real) -Quantity_Quotient = NewType('Quantity_Quotient', Standard_Real) -Quantity_Rate = NewType('Quantity_Rate', Standard_Real) -Quantity_Ratio = NewType('Quantity_Ratio', Standard_Real) -Quantity_Reluctance = NewType('Quantity_Reluctance', Standard_Real) -Quantity_Resistance = NewType('Quantity_Resistance', Standard_Real) -Quantity_Resistivity = NewType('Quantity_Resistivity', Standard_Real) -Quantity_Scalaire = NewType('Quantity_Scalaire', Standard_Real) -Quantity_SolidAngle = NewType('Quantity_SolidAngle', Standard_Real) -Quantity_SoundIntensity = NewType('Quantity_SoundIntensity', Standard_Real) -Quantity_SpecificHeatCapacity = NewType('Quantity_SpecificHeatCapacity', Standard_Real) -Quantity_Speed = NewType('Quantity_Speed', Standard_Real) -Quantity_SurfaceTension = NewType('Quantity_SurfaceTension', Standard_Real) -Quantity_Temperature = NewType('Quantity_Temperature', Standard_Real) -Quantity_ThermalConductivity = NewType('Quantity_ThermalConductivity', Standard_Real) -Quantity_Torque = NewType('Quantity_Torque', Standard_Real) -Quantity_Velocity = NewType('Quantity_Velocity', Standard_Real) -Quantity_Viscosity = NewType('Quantity_Viscosity', Standard_Real) -Quantity_Volume = NewType('Quantity_Volume', Standard_Real) -Quantity_VolumeFlow = NewType('Quantity_VolumeFlow', Standard_Real) -Quantity_Weight = NewType('Quantity_Weight', Standard_Real) -Quantity_Work = NewType('Quantity_Work', Standard_Real) class Quantity_Array1OfColor: @overload @@ -1315,6 +1236,8 @@ class Quantity_Color: def __init__(self, theName: Quantity_NameOfColor) -> None: ... @overload def __init__(self, theC1: float, theC2: float, theC3: float, theType: Quantity_TypeOfColor) -> None: ... + @overload + def __init__(self, theRgb: float) -> None: ... @staticmethod def Argb2color(theARGB: int, theColor: Quantity_Color) -> None: ... def Blue(self) -> float: ... @@ -1323,19 +1246,55 @@ class Quantity_Color: @staticmethod def Color2argb(theColor: Quantity_Color) -> int: ... @staticmethod - def ColorFromHex(theHexColorString: str, theColor: Quantity_Color) -> False: ... + def ColorFromHex(theHexColorString: str, theColor: Quantity_Color) -> bool: ... @overload @staticmethod def ColorFromName(theName: str) -> Tuple[bool, Quantity_NameOfColor]: ... @overload @staticmethod def ColorFromName(theColorNameString: str, theColor: Quantity_Color) -> bool: ... + @staticmethod + def ColorToHex(theColor: Quantity_Color, theToPrefixHash: Optional[bool] = true) -> TCollection_AsciiString: ... + @staticmethod + def Convert_HLS_To_LinearRGB(theHls: float) -> float: ... + @staticmethod + def Convert_HLS_To_sRGB(theHls: float) -> float: ... + @staticmethod + def Convert_Lab_To_Lch(theLab: float) -> float: ... + @staticmethod + def Convert_Lab_To_LinearRGB(theLab: float) -> float: ... + @staticmethod + def Convert_Lch_To_Lab(theLch: float) -> float: ... + @staticmethod + def Convert_LinearRGB_To_HLS(theRgb: float) -> float: ... + @staticmethod + def Convert_LinearRGB_To_Lab(theRgb: float) -> float: ... + @overload + @staticmethod + def Convert_LinearRGB_To_sRGB(theLinearValue: float) -> float: ... @overload @staticmethod def Convert_LinearRGB_To_sRGB(theLinearValue: float) -> float: ... @overload @staticmethod + def Convert_LinearRGB_To_sRGB_approx22(theLinearValue: float) -> float: ... + @overload + @staticmethod + def Convert_LinearRGB_To_sRGB_approx22(theRGB: float) -> float: ... + @staticmethod + def Convert_sRGB_To_HLS(theRgb: float) -> float: ... + @overload + @staticmethod + def Convert_sRGB_To_LinearRGB(thesRGBValue: float) -> float: ... + @overload + @staticmethod def Convert_sRGB_To_LinearRGB(thesRGBValue: float) -> float: ... + @overload + @staticmethod + def Convert_sRGB_To_LinearRGB_approx22(thesRGBValue: float) -> float: ... + @overload + @staticmethod + def Convert_sRGB_To_LinearRGB_approx22(theRGB: float) -> float: ... def Delta(self, theColor: Quantity_Color) -> Tuple[float, float]: ... def DeltaE2000(self, theOther: Quantity_Color) -> float: ... def Distance(self, theColor: Quantity_Color) -> float: ... @@ -1355,7 +1314,7 @@ class Quantity_Color: @staticmethod def Name(theR: float, theG: float, theB: float) -> Quantity_NameOfColor: ... def Red(self) -> float: ... - def Rgb(self) -> False: ... + def Rgb(self) -> float: ... @staticmethod def RgbHls(theR: float, theG: float, theB: float) -> Tuple[float, float, float]: ... def Saturation(self) -> float: ... @@ -1381,16 +1340,31 @@ class Quantity_ColorRGBA: def __init__(self) -> None: ... @overload def __init__(self, theRgb: Quantity_Color) -> None: ... + @overload + def __init__(self, theRgb: Quantity_Color, theAlpha: float) -> None: ... + @overload + def __init__(self, theRgba: float) -> None: ... + @overload + def __init__(self, theRed: float, theGreen: float, theBlue: float, theAlpha: float) -> None: ... def Alpha(self) -> float: ... def ChangeRGB(self) -> Quantity_Color: ... @staticmethod + def ColorFromHex(theHexColorString: str, theColor: Quantity_ColorRGBA, theAlphaComponentIsOff: Optional[bool] = false) -> bool: ... + @staticmethod def ColorFromName(theColorNameString: str, theColor: Quantity_ColorRGBA) -> bool: ... + @staticmethod + def ColorToHex(theColor: Quantity_ColorRGBA, theToPrefixHash: Optional[bool] = true) -> TCollection_AsciiString: ... + @staticmethod + def Convert_LinearRGB_To_sRGB(theRGB: float) -> float: ... + @staticmethod + def Convert_sRGB_To_LinearRGB(theRGB: float) -> float: ... def GetRGB(self) -> Quantity_Color: ... def InitFromJson(self, theSStream: Standard_SStream) -> Tuple[bool, int]: ... - def IsDifferent(self, theOther: Quantity_ColorRGBA) -> False: ... - def IsEqual(self, theOther: Quantity_ColorRGBA) -> False: ... + def IsDifferent(self, theOther: Quantity_ColorRGBA) -> bool: ... + def IsEqual(self, theOther: Quantity_ColorRGBA) -> bool: ... def SetAlpha(self, theAlpha: float) -> None: ... def SetRGB(self, theRgb: Quantity_Color) -> None: ... + def SetValues(self, theRed: float, theGreen: float, theBlue: float, theAlpha: float) -> None: ... class Quantity_ColorRGBAHasher: @staticmethod diff --git a/src/SWIG_files/wrapper/RWGltf.i b/src/SWIG_files/wrapper/RWGltf.i index b78c8e851..d810eaa36 100644 --- a/src/SWIG_files/wrapper/RWGltf.i +++ b/src/SWIG_files/wrapper/RWGltf.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define RWGLTFDOCSTRING "RWGltf module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwgltf.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_rwgltf.html" %enddef %module (package="OCC.Core", docstring=RWGLTFDOCSTRING) RWGltf @@ -49,11 +49,14 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwgltf.html" #include #include #include -#include #include -#include +#include #include #include +#include +#include +#include +#include #include #include #include @@ -83,6 +86,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwgltf.html" #include #include #include +#include #include #include #include @@ -97,11 +101,14 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwgltf.html" %import TDF.i %import TColStd.i %import Message.i -%import Poly.i %import Quantity.i -%import Bnd.i +%import Poly.i %import XCAFDoc.i %import Image.i +%import TopTools.i +%import TopoDS.i +%import TopLoc.i +%import Graphic3d.i %pythoncode { from enum import IntEnum @@ -202,7 +209,7 @@ enum { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class RWGltf_GltfPrimitiveMode(IntEnum): @@ -349,19 +356,22 @@ RWGltf_WriterTrsfFormat_TRS = RWGltf_WriterTrsfFormat.RWGltf_WriterTrsfFormat_TR /* handles */ %wrap_handle(RWGltf_CafWriter) -%wrap_handle(RWGltf_GltfLatePrimitiveArray) +%wrap_handle(RWGltf_GltfFace) %wrap_handle(RWGltf_MaterialCommon) %wrap_handle(RWGltf_MaterialMetallicRoughness) -%wrap_handle(RWGltf_PrimitiveArrayReader) -%wrap_handle(RWGltf_TriangulationReader) /* end handles declaration */ /* templates */ /* end templates declaration */ /* typedefs */ +typedef NCollection_Shared>> RWGltf_GltfFaceList; +typedef rapidjson::Document::ValueType RWGltf_JsonValue; /* end typedefs declaration */ +/*********************** +* class GltfElementMap * +***********************/ /************************* * class RWGltf_CafReader * *************************/ @@ -378,6 +388,47 @@ None ") RWGltf_CafReader; RWGltf_CafReader(); + /****************** IsDoublePrecision ******************/ + /**** md5 signature: c768d26054fe7836c133ffb1451dd7cd ****/ + %feature("compactdefaultargs") IsDoublePrecision; + %feature("autodoc", "Return flag to fill in triangulation using double or single precision; false by default. + +Returns +------- +bool +") IsDoublePrecision; + bool IsDoublePrecision(); + + /****************** SetDoublePrecision ******************/ + /**** md5 signature: 2fee9d611d346cc1324a9f63e1c71f99 ****/ + %feature("compactdefaultargs") SetDoublePrecision; + %feature("autodoc", "Set flag to fill in triangulation using double or single precision. + +Parameters +---------- +theIsDouble: bool + +Returns +------- +None +") SetDoublePrecision; + void SetDoublePrecision(bool theIsDouble); + + /****************** SetLoadAllScenes ******************/ + /**** md5 signature: f7e7895811cadb8899b959afc63acc0d ****/ + %feature("compactdefaultargs") SetLoadAllScenes; + %feature("autodoc", "Set flag to flag to load all scenes in the document, false by default which means only main (default) scene will be loaded. + +Parameters +---------- +theToLoadAll: bool + +Returns +------- +None +") SetLoadAllScenes; + void SetLoadAllScenes(bool theToLoadAll); + /****************** SetMeshNameAsFallback ******************/ /**** md5 signature: 8bcbe5f3e17e020b0661e880c51f5245 ****/ %feature("compactdefaultargs") SetMeshNameAsFallback; @@ -423,6 +474,73 @@ None ") SetSkipEmptyNodes; void SetSkipEmptyNodes(bool theToSkip); + /****************** SetToKeepLateData ******************/ + /**** md5 signature: bf1347d776ae6167c6e96d6e182f1af6 ****/ + %feature("compactdefaultargs") SetToKeepLateData; + %feature("autodoc", "Sets flag to keep information about deferred storage to load/unload data later. + +Parameters +---------- +theToKeep: bool + +Returns +------- +None +") SetToKeepLateData; + void SetToKeepLateData(bool theToKeep); + + /****************** SetToPrintDebugMessages ******************/ + /**** md5 signature: dcbcbd79fdeab4f6976a1573fd9e5905 ****/ + %feature("compactdefaultargs") SetToPrintDebugMessages; + %feature("autodoc", "Sets flag to print debug information. + +Parameters +---------- +theToPrint: bool + +Returns +------- +None +") SetToPrintDebugMessages; + void SetToPrintDebugMessages(const Standard_Boolean theToPrint); + + /****************** SetToSkipLateDataLoading ******************/ + /**** md5 signature: 69a6c7a7b6fdbd3dfbc1b2ba14c99da9 ****/ + %feature("compactdefaultargs") SetToSkipLateDataLoading; + %feature("autodoc", "Sets flag to skip data loading. + +Parameters +---------- +theToSkip: bool + +Returns +------- +None +") SetToSkipLateDataLoading; + void SetToSkipLateDataLoading(bool theToSkip); + + /****************** ToKeepLateData ******************/ + /**** md5 signature: 2fd9c6b4aa6b4a6fcd0142c7db0dd364 ****/ + %feature("compactdefaultargs") ToKeepLateData; + %feature("autodoc", "Returns true if data should be loaded into itself without its transfering to new structure. it allows to keep information about deferred storage to load/unload this data later. true by default. + +Returns +------- +bool +") ToKeepLateData; + bool ToKeepLateData(); + + /****************** ToLoadAllScenes ******************/ + /**** md5 signature: c496cd858c8cf67d041c2580f24e2e5f ****/ + %feature("compactdefaultargs") ToLoadAllScenes; + %feature("autodoc", "Return true if all scenes in the document should be loaded, false by default which means only main (default) scene will be loaded. + +Returns +------- +bool +") ToLoadAllScenes; + bool ToLoadAllScenes(); + /****************** ToParallel ******************/ /**** md5 signature: bf4527df56769064945cdf0919b0491e ****/ %feature("compactdefaultargs") ToParallel; @@ -434,6 +552,17 @@ bool ") ToParallel; bool ToParallel(); + /****************** ToPrintDebugMessages ******************/ + /**** md5 signature: 807c07787e3c5595045ec8c134e0077e ****/ + %feature("compactdefaultargs") ToPrintDebugMessages; + %feature("autodoc", "Returns true if additional debug information should be print; false by default. + +Returns +------- +bool +") ToPrintDebugMessages; + bool ToPrintDebugMessages(); + /****************** ToSkipEmptyNodes ******************/ /**** md5 signature: aa5d3722c5c1c7fa9b1374eec1aebf9e ****/ %feature("compactdefaultargs") ToSkipEmptyNodes; @@ -445,6 +574,17 @@ bool ") ToSkipEmptyNodes; bool ToSkipEmptyNodes(); + /****************** ToSkipLateDataLoading ******************/ + /**** md5 signature: 9cd0a4011a4f568fa4da7fd837164e31 ****/ + %feature("compactdefaultargs") ToSkipLateDataLoading; + %feature("autodoc", "Returns true if data loading should be skipped and can be performed later; false by default. + +Returns +------- +bool +") ToSkipLateDataLoading; + bool ToSkipLateDataLoading(); + /****************** ToUseMeshNameAsFallback ******************/ /**** md5 signature: db6080fd37887a51344b071137921164 ****/ %feature("compactdefaultargs") ToUseMeshNameAsFallback; @@ -470,6 +610,7 @@ bool *************************/ class RWGltf_CafWriter : public Standard_Transient { public: + class RWGltf_StyledShape {}; /****************** RWGltf_CafWriter ******************/ /**** md5 signature: ff99e81d575a475273adc594a6a9069b ****/ %feature("compactdefaultargs") RWGltf_CafWriter; @@ -541,6 +682,28 @@ bool ") IsForcedUVExport; bool IsForcedUVExport(); + /****************** MeshNameFormat ******************/ + /**** md5 signature: 76ba76586b298c522ad8b92a37a0a9e1 ****/ + %feature("compactdefaultargs") MeshNameFormat; + %feature("autodoc", "Return name format for exporting meshes; rwmesh_nameformat_product by default. + +Returns +------- +RWMesh_NameFormat +") MeshNameFormat; + RWMesh_NameFormat MeshNameFormat(); + + /****************** NodeNameFormat ******************/ + /**** md5 signature: 6157d7986a7da93fd8b9409e290045be ****/ + %feature("compactdefaultargs") NodeNameFormat; + %feature("autodoc", "Return name format for exporting nodes; rwmesh_nameformat_instanceorproduct by default. + +Returns +------- +RWMesh_NameFormat +") NodeNameFormat; + RWMesh_NameFormat NodeNameFormat(); + /****************** Perform ******************/ /**** md5 signature: b3c8698b77ac74b0d206a2448964d2ac ****/ %feature("compactdefaultargs") Perform; @@ -622,6 +785,81 @@ None ") SetForcedUVExport; void SetForcedUVExport(bool theToForce); + /****************** SetMergeFaces ******************/ + /**** md5 signature: ceae01520c794775cb258dde9c353037 ****/ + %feature("compactdefaultargs") SetMergeFaces; + %feature("autodoc", "Set flag to merge faces within a single part. may reduce json size thanks to smaller number of primitive arrays. + +Parameters +---------- +theToMerge: bool + +Returns +------- +None +") SetMergeFaces; + void SetMergeFaces(bool theToMerge); + + /****************** SetMeshNameFormat ******************/ + /**** md5 signature: 15211207f69e0393dff98ff72d228452 ****/ + %feature("compactdefaultargs") SetMeshNameFormat; + %feature("autodoc", "Set name format for exporting meshes. + +Parameters +---------- +theFormat: RWMesh_NameFormat + +Returns +------- +None +") SetMeshNameFormat; + void SetMeshNameFormat(RWMesh_NameFormat theFormat); + + /****************** SetNodeNameFormat ******************/ + /**** md5 signature: ab08236a14a52776b2440a4a780bd571 ****/ + %feature("compactdefaultargs") SetNodeNameFormat; + %feature("autodoc", "Set name format for exporting nodes. + +Parameters +---------- +theFormat: RWMesh_NameFormat + +Returns +------- +None +") SetNodeNameFormat; + void SetNodeNameFormat(RWMesh_NameFormat theFormat); + + /****************** SetSplitIndices16 ******************/ + /**** md5 signature: 1288dab228d4bf876dcdee8ef6eed613 ****/ + %feature("compactdefaultargs") SetSplitIndices16; + %feature("autodoc", "Set flag to prefer keeping 16-bit indexes while merging face. has effect only with tomergefaces() option turned on. may reduce binary data size thanks to smaller triangle indexes. + +Parameters +---------- +theToSplit: bool + +Returns +------- +None +") SetSplitIndices16; + void SetSplitIndices16(bool theToSplit); + + /****************** SetToEmbedTexturesInGlb ******************/ + /**** md5 signature: 3ebdf9ec402608f87c7a254baf5a2ed3 ****/ + %feature("compactdefaultargs") SetToEmbedTexturesInGlb; + %feature("autodoc", "Set flag to write image textures into glb file (binary gltf export). + +Parameters +---------- +theToEmbedTexturesInGlb: bool + +Returns +------- +None +") SetToEmbedTexturesInGlb; + void SetToEmbedTexturesInGlb(Standard_Boolean theToEmbedTexturesInGlb); + /****************** SetTransformationFormat ******************/ /**** md5 signature: 9c5e4763a1df6fe364556ff7a71dcfa0 ****/ %feature("compactdefaultargs") SetTransformationFormat; @@ -637,6 +875,39 @@ None ") SetTransformationFormat; void SetTransformationFormat(RWGltf_WriterTrsfFormat theFormat); + /****************** ToEmbedTexturesInGlb ******************/ + /**** md5 signature: 929a783c967f4321720edabef49cbd9e ****/ + %feature("compactdefaultargs") ToEmbedTexturesInGlb; + %feature("autodoc", "Return flag to write image textures into glb file (binary gltf export); true by default. when set to false, texture images will be written as separate files. has no effect on writing into non-binary format. + +Returns +------- +bool +") ToEmbedTexturesInGlb; + Standard_Boolean ToEmbedTexturesInGlb(); + + /****************** ToMergeFaces ******************/ + /**** md5 signature: 0d4ced3de8f6fb910d4ed5ea927a1a6a ****/ + %feature("compactdefaultargs") ToMergeFaces; + %feature("autodoc", "Return flag to merge faces within a single part; false by default. + +Returns +------- +bool +") ToMergeFaces; + bool ToMergeFaces(); + + /****************** ToSplitIndices16 ******************/ + /**** md5 signature: fcc04d89915d622c0004d458ccc2b398 ****/ + %feature("compactdefaultargs") ToSplitIndices16; + %feature("autodoc", "Return flag to prefer keeping 16-bit indexes while merging face; false by default. + +Returns +------- +bool +") ToSplitIndices16; + bool ToSplitIndices16(); + /****************** TransformationFormat ******************/ /**** md5 signature: bbeefb2300588d1a6143500ba5adaede ****/ %feature("compactdefaultargs") TransformationFormat; @@ -671,6 +942,7 @@ class RWGltf_GltfAccessor { RWGltf_GltfAccessorLayout Type; RWGltf_GltfAccessorCompType ComponentType; Graphic3d_BndBox3d BndBox; + bool IsCompressed; /****************** RWGltf_GltfAccessor ******************/ /**** md5 signature: 1ac0c993d4339614409d9c5e0ac9bdc9 ****/ %feature("compactdefaultargs") RWGltf_GltfAccessor; @@ -724,15 +996,31 @@ None /************************ * class RWGltf_GltfFace * ************************/ -class RWGltf_GltfFace { +class RWGltf_GltfFace : public Standard_Transient { public: RWGltf_GltfAccessor NodePos; RWGltf_GltfAccessor NodeNorm; RWGltf_GltfAccessor NodeUV; RWGltf_GltfAccessor Indices; + TopoDS_Shape Shape; + XCAFPrs_Style Style; + int NbIndexedNodes; + /****************** RWGltf_GltfFace ******************/ + /**** md5 signature: f1d3a933cb06de89e0a1c4e714a35b6f ****/ + %feature("compactdefaultargs") RWGltf_GltfFace; + %feature("autodoc", "No available documentation. + +Returns +------- +None +") RWGltf_GltfFace; + RWGltf_GltfFace(); + }; +%make_alias(RWGltf_GltfFace) + %extend RWGltf_GltfFace { %pythoncode { __repr__ = _dumps_object @@ -742,7 +1030,7 @@ class RWGltf_GltfFace { /************************************** * class RWGltf_GltfLatePrimitiveArray * **************************************/ -class RWGltf_GltfLatePrimitiveArray : public Poly_Triangulation { +class RWGltf_GltfLatePrimitiveArray : public RWMesh_TriangulationSource { public: /****************** RWGltf_GltfLatePrimitiveArray ******************/ /**** md5 signature: 7107dfd4e0698cb28650e1340d202186 ****/ @@ -786,17 +1074,6 @@ Quantity_ColorRGBA ") BaseColor; Quantity_ColorRGBA BaseColor(); - /****************** BoundingBox ******************/ - /**** md5 signature: 1be44ba2c9a538ffb30ddb049793a947 ****/ - %feature("compactdefaultargs") BoundingBox; - %feature("autodoc", "Return bounding box defined within gltf file, or void if not specified. - -Returns -------- -Bnd_Box -") BoundingBox; - const Bnd_Box & BoundingBox(); - /****************** Data ******************/ /**** md5 signature: 671d99c5b4ce7f7e5b939e40427e52b5 ****/ %feature("compactdefaultargs") Data; @@ -808,6 +1085,17 @@ NCollection_Sequence ") Data; const NCollection_Sequence & Data(); + /****************** HasDeferredData ******************/ + /**** md5 signature: 2e68cb99f0a96431d1e289930b5a3662 ****/ + %feature("compactdefaultargs") HasDeferredData; + %feature("autodoc", "Return true if there is deferred storage and some triangulation data that can be loaded using loaddeferreddata(). + +Returns +------- +bool +") HasDeferredData; + virtual Standard_Boolean HasDeferredData(); + /****************** HasStyle ******************/ /**** md5 signature: 0269e4556c7e0b5145883ad478e02061 ****/ %feature("compactdefaultargs") HasStyle; @@ -830,6 +1118,17 @@ TCollection_AsciiString ") Id; const TCollection_AsciiString & Id(); + /****************** LoadStreamData ******************/ + /**** md5 signature: c873deb6e325607ba01a0a4af1d6d353 ****/ + %feature("compactdefaultargs") LoadStreamData; + %feature("autodoc", "Load primitive array saved as stream buffer to new triangulation object. + +Returns +------- +opencascade::handle +") LoadStreamData; + opencascade::handle LoadStreamData(); + /****************** MaterialCommon ******************/ /**** md5 signature: 85b380ad63e6ef92cb904824c21269fb ****/ %feature("compactdefaultargs") MaterialCommon; @@ -874,21 +1173,6 @@ RWGltf_GltfPrimitiveMode ") PrimitiveMode; RWGltf_GltfPrimitiveMode PrimitiveMode(); - /****************** SetBoundingBox ******************/ - /**** md5 signature: 5279a00cfc27cd83f564390e960b6aa2 ****/ - %feature("compactdefaultargs") SetBoundingBox; - %feature("autodoc", "This method sets input bounding box and assigns a fake data to underlying poly_triangulation as min/max corners of bounding box, so that standard tools like brepbndlib::add() can be used transparently for computing bounding box of this face. - -Parameters ----------- -theBox: Bnd_Box - -Returns -------- -None -") SetBoundingBox; - void SetBoundingBox(const Bnd_Box & theBox); - /****************** SetMaterialCommon ******************/ /**** md5 signature: eb324aa6f8f3dcad75f93a5311e95086 ****/ %feature("compactdefaultargs") SetMaterialCommon; @@ -952,8 +1236,6 @@ None }; -%make_alias(RWGltf_GltfLatePrimitiveArray) - %extend RWGltf_GltfLatePrimitiveArray { %pythoncode { __repr__ = _dumps_object @@ -981,10 +1263,26 @@ None ") RWGltf_GltfMaterialMap; RWGltf_GltfMaterialMap(const TCollection_AsciiString & theFile, const Standard_Integer theDefSamplerId); + /****************** AddGlbImages ******************/ + /**** md5 signature: 8f702f135cd650ff90bbfd94f352532d ****/ + %feature("compactdefaultargs") AddGlbImages; + %feature("autodoc", "Add material images into glb stream. @param thebinfile [in] [out] output file stream @param thestyle [in] material images to add. + +Parameters +---------- +theBinFile: std::ostream +theStyle: XCAFPrs_Style + +Returns +------- +None +") AddGlbImages; + void AddGlbImages(std::ostream & theBinFile, const XCAFPrs_Style & theStyle); + /****************** AddImages ******************/ /**** md5 signature: 3aa5121db2a6a900aa23f78102a3d9de ****/ %feature("compactdefaultargs") AddImages; - %feature("autodoc", "Add material images. + %feature("autodoc", "Add material images in case of non-glb file (an alternative to addimagestoglb() + flushbufferviews() + flushimagesglb()). Parameters ---------- @@ -1029,6 +1327,37 @@ theIsStarted: bool ") AddTextures; void AddTextures(RWGltf_GltfOStreamWriter * theWriter, const XCAFPrs_Style & theStyle, Standard_Boolean &OutValue); + /****************** FlushGlbBufferViews ******************/ + /**** md5 signature: 6637f05a69ee314b2da8453cf1e79868 ****/ + %feature("compactdefaultargs") FlushGlbBufferViews; + %feature("autodoc", "Add bufferview's into rwgltf_gltfrootelement_bufferviews section with images collected by addimagestoglb(). + +Parameters +---------- +theWriter: RWGltf_GltfOStreamWriter * +theBinDataBufferId: int + +Returns +------- +theBuffViewId: int +") FlushGlbBufferViews; + void FlushGlbBufferViews(RWGltf_GltfOStreamWriter * theWriter, const Standard_Integer theBinDataBufferId, Standard_Integer &OutValue); + + /****************** FlushGlbImages ******************/ + /**** md5 signature: 0b5d6da57d2a5e07a4250fe93451c613 ****/ + %feature("compactdefaultargs") FlushGlbImages; + %feature("autodoc", "Write rwgltf_gltfrootelement_images section with images collected by addimagestoglb(). + +Parameters +---------- +theWriter: RWGltf_GltfOStreamWriter * + +Returns +------- +None +") FlushGlbImages; + void FlushGlbImages(RWGltf_GltfOStreamWriter * theWriter); + /****************** NbImages ******************/ /**** md5 signature: 287f9b24a015fc67da1fac6d39501fc7 ****/ %feature("compactdefaultargs") NbImages; @@ -1112,6 +1441,7 @@ class RWGltf_GltfPrimArrayData { opencascade::handle StreamData; TCollection_AsciiString StreamUri; int64_t StreamOffset; + int64_t StreamLength; RWGltf_GltfAccessor Accessor; RWGltf_GltfArrayType Type; /****************** RWGltf_GltfPrimArrayData ******************/ @@ -1189,9 +1519,6 @@ int } }; -/********************************* -* class RWGltf_GltfSharedIStream * -*********************************/ /****************************** * class RWGltf_MaterialCommon * ******************************/ @@ -1271,94 +1598,10 @@ None } }; -/************************************ -* class RWGltf_PrimitiveArrayReader * -************************************/ -%nodefaultctor RWGltf_PrimitiveArrayReader; -class RWGltf_PrimitiveArrayReader : public Standard_Transient { - public: - /****************** CoordinateSystemConverter ******************/ - /**** md5 signature: ab88d1bd4b71da58aa0d6253db43d797 ****/ - %feature("compactdefaultargs") CoordinateSystemConverter; - %feature("autodoc", "Return transformation from gltf to occt coordinate system. - -Returns -------- -RWMesh_CoordinateSystemConverter -") CoordinateSystemConverter; - const RWMesh_CoordinateSystemConverter & CoordinateSystemConverter(); - - /****************** ErrorPrefix ******************/ - /**** md5 signature: db3c97facd2cae1d01159991bd8fb159 ****/ - %feature("compactdefaultargs") ErrorPrefix; - %feature("autodoc", "Return prefix for reporting issues. - -Returns -------- -TCollection_AsciiString -") ErrorPrefix; - const TCollection_AsciiString & ErrorPrefix(); - - /****************** Load ******************/ - /**** md5 signature: ad8d7c937618957c49132de899f328f1 ****/ - %feature("compactdefaultargs") Load; - %feature("autodoc", "Load primitive array. - -Parameters ----------- -theMesh: RWGltf_GltfLatePrimitiveArray - -Returns -------- -opencascade::handle -") Load; - opencascade::handle Load(const opencascade::handle & theMesh); - - /****************** SetCoordinateSystemConverter ******************/ - /**** md5 signature: 8488d2b612c66076826cc33d2ac72536 ****/ - %feature("compactdefaultargs") SetCoordinateSystemConverter; - %feature("autodoc", "Set transformation from gltf to occt coordinate system. - -Parameters ----------- -theConverter: RWMesh_CoordinateSystemConverter - -Returns -------- -None -") SetCoordinateSystemConverter; - void SetCoordinateSystemConverter(const RWMesh_CoordinateSystemConverter & theConverter); - - /****************** SetErrorPrefix ******************/ - /**** md5 signature: 0b5039bffc7759d627c4e61bca05d578 ****/ - %feature("compactdefaultargs") SetErrorPrefix; - %feature("autodoc", "Set prefix for reporting issues. - -Parameters ----------- -theErrPrefix: TCollection_AsciiString - -Returns -------- -None -") SetErrorPrefix; - void SetErrorPrefix(const TCollection_AsciiString & theErrPrefix); - -}; - - -%make_alias(RWGltf_PrimitiveArrayReader) - -%extend RWGltf_PrimitiveArrayReader { - %pythoncode { - __repr__ = _dumps_object - } -}; - /*********************************** * class RWGltf_TriangulationReader * ***********************************/ -class RWGltf_TriangulationReader : public RWGltf_PrimitiveArrayReader { +class RWGltf_TriangulationReader : public RWMesh_TriangulationReader { public: /****************** RWGltf_TriangulationReader ******************/ /**** md5 signature: 13fc434c88256ab85cd744519fc5e86f ****/ @@ -1371,10 +1614,24 @@ None ") RWGltf_TriangulationReader; RWGltf_TriangulationReader(); -}; + /****************** LoadStreamData ******************/ + /**** md5 signature: 46d61db1bac4243ed0d2e1650f5f0bfc ****/ + %feature("compactdefaultargs") LoadStreamData; + %feature("autodoc", "Loads only primitive arrays saved as stream buffer (it is primarily gltf data encoded in base64 saved to temporary buffer during gltf file reading). +Parameters +---------- +theSourceMesh: RWMesh_TriangulationSource +theDestMesh: Poly_Triangulation + +Returns +------- +bool +") LoadStreamData; + bool LoadStreamData(const opencascade::handle & theSourceMesh, const opencascade::handle & theDestMesh); + +}; -%make_alias(RWGltf_TriangulationReader) %extend RWGltf_TriangulationReader { %pythoncode { diff --git a/src/SWIG_files/wrapper/RWGltf.pyi b/src/SWIG_files/wrapper/RWGltf.pyi index d6208f998..bb12fd181 100644 --- a/src/SWIG_files/wrapper/RWGltf.pyi +++ b/src/SWIG_files/wrapper/RWGltf.pyi @@ -10,12 +10,17 @@ from OCC.Core.TDocStd import * from OCC.Core.TDF import * from OCC.Core.TColStd import * from OCC.Core.Message import * -from OCC.Core.Poly import * from OCC.Core.Quantity import * -from OCC.Core.Bnd import * +from OCC.Core.Poly import * from OCC.Core.XCAFDoc import * from OCC.Core.Image import * +from OCC.Core.TopTools import * +from OCC.Core.TopoDS import * +from OCC.Core.TopLoc import * +from OCC.Core.Graphic3d import * +#the following typedef cannot be wrapped as is +RWGltf_JsonValue = NewType('RWGltf_JsonValue', Any) class RWGltf_GltfPrimitiveMode(IntEnum): RWGltf_GltfPrimitiveMode_UNKNOWN: int = ... @@ -168,24 +173,48 @@ RWGltf_WriterTrsfFormat_TRS = RWGltf_WriterTrsfFormat.RWGltf_WriterTrsfFormat_TR class RWGltf_CafReader(RWMesh_CafReader): def __init__(self) -> None: ... - def ToParallel(self) -> False: ... - def ToSkipEmptyNodes(self) -> False: ... - def ToUseMeshNameAsFallback(self) -> False: ... + def IsDoublePrecision(self) -> bool: ... + def SetDoublePrecision(self, theIsDouble: bool) -> None: ... + def SetLoadAllScenes(self, theToLoadAll: bool) -> None: ... + def SetMeshNameAsFallback(self, theToFallback: bool) -> None: ... + def SetParallel(self, theToParallel: bool) -> None: ... + def SetSkipEmptyNodes(self, theToSkip: bool) -> None: ... + def SetToKeepLateData(self, theToKeep: bool) -> None: ... + def SetToPrintDebugMessages(self, theToPrint: bool) -> None: ... + def SetToSkipLateDataLoading(self, theToSkip: bool) -> None: ... + def ToKeepLateData(self) -> bool: ... + def ToLoadAllScenes(self) -> bool: ... + def ToParallel(self) -> bool: ... + def ToPrintDebugMessages(self) -> bool: ... + def ToSkipEmptyNodes(self) -> bool: ... + def ToSkipLateDataLoading(self) -> bool: ... + def ToUseMeshNameAsFallback(self) -> bool: ... class RWGltf_CafWriter(Standard_Transient): def __init__(self, theFile: TCollection_AsciiString, theIsBinary: bool) -> None: ... def ChangeCoordinateSystemConverter(self) -> RWMesh_CoordinateSystemConverter: ... def CoordinateSystemConverter(self) -> RWMesh_CoordinateSystemConverter: ... def DefaultStyle(self) -> XCAFPrs_Style: ... - def IsBinary(self) -> False: ... - def IsForcedUVExport(self) -> False: ... + def IsBinary(self) -> bool: ... + def IsForcedUVExport(self) -> bool: ... + def MeshNameFormat(self) -> RWMesh_NameFormat: ... + def NodeNameFormat(self) -> RWMesh_NameFormat: ... @overload - def Perform(self, theDocument: TDocStd_Document, theRootLabels: TDF_LabelSequence, theLabelFilter: TColStd_MapOfAsciiString, theFileInfo: TColStd_IndexedDataMapOfStringString, theProgress: Message_ProgressRange) -> False: ... + def Perform(self, theDocument: TDocStd_Document, theRootLabels: TDF_LabelSequence, theLabelFilter: TColStd_MapOfAsciiString, theFileInfo: TColStd_IndexedDataMapOfStringString, theProgress: Message_ProgressRange) -> bool: ... @overload - def Perform(self, theDocument: TDocStd_Document, theFileInfo: TColStd_IndexedDataMapOfStringString, theProgress: Message_ProgressRange) -> False: ... + def Perform(self, theDocument: TDocStd_Document, theFileInfo: TColStd_IndexedDataMapOfStringString, theProgress: Message_ProgressRange) -> bool: ... def SetCoordinateSystemConverter(self, theConverter: RWMesh_CoordinateSystemConverter) -> None: ... def SetDefaultStyle(self, theStyle: XCAFPrs_Style) -> None: ... + def SetForcedUVExport(self, theToForce: bool) -> None: ... + def SetMergeFaces(self, theToMerge: bool) -> None: ... + def SetMeshNameFormat(self, theFormat: RWMesh_NameFormat) -> None: ... + def SetNodeNameFormat(self, theFormat: RWMesh_NameFormat) -> None: ... + def SetSplitIndices16(self, theToSplit: bool) -> None: ... + def SetToEmbedTexturesInGlb(self, theToEmbedTexturesInGlb: bool) -> None: ... def SetTransformationFormat(self, theFormat: RWGltf_WriterTrsfFormat) -> None: ... + def ToEmbedTexturesInGlb(self) -> bool: ... + def ToMergeFaces(self) -> bool: ... + def ToSplitIndices16(self) -> bool: ... def TransformationFormat(self) -> RWGltf_WriterTrsfFormat: ... class RWGltf_GltfAccessor: @@ -194,22 +223,22 @@ class RWGltf_GltfAccessor: class RWGltf_GltfBufferView: def __init__(self) -> None: ... -class RWGltf_GltfFace: - pass +class RWGltf_GltfFace(Standard_Transient): + def __init__(self) -> None: ... -class RWGltf_GltfLatePrimitiveArray(Poly_Triangulation): +class RWGltf_GltfLatePrimitiveArray(RWMesh_TriangulationSource): def __init__(self, theId: TCollection_AsciiString, theName: TCollection_AsciiString) -> None: ... def AddPrimArrayData(self, theType: RWGltf_GltfArrayType) -> RWGltf_GltfPrimArrayData: ... def BaseColor(self) -> Quantity_ColorRGBA: ... - def BoundingBox(self) -> Bnd_Box: ... def Data(self) -> False: ... - def HasStyle(self) -> False: ... + def HasDeferredData(self) -> bool: ... + def HasStyle(self) -> bool: ... def Id(self) -> TCollection_AsciiString: ... + def LoadStreamData(self) -> Poly_Triangulation: ... def MaterialCommon(self) -> RWGltf_MaterialCommon: ... def MaterialPbr(self) -> RWGltf_MaterialMetallicRoughness: ... def Name(self) -> TCollection_AsciiString: ... def PrimitiveMode(self) -> RWGltf_GltfPrimitiveMode: ... - def SetBoundingBox(self, theBox: Bnd_Box) -> None: ... def SetMaterialCommon(self, theMat: RWGltf_MaterialCommon) -> None: ... def SetMaterialPbr(self, theMat: RWGltf_MaterialMetallicRoughness) -> None: ... def SetName(self, theName: TCollection_AsciiString) -> None: ... @@ -220,6 +249,8 @@ class RWGltf_GltfMaterialMap(RWMesh_MaterialMap): def AddImages(self, theWriter: RWGltf_GltfOStreamWriter, theStyle: XCAFPrs_Style) -> bool: ... def AddMaterial(self, theWriter: RWGltf_GltfOStreamWriter, theStyle: XCAFPrs_Style) -> bool: ... def AddTextures(self, theWriter: RWGltf_GltfOStreamWriter, theStyle: XCAFPrs_Style) -> bool: ... + def FlushGlbBufferViews(self, theWriter: RWGltf_GltfOStreamWriter, theBinDataBufferId: int) -> int: ... + def FlushGlbImages(self, theWriter: RWGltf_GltfOStreamWriter) -> None: ... def NbImages(self) -> int: ... def NbTextures(self) -> int: ... @staticmethod @@ -244,15 +275,9 @@ class RWGltf_MaterialCommon(Standard_Transient): class RWGltf_MaterialMetallicRoughness(Standard_Transient): def __init__(self) -> None: ... -class RWGltf_PrimitiveArrayReader(Standard_Transient): - def CoordinateSystemConverter(self) -> RWMesh_CoordinateSystemConverter: ... - def ErrorPrefix(self) -> TCollection_AsciiString: ... - def Load(self, theMesh: RWGltf_GltfLatePrimitiveArray) -> Poly_Triangulation: ... - def SetCoordinateSystemConverter(self, theConverter: RWMesh_CoordinateSystemConverter) -> None: ... - def SetErrorPrefix(self, theErrPrefix: TCollection_AsciiString) -> None: ... - -class RWGltf_TriangulationReader(RWGltf_PrimitiveArrayReader): +class RWGltf_TriangulationReader(RWMesh_TriangulationReader): def __init__(self) -> None: ... + def LoadStreamData(self, theSourceMesh: RWMesh_TriangulationSource, theDestMesh: Poly_Triangulation) -> bool: ... #classnotwrapped class RWGltf_GltfSharedIStream: ... diff --git a/src/SWIG_files/wrapper/RWMesh.i b/src/SWIG_files/wrapper/RWMesh.i index dd1c8df6e..1541b3f45 100644 --- a/src/SWIG_files/wrapper/RWMesh.i +++ b/src/SWIG_files/wrapper/RWMesh.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define RWMESHDOCSTRING "RWMesh module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwmesh.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_rwmesh.html" %enddef %module (package="OCC.Core", docstring=RWMESHDOCSTRING) RWMesh @@ -42,19 +42,20 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwmesh.html" //Dependencies #include #include +#include +#include #include #include #include -#include #include #include #include -#include #include #include #include #include #include +#include #include #include #include @@ -81,19 +82,20 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwmesh.html" %}; %import Standard.i %import NCollection.i +%import TDF.i +%import TCollection.i %import TDocStd.i %import gp.i %import TColStd.i -%import TCollection.i %import Message.i %import TopoDS.i %import Graphic3d.i -%import TDF.i %import TopLoc.i %import XCAFPrs.i %import Quantity.i %import Poly.i %import Image.i +%import OSD.i %pythoncode { from enum import IntEnum @@ -111,6 +113,16 @@ enum RWMesh_CoordinateSystem { RWMesh_CoordinateSystem_Yup = RWMesh_CoordinateSystem_glTF, }; +enum RWMesh_NameFormat { + RWMesh_NameFormat_Empty = 0, + RWMesh_NameFormat_Product = 1, + RWMesh_NameFormat_Instance = 2, + RWMesh_NameFormat_InstanceOrProduct = 3, + RWMesh_NameFormat_ProductOrInstance = 4, + RWMesh_NameFormat_ProductAndInstance = 5, + RWMesh_NameFormat_ProductAndInstanceAndOcaf = 6, +}; + enum RWMesh_CafReaderStatusEx { RWMesh_CafReaderStatusEx_NONE = 0, RWMesh_CafReaderStatusEx_Partial = 1, @@ -118,7 +130,7 @@ enum RWMesh_CafReaderStatusEx { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class RWMesh_CoordinateSystem(IntEnum): @@ -137,6 +149,22 @@ RWMesh_CoordinateSystem_glTF = RWMesh_CoordinateSystem.RWMesh_CoordinateSystem_g RWMesh_CoordinateSystem_Zup = RWMesh_CoordinateSystem.RWMesh_CoordinateSystem_Zup RWMesh_CoordinateSystem_Yup = RWMesh_CoordinateSystem.RWMesh_CoordinateSystem_Yup +class RWMesh_NameFormat(IntEnum): + RWMesh_NameFormat_Empty = 0 + RWMesh_NameFormat_Product = 1 + RWMesh_NameFormat_Instance = 2 + RWMesh_NameFormat_InstanceOrProduct = 3 + RWMesh_NameFormat_ProductOrInstance = 4 + RWMesh_NameFormat_ProductAndInstance = 5 + RWMesh_NameFormat_ProductAndInstanceAndOcaf = 6 +RWMesh_NameFormat_Empty = RWMesh_NameFormat.RWMesh_NameFormat_Empty +RWMesh_NameFormat_Product = RWMesh_NameFormat.RWMesh_NameFormat_Product +RWMesh_NameFormat_Instance = RWMesh_NameFormat.RWMesh_NameFormat_Instance +RWMesh_NameFormat_InstanceOrProduct = RWMesh_NameFormat.RWMesh_NameFormat_InstanceOrProduct +RWMesh_NameFormat_ProductOrInstance = RWMesh_NameFormat.RWMesh_NameFormat_ProductOrInstance +RWMesh_NameFormat_ProductAndInstance = RWMesh_NameFormat.RWMesh_NameFormat_ProductAndInstance +RWMesh_NameFormat_ProductAndInstanceAndOcaf = RWMesh_NameFormat.RWMesh_NameFormat_ProductAndInstanceAndOcaf + class RWMesh_CafReaderStatusEx(IntEnum): RWMesh_CafReaderStatusEx_NONE = 0 RWMesh_CafReaderStatusEx_Partial = 1 @@ -147,6 +175,9 @@ RWMesh_CafReaderStatusEx_Partial = RWMesh_CafReaderStatusEx.RWMesh_CafReaderStat /* handles */ %wrap_handle(RWMesh_CafReader) +%wrap_handle(RWMesh_MaterialMap) +%wrap_handle(RWMesh_TriangulationReader) +%wrap_handle(RWMesh_TriangulationSource) /* end handles declaration */ /* templates */ @@ -157,6 +188,53 @@ RWMesh_CafReaderStatusEx_Partial = RWMesh_CafReaderStatusEx.RWMesh_CafReaderStat typedef NCollection_DataMap RWMesh_NodeAttributeMap; /* end typedefs declaration */ +/*************** +* class RWMesh * +***************/ +%rename(rwmesh) RWMesh; +class RWMesh { + public: + /****************** FormatName ******************/ + /**** md5 signature: 8863a8ba0a3c5fdbbac0c46aca3d0e43 ****/ + %feature("compactdefaultargs") FormatName; + %feature("autodoc", "Generate name for specified labels. @param[in] theformat name format to apply @param[in] thelabel instance label @param[in] thereflabel product label. + +Parameters +---------- +theFormat: RWMesh_NameFormat +theLabel: TDF_Label +theRefLabel: TDF_Label + +Returns +------- +TCollection_AsciiString +") FormatName; + static TCollection_AsciiString FormatName(RWMesh_NameFormat theFormat, const TDF_Label & theLabel, const TDF_Label & theRefLabel); + + /****************** ReadNameAttribute ******************/ + /**** md5 signature: aa66f503550211b8a83be1731945c715 ****/ + %feature("compactdefaultargs") ReadNameAttribute; + %feature("autodoc", "Read name attribute from label. + +Parameters +---------- +theLabel: TDF_Label + +Returns +------- +TCollection_AsciiString +") ReadNameAttribute; + static TCollection_AsciiString ReadNameAttribute(const TDF_Label & theLabel); + +}; + + +%extend RWMesh { + %pythoncode { + __repr__ = _dumps_object + } +}; + /************************* * class RWMesh_CafReader * *************************/ @@ -334,9 +412,9 @@ None void SetCoordinateSystemConverter(const RWMesh_CoordinateSystemConverter & theConverter); /****************** SetDocument ******************/ - /**** md5 signature: 58f652f27d40d8d626eb93e1d1864a2d ****/ + /**** md5 signature: fefb63e21ede613b0177b88e9cb03a5f ****/ %feature("compactdefaultargs") SetDocument; - %feature("autodoc", "Set target document. + %feature("autodoc", "Set target document. set system length unit according to the units of the document. Parameters ---------- @@ -833,6 +911,23 @@ None ") RWMesh_FaceIterator; RWMesh_FaceIterator(const TDF_Label & theLabel, const TopLoc_Location & theLocation, const Standard_Boolean theToMapColors = false, const XCAFPrs_Style & theStyle = XCAFPrs_Style()); + /****************** RWMesh_FaceIterator ******************/ + /**** md5 signature: 57b47bb450205e96f4feb877a8606d43 ****/ + %feature("compactdefaultargs") RWMesh_FaceIterator; + %feature("autodoc", "Auxiliary constructor. + +Parameters +---------- +theShape: TopoDS_Shape +theStyle: XCAFPrs_Style,optional + default value is XCAFPrs_Style() + +Returns +------- +None +") RWMesh_FaceIterator; + RWMesh_FaceIterator(const TopoDS_Shape & theShape, const XCAFPrs_Style & theStyle = XCAFPrs_Style()); + /****************** ElemLower ******************/ /**** md5 signature: 75e86e4f7178164b4c841f30991514ec ****/ %feature("compactdefaultargs") ElemLower; @@ -855,6 +950,17 @@ int ") ElemUpper; Standard_Integer ElemUpper(); + /****************** ExploredShape ******************/ + /**** md5 signature: c8a47d07240c1a2b5ff731be2f859ced ****/ + %feature("compactdefaultargs") ExploredShape; + %feature("autodoc", "Return explored shape. + +Returns +------- +TopoDS_Shape +") ExploredShape; + const TopoDS_Shape ExploredShape(); + /****************** Face ******************/ /**** md5 signature: 95406b8d0d556c0537e0768c48713f21 ****/ %feature("compactdefaultargs") Face; @@ -1029,7 +1135,7 @@ int Standard_Integer NodeUpper(); /****************** NormalTransformed ******************/ - /**** md5 signature: 4e5c062e6c5cc2ad0a73e8c3f66ad4a7 ****/ + /**** md5 signature: 74bb2de6b86a11ea27e4a0cd18412b1e ****/ %feature("compactdefaultargs") NormalTransformed; %feature("autodoc", "Return normal at specified node index with face transformation applied and face orientation applied. @@ -1085,7 +1191,7 @@ gp_Pnt gp_Pnt node(const Standard_Integer theNode); /****************** normal ******************/ - /**** md5 signature: 23cb959e15c8427c828bf92d95208d2a ****/ + /**** md5 signature: 38d3d2a1d856561177d7de28baaf5870 ****/ %feature("compactdefaultargs") normal; %feature("autodoc", "Return normal at specified node index without face transformation applied. @@ -1127,7 +1233,7 @@ Poly_Triangle * class RWMesh_MaterialMap * ***************************/ %nodefaultctor RWMesh_MaterialMap; -class RWMesh_MaterialMap { +class RWMesh_MaterialMap : public Standard_Transient { public: /****************** AddMaterial ******************/ /**** md5 signature: 0f9190dda4051c96b8f2a967c00a35dd ****/ @@ -1244,6 +1350,8 @@ None }; +%make_alias(RWMesh_MaterialMap) + %extend RWMesh_MaterialMap { %pythoncode { __repr__ = _dumps_object @@ -1268,6 +1376,333 @@ class RWMesh_NodeAttributes { } }; +/*********************************** +* class RWMesh_TriangulationReader * +***********************************/ +%nodefaultctor RWMesh_TriangulationReader; +class RWMesh_TriangulationReader : public Standard_Transient { + public: + class LoadingStatistic {}; + /****************** CoordinateSystemConverter ******************/ + /**** md5 signature: ab88d1bd4b71da58aa0d6253db43d797 ****/ + %feature("compactdefaultargs") CoordinateSystemConverter; + %feature("autodoc", "Returns coordinate system converter using for correct data loading. + +Returns +------- +RWMesh_CoordinateSystemConverter +") CoordinateSystemConverter; + const RWMesh_CoordinateSystemConverter & CoordinateSystemConverter(); + + /****************** FileName ******************/ + /**** md5 signature: dcea16627fbfa6bf9869d62bc863af8e ****/ + %feature("compactdefaultargs") FileName; + %feature("autodoc", "Returns file name for reporting issues. + +Returns +------- +TCollection_AsciiString +") FileName; + const TCollection_AsciiString & FileName(); + + /****************** IsDoublePrecision ******************/ + /**** md5 signature: c768d26054fe7836c133ffb1451dd7cd ****/ + %feature("compactdefaultargs") IsDoublePrecision; + %feature("autodoc", "Returns flag to fill in triangulation using double or single precision; false by default. + +Returns +------- +bool +") IsDoublePrecision; + bool IsDoublePrecision(); + + /****************** Load ******************/ + /**** md5 signature: 6ef3f09c92594cbd8fa638ca01586c5d ****/ + %feature("compactdefaultargs") Load; + %feature("autodoc", "Loads primitive array. + +Parameters +---------- +theSourceMesh: RWMesh_TriangulationSource +theDestMesh: Poly_Triangulation +theFileSystem: OSD_FileSystem + +Returns +------- +bool +") Load; + bool Load(const opencascade::handle & theSourceMesh, const opencascade::handle & theDestMesh, const opencascade::handle & theFileSystem); + + /****************** PrintStatistic ******************/ + /**** md5 signature: 4491817941f6da0eae292263140d0469 ****/ + %feature("compactdefaultargs") PrintStatistic; + %feature("autodoc", "Prints loading statistic. this method should be used between startstatistic() and stopstatistic() calls for correct results. + +Returns +------- +None +") PrintStatistic; + void PrintStatistic(); + + /****************** SetCoordinateSystemConverter ******************/ + /**** md5 signature: 8488d2b612c66076826cc33d2ac72536 ****/ + %feature("compactdefaultargs") SetCoordinateSystemConverter; + %feature("autodoc", "Sets coordinate system converter. + +Parameters +---------- +theConverter: RWMesh_CoordinateSystemConverter + +Returns +------- +None +") SetCoordinateSystemConverter; + void SetCoordinateSystemConverter(const RWMesh_CoordinateSystemConverter & theConverter); + + /****************** SetDoublePrecision ******************/ + /**** md5 signature: 2fee9d611d346cc1324a9f63e1c71f99 ****/ + %feature("compactdefaultargs") SetDoublePrecision; + %feature("autodoc", "Sets flag to fill in triangulation using double or single precision. + +Parameters +---------- +theIsDouble: bool + +Returns +------- +None +") SetDoublePrecision; + void SetDoublePrecision(bool theIsDouble); + + /****************** SetFileName ******************/ + /**** md5 signature: 422e5cf48ba6ffc1d4cf82f2fe6d97c2 ****/ + %feature("compactdefaultargs") SetFileName; + %feature("autodoc", "Sets file name for reporting issues. + +Parameters +---------- +theFileName: TCollection_AsciiString + +Returns +------- +None +") SetFileName; + void SetFileName(const TCollection_AsciiString & theFileName); + + /****************** SetToPrintDebugMessages ******************/ + /**** md5 signature: dcbcbd79fdeab4f6976a1573fd9e5905 ****/ + %feature("compactdefaultargs") SetToPrintDebugMessages; + %feature("autodoc", "Sets flag to print debug information. + +Parameters +---------- +theToPrint: bool + +Returns +------- +None +") SetToPrintDebugMessages; + void SetToPrintDebugMessages(const Standard_Boolean theToPrint); + + /****************** SetToSkipDegenerates ******************/ + /**** md5 signature: 8f2eee3a91d34501a755dd28a3a30824 ****/ + %feature("compactdefaultargs") SetToSkipDegenerates; + %feature("autodoc", "Sets flag to skip degenerated triangles during mesh loading (only indexes will be checked). + +Parameters +---------- +theToSkip: bool + +Returns +------- +None +") SetToSkipDegenerates; + void SetToSkipDegenerates(const Standard_Boolean theToSkip); + + /****************** StartStatistic ******************/ + /**** md5 signature: a4bdfbb69ed74092a59b8aa233aedc5d ****/ + %feature("compactdefaultargs") StartStatistic; + %feature("autodoc", "Starts and reset internal object that accumulates nodes/triangles statistic during data reading. + +Returns +------- +None +") StartStatistic; + void StartStatistic(); + + /****************** StopStatistic ******************/ + /**** md5 signature: e3418ba02f31976af952ec885530e742 ****/ + %feature("compactdefaultargs") StopStatistic; + %feature("autodoc", "Stops and nullify internal object that accumulates nodes/triangles statistic during data reading. + +Returns +------- +None +") StopStatistic; + void StopStatistic(); + + /****************** ToPrintDebugMessages ******************/ + /**** md5 signature: 1ba8100a86ab6979545a37ba8507ce50 ****/ + %feature("compactdefaultargs") ToPrintDebugMessages; + %feature("autodoc", "Returns true if additional debug information should be print. + +Returns +------- +bool +") ToPrintDebugMessages; + Standard_Boolean ToPrintDebugMessages(); + + /****************** ToSkipDegenerates ******************/ + /**** md5 signature: 845530fc6fd2f6c43fcb01ed299e2914 ****/ + %feature("compactdefaultargs") ToSkipDegenerates; + %feature("autodoc", "Returns true if degenerated triangles should be skipped during mesh loading (only indexes will be checked). + +Returns +------- +bool +") ToSkipDegenerates; + Standard_Boolean ToSkipDegenerates(); + +}; + + +%make_alias(RWMesh_TriangulationReader) + +%extend RWMesh_TriangulationReader { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/*********************************** +* class RWMesh_TriangulationSource * +***********************************/ +class RWMesh_TriangulationSource : public Poly_Triangulation { + public: + /****************** RWMesh_TriangulationSource ******************/ + /**** md5 signature: 4fb10652420e0d188c26defed2334454 ****/ + %feature("compactdefaultargs") RWMesh_TriangulationSource; + %feature("autodoc", "Constructor. + +Returns +------- +None +") RWMesh_TriangulationSource; + RWMesh_TriangulationSource(); + + + %feature("autodoc","1"); + %extend { + Standard_Integer GetChangeDegeneratedTriNb() { + return (Standard_Integer) $self->ChangeDegeneratedTriNb(); + } + }; + %feature("autodoc","1"); + %extend { + void SetChangeDegeneratedTriNb(Standard_Integer value) { + $self->ChangeDegeneratedTriNb()=value; + } + }; + /****************** DegeneratedTriNb ******************/ + /**** md5 signature: 2a1611183102606c75dc3b897f8870c1 ****/ + %feature("compactdefaultargs") DegeneratedTriNb; + %feature("autodoc", "Returns number of degenerated triangles collected during data reading. used for debug statistic purpose. + +Returns +------- +int +") DegeneratedTriNb; + Standard_Integer DegeneratedTriNb(); + + /****************** NbDeferredNodes ******************/ + /**** md5 signature: d15a5896fc85a8c93365e1d85513fbb0 ****/ + %feature("compactdefaultargs") NbDeferredNodes; + %feature("autodoc", "Returns number of nodes for deferred loading. note: this is estimated values defined in object header, which might be different from actually loaded values (due to broken header or extra mesh processing). always check triangulation size of actually loaded data in code to avoid out-of-range issues. + +Returns +------- +int +") NbDeferredNodes; + virtual Standard_Integer NbDeferredNodes(); + + /****************** NbDeferredTriangles ******************/ + /**** md5 signature: 8c345ed875feecf632ebb9c62ff9481f ****/ + %feature("compactdefaultargs") NbDeferredTriangles; + %feature("autodoc", "Returns number of triangles for deferred loading. note: this is estimated values defined in object header, which might be different from actually loaded values (due to broken header or extra mesh processing). always check triangulation size of actually loaded data in code to avoid out-of-range issues. + +Returns +------- +int +") NbDeferredTriangles; + virtual Standard_Integer NbDeferredTriangles(); + + /****************** Reader ******************/ + /**** md5 signature: 6ae7cdc70d1eaea13f56fb1f778f493a ****/ + %feature("compactdefaultargs") Reader; + %feature("autodoc", "Returns reader allowing to read data from the buffer. + +Returns +------- +opencascade::handle +") Reader; + const opencascade::handle & Reader(); + + /****************** SetNbDeferredNodes ******************/ + /**** md5 signature: 613e9c73fcbbe299958e31da2d3bf9b1 ****/ + %feature("compactdefaultargs") SetNbDeferredNodes; + %feature("autodoc", "Sets number of nodes for deferred loading. + +Parameters +---------- +theNbNodes: int + +Returns +------- +None +") SetNbDeferredNodes; + void SetNbDeferredNodes(const Standard_Integer theNbNodes); + + /****************** SetNbDeferredTriangles ******************/ + /**** md5 signature: 4c754aa29da9094529581631690e3ff2 ****/ + %feature("compactdefaultargs") SetNbDeferredTriangles; + %feature("autodoc", "Sets number of triangles for deferred loading. + +Parameters +---------- +theNbTris: int + +Returns +------- +None +") SetNbDeferredTriangles; + void SetNbDeferredTriangles(const Standard_Integer theNbTris); + + /****************** SetReader ******************/ + /**** md5 signature: 9528188554fe70d155ea3d7fb58dcd0f ****/ + %feature("compactdefaultargs") SetReader; + %feature("autodoc", "Sets reader allowing to read data from the buffer. + +Parameters +---------- +theReader: RWMesh_TriangulationReader + +Returns +------- +None +") SetReader; + void SetReader(const opencascade::handle & theReader); + +}; + + +%make_alias(RWMesh_TriangulationSource) + +%extend RWMesh_TriangulationSource { + %pythoncode { + __repr__ = _dumps_object + } +}; + /* harray1 classes */ /* harray2 classes */ /* hsequence classes */ diff --git a/src/SWIG_files/wrapper/RWMesh.pyi b/src/SWIG_files/wrapper/RWMesh.pyi index b3b996be2..c88d4744d 100644 --- a/src/SWIG_files/wrapper/RWMesh.pyi +++ b/src/SWIG_files/wrapper/RWMesh.pyi @@ -3,19 +3,20 @@ from typing import overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * +from OCC.Core.TDF import * +from OCC.Core.TCollection import * from OCC.Core.TDocStd import * from OCC.Core.gp import * from OCC.Core.TColStd import * -from OCC.Core.TCollection import * from OCC.Core.Message import * from OCC.Core.TopoDS import * from OCC.Core.Graphic3d import * -from OCC.Core.TDF import * from OCC.Core.TopLoc import * from OCC.Core.XCAFPrs import * from OCC.Core.Quantity import * from OCC.Core.Poly import * from OCC.Core.Image import * +from OCC.Core.OSD import * class RWMesh_CoordinateSystem(IntEnum): @@ -35,6 +36,23 @@ RWMesh_CoordinateSystem_glTF = RWMesh_CoordinateSystem.RWMesh_CoordinateSystem_g RWMesh_CoordinateSystem_Zup = RWMesh_CoordinateSystem.RWMesh_CoordinateSystem_Zup RWMesh_CoordinateSystem_Yup = RWMesh_CoordinateSystem.RWMesh_CoordinateSystem_Yup +class RWMesh_NameFormat(IntEnum): + RWMesh_NameFormat_Empty: int = ... + RWMesh_NameFormat_Product: int = ... + RWMesh_NameFormat_Instance: int = ... + RWMesh_NameFormat_InstanceOrProduct: int = ... + RWMesh_NameFormat_ProductOrInstance: int = ... + RWMesh_NameFormat_ProductAndInstance: int = ... + RWMesh_NameFormat_ProductAndInstanceAndOcaf: int = ... + +RWMesh_NameFormat_Empty = RWMesh_NameFormat.RWMesh_NameFormat_Empty +RWMesh_NameFormat_Product = RWMesh_NameFormat.RWMesh_NameFormat_Product +RWMesh_NameFormat_Instance = RWMesh_NameFormat.RWMesh_NameFormat_Instance +RWMesh_NameFormat_InstanceOrProduct = RWMesh_NameFormat.RWMesh_NameFormat_InstanceOrProduct +RWMesh_NameFormat_ProductOrInstance = RWMesh_NameFormat.RWMesh_NameFormat_ProductOrInstance +RWMesh_NameFormat_ProductAndInstance = RWMesh_NameFormat.RWMesh_NameFormat_ProductAndInstance +RWMesh_NameFormat_ProductAndInstanceAndOcaf = RWMesh_NameFormat.RWMesh_NameFormat_ProductAndInstanceAndOcaf + class RWMesh_CafReaderStatusEx(IntEnum): RWMesh_CafReaderStatusEx_NONE: int = ... RWMesh_CafReaderStatusEx_Partial: int = ... @@ -42,6 +60,12 @@ class RWMesh_CafReaderStatusEx(IntEnum): RWMesh_CafReaderStatusEx_NONE = RWMesh_CafReaderStatusEx.RWMesh_CafReaderStatusEx_NONE RWMesh_CafReaderStatusEx_Partial = RWMesh_CafReaderStatusEx.RWMesh_CafReaderStatusEx_Partial +class rwmesh: + @staticmethod + def FormatName(theFormat: RWMesh_NameFormat, theLabel: TDF_Label, theRefLabel: TDF_Label) -> TCollection_AsciiString: ... + @staticmethod + def ReadNameAttribute(theLabel: TDF_Label) -> TCollection_AsciiString: ... + class RWMesh_CafReader(Standard_Transient): def CoordinateSystemConverter(self) -> RWMesh_CoordinateSystemConverter: ... def Document(self) -> TDocStd_Document: ... @@ -53,7 +77,7 @@ class RWMesh_CafReader(Standard_Transient): def HasSystemCoordinateSystem(self) -> bool: ... def MemoryLimitMiB(self) -> int: ... def Metadata(self) -> TColStd_IndexedDataMapOfStringString: ... - def Perform(self, theFile: TCollection_AsciiString, theProgress: Message_ProgressRange) -> False: ... + def Perform(self, theFile: TCollection_AsciiString, theProgress: Message_ProgressRange) -> bool: ... def ProbeHeader(self, theFile: TCollection_AsciiString, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> bool: ... def RootPrefix(self) -> TCollection_AsciiString: ... def SetCoordinateSystemConverter(self, theConverter: RWMesh_CoordinateSystemConverter) -> None: ... @@ -103,17 +127,21 @@ class RWMesh_CoordinateSystemConverter: def TransformTransformation(self, theTrsf: gp_Trsf) -> None: ... class RWMesh_FaceIterator: + @overload def __init__(self, theLabel: TDF_Label, theLocation: TopLoc_Location, theToMapColors: Optional[bool] = false, theStyle: Optional[XCAFPrs_Style] = XCAFPrs_Style()) -> None: ... + @overload + def __init__(self, theShape: TopoDS_Shape, theStyle: Optional[XCAFPrs_Style] = XCAFPrs_Style()) -> None: ... def ElemLower(self) -> int: ... def ElemUpper(self) -> int: ... + def ExploredShape(self) -> TopoDS_Shape: ... def Face(self) -> TopoDS_Face: ... def FaceColor(self) -> Quantity_ColorRGBA: ... def FaceStyle(self) -> XCAFPrs_Style: ... - def HasFaceColor(self) -> False: ... - def HasNormals(self) -> False: ... - def HasTexCoords(self) -> False: ... - def IsEmptyMesh(self) -> False: ... - def More(self) -> False: ... + def HasFaceColor(self) -> bool: ... + def HasNormals(self) -> bool: ... + def HasTexCoords(self) -> bool: ... + def IsEmptyMesh(self) -> bool: ... + def More(self) -> bool: ... def NbNodes(self) -> int: ... def NbTriangles(self) -> int: ... def Next(self) -> None: ... @@ -128,21 +156,51 @@ class RWMesh_FaceIterator: def normal(self, theNode: int) -> gp_Dir: ... def triangle(self, theElemIndex: int) -> Poly_Triangle: ... -class RWMesh_MaterialMap: +class RWMesh_MaterialMap(Standard_Transient): def AddMaterial(self, theStyle: XCAFPrs_Style) -> TCollection_AsciiString: ... - def CopyTexture(self, theResTexture: TCollection_AsciiString, theTexture: Image_Texture, theKey: TCollection_AsciiString) -> False: ... - def CreateTextureFolder(self) -> False: ... + def CopyTexture(self, theResTexture: TCollection_AsciiString, theTexture: Image_Texture, theKey: TCollection_AsciiString) -> bool: ... + def CreateTextureFolder(self) -> bool: ... def DefaultStyle(self) -> XCAFPrs_Style: ... def DefineMaterial(self, theStyle: XCAFPrs_Style, theKey: TCollection_AsciiString, theName: TCollection_AsciiString) -> None: ... def FindMaterial(self, theStyle: XCAFPrs_Style) -> TCollection_AsciiString: ... - def IsFailed(self) -> False: ... + def IsFailed(self) -> bool: ... def SetDefaultStyle(self, theStyle: XCAFPrs_Style) -> None: ... class RWMesh_NodeAttributes: pass +class RWMesh_TriangulationReader(Standard_Transient): + def CoordinateSystemConverter(self) -> RWMesh_CoordinateSystemConverter: ... + def FileName(self) -> TCollection_AsciiString: ... + def IsDoublePrecision(self) -> bool: ... + def Load(self, theSourceMesh: RWMesh_TriangulationSource, theDestMesh: Poly_Triangulation, theFileSystem: OSD_FileSystem) -> bool: ... + def PrintStatistic(self) -> None: ... + def SetCoordinateSystemConverter(self, theConverter: RWMesh_CoordinateSystemConverter) -> None: ... + def SetDoublePrecision(self, theIsDouble: bool) -> None: ... + def SetFileName(self, theFileName: TCollection_AsciiString) -> None: ... + def SetToPrintDebugMessages(self, theToPrint: bool) -> None: ... + def SetToSkipDegenerates(self, theToSkip: bool) -> None: ... + def StartStatistic(self) -> None: ... + def StopStatistic(self) -> None: ... + def ToPrintDebugMessages(self) -> bool: ... + def ToSkipDegenerates(self) -> bool: ... + +class RWMesh_TriangulationSource(Poly_Triangulation): + def __init__(self) -> None: ... + def GetChangeDegeneratedTriNb(self) -> int: ... + def SetChangeDegeneratedTriNb(self, value: int) -> None: ... + def DegeneratedTriNb(self) -> int: ... + def NbDeferredNodes(self) -> int: ... + def NbDeferredTriangles(self) -> int: ... + def Reader(self) -> RWMesh_TriangulationReader: ... + def SetNbDeferredNodes(self, theNbNodes: int) -> None: ... + def SetNbDeferredTriangles(self, theNbTris: int) -> None: ... + def SetReader(self, theReader: RWMesh_TriangulationReader) -> None: ... + # harray1 classes # harray2 classes # hsequence classes +rwmesh_FormatName = rwmesh.FormatName +rwmesh_ReadNameAttribute = rwmesh.ReadNameAttribute RWMesh_CoordinateSystemConverter_StandardCoordinateSystem = RWMesh_CoordinateSystemConverter.StandardCoordinateSystem diff --git a/src/SWIG_files/wrapper/RWObj.i b/src/SWIG_files/wrapper/RWObj.i index 7943f489e..59cdd167b 100644 --- a/src/SWIG_files/wrapper/RWObj.i +++ b/src/SWIG_files/wrapper/RWObj.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define RWOBJDOCSTRING "RWObj module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwobj.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_rwobj.html" %enddef %module (package="OCC.Core", docstring=RWOBJDOCSTRING) RWObj @@ -44,9 +44,13 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwobj.html" #include #include #include -#include #include #include +#include +#include +#include +#include +#include #include #include #include @@ -83,9 +87,13 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwobj.html" %import NCollection.i %import Message.i %import Poly.i -%import TopoDS.i %import TCollection.i %import RWMesh.i +%import XCAFPrs.i +%import TDocStd.i +%import TDF.i +%import TColStd.i +%import TopoDS.i %import Graphic3d.i %import gp.i @@ -104,7 +112,7 @@ enum RWObj_SubMeshReason { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class RWObj_SubMeshReason(IntEnum): @@ -120,6 +128,8 @@ RWObj_SubMeshReason_NewSmoothGroup = RWObj_SubMeshReason.RWObj_SubMeshReason_New /* end python proxy for enums */ /* handles */ +%wrap_handle(RWObj_CafWriter) +%wrap_handle(RWObj_ObjMaterialMap) %wrap_handle(RWObj_Reader) %wrap_handle(RWObj_CafReader) %wrap_handle(RWObj_TriangulationReader) @@ -163,6 +173,136 @@ opencascade::handle } }; +/************************ +* class RWObj_CafWriter * +************************/ +class RWObj_CafWriter : public Standard_Transient { + public: + /****************** RWObj_CafWriter ******************/ + /**** md5 signature: 9183f2e4f1660ece2639704d8c151644 ****/ + %feature("compactdefaultargs") RWObj_CafWriter; + %feature("autodoc", "Main constructor. @param thefile [in] path to output obj file. + +Parameters +---------- +theFile: TCollection_AsciiString + +Returns +------- +None +") RWObj_CafWriter; + RWObj_CafWriter(const TCollection_AsciiString & theFile); + + /****************** ChangeCoordinateSystemConverter ******************/ + /**** md5 signature: fd10c9e3345c0c11d37ccaa13f77ec3f ****/ + %feature("compactdefaultargs") ChangeCoordinateSystemConverter; + %feature("autodoc", "Return transformation from occt to obj coordinate system. + +Returns +------- +RWMesh_CoordinateSystemConverter +") ChangeCoordinateSystemConverter; + RWMesh_CoordinateSystemConverter & ChangeCoordinateSystemConverter(); + + /****************** CoordinateSystemConverter ******************/ + /**** md5 signature: ab88d1bd4b71da58aa0d6253db43d797 ****/ + %feature("compactdefaultargs") CoordinateSystemConverter; + %feature("autodoc", "Return transformation from occt to obj coordinate system. + +Returns +------- +RWMesh_CoordinateSystemConverter +") CoordinateSystemConverter; + const RWMesh_CoordinateSystemConverter & CoordinateSystemConverter(); + + /****************** DefaultStyle ******************/ + /**** md5 signature: 0cce26cdd3c825de33af4373c0cf99e8 ****/ + %feature("compactdefaultargs") DefaultStyle; + %feature("autodoc", "Return default material definition to be used for nodes with only color defined. + +Returns +------- +XCAFPrs_Style +") DefaultStyle; + const XCAFPrs_Style & DefaultStyle(); + + /****************** Perform ******************/ + /**** md5 signature: b3c8698b77ac74b0d206a2448964d2ac ****/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "Write obj file and associated mtl material file. triangulation data should be precomputed within shapes! @param thedocument [in] input document @param therootlabels [in] list of root shapes to export @param thelabelfilter [in] optional filter with document nodes to export, with keys defined by xcafprs_documentexplorer::definechildid() and filled recursively (leaves and parent assembly nodes at all levels); when not null, all nodes not included into the map will be ignored @param thefileinfo [in] map with file metadata to put into obj header section @param theprogress [in] optional progress indicator returns false on file writing failure. + +Parameters +---------- +theDocument: TDocStd_Document +theRootLabels: TDF_LabelSequence +theLabelFilter: TColStd_MapOfAsciiString * +theFileInfo: TColStd_IndexedDataMapOfStringString +theProgress: Message_ProgressRange + +Returns +------- +bool +") Perform; + virtual bool Perform(const opencascade::handle & theDocument, const TDF_LabelSequence & theRootLabels, const TColStd_MapOfAsciiString * theLabelFilter, const TColStd_IndexedDataMapOfStringString & theFileInfo, const Message_ProgressRange & theProgress); + + /****************** Perform ******************/ + /**** md5 signature: 1b913d1bf9a15143b50ebedc5b820192 ****/ + %feature("compactdefaultargs") Perform; + %feature("autodoc", "Write obj file and associated mtl material file. triangulation data should be precomputed within shapes! @param thedocument [in] input document @param thefileinfo [in] map with file metadata to put into gltf header section @param theprogress [in] optional progress indicator returns false on file writing failure. + +Parameters +---------- +theDocument: TDocStd_Document +theFileInfo: TColStd_IndexedDataMapOfStringString +theProgress: Message_ProgressRange + +Returns +------- +bool +") Perform; + virtual bool Perform(const opencascade::handle & theDocument, const TColStd_IndexedDataMapOfStringString & theFileInfo, const Message_ProgressRange & theProgress); + + /****************** SetCoordinateSystemConverter ******************/ + /**** md5 signature: 8488d2b612c66076826cc33d2ac72536 ****/ + %feature("compactdefaultargs") SetCoordinateSystemConverter; + %feature("autodoc", "Set transformation from occt to obj coordinate system. + +Parameters +---------- +theConverter: RWMesh_CoordinateSystemConverter + +Returns +------- +None +") SetCoordinateSystemConverter; + void SetCoordinateSystemConverter(const RWMesh_CoordinateSystemConverter & theConverter); + + /****************** SetDefaultStyle ******************/ + /**** md5 signature: 69b73a5756eee96becb5ddbe7670a837 ****/ + %feature("compactdefaultargs") SetDefaultStyle; + %feature("autodoc", "Set default material definition to be used for nodes with only color defined. + +Parameters +---------- +theStyle: XCAFPrs_Style + +Returns +------- +None +") SetDefaultStyle; + void SetDefaultStyle(const XCAFPrs_Style & theStyle); + +}; + + +%make_alias(RWObj_CafWriter) + +%extend RWObj_CafWriter { + %pythoncode { + __repr__ = _dumps_object + } +}; + /***************************** * class RWObj_IShapeReceiver * *****************************/ @@ -233,6 +373,322 @@ None /************************ * class RWObj_MtlReader * ************************/ +/***************************** +* class RWObj_ObjMaterialMap * +*****************************/ +class RWObj_ObjMaterialMap : public RWMesh_MaterialMap { + public: + /****************** RWObj_ObjMaterialMap ******************/ + /**** md5 signature: 43c6a416fb61d11b4dd03cc05283f455 ****/ + %feature("compactdefaultargs") RWObj_ObjMaterialMap; + %feature("autodoc", "Main constructor. + +Parameters +---------- +theFile: TCollection_AsciiString + +Returns +------- +None +") RWObj_ObjMaterialMap; + RWObj_ObjMaterialMap(const TCollection_AsciiString & theFile); + + /****************** AddMaterial ******************/ + /**** md5 signature: a65de496eac4b0afca748cbe0920fca0 ****/ + %feature("compactdefaultargs") AddMaterial; + %feature("autodoc", "Add material. + +Parameters +---------- +theStyle: XCAFPrs_Style + +Returns +------- +TCollection_AsciiString +") AddMaterial; + virtual TCollection_AsciiString AddMaterial(const XCAFPrs_Style & theStyle); + + /****************** DefineMaterial ******************/ + /**** md5 signature: 0d9f2bc2c43292ec61ca304ec31c1fa0 ****/ + %feature("compactdefaultargs") DefineMaterial; + %feature("autodoc", "Virtual method actually defining the material (e.g. export to the file). + +Parameters +---------- +theStyle: XCAFPrs_Style +theKey: TCollection_AsciiString +theName: TCollection_AsciiString + +Returns +------- +None +") DefineMaterial; + virtual void DefineMaterial(const XCAFPrs_Style & theStyle, const TCollection_AsciiString & theKey, const TCollection_AsciiString & theName); + +}; + + +%make_alias(RWObj_ObjMaterialMap) + +%extend RWObj_ObjMaterialMap { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/******************************* +* class RWObj_ObjWriterContext * +*******************************/ +class RWObj_ObjWriterContext { + public: + int NbFaces; + /****************** RWObj_ObjWriterContext ******************/ + /**** md5 signature: 4d2a3a7dd08df290512cc8f3ee97b068 ****/ + %feature("compactdefaultargs") RWObj_ObjWriterContext; + %feature("autodoc", "Main constructor. + +Parameters +---------- +theName: TCollection_AsciiString + +Returns +------- +None +") RWObj_ObjWriterContext; + RWObj_ObjWriterContext(const TCollection_AsciiString & theName); + + /****************** ActiveMaterial ******************/ + /**** md5 signature: 5863ab1f6ab96ae1abb4503ebc57e2c2 ****/ + %feature("compactdefaultargs") ActiveMaterial; + %feature("autodoc", "Return active material or empty string if not set. + +Returns +------- +TCollection_AsciiString +") ActiveMaterial; + const TCollection_AsciiString & ActiveMaterial(); + + /****************** Close ******************/ + /**** md5 signature: c16f96eb62ef68503b626b43a99eafc0 ****/ + %feature("compactdefaultargs") Close; + %feature("autodoc", "Correctly close the file. + +Returns +------- +bool +") Close; + bool Close(); + + /****************** FlushFace ******************/ + /**** md5 signature: 4918a9b4883feed992536e8ba2dbd23f ****/ + %feature("compactdefaultargs") FlushFace; + %feature("autodoc", "Increment indices shift. + +Parameters +---------- +theNbNodes: int + +Returns +------- +None +") FlushFace; + void FlushFace(Standard_Integer theNbNodes); + + /****************** HasNormals ******************/ + /**** md5 signature: cebae9ec3e325d610c43710c6d20c302 ****/ + %feature("compactdefaultargs") HasNormals; + %feature("autodoc", "Return true if normals are defined. + +Returns +------- +bool +") HasNormals; + bool HasNormals(); + + /****************** HasTexCoords ******************/ + /**** md5 signature: f5f5a85a7931cb9e0f30d5c5519dc79e ****/ + %feature("compactdefaultargs") HasTexCoords; + %feature("autodoc", "Return true if normals are defined. + +Returns +------- +bool +") HasTexCoords; + bool HasTexCoords(); + + /****************** IsOpened ******************/ + /**** md5 signature: d6d5671acf3a396e5229c08ea66ce77f ****/ + %feature("compactdefaultargs") IsOpened; + %feature("autodoc", "Return true if file has been opened. + +Returns +------- +bool +") IsOpened; + bool IsOpened(); + + /****************** SetNormals ******************/ + /**** md5 signature: c17e8893570a40ab30ed9c9800b14305 ****/ + %feature("compactdefaultargs") SetNormals; + %feature("autodoc", "Set if normals are defined. + +Parameters +---------- +theHasNormals: bool + +Returns +------- +None +") SetNormals; + void SetNormals(const bool theHasNormals); + + /****************** SetTexCoords ******************/ + /**** md5 signature: 1ccc8f9785a944bcf850c64e7095429d ****/ + %feature("compactdefaultargs") SetTexCoords; + %feature("autodoc", "Set if normals are defined. + +Parameters +---------- +theHasTexCoords: bool + +Returns +------- +None +") SetTexCoords; + void SetTexCoords(const bool theHasTexCoords); + + /****************** WriteActiveMaterial ******************/ + /**** md5 signature: c23019ca84fa7deac83aa86f83157c48 ****/ + %feature("compactdefaultargs") WriteActiveMaterial; + %feature("autodoc", "Set active material. + +Parameters +---------- +theMaterial: TCollection_AsciiString + +Returns +------- +bool +") WriteActiveMaterial; + bool WriteActiveMaterial(const TCollection_AsciiString & theMaterial); + + /****************** WriteGroup ******************/ + /**** md5 signature: d33f0a10b0910de5ab5748574f48f32d ****/ + %feature("compactdefaultargs") WriteGroup; + %feature("autodoc", "Writing a group name. + +Parameters +---------- +theValue: TCollection_AsciiString + +Returns +------- +bool +") WriteGroup; + bool WriteGroup(const TCollection_AsciiString & theValue); + + /****************** WriteHeader ******************/ + /**** md5 signature: 145306955b9203346c019851d530ffab ****/ + %feature("compactdefaultargs") WriteHeader; + %feature("autodoc", "Write the header. + +Parameters +---------- +theNbNodes: int +theNbElems: int +theMatLib: TCollection_AsciiString +theFileInfo: TColStd_IndexedDataMapOfStringString + +Returns +------- +bool +") WriteHeader; + bool WriteHeader(const Standard_Integer theNbNodes, const Standard_Integer theNbElems, const TCollection_AsciiString & theMatLib, const TColStd_IndexedDataMapOfStringString & theFileInfo); + + /****************** WriteNormal ******************/ + /**** md5 signature: e50c1b6f5ea1daef7e39690e78a55c3f ****/ + %feature("compactdefaultargs") WriteNormal; + %feature("autodoc", "Writing a vector. + +Parameters +---------- +theValue: Graphic3d_Vec3 + +Returns +------- +bool +") WriteNormal; + bool WriteNormal(const Graphic3d_Vec3 & theValue); + + /****************** WriteQuad ******************/ + /**** md5 signature: 6ec1ecdd2b0fdcce6c29fc362c45dad1 ****/ + %feature("compactdefaultargs") WriteQuad; + %feature("autodoc", "Writing a quad. + +Parameters +---------- +theQuad: Graphic3d_Vec4i + +Returns +------- +bool +") WriteQuad; + bool WriteQuad(const Graphic3d_Vec4i & theQuad); + + /****************** WriteTexCoord ******************/ + /**** md5 signature: f8fa5dcc72781a1705ad419b00eedb5a ****/ + %feature("compactdefaultargs") WriteTexCoord; + %feature("autodoc", "Writing a vector. + +Parameters +---------- +theValue: Graphic3d_Vec2 + +Returns +------- +bool +") WriteTexCoord; + bool WriteTexCoord(const Graphic3d_Vec2 & theValue); + + /****************** WriteTriangle ******************/ + /**** md5 signature: 7386d86fd240dee0a67bac21ae95cc21 ****/ + %feature("compactdefaultargs") WriteTriangle; + %feature("autodoc", "Writing a triangle. + +Parameters +---------- +theTri: Graphic3d_Vec3i + +Returns +------- +bool +") WriteTriangle; + bool WriteTriangle(const Graphic3d_Vec3i & theTri); + + /****************** WriteVertex ******************/ + /**** md5 signature: a036bc8f2676c9bd108f1b4aaa49033e ****/ + %feature("compactdefaultargs") WriteVertex; + %feature("autodoc", "Writing a vector. + +Parameters +---------- +theValue: Graphic3d_Vec3 + +Returns +------- +bool +") WriteVertex; + bool WriteVertex(const Graphic3d_Vec3 & theValue); + +}; + + +%extend RWObj_ObjWriterContext { + %pythoncode { + __repr__ = _dumps_object + } +}; + /********************* * class RWObj_Reader * *********************/ diff --git a/src/SWIG_files/wrapper/RWObj.pyi b/src/SWIG_files/wrapper/RWObj.pyi index 9dc163b30..4da7ac276 100644 --- a/src/SWIG_files/wrapper/RWObj.pyi +++ b/src/SWIG_files/wrapper/RWObj.pyi @@ -5,9 +5,13 @@ from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.Message import * from OCC.Core.Poly import * -from OCC.Core.TopoDS import * from OCC.Core.TCollection import * from OCC.Core.RWMesh import * +from OCC.Core.XCAFPrs import * +from OCC.Core.TDocStd import * +from OCC.Core.TDF import * +from OCC.Core.TColStd import * +from OCC.Core.TopoDS import * from OCC.Core.Graphic3d import * from OCC.Core.gp import * @@ -27,12 +31,48 @@ class rwobj: @staticmethod def ReadFile(theFile: str, aProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> Poly_Triangulation: ... +class RWObj_CafWriter(Standard_Transient): + def __init__(self, theFile: TCollection_AsciiString) -> None: ... + def ChangeCoordinateSystemConverter(self) -> RWMesh_CoordinateSystemConverter: ... + def CoordinateSystemConverter(self) -> RWMesh_CoordinateSystemConverter: ... + def DefaultStyle(self) -> XCAFPrs_Style: ... + @overload + def Perform(self, theDocument: TDocStd_Document, theRootLabels: TDF_LabelSequence, theLabelFilter: TColStd_MapOfAsciiString, theFileInfo: TColStd_IndexedDataMapOfStringString, theProgress: Message_ProgressRange) -> bool: ... + @overload + def Perform(self, theDocument: TDocStd_Document, theFileInfo: TColStd_IndexedDataMapOfStringString, theProgress: Message_ProgressRange) -> bool: ... + def SetCoordinateSystemConverter(self, theConverter: RWMesh_CoordinateSystemConverter) -> None: ... + def SetDefaultStyle(self, theStyle: XCAFPrs_Style) -> None: ... + class RWObj_IShapeReceiver: def BindNamedShape(self, theShape: TopoDS_Shape, theName: TCollection_AsciiString, theMaterial: RWObj_Material, theIsRootShape: bool) -> None: ... class RWObj_Material: def __init__(self) -> None: ... +class RWObj_ObjMaterialMap(RWMesh_MaterialMap): + def __init__(self, theFile: TCollection_AsciiString) -> None: ... + def AddMaterial(self, theStyle: XCAFPrs_Style) -> TCollection_AsciiString: ... + def DefineMaterial(self, theStyle: XCAFPrs_Style, theKey: TCollection_AsciiString, theName: TCollection_AsciiString) -> None: ... + +class RWObj_ObjWriterContext: + def __init__(self, theName: TCollection_AsciiString) -> None: ... + def ActiveMaterial(self) -> TCollection_AsciiString: ... + def Close(self) -> bool: ... + def FlushFace(self, theNbNodes: int) -> None: ... + def HasNormals(self) -> bool: ... + def HasTexCoords(self) -> bool: ... + def IsOpened(self) -> bool: ... + def SetNormals(self, theHasNormals: bool) -> None: ... + def SetTexCoords(self, theHasTexCoords: bool) -> None: ... + def WriteActiveMaterial(self, theMaterial: TCollection_AsciiString) -> bool: ... + def WriteGroup(self, theValue: TCollection_AsciiString) -> bool: ... + def WriteHeader(self, theNbNodes: int, theNbElems: int, theMatLib: TCollection_AsciiString, theFileInfo: TColStd_IndexedDataMapOfStringString) -> bool: ... + def WriteNormal(self, theValue: Graphic3d_Vec3) -> bool: ... + def WriteQuad(self, theQuad: Graphic3d_Vec4i) -> bool: ... + def WriteTexCoord(self, theValue: Graphic3d_Vec2) -> bool: ... + def WriteTriangle(self, theTri: Graphic3d_Vec3i) -> bool: ... + def WriteVertex(self, theValue: Graphic3d_Vec3) -> bool: ... + class RWObj_Reader(Standard_Transient): def ExternalFiles(self) -> False: ... def FileComments(self) -> TCollection_AsciiString: ... diff --git a/src/SWIG_files/wrapper/RWStepAP203.i b/src/SWIG_files/wrapper/RWStepAP203.i index 007e4ae68..c83f2edf0 100644 --- a/src/SWIG_files/wrapper/RWStepAP203.i +++ b/src/SWIG_files/wrapper/RWStepAP203.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define RWSTEPAP203DOCSTRING "RWStepAP203 module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwstepap203.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_rwstepap203.html" %enddef %module (package="OCC.Core", docstring=RWSTEPAP203DOCSTRING) RWStepAP203 @@ -73,7 +73,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/RWStepAP214.i b/src/SWIG_files/wrapper/RWStepAP214.i index a99d3b442..c17f610a6 100644 --- a/src/SWIG_files/wrapper/RWStepAP214.i +++ b/src/SWIG_files/wrapper/RWStepAP214.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define RWSTEPAP214DOCSTRING "RWStepAP214 module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwstepap214.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_rwstepap214.html" %enddef %module (package="OCC.Core", docstring=RWSTEPAP214DOCSTRING) RWStepAP214 @@ -77,7 +77,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/RWStepAP242.i b/src/SWIG_files/wrapper/RWStepAP242.i index 19cbef62f..85adfbd76 100644 --- a/src/SWIG_files/wrapper/RWStepAP242.i +++ b/src/SWIG_files/wrapper/RWStepAP242.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define RWSTEPAP242DOCSTRING "RWStepAP242 module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwstepap242.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_rwstepap242.html" %enddef %module (package="OCC.Core", docstring=RWSTEPAP242DOCSTRING) RWStepAP242 @@ -76,7 +76,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/RWStepBasic.i b/src/SWIG_files/wrapper/RWStepBasic.i index 495930bbf..82ea5424b 100644 --- a/src/SWIG_files/wrapper/RWStepBasic.i +++ b/src/SWIG_files/wrapper/RWStepBasic.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define RWSTEPBASICDOCSTRING "RWStepBasic module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwstepbasic.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_rwstepbasic.html" %enddef %module (package="OCC.Core", docstring=RWSTEPBASICDOCSTRING) RWStepBasic @@ -72,7 +72,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/RWStepDimTol.i b/src/SWIG_files/wrapper/RWStepDimTol.i index 645034941..4e8ede718 100644 --- a/src/SWIG_files/wrapper/RWStepDimTol.i +++ b/src/SWIG_files/wrapper/RWStepDimTol.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define RWSTEPDIMTOLDOCSTRING "RWStepDimTol module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwstepdimtol.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_rwstepdimtol.html" %enddef %module (package="OCC.Core", docstring=RWSTEPDIMTOLDOCSTRING) RWStepDimTol @@ -73,7 +73,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/RWStepElement.i b/src/SWIG_files/wrapper/RWStepElement.i index 923b7c691..4060311ed 100644 --- a/src/SWIG_files/wrapper/RWStepElement.i +++ b/src/SWIG_files/wrapper/RWStepElement.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define RWSTEPELEMENTDOCSTRING "RWStepElement module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwstepelement.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_rwstepelement.html" %enddef %module (package="OCC.Core", docstring=RWSTEPELEMENTDOCSTRING) RWStepElement @@ -73,7 +73,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/RWStepFEA.i b/src/SWIG_files/wrapper/RWStepFEA.i index 65284f7e2..119a84c8a 100644 --- a/src/SWIG_files/wrapper/RWStepFEA.i +++ b/src/SWIG_files/wrapper/RWStepFEA.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define RWSTEPFEADOCSTRING "RWStepFEA module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwstepfea.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_rwstepfea.html" %enddef %module (package="OCC.Core", docstring=RWSTEPFEADOCSTRING) RWStepFEA @@ -73,7 +73,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/RWStepGeom.i b/src/SWIG_files/wrapper/RWStepGeom.i index c73af974b..7f7acf804 100644 --- a/src/SWIG_files/wrapper/RWStepGeom.i +++ b/src/SWIG_files/wrapper/RWStepGeom.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define RWSTEPGEOMDOCSTRING "RWStepGeom module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwstepgeom.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_rwstepgeom.html" %enddef %module (package="OCC.Core", docstring=RWSTEPGEOMDOCSTRING) RWStepGeom @@ -73,7 +73,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -5120,6 +5120,81 @@ None } }; +/********************************** +* class RWStepGeom_RWSuParameters * +**********************************/ +class RWStepGeom_RWSuParameters { + public: + /****************** RWStepGeom_RWSuParameters ******************/ + /**** md5 signature: 8a2b07a385085e201d4d219699f3cd36 ****/ + %feature("compactdefaultargs") RWStepGeom_RWSuParameters; + %feature("autodoc", "No available documentation. + +Returns +------- +None +") RWStepGeom_RWSuParameters; + RWStepGeom_RWSuParameters(); + + /****************** ReadStep ******************/ + /**** md5 signature: 1db8a731b521247bb58ea688443826a1 ****/ + %feature("compactdefaultargs") ReadStep; + %feature("autodoc", "No available documentation. + +Parameters +---------- +theData: StepData_StepReaderData +theNum: int +theAch: Interface_Check +theEnt: StepGeom_SuParameters + +Returns +------- +None +") ReadStep; + void ReadStep(const opencascade::handle & theData, const Standard_Integer theNum, opencascade::handle & theAch, const opencascade::handle & theEnt); + + /****************** Share ******************/ + /**** md5 signature: 6a1ea50614f8d7356a7f7660630f90e2 ****/ + %feature("compactdefaultargs") Share; + %feature("autodoc", "No available documentation. + +Parameters +---------- +theEnt: StepGeom_SuParameters +iter: Interface_EntityIterator + +Returns +------- +None +") Share; + void Share(const opencascade::handle & theEnt, Interface_EntityIterator & iter); + + /****************** WriteStep ******************/ + /**** md5 signature: 08718add97158750d10b201d6c6569f4 ****/ + %feature("compactdefaultargs") WriteStep; + %feature("autodoc", "No available documentation. + +Parameters +---------- +theSW: StepData_StepWriter +theEnt: StepGeom_SuParameters + +Returns +------- +None +") WriteStep; + void WriteStep(StepData_StepWriter & theSW, const opencascade::handle & theEnt); + +}; + + +%extend RWStepGeom_RWSuParameters { + %pythoncode { + __repr__ = _dumps_object + } +}; + /***************************** * class RWStepGeom_RWSurface * *****************************/ diff --git a/src/SWIG_files/wrapper/RWStepGeom.pyi b/src/SWIG_files/wrapper/RWStepGeom.pyi index 5a0e9f0ed..e803dc43c 100644 --- a/src/SWIG_files/wrapper/RWStepGeom.pyi +++ b/src/SWIG_files/wrapper/RWStepGeom.pyi @@ -410,6 +410,12 @@ class RWStepGeom_RWSphericalSurface: def Share(self, ent: StepGeom_SphericalSurface, iter: Interface_EntityIterator) -> None: ... def WriteStep(self, SW: StepData_StepWriter, ent: StepGeom_SphericalSurface) -> None: ... +class RWStepGeom_RWSuParameters: + def __init__(self) -> None: ... + def ReadStep(self, theData: StepData_StepReaderData, theNum: int, theAch: Interface_Check, theEnt: StepGeom_SuParameters) -> None: ... + def Share(self, theEnt: StepGeom_SuParameters, iter: Interface_EntityIterator) -> None: ... + def WriteStep(self, theSW: StepData_StepWriter, theEnt: StepGeom_SuParameters) -> None: ... + class RWStepGeom_RWSurface: def __init__(self) -> None: ... def ReadStep(self, data: StepData_StepReaderData, num: int, ach: Interface_Check, ent: StepGeom_Surface) -> None: ... diff --git a/src/SWIG_files/wrapper/RWStepRepr.i b/src/SWIG_files/wrapper/RWStepRepr.i index f5e838c24..4b3f6db81 100644 --- a/src/SWIG_files/wrapper/RWStepRepr.i +++ b/src/SWIG_files/wrapper/RWStepRepr.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define RWSTEPREPRDOCSTRING "RWStepRepr module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwsteprepr.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_rwsteprepr.html" %enddef %module (package="OCC.Core", docstring=RWSTEPREPRDOCSTRING) RWStepRepr @@ -74,7 +74,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -3769,6 +3769,81 @@ None } }; +/**************************************************** +* class RWStepRepr_RWRepresentationContextReference * +****************************************************/ +class RWStepRepr_RWRepresentationContextReference { + public: + /****************** RWStepRepr_RWRepresentationContextReference ******************/ + /**** md5 signature: 6102bef038e55a9824b4a82ece074206 ****/ + %feature("compactdefaultargs") RWStepRepr_RWRepresentationContextReference; + %feature("autodoc", "No available documentation. + +Returns +------- +None +") RWStepRepr_RWRepresentationContextReference; + RWStepRepr_RWRepresentationContextReference(); + + /****************** ReadStep ******************/ + /**** md5 signature: 7a4eb87daa50dfc935b55712f4c673b2 ****/ + %feature("compactdefaultargs") ReadStep; + %feature("autodoc", "No available documentation. + +Parameters +---------- +theData: StepData_StepReaderData +theNum: int +theAch: Interface_Check +theEnt: StepRepr_RepresentationContextReference + +Returns +------- +None +") ReadStep; + void ReadStep(const opencascade::handle & theData, const Standard_Integer theNum, opencascade::handle & theAch, const opencascade::handle & theEnt); + + /****************** Share ******************/ + /**** md5 signature: fb9cd84781537a67de93cf3d01e11d24 ****/ + %feature("compactdefaultargs") Share; + %feature("autodoc", "No available documentation. + +Parameters +---------- +theEnt: StepRepr_RepresentationContextReference +iter: Interface_EntityIterator + +Returns +------- +None +") Share; + void Share(const opencascade::handle & theEnt, Interface_EntityIterator & iter); + + /****************** WriteStep ******************/ + /**** md5 signature: ea43bfe96e65da022aaf866e1eeff4be ****/ + %feature("compactdefaultargs") WriteStep; + %feature("autodoc", "No available documentation. + +Parameters +---------- +SW: StepData_StepWriter +theEnt: StepRepr_RepresentationContextReference + +Returns +------- +None +") WriteStep; + void WriteStep(StepData_StepWriter & SW, const opencascade::handle & theEnt); + +}; + + +%extend RWStepRepr_RWRepresentationContextReference { + %pythoncode { + __repr__ = _dumps_object + } +}; + /**************************************** * class RWStepRepr_RWRepresentationItem * ****************************************/ @@ -3903,6 +3978,81 @@ None } }; +/********************************************* +* class RWStepRepr_RWRepresentationReference * +*********************************************/ +class RWStepRepr_RWRepresentationReference { + public: + /****************** RWStepRepr_RWRepresentationReference ******************/ + /**** md5 signature: 8f9ff076521431e22245a208b730cd20 ****/ + %feature("compactdefaultargs") RWStepRepr_RWRepresentationReference; + %feature("autodoc", "No available documentation. + +Returns +------- +None +") RWStepRepr_RWRepresentationReference; + RWStepRepr_RWRepresentationReference(); + + /****************** ReadStep ******************/ + /**** md5 signature: ad52f954171fd0276fb6dcabc69efb25 ****/ + %feature("compactdefaultargs") ReadStep; + %feature("autodoc", "No available documentation. + +Parameters +---------- +theData: StepData_StepReaderData +theNum: int +theAch: Interface_Check +theEnt: StepRepr_RepresentationReference + +Returns +------- +None +") ReadStep; + void ReadStep(const opencascade::handle & theData, const Standard_Integer theNum, opencascade::handle & theAch, const opencascade::handle & theEnt); + + /****************** Share ******************/ + /**** md5 signature: 2e94a9b4583a27a40c10ba3919333bd3 ****/ + %feature("compactdefaultargs") Share; + %feature("autodoc", "No available documentation. + +Parameters +---------- +theEnt: StepRepr_RepresentationReference +iter: Interface_EntityIterator + +Returns +------- +None +") Share; + void Share(const opencascade::handle & theEnt, Interface_EntityIterator & iter); + + /****************** WriteStep ******************/ + /**** md5 signature: 4a4a9df6724dea14a3219ff7a5f094ee ****/ + %feature("compactdefaultargs") WriteStep; + %feature("autodoc", "No available documentation. + +Parameters +---------- +SW: StepData_StepWriter +theEnt: StepRepr_RepresentationReference + +Returns +------- +None +") WriteStep; + void WriteStep(StepData_StepWriter & SW, const opencascade::handle & theEnt); + +}; + + +%extend RWStepRepr_RWRepresentationReference { + %pythoncode { + __repr__ = _dumps_object + } +}; + /************************************************ * class RWStepRepr_RWRepresentationRelationship * ************************************************/ diff --git a/src/SWIG_files/wrapper/RWStepRepr.pyi b/src/SWIG_files/wrapper/RWStepRepr.pyi index 9da0fd1d4..85030624b 100644 --- a/src/SWIG_files/wrapper/RWStepRepr.pyi +++ b/src/SWIG_files/wrapper/RWStepRepr.pyi @@ -305,6 +305,12 @@ class RWStepRepr_RWRepresentationContext: def ReadStep(self, data: StepData_StepReaderData, num: int, ach: Interface_Check, ent: StepRepr_RepresentationContext) -> None: ... def WriteStep(self, SW: StepData_StepWriter, ent: StepRepr_RepresentationContext) -> None: ... +class RWStepRepr_RWRepresentationContextReference: + def __init__(self) -> None: ... + def ReadStep(self, theData: StepData_StepReaderData, theNum: int, theAch: Interface_Check, theEnt: StepRepr_RepresentationContextReference) -> None: ... + def Share(self, theEnt: StepRepr_RepresentationContextReference, iter: Interface_EntityIterator) -> None: ... + def WriteStep(self, SW: StepData_StepWriter, theEnt: StepRepr_RepresentationContextReference) -> None: ... + class RWStepRepr_RWRepresentationItem: def __init__(self) -> None: ... def ReadStep(self, data: StepData_StepReaderData, num: int, ach: Interface_Check, ent: StepRepr_RepresentationItem) -> None: ... @@ -316,6 +322,12 @@ class RWStepRepr_RWRepresentationMap: def Share(self, ent: StepRepr_RepresentationMap, iter: Interface_EntityIterator) -> None: ... def WriteStep(self, SW: StepData_StepWriter, ent: StepRepr_RepresentationMap) -> None: ... +class RWStepRepr_RWRepresentationReference: + def __init__(self) -> None: ... + def ReadStep(self, theData: StepData_StepReaderData, theNum: int, theAch: Interface_Check, theEnt: StepRepr_RepresentationReference) -> None: ... + def Share(self, theEnt: StepRepr_RepresentationReference, iter: Interface_EntityIterator) -> None: ... + def WriteStep(self, SW: StepData_StepWriter, theEnt: StepRepr_RepresentationReference) -> None: ... + class RWStepRepr_RWRepresentationRelationship: def __init__(self) -> None: ... def ReadStep(self, data: StepData_StepReaderData, num: int, ach: Interface_Check, ent: StepRepr_RepresentationRelationship) -> None: ... diff --git a/src/SWIG_files/wrapper/RWStepShape.i b/src/SWIG_files/wrapper/RWStepShape.i index d8819ebd6..a87ed3786 100644 --- a/src/SWIG_files/wrapper/RWStepShape.i +++ b/src/SWIG_files/wrapper/RWStepShape.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define RWSTEPSHAPEDOCSTRING "RWStepShape module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwstepshape.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_rwstepshape.html" %enddef %module (package="OCC.Core", docstring=RWSTEPSHAPEDOCSTRING) RWStepShape @@ -73,7 +73,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/RWStepVisual.i b/src/SWIG_files/wrapper/RWStepVisual.i index d8484f966..553987ea9 100644 --- a/src/SWIG_files/wrapper/RWStepVisual.i +++ b/src/SWIG_files/wrapper/RWStepVisual.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define RWSTEPVISUALDOCSTRING "RWStepVisual module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwstepvisual.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_rwstepvisual.html" %enddef %module (package="OCC.Core", docstring=RWSTEPVISUALDOCSTRING) RWStepVisual @@ -73,7 +73,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/RWStl.i b/src/SWIG_files/wrapper/RWStl.i index fb1a27652..1fff71a56 100644 --- a/src/SWIG_files/wrapper/RWStl.i +++ b/src/SWIG_files/wrapper/RWStl.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define RWSTLDOCSTRING "RWStl module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwstl.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_rwstl.html" %enddef %module (package="OCC.Core", docstring=RWSTLDOCSTRING) RWStl @@ -46,6 +46,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_rwstl.html" #include #include #include +#include #include #include #include @@ -65,7 +66,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -120,38 +121,56 @@ opencascade::handle static opencascade::handle ReadBinary(const OSD_Path & thePath, const Message_ProgressRange & theProgress = Message_ProgressRange()); /****************** ReadFile ******************/ - /**** md5 signature: d43c9b9243be3127708aa8d4c2ce0d80 ****/ + /**** md5 signature: 64c7a7ea1e7b324b70672cedadb30bca ****/ %feature("compactdefaultargs") ReadFile; %feature("autodoc", "Read specified stl file and returns its content as triangulation. in case of error, returns null handle. Parameters ---------- theFile: OSD_Path -aProgInd: Message_ProgressRange,optional +theProgress: Message_ProgressRange,optional default value is Message_ProgressRange() Returns ------- opencascade::handle ") ReadFile; - static opencascade::handle ReadFile(const OSD_Path & theFile, const Message_ProgressRange & aProgInd = Message_ProgressRange()); + static opencascade::handle ReadFile(const OSD_Path & theFile, const Message_ProgressRange & theProgress = Message_ProgressRange()); /****************** ReadFile ******************/ - /**** md5 signature: 760c46a9474c487b075bd12bfbd5c2c9 ****/ + /**** md5 signature: 742addde06afd9d8130198556696e689 ****/ %feature("compactdefaultargs") ReadFile; %feature("autodoc", "Read specified stl file and returns its content as triangulation. in case of error, returns null handle. Parameters ---------- theFile: char * -aProgInd: Message_ProgressRange,optional +theProgress: Message_ProgressRange,optional + default value is Message_ProgressRange() + +Returns +------- +opencascade::handle +") ReadFile; + static opencascade::handle ReadFile(const char * theFile, const Message_ProgressRange & theProgress = Message_ProgressRange()); + + /****************** ReadFile ******************/ + /**** md5 signature: 752aa6341824937d3d7f5d58f0ca70e0 ****/ + %feature("compactdefaultargs") ReadFile; + %feature("autodoc", "Read specified stl file and returns its content as triangulation. @param[in] thefile file path to read @param[in] themergeangle maximum angle in radians between triangles to merge equal nodes; m_pi/2 means ignore angle @param[in] theprogress progress indicator returns result triangulation or null in case of error. + +Parameters +---------- +theFile: char * +theMergeAngle: float +theProgress: Message_ProgressRange,optional default value is Message_ProgressRange() Returns ------- opencascade::handle ") ReadFile; - static opencascade::handle ReadFile(const char * theFile, const Message_ProgressRange & aProgInd = Message_ProgressRange()); + static opencascade::handle ReadFile(const char * theFile, const Standard_Real theMergeAngle, const Message_ProgressRange & theProgress = Message_ProgressRange()); /****************** WriteAscii ******************/ /**** md5 signature: 8cb39ba5b5c9e3b27f4e1ec1bd12de9c ****/ diff --git a/src/SWIG_files/wrapper/RWStl.pyi b/src/SWIG_files/wrapper/RWStl.pyi index c2932172d..9b80a271b 100644 --- a/src/SWIG_files/wrapper/RWStl.pyi +++ b/src/SWIG_files/wrapper/RWStl.pyi @@ -15,10 +15,13 @@ class rwstl: def ReadBinary(thePath: OSD_Path, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> Poly_Triangulation: ... @overload @staticmethod - def ReadFile(theFile: OSD_Path, aProgInd: Optional[Message_ProgressRange] = Message_ProgressRange()) -> Poly_Triangulation: ... + def ReadFile(theFile: OSD_Path, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> Poly_Triangulation: ... @overload @staticmethod - def ReadFile(theFile: str, aProgInd: Optional[Message_ProgressRange] = Message_ProgressRange()) -> Poly_Triangulation: ... + def ReadFile(theFile: str, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> Poly_Triangulation: ... + @overload + @staticmethod + def ReadFile(theFile: str, theMergeAngle: float, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> Poly_Triangulation: ... @staticmethod def WriteAscii(theMesh: Poly_Triangulation, thePath: OSD_Path, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> bool: ... @staticmethod @@ -35,5 +38,6 @@ rwstl_ReadAscii = rwstl.ReadAscii rwstl_ReadBinary = rwstl.ReadBinary rwstl_ReadFile = rwstl.ReadFile rwstl_ReadFile = rwstl.ReadFile +rwstl_ReadFile = rwstl.ReadFile rwstl_WriteAscii = rwstl.WriteAscii rwstl_WriteBinary = rwstl.WriteBinary diff --git a/src/SWIG_files/wrapper/Resource.i b/src/SWIG_files/wrapper/Resource.i index d9bdeecdb..b9af36c3c 100644 --- a/src/SWIG_files/wrapper/Resource.i +++ b/src/SWIG_files/wrapper/Resource.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define RESOURCEDOCSTRING "Resource module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_resource.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_resource.html" %enddef %module (package="OCC.Core", docstring=RESOURCEDOCSTRING) Resource @@ -83,8 +83,9 @@ enum Resource_FormatType { Resource_FormatType_iso8859_7 = 21, Resource_FormatType_iso8859_8 = 22, Resource_FormatType_iso8859_9 = 23, - Resource_FormatType_GBK = 24, - Resource_FormatType_Big5 = 25, + Resource_FormatType_CP850 = 24, + Resource_FormatType_GBK = 25, + Resource_FormatType_Big5 = 26, Resource_FormatType_ANSI = Resource_FormatType_NoConversion, Resource_SJIS = Resource_FormatType_SJIS, Resource_EUC = Resource_FormatType_EUC, @@ -94,7 +95,7 @@ enum Resource_FormatType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Resource_FormatType(IntEnum): @@ -122,8 +123,9 @@ class Resource_FormatType(IntEnum): Resource_FormatType_iso8859_7 = 21 Resource_FormatType_iso8859_8 = 22 Resource_FormatType_iso8859_9 = 23 - Resource_FormatType_GBK = 24 - Resource_FormatType_Big5 = 25 + Resource_FormatType_CP850 = 24 + Resource_FormatType_GBK = 25 + Resource_FormatType_Big5 = 26 Resource_FormatType_ANSI = Resource_FormatType_NoConversion Resource_SJIS = Resource_FormatType_SJIS Resource_EUC = Resource_FormatType_EUC @@ -153,6 +155,7 @@ Resource_FormatType_iso8859_6 = Resource_FormatType.Resource_FormatType_iso8859_ Resource_FormatType_iso8859_7 = Resource_FormatType.Resource_FormatType_iso8859_7 Resource_FormatType_iso8859_8 = Resource_FormatType.Resource_FormatType_iso8859_8 Resource_FormatType_iso8859_9 = Resource_FormatType.Resource_FormatType_iso8859_9 +Resource_FormatType_CP850 = Resource_FormatType.Resource_FormatType_CP850 Resource_FormatType_GBK = Resource_FormatType.Resource_FormatType_GBK Resource_FormatType_Big5 = Resource_FormatType.Resource_FormatType_Big5 Resource_FormatType_ANSI = Resource_FormatType.Resource_FormatType_ANSI diff --git a/src/SWIG_files/wrapper/Resource.pyi b/src/SWIG_files/wrapper/Resource.pyi index 5edb3682f..53ee6ced2 100644 --- a/src/SWIG_files/wrapper/Resource.pyi +++ b/src/SWIG_files/wrapper/Resource.pyi @@ -31,6 +31,7 @@ class Resource_FormatType(IntEnum): Resource_FormatType_iso8859_7: int = ... Resource_FormatType_iso8859_8: int = ... Resource_FormatType_iso8859_9: int = ... + Resource_FormatType_CP850: int = ... Resource_FormatType_GBK: int = ... Resource_FormatType_Big5: int = ... Resource_FormatType_ANSI: int = ... @@ -63,6 +64,7 @@ Resource_FormatType_iso8859_6 = Resource_FormatType.Resource_FormatType_iso8859_ Resource_FormatType_iso8859_7 = Resource_FormatType.Resource_FormatType_iso8859_7 Resource_FormatType_iso8859_8 = Resource_FormatType.Resource_FormatType_iso8859_8 Resource_FormatType_iso8859_9 = Resource_FormatType.Resource_FormatType_iso8859_9 +Resource_FormatType_CP850 = Resource_FormatType.Resource_FormatType_CP850 Resource_FormatType_GBK = Resource_FormatType.Resource_FormatType_GBK Resource_FormatType_Big5 = Resource_FormatType.Resource_FormatType_Big5 Resource_FormatType_ANSI = Resource_FormatType.Resource_FormatType_ANSI diff --git a/src/SWIG_files/wrapper/STEPCAFControl.i b/src/SWIG_files/wrapper/STEPCAFControl.i index c64323970..d807ad237 100644 --- a/src/SWIG_files/wrapper/STEPCAFControl.i +++ b/src/SWIG_files/wrapper/STEPCAFControl.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPCAFCONTROLDOCSTRING "STEPCAFControl module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stepcafcontrol.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stepcafcontrol.html" %enddef %module (package="OCC.Core", docstring=STEPCAFCONTROLDOCSTRING) STEPCAFControl @@ -118,7 +118,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -957,6 +957,17 @@ bool ") GetSHUOMode; Standard_Boolean GetSHUOMode(); + /****************** GetShapeLabelMap ******************/ + /**** md5 signature: a27551a2f74ec801c8cbaeeebce293a4 ****/ + %feature("compactdefaultargs") GetShapeLabelMap; + %feature("autodoc", "No available documentation. + +Returns +------- +XCAFDoc_DataMapOfShapeLabel +") GetShapeLabelMap; + const XCAFDoc_DataMapOfShapeLabel & GetShapeLabelMap(); + /****************** GetViewMode ******************/ /**** md5 signature: a843d1c8dafb9fee3990369ff0e366ba ****/ %feature("compactdefaultargs") GetViewMode; @@ -1586,6 +1597,27 @@ bool ") Transfer; Standard_Boolean Transfer(const TDF_Label & L, const STEPControl_StepModelType mode = STEPControl_AsIs, const char * multi = 0, const Message_ProgressRange & theProgress = Message_ProgressRange()); + /****************** Transfer ******************/ + /**** md5 signature: 7533cb05eb0d45c4c5142f45de14069a ****/ + %feature("compactdefaultargs") Transfer; + %feature("autodoc", "Mehod to writing sequence of root assemblies or part of the file specified by use by one label . + +Parameters +---------- +L: TDF_LabelSequence +mode: STEPControl_StepModelType,optional + default value is STEPControl_AsIs +multi: char *,optional + default value is 0 +theProgress: Message_ProgressRange,optional + default value is Message_ProgressRange() + +Returns +------- +bool +") Transfer; + Standard_Boolean Transfer(const TDF_LabelSequence & L, const STEPControl_StepModelType mode = STEPControl_AsIs, const char * multi = 0, const Message_ProgressRange & theProgress = Message_ProgressRange()); + /****************** Write ******************/ /**** md5 signature: a2c63443529fcf2508727dc0010cba46 ****/ %feature("compactdefaultargs") Write; diff --git a/src/SWIG_files/wrapper/STEPCAFControl.pyi b/src/SWIG_files/wrapper/STEPCAFControl.pyi index 81c3c47d0..90e4e53af 100644 --- a/src/SWIG_files/wrapper/STEPCAFControl.pyi +++ b/src/SWIG_files/wrapper/STEPCAFControl.pyi @@ -112,6 +112,7 @@ class STEPCAFControl_Reader: def GetNameMode(self) -> bool: ... def GetPropsMode(self) -> bool: ... def GetSHUOMode(self) -> bool: ... + def GetShapeLabelMap(self) -> XCAFDoc_DataMapOfShapeLabel: ... def GetViewMode(self) -> bool: ... def Init(self, WS: XSControl_WorkSession, scratch: Optional[bool] = True) -> None: ... def NbRootsForTransfer(self) -> int: ... @@ -166,6 +167,8 @@ class STEPCAFControl_Writer: def Transfer(self, doc: TDocStd_Document, mode: Optional[STEPControl_StepModelType] = STEPControl_AsIs, multi: Optional[str] = 0, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> bool: ... @overload def Transfer(self, L: TDF_Label, mode: Optional[STEPControl_StepModelType] = STEPControl_AsIs, multi: Optional[str] = 0, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> bool: ... + @overload + def Transfer(self, L: TDF_LabelSequence, mode: Optional[STEPControl_StepModelType] = STEPControl_AsIs, multi: Optional[str] = 0, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> bool: ... def Write(self, filename: str) -> IFSelect_ReturnStatus: ... def Writer(self) -> STEPControl_Writer: ... diff --git a/src/SWIG_files/wrapper/STEPConstruct.i b/src/SWIG_files/wrapper/STEPConstruct.i index 012500a29..f1221c334 100644 --- a/src/SWIG_files/wrapper/STEPConstruct.i +++ b/src/SWIG_files/wrapper/STEPConstruct.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPCONSTRUCTDOCSTRING "STEPConstruct module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stepconstruct.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stepconstruct.html" %enddef %module (package="OCC.Core", docstring=STEPCONSTRUCTDOCSTRING) STEPConstruct @@ -100,7 +100,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -1913,7 +1913,7 @@ int /****************** ConvertSiPrefix ******************/ /**** md5 signature: da1d7efb2a96f1799098b82e4aa16394 ****/ %feature("compactdefaultargs") ConvertSiPrefix; - %feature("autodoc", "Convert si prefix defined by enumertaion to corresponding real factor (e.g. 1e6 for mega). + %feature("autodoc", "Convert si prefix defined by enumeration to corresponding real factor (e.g. 1e6 for mega). Parameters ---------- @@ -2554,7 +2554,7 @@ bool /****************** LoadInvisStyles ******************/ /**** md5 signature: 0e85b82c907be2deec7d1178e9b59af4 ****/ %feature("compactdefaultargs") LoadInvisStyles; - %feature("autodoc", "Searches the step model for the inisibility enteties (which bring styles) and fills out sequence of styles. + %feature("autodoc", "Searches the step model for the inisibility entities (which bring styles) and fills out sequence of styles. Parameters ---------- diff --git a/src/SWIG_files/wrapper/STEPControl.i b/src/SWIG_files/wrapper/STEPControl.i index 3bfc401a7..89d1459d2 100644 --- a/src/SWIG_files/wrapper/STEPControl.i +++ b/src/SWIG_files/wrapper/STEPControl.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPCONTROLDOCSTRING "STEPControl module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stepcontrol.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stepcontrol.html" %enddef %module (package="OCC.Core", docstring=STEPCONTROLDOCSTRING) STEPControl @@ -104,7 +104,7 @@ enum STEPControl_StepModelType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class STEPControl_StepModelType(IntEnum): @@ -639,6 +639,21 @@ int ") NbRootsForTransfer; virtual Standard_Integer NbRootsForTransfer(); + /****************** SetSystemLengthUnit ******************/ + /**** md5 signature: 510dfa5f705479dabe69cd18ff63f186 ****/ + %feature("compactdefaultargs") SetSystemLengthUnit; + %feature("autodoc", "Sets system length unit used by transfer process. + +Parameters +---------- +theLengthUnit: float + +Returns +------- +None +") SetSystemLengthUnit; + void SetSystemLengthUnit(const Standard_Real theLengthUnit); + /****************** StepModel ******************/ /**** md5 signature: a19eb8c75fefa8a51a41068202c028ed ****/ %feature("compactdefaultargs") StepModel; @@ -650,6 +665,17 @@ opencascade::handle ") StepModel; opencascade::handle StepModel(); + /****************** SystemLengthUnit ******************/ + /**** md5 signature: ea9818137c6810f4cc16c93250327aac ****/ + %feature("compactdefaultargs") SystemLengthUnit; + %feature("autodoc", "Returns system length unit used by transfer process. + +Returns +------- +float +") SystemLengthUnit; + Standard_Real SystemLengthUnit(); + /****************** TransferRoot ******************/ /**** md5 signature: 6197e07a7cce187793789d26466ddd30 ****/ %feature("compactdefaultargs") TransferRoot; diff --git a/src/SWIG_files/wrapper/STEPControl.pyi b/src/SWIG_files/wrapper/STEPControl.pyi index b8399d5e5..902dd14f2 100644 --- a/src/SWIG_files/wrapper/STEPControl.pyi +++ b/src/SWIG_files/wrapper/STEPControl.pyi @@ -76,7 +76,9 @@ class STEPControl_Reader(XSControl_Reader): def __init__(self, WS: XSControl_WorkSession, scratch: Optional[bool] = True) -> None: ... def FileUnits(self, theUnitLengthNames: TColStd_SequenceOfAsciiString, theUnitAngleNames: TColStd_SequenceOfAsciiString, theUnitSolidAngleNames: TColStd_SequenceOfAsciiString) -> None: ... def NbRootsForTransfer(self) -> int: ... + def SetSystemLengthUnit(self, theLengthUnit: float) -> None: ... def StepModel(self) -> StepData_StepModel: ... + def SystemLengthUnit(self) -> float: ... def TransferRoot(self, num: Optional[int] = 1, theProgress: Optional[Message_ProgressRange] = Message_ProgressRange()) -> bool: ... class STEPControl_Writer: diff --git a/src/SWIG_files/wrapper/STEPEdit.i b/src/SWIG_files/wrapper/STEPEdit.i index 092df7169..1b6aafa30 100644 --- a/src/SWIG_files/wrapper/STEPEdit.i +++ b/src/SWIG_files/wrapper/STEPEdit.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPEDITDOCSTRING "STEPEdit module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stepedit.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stepedit.html" %enddef %module (package="OCC.Core", docstring=STEPEDITDOCSTRING) STEPEdit @@ -73,7 +73,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/STEPSelections.i b/src/SWIG_files/wrapper/STEPSelections.i index 7f6db984a..46c959761 100644 --- a/src/SWIG_files/wrapper/STEPSelections.i +++ b/src/SWIG_files/wrapper/STEPSelections.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPSELECTIONSDOCSTRING "STEPSelections module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stepselections.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stepselections.html" %enddef %module (package="OCC.Core", docstring=STEPSELECTIONSDOCSTRING) STEPSelections @@ -85,7 +85,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/Select3D.i b/src/SWIG_files/wrapper/Select3D.i index c5b1c9593..8560a943c 100644 --- a/src/SWIG_files/wrapper/Select3D.i +++ b/src/SWIG_files/wrapper/Select3D.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define SELECT3DDOCSTRING "Select3D module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_select3d.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_select3d.html" %enddef %module (package="OCC.Core", docstring=SELECT3DDOCSTRING) Select3D @@ -105,7 +105,7 @@ enum Select3D_TypeOfSensitivity { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Select3D_TypeOfSensitivity(IntEnum): @@ -119,9 +119,11 @@ Select3D_TOS_BOUNDARY = Select3D_TypeOfSensitivity.Select3D_TOS_BOUNDARY /* handles */ %wrap_handle(Select3D_BVHIndexBuffer) %wrap_handle(Select3D_SensitiveBox) +%wrap_handle(Select3D_SensitiveCylinder) %wrap_handle(Select3D_SensitiveFace) %wrap_handle(Select3D_SensitivePoint) %wrap_handle(Select3D_SensitiveSegment) +%wrap_handle(Select3D_SensitiveSphere) %wrap_handle(Select3D_SensitiveTriangle) %wrap_handle(Select3D_InteriorSensitivePointSet) %wrap_handle(Select3D_SensitiveGroup) @@ -536,6 +538,101 @@ bool } }; +/*********************************** +* class Select3D_SensitiveCylinder * +***********************************/ +class Select3D_SensitiveCylinder : public Select3D_SensitiveEntity { + public: + /****************** Select3D_SensitiveCylinder ******************/ + /**** md5 signature: d59dec97bc93c5fff84d6d2372101895 ****/ + %feature("compactdefaultargs") Select3D_SensitiveCylinder; + %feature("autodoc", "Constructs a sensitive cylinder object defined by the owner theownerid, @param[in] thebottomrad cylinder bottom radius @param[in] thetoprad cylinder top radius @param[in] theheight cylinder height. + +Parameters +---------- +theOwnerId: SelectMgr_EntityOwner +theBottomRad: float +theTopRad: float +theHeight: float +theTrsf: gp_Trsf + +Returns +------- +None +") Select3D_SensitiveCylinder; + Select3D_SensitiveCylinder(const opencascade::handle & theOwnerId, const Standard_Real theBottomRad, const Standard_Real theTopRad, const Standard_Real theHeight, const gp_Trsf & theTrsf); + + /****************** BoundingBox ******************/ + /**** md5 signature: 32bbe8c17aea605d2fa20f6fee7f740c ****/ + %feature("compactdefaultargs") BoundingBox; + %feature("autodoc", "Returns bounding box of the cylinder. if location transformation is set, it will be applied. + +Returns +------- +Select3D_BndBox3d +") BoundingBox; + virtual Select3D_BndBox3d BoundingBox(); + + /****************** CenterOfGeometry ******************/ + /**** md5 signature: 25c8cb59bf9cf3d8018e9e747d82efdc ****/ + %feature("compactdefaultargs") CenterOfGeometry; + %feature("autodoc", "Returns center of the cylinder with transformation applied. + +Returns +------- +gp_Pnt +") CenterOfGeometry; + virtual gp_Pnt CenterOfGeometry(); + + /****************** Matches ******************/ + /**** md5 signature: 9840986fdc32d0b45aedaac5faa8bc9b ****/ + %feature("compactdefaultargs") Matches; + %feature("autodoc", "Checks whether the cylinder overlaps current selecting volume. + +Parameters +---------- +theMgr: SelectBasics_SelectingVolumeManager +thePickResult: SelectBasics_PickResult + +Returns +------- +bool +") Matches; + virtual Standard_Boolean Matches(SelectBasics_SelectingVolumeManager & theMgr, SelectBasics_PickResult & thePickResult); + + /****************** NbSubElements ******************/ + /**** md5 signature: d42012759817bcd1e404a0d71391ca3b ****/ + %feature("compactdefaultargs") NbSubElements; + %feature("autodoc", "Returns the amount of points. + +Returns +------- +int +") NbSubElements; + virtual Standard_Integer NbSubElements(); + + /****************** ToBuildBVH ******************/ + /**** md5 signature: 3e202142e81f8f905fd9631c2ddd9a95 ****/ + %feature("compactdefaultargs") ToBuildBVH; + %feature("autodoc", "Always returns standard_false. + +Returns +------- +bool +") ToBuildBVH; + virtual Standard_Boolean ToBuildBVH(); + +}; + + +%make_alias(Select3D_SensitiveCylinder) + +%extend Select3D_SensitiveCylinder { + %pythoncode { + __repr__ = _dumps_object + } +}; + /******************************* * class Select3D_SensitiveFace * *******************************/ @@ -1010,6 +1107,143 @@ bool /****************************** * class Select3D_SensitiveSet * ******************************/ +/********************************* +* class Select3D_SensitiveSphere * +*********************************/ +class Select3D_SensitiveSphere : public Select3D_SensitiveEntity { + public: + /****************** Select3D_SensitiveSphere ******************/ + /**** md5 signature: 938b4c90c8a9ff2c3ef8aefa2cca1875 ****/ + %feature("compactdefaultargs") Select3D_SensitiveSphere; + %feature("autodoc", "Constructs a sensitive sphere object defined by the owner theownerid, the center of the sphere and it's radius. + +Parameters +---------- +theOwnerId: SelectMgr_EntityOwner +theCenter: gp_Pnt +theRadius: float + +Returns +------- +None +") Select3D_SensitiveSphere; + Select3D_SensitiveSphere(const opencascade::handle & theOwnerId, const gp_Pnt & theCenter, const Standard_Real theRadius); + + /****************** BoundingBox ******************/ + /**** md5 signature: 32bbe8c17aea605d2fa20f6fee7f740c ****/ + %feature("compactdefaultargs") BoundingBox; + %feature("autodoc", "Returns bounding box of the sphere. if location transformation is set, it will be applied. + +Returns +------- +Select3D_BndBox3d +") BoundingBox; + virtual Select3D_BndBox3d BoundingBox(); + + /****************** CenterOfGeometry ******************/ + /**** md5 signature: 91b253b06a291fc09a167246137ee4aa ****/ + %feature("compactdefaultargs") CenterOfGeometry; + %feature("autodoc", "Returns center of the sphere with transformation applied. + +Returns +------- +gp_Pnt +") CenterOfGeometry; + virtual gp_Pnt CenterOfGeometry(); + + /****************** GetConnected ******************/ + /**** md5 signature: 2d4e6989177861b3aea0f57481cfcdfc ****/ + %feature("compactdefaultargs") GetConnected; + %feature("autodoc", "Returns the copy of this. + +Returns +------- +opencascade::handle +") GetConnected; + virtual opencascade::handle GetConnected(); + + /****************** LastDetectedPoint ******************/ + /**** md5 signature: e21e43f41a76a4e73c8bd23b296057d3 ****/ + %feature("compactdefaultargs") LastDetectedPoint; + %feature("autodoc", "Returns the position of detected point on the sphere. + +Returns +------- +gp_Pnt +") LastDetectedPoint; + const gp_Pnt LastDetectedPoint(); + + /****************** Matches ******************/ + /**** md5 signature: 9840986fdc32d0b45aedaac5faa8bc9b ****/ + %feature("compactdefaultargs") Matches; + %feature("autodoc", "Checks whether the sphere overlaps current selecting volume. + +Parameters +---------- +theMgr: SelectBasics_SelectingVolumeManager +thePickResult: SelectBasics_PickResult + +Returns +------- +bool +") Matches; + virtual Standard_Boolean Matches(SelectBasics_SelectingVolumeManager & theMgr, SelectBasics_PickResult & thePickResult); + + /****************** NbSubElements ******************/ + /**** md5 signature: d42012759817bcd1e404a0d71391ca3b ****/ + %feature("compactdefaultargs") NbSubElements; + %feature("autodoc", "Returns the amount of points. + +Returns +------- +int +") NbSubElements; + virtual Standard_Integer NbSubElements(); + + /****************** Radius ******************/ + /**** md5 signature: e995997e31f334f223fb359fc7382a66 ****/ + %feature("compactdefaultargs") Radius; + %feature("autodoc", "Returns the radius of the sphere. + +Returns +------- +float +") Radius; + Standard_Real Radius(); + + /****************** ResetLastDetectedPoint ******************/ + /**** md5 signature: 1cbeaf92700ac7b137749cc664093495 ****/ + %feature("compactdefaultargs") ResetLastDetectedPoint; + %feature("autodoc", "Invalidate the position of detected point on the sphere. + +Returns +------- +None +") ResetLastDetectedPoint; + void ResetLastDetectedPoint(); + + /****************** ToBuildBVH ******************/ + /**** md5 signature: 3e202142e81f8f905fd9631c2ddd9a95 ****/ + %feature("compactdefaultargs") ToBuildBVH; + %feature("autodoc", "Always returns standard_false. + +Returns +------- +bool +") ToBuildBVH; + virtual Standard_Boolean ToBuildBVH(); + +}; + + +%make_alias(Select3D_SensitiveSphere) + +%extend Select3D_SensitiveSphere { + %pythoncode { + __repr__ = _dumps_object + } +}; + /*********************************** * class Select3D_SensitiveTriangle * ***********************************/ diff --git a/src/SWIG_files/wrapper/Select3D.pyi b/src/SWIG_files/wrapper/Select3D.pyi index 608cb4269..b1e403929 100644 --- a/src/SWIG_files/wrapper/Select3D.pyi +++ b/src/SWIG_files/wrapper/Select3D.pyi @@ -48,8 +48,9 @@ Select3D_TOS_BOUNDARY = Select3D_TypeOfSensitivity.Select3D_TOS_BOUNDARY class Select3D_BVHIndexBuffer(Graphic3d_Buffer): def __init__(self, theAlloc: NCollection_BaseAllocator) -> None: ... - def HasPatches(self) -> False: ... + def HasPatches(self) -> bool: ... def Index(self, theIndex: int) -> int: ... + def Init(self, theNbElems: int, theHasPatches: bool) -> bool: ... def PatchSize(self, theIndex: int) -> int: ... @overload def SetIndex(self, theIndex: int, theValue: int) -> None: ... @@ -81,6 +82,14 @@ class Select3D_SensitiveBox(Select3D_SensitiveEntity): def NbSubElements(self) -> int: ... def ToBuildBVH(self) -> bool: ... +class Select3D_SensitiveCylinder(Select3D_SensitiveEntity): + def __init__(self, theOwnerId: SelectMgr_EntityOwner, theBottomRad: float, theTopRad: float, theHeight: float, theTrsf: gp_Trsf) -> None: ... + def BoundingBox(self) -> Select3D_BndBox3d: ... + def CenterOfGeometry(self) -> gp_Pnt: ... + def Matches(self, theMgr: SelectBasics_SelectingVolumeManager, thePickResult: SelectBasics_PickResult) -> bool: ... + def NbSubElements(self) -> int: ... + def ToBuildBVH(self) -> bool: ... + class Select3D_SensitiveFace(Select3D_SensitiveEntity): @overload def __init__(self, theOwnerId: SelectMgr_EntityOwner, thePoints: TColgp_Array1OfPnt, theType: Select3D_TypeOfSensitivity) -> None: ... @@ -124,6 +133,18 @@ class Select3D_SensitiveSegment(Select3D_SensitiveEntity): def StartPoint(self, thePnt: gp_Pnt) -> None: ... def ToBuildBVH(self) -> bool: ... +class Select3D_SensitiveSphere(Select3D_SensitiveEntity): + def __init__(self, theOwnerId: SelectMgr_EntityOwner, theCenter: gp_Pnt, theRadius: float) -> None: ... + def BoundingBox(self) -> Select3D_BndBox3d: ... + def CenterOfGeometry(self) -> gp_Pnt: ... + def GetConnected(self) -> Select3D_SensitiveEntity: ... + def LastDetectedPoint(self) -> gp_Pnt: ... + def Matches(self, theMgr: SelectBasics_SelectingVolumeManager, thePickResult: SelectBasics_PickResult) -> bool: ... + def NbSubElements(self) -> int: ... + def Radius(self) -> float: ... + def ResetLastDetectedPoint(self) -> None: ... + def ToBuildBVH(self) -> bool: ... + class Select3D_SensitiveTriangle(Select3D_SensitiveEntity): def __init__(self, theOwnerId: SelectMgr_EntityOwner, thePnt0: gp_Pnt, thePnt1: gp_Pnt, thePnt2: gp_Pnt, theType: Optional[Select3D_TypeOfSensitivity] = Select3D_TOS_INTERIOR) -> None: ... def BoundingBox(self) -> Select3D_BndBox3d: ... @@ -204,6 +225,16 @@ class Select3D_SensitivePrimitiveArray(Select3D_SensitiveSet): def CenterOfGeometry(self) -> gp_Pnt: ... def GetConnected(self) -> Select3D_SensitiveEntity: ... def HasInitLocation(self) -> bool: ... + @overload + def InitPoints(self, theVerts: Graphic3d_Buffer, theIndices: Graphic3d_IndexBuffer, theInitLoc: TopLoc_Location, theIndexLower: int, theIndexUpper: int, theToEvalMinMax: Optional[bool] = true, theNbGroups: Optional[int] = 1) -> bool: ... + @overload + def InitPoints(self, theVerts: Graphic3d_Buffer, theIndices: Graphic3d_IndexBuffer, theInitLoc: TopLoc_Location, theToEvalMinMax: Optional[bool] = true, theNbGroups: Optional[int] = 1) -> bool: ... + @overload + def InitPoints(self, theVerts: Graphic3d_Buffer, theInitLoc: TopLoc_Location, theToEvalMinMax: Optional[bool] = true, theNbGroups: Optional[int] = 1) -> bool: ... + @overload + def InitTriangulation(self, theVerts: Graphic3d_Buffer, theIndices: Graphic3d_IndexBuffer, theInitLoc: TopLoc_Location, theIndexLower: int, theIndexUpper: int, theToEvalMinMax: Optional[bool] = true, theNbGroups: Optional[int] = 1) -> bool: ... + @overload + def InitTriangulation(self, theVerts: Graphic3d_Buffer, theIndices: Graphic3d_IndexBuffer, theInitLoc: TopLoc_Location, theToEvalMinMax: Optional[bool] = true, theNbGroups: Optional[int] = 1) -> bool: ... def InvInitLocation(self) -> gp_GTrsf: ... def LastDetectedEdgeNode1(self) -> int: ... def LastDetectedEdgeNode2(self) -> int: ... @@ -213,17 +244,23 @@ class Select3D_SensitivePrimitiveArray(Select3D_SensitiveSet): def LastDetectedNodeMap(self) -> TColStd_HPackedMapOfInteger: ... def Matches(self, theMgr: SelectBasics_SelectingVolumeManager, thePickResult: SelectBasics_PickResult) -> bool: ... def NbSubElements(self) -> int: ... - def PatchDistance(self) -> False: ... + def PatchDistance(self) -> float: ... def PatchSizeMax(self) -> int: ... def Set(self, theOwnerId: SelectMgr_EntityOwner) -> None: ... + def SetDetectEdges(self, theToDetect: bool) -> None: ... + def SetDetectElementMap(self, theToDetect: bool) -> None: ... + def SetDetectElements(self, theToDetect: bool) -> None: ... + def SetDetectNodeMap(self, theToDetect: bool) -> None: ... + def SetDetectNodes(self, theToDetect: bool) -> None: ... + def SetPatchDistance(self, thePatchDistMax: float) -> None: ... def SetPatchSizeMax(self, thePatchSizeMax: int) -> None: ... def Size(self) -> int: ... def Swap(self, theIdx1: int, theIdx2: int) -> None: ... - def ToDetectEdges(self) -> False: ... - def ToDetectElementMap(self) -> False: ... - def ToDetectElements(self) -> False: ... - def ToDetectNodeMap(self) -> False: ... - def ToDetectNodes(self) -> False: ... + def ToDetectEdges(self) -> bool: ... + def ToDetectElementMap(self) -> bool: ... + def ToDetectElements(self) -> bool: ... + def ToDetectNodeMap(self) -> bool: ... + def ToDetectNodes(self) -> bool: ... class Select3D_SensitiveWire(Select3D_SensitiveSet): def __init__(self, theOwnerId: SelectMgr_EntityOwner) -> None: ... diff --git a/src/SWIG_files/wrapper/SelectBasics.i b/src/SWIG_files/wrapper/SelectBasics.i index a9fe7070c..fdbe34310 100644 --- a/src/SWIG_files/wrapper/SelectBasics.i +++ b/src/SWIG_files/wrapper/SelectBasics.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define SELECTBASICSDOCSTRING "SelectBasics module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_selectbasics.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_selectbasics.html" %enddef %module (package="OCC.Core", docstring=SELECTBASICSDOCSTRING) SelectBasics @@ -68,7 +68,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -335,35 +335,10 @@ NCollection_Vec3 %nodefaultctor SelectBasics_SelectingVolumeManager; class SelectBasics_SelectingVolumeManager { public: -/* public enums */ -enum SelectionType { - Point = 0, - Box = 1, - Polyline = 2, - Unknown = 3, -}; - -/* end public enums declaration */ - -/* python proy classes for enums */ -%pythoncode { - -class SelectionType(IntEnum): - Point = 0 - Box = 1 - Polyline = 2 - Unknown = 3 -Point = SelectionType.Point -Box = SelectionType.Box -Polyline = SelectionType.Polyline -Unknown = SelectionType.Unknown -}; -/* end python proxy for enums */ - /****************** DetectedPoint ******************/ /**** md5 signature: 1cc054e8948b7dd95fff0b23ad64230e ****/ %feature("compactdefaultargs") DetectedPoint; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Return 3d point corresponding to specified depth within picking ray. Parameters ---------- @@ -401,7 +376,7 @@ float /****************** GetActiveSelectionType ******************/ /**** md5 signature: 56d78b21d70ce91662f965e54361b877 ****/ %feature("compactdefaultargs") GetActiveSelectionType; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Return selection type. Returns ------- @@ -423,7 +398,7 @@ gp_Pnt /****************** GetMousePosition ******************/ /**** md5 signature: dc663ddc1edfd7aac3a43a6122139863 ****/ %feature("compactdefaultargs") GetMousePosition; - %feature("autodoc", "Return mouse coordinates for point selection mode. + %feature("autodoc", "Returns mouse coordinates for point selection mode. returns infinite point in case of unsupport of mouse position for this active selection volume. Returns ------- @@ -457,10 +432,21 @@ None ") GetPlanes; virtual void GetPlanes(NCollection_Vector > & thePlaneEquations); + /****************** GetViewRayDirection ******************/ + /**** md5 signature: 0c7768eea029564c9cfc1831463172ef ****/ + %feature("compactdefaultargs") GetViewRayDirection; + %feature("autodoc", "Valid only for point and rectangular selection. returns view ray direction. + +Returns +------- +gp_Dir +") GetViewRayDirection; + virtual gp_Dir GetViewRayDirection(); + /****************** IsOverlapAllowed ******************/ /**** md5 signature: f2e1ce20431c82909b70df801eabd2d8 ****/ %feature("compactdefaultargs") IsOverlapAllowed; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Returns flag indicating if partial overlapping of entities is allowed or should be rejected. Returns ------- @@ -468,10 +454,21 @@ bool ") IsOverlapAllowed; virtual Standard_Boolean IsOverlapAllowed(); + /****************** IsScalableActiveVolume ******************/ + /**** md5 signature: c27f91fde12737acec5b9ec7447775f2 ****/ + %feature("compactdefaultargs") IsScalableActiveVolume; + %feature("autodoc", "Checks if it is possible to scale current active selecting volume. + +Returns +------- +bool +") IsScalableActiveVolume; + virtual Standard_Boolean IsScalableActiveVolume(); + /****************** Overlaps ******************/ - /**** md5 signature: 72b3b9147f4c25df38e77cb007eab045 ****/ + /**** md5 signature: d747c1f315399efa5510406d844e66b8 ****/ %feature("compactdefaultargs") Overlaps; - %feature("autodoc", "Returns true if selecting volume is overlapped by box thebox. + %feature("autodoc", "No available documentation. Parameters ---------- @@ -483,12 +480,12 @@ Returns ------- bool ") Overlaps; - virtual Standard_Boolean Overlaps(const NCollection_Vec3 & theBoxMin, const NCollection_Vec3 & theBoxMax, SelectBasics_PickResult & thePickResult); + Standard_Boolean Overlaps(const NCollection_Vec3 & theBoxMin, const NCollection_Vec3 & theBoxMax, SelectBasics_PickResult & thePickResult); /****************** Overlaps ******************/ - /**** md5 signature: c4d2989a14a3b6b7b945864761359688 ****/ + /**** md5 signature: ad02c57aff478dbb9ccd37f6b975d8db ****/ %feature("compactdefaultargs") Overlaps; - %feature("autodoc", "Returns true if selecting volume is overlapped by axis-aligned bounding box with minimum corner at point theminpt and maximum at point themaxpt. + %feature("autodoc", "No available documentation. Parameters ---------- @@ -501,12 +498,12 @@ Returns ------- bool ") Overlaps; - virtual Standard_Boolean Overlaps(const NCollection_Vec3 & theBoxMin, const NCollection_Vec3 & theBoxMax, Standard_Boolean * theInside = NULL); + Standard_Boolean Overlaps(const NCollection_Vec3 & theBoxMin, const NCollection_Vec3 & theBoxMax, Standard_Boolean * theInside = NULL); /****************** Overlaps ******************/ - /**** md5 signature: 3947ed629721749a6624af1b76a64e6b ****/ + /**** md5 signature: 3a4578f15989fa698334fa48608734d7 ****/ %feature("compactdefaultargs") Overlaps; - %feature("autodoc", "Returns true if selecting volume is overlapped by point thepnt. + %feature("autodoc", "No available documentation. Parameters ---------- @@ -517,12 +514,12 @@ Returns ------- bool ") Overlaps; - virtual Standard_Boolean Overlaps(const gp_Pnt & thePnt, SelectBasics_PickResult & thePickResult); + Standard_Boolean Overlaps(const gp_Pnt & thePnt, SelectBasics_PickResult & thePickResult); /****************** Overlaps ******************/ - /**** md5 signature: 19dbdf40957c9f9c60452134ba0cc798 ****/ + /**** md5 signature: 2c48ffca243441d5070db20896ed9bb7 ****/ %feature("compactdefaultargs") Overlaps; - %feature("autodoc", "Returns true if selecting volume is overlapped by point thepnt. does not perform depth calculation, so this method is defined as helper function for inclusion test. + %feature("autodoc", "No available documentation. Parameters ---------- @@ -532,12 +529,12 @@ Returns ------- bool ") Overlaps; - virtual Standard_Boolean Overlaps(const gp_Pnt & thePnt); + Standard_Boolean Overlaps(const gp_Pnt & thePnt); /****************** Overlaps ******************/ - /**** md5 signature: 7b7a6a3461966a96a25e6b01b456944f ****/ + /**** md5 signature: 5d261ebac348da6356e9955565f46997 ****/ %feature("compactdefaultargs") Overlaps; - %feature("autodoc", "Returns true if selecting volume is overlapped by planar convex polygon, which points are stored in thearrayofpts, taking into account sensitivity type thesenstype. + %feature("autodoc", "No available documentation. Parameters ---------- @@ -549,12 +546,12 @@ Returns ------- bool ") Overlaps; - virtual Standard_Boolean Overlaps(const opencascade::handle & theArrayOfPts, Standard_Integer theSensType, SelectBasics_PickResult & thePickResult); + Standard_Boolean Overlaps(const opencascade::handle & theArrayOfPts, Standard_Integer theSensType, SelectBasics_PickResult & thePickResult); /****************** Overlaps ******************/ - /**** md5 signature: 7942e5ce29609ec05b0fae7fdf359421 ****/ + /**** md5 signature: 11133a04341e3e346c79060e72efe3aa ****/ %feature("compactdefaultargs") Overlaps; - %feature("autodoc", "Returns true if selecting volume is overlapped by planar convex polygon, which points are stored in thearrayofpts, taking into account sensitivity type thesenstype. + %feature("autodoc", "No available documentation. Parameters ---------- @@ -566,28 +563,221 @@ Returns ------- bool ") Overlaps; - virtual Standard_Boolean Overlaps(const TColgp_Array1OfPnt & theArrayOfPts, Standard_Integer theSensType, SelectBasics_PickResult & thePickResult); + Standard_Boolean Overlaps(const TColgp_Array1OfPnt & theArrayOfPts, Standard_Integer theSensType, SelectBasics_PickResult & thePickResult); /****************** Overlaps ******************/ - /**** md5 signature: 468be8c1f2bde407985bdc5b908467e6 ****/ + /**** md5 signature: 36eec5cecf417a156dfa620892dc5290 ****/ %feature("compactdefaultargs") Overlaps; - %feature("autodoc", "Returns true if selecting volume is overlapped by line segment with start point at thept1 and end point at thept2. + %feature("autodoc", "No available documentation. Parameters ---------- -thePt1: gp_Pnt -thePt2: gp_Pnt +thePnt1: gp_Pnt +thePnt2: gp_Pnt thePickResult: SelectBasics_PickResult Returns ------- bool ") Overlaps; - virtual Standard_Boolean Overlaps(const gp_Pnt & thePt1, const gp_Pnt & thePt2, SelectBasics_PickResult & thePickResult); + Standard_Boolean Overlaps(const gp_Pnt & thePnt1, const gp_Pnt & thePnt2, SelectBasics_PickResult & thePickResult); /****************** Overlaps ******************/ - /**** md5 signature: 6c2231a8cdc0689ab90add91a851ffb8 ****/ + /**** md5 signature: 10a5476373eb96d6f98c2e052cb99c4f ****/ %feature("compactdefaultargs") Overlaps; + %feature("autodoc", "No available documentation. + +Parameters +---------- +thePnt1: gp_Pnt +thePnt2: gp_Pnt +thePnt3: gp_Pnt +theSensType: int +thePickResult: SelectBasics_PickResult + +Returns +------- +bool +") Overlaps; + Standard_Boolean Overlaps(const gp_Pnt & thePnt1, const gp_Pnt & thePnt2, const gp_Pnt & thePnt3, Standard_Integer theSensType, SelectBasics_PickResult & thePickResult); + + /****************** OverlapsBox ******************/ + /**** md5 signature: cf352690fe6e8f14e29256111299bf78 ****/ + %feature("compactdefaultargs") OverlapsBox; + %feature("autodoc", "Returns true if selecting volume is overlapped by box thebox. + +Parameters +---------- +theBoxMin: NCollection_Vec3 +theBoxMax: NCollection_Vec3 +thePickResult: SelectBasics_PickResult + +Returns +------- +bool +") OverlapsBox; + virtual Standard_Boolean OverlapsBox(const NCollection_Vec3 & theBoxMin, const NCollection_Vec3 & theBoxMax, SelectBasics_PickResult & thePickResult); + + /****************** OverlapsBox ******************/ + /**** md5 signature: 6a9476f5f0056d3a045e2d26d3a0d4c8 ****/ + %feature("compactdefaultargs") OverlapsBox; + %feature("autodoc", "Returns true if selecting volume is overlapped by axis-aligned bounding box with minimum corner at point theminpt and maximum at point themaxpt. + +Parameters +---------- +theBoxMin: NCollection_Vec3 +theBoxMax: NCollection_Vec3 +theInside: bool *,optional + default value is NULL + +Returns +------- +bool +") OverlapsBox; + virtual Standard_Boolean OverlapsBox(const NCollection_Vec3 & theBoxMin, const NCollection_Vec3 & theBoxMax, Standard_Boolean * theInside = NULL); + + /****************** OverlapsCylinder ******************/ + /**** md5 signature: c900e6ae11df67bcc70fbb50f6b570dc ****/ + %feature("compactdefaultargs") OverlapsCylinder; + %feature("autodoc", "Returns true if selecting volume is overlapped by cylinder (or cone) with radiuses thebottomrad and thetoprad, height theheight and transformation to apply thetrsf. + +Parameters +---------- +theBottomRad: float +theTopRad: float +theHeight: float +theTrsf: gp_Trsf +thePickResult: SelectBasics_PickResult + +Returns +------- +bool +") OverlapsCylinder; + virtual Standard_Boolean OverlapsCylinder(const Standard_Real theBottomRad, const Standard_Real theTopRad, const Standard_Real theHeight, const gp_Trsf & theTrsf, SelectBasics_PickResult & thePickResult); + + /****************** OverlapsCylinder ******************/ + /**** md5 signature: 5f67d458875f1aefc78c51b6436b3f88 ****/ + %feature("compactdefaultargs") OverlapsCylinder; + %feature("autodoc", "Returns true if selecting volume is overlapped by cylinder (or cone) with radiuses thebottomrad and thetoprad, height theheight and transformation to apply thetrsf. + +Parameters +---------- +theBottomRad: float +theTopRad: float +theHeight: float +theTrsf: gp_Trsf +theInside: bool *,optional + default value is NULL + +Returns +------- +bool +") OverlapsCylinder; + virtual Standard_Boolean OverlapsCylinder(const Standard_Real theBottomRad, const Standard_Real theTopRad, const Standard_Real theHeight, const gp_Trsf & theTrsf, Standard_Boolean * theInside = NULL); + + /****************** OverlapsPoint ******************/ + /**** md5 signature: 60fbb482729178a9e23a299d60c9d746 ****/ + %feature("compactdefaultargs") OverlapsPoint; + %feature("autodoc", "Returns true if selecting volume is overlapped by point thepnt. + +Parameters +---------- +thePnt: gp_Pnt +thePickResult: SelectBasics_PickResult + +Returns +------- +bool +") OverlapsPoint; + virtual Standard_Boolean OverlapsPoint(const gp_Pnt & thePnt, SelectBasics_PickResult & thePickResult); + + /****************** OverlapsPoint ******************/ + /**** md5 signature: 7d294e46b6d94e1ca91f519f8b1d482d ****/ + %feature("compactdefaultargs") OverlapsPoint; + %feature("autodoc", "Returns true if selecting volume is overlapped by point thepnt. does not perform depth calculation, so this method is defined as helper function for inclusion test. + +Parameters +---------- +thePnt: gp_Pnt + +Returns +------- +bool +") OverlapsPoint; + virtual Standard_Boolean OverlapsPoint(const gp_Pnt & thePnt); + + /****************** OverlapsPolygon ******************/ + /**** md5 signature: 3a1e3541e3075520cd2fcde5b9115bf8 ****/ + %feature("compactdefaultargs") OverlapsPolygon; + %feature("autodoc", "Returns true if selecting volume is overlapped by planar convex polygon, which points are stored in thearrayofpts, taking into account sensitivity type thesenstype. + +Parameters +---------- +theArrayOfPts: TColgp_Array1OfPnt +theSensType: int +thePickResult: SelectBasics_PickResult + +Returns +------- +bool +") OverlapsPolygon; + virtual Standard_Boolean OverlapsPolygon(const TColgp_Array1OfPnt & theArrayOfPts, Standard_Integer theSensType, SelectBasics_PickResult & thePickResult); + + /****************** OverlapsSegment ******************/ + /**** md5 signature: a823340c5214f1edddbd9ffe133acbee ****/ + %feature("compactdefaultargs") OverlapsSegment; + %feature("autodoc", "Returns true if selecting volume is overlapped by line segment with start point at thept1 and end point at thept2. + +Parameters +---------- +thePt1: gp_Pnt +thePt2: gp_Pnt +thePickResult: SelectBasics_PickResult + +Returns +------- +bool +") OverlapsSegment; + virtual Standard_Boolean OverlapsSegment(const gp_Pnt & thePt1, const gp_Pnt & thePt2, SelectBasics_PickResult & thePickResult); + + /****************** OverlapsSphere ******************/ + /**** md5 signature: 87e22026b65bcca16d984778fe81e17c ****/ + %feature("compactdefaultargs") OverlapsSphere; + %feature("autodoc", "Returns true if selecting volume is overlapped by sphere with center thecenter and radius theradius. + +Parameters +---------- +theCenter: gp_Pnt +theRadius: float +thePickResult: SelectBasics_PickResult + +Returns +------- +bool +") OverlapsSphere; + virtual Standard_Boolean OverlapsSphere(const gp_Pnt & theCenter, const Standard_Real theRadius, SelectBasics_PickResult & thePickResult); + + /****************** OverlapsSphere ******************/ + /**** md5 signature: 32b443cedf236c938f70d5163436b508 ****/ + %feature("compactdefaultargs") OverlapsSphere; + %feature("autodoc", "Returns true if selecting volume is overlapped by sphere with center thecenter and radius theradius. + +Parameters +---------- +theCenter: gp_Pnt +theRadius: float +theInside: bool *,optional + default value is NULL + +Returns +------- +bool +") OverlapsSphere; + virtual Standard_Boolean OverlapsSphere(const gp_Pnt & theCenter, const Standard_Real theRadius, Standard_Boolean * theInside = NULL); + + /****************** OverlapsTriangle ******************/ + /**** md5 signature: 3271f8a7e98caa5cd64a9dcea6559740 ****/ + %feature("compactdefaultargs") OverlapsTriangle; %feature("autodoc", "Returns true if selecting volume is overlapped by triangle with vertices thept1, thept2 and thept3, taking into account sensitivity type thesenstype. Parameters @@ -601,8 +791,8 @@ thePickResult: SelectBasics_PickResult Returns ------- bool -") Overlaps; - virtual Standard_Boolean Overlaps(const gp_Pnt & thePt1, const gp_Pnt & thePt2, const gp_Pnt & thePt3, Standard_Integer theSensType, SelectBasics_PickResult & thePickResult); +") OverlapsTriangle; + virtual Standard_Boolean OverlapsTriangle(const gp_Pnt & thePt1, const gp_Pnt & thePt2, const gp_Pnt & thePt3, Standard_Integer theSensType, SelectBasics_PickResult & thePickResult); }; diff --git a/src/SWIG_files/wrapper/SelectBasics.pyi b/src/SWIG_files/wrapper/SelectBasics.pyi index f74aaa2aa..eee7de322 100644 --- a/src/SWIG_files/wrapper/SelectBasics.pyi +++ b/src/SWIG_files/wrapper/SelectBasics.pyi @@ -30,8 +30,10 @@ class SelectBasics_PickResult: def SetDistToGeomCenter(self, theDistToCenter: float) -> None: ... def SetPickedPoint(self, theObjPickedPnt: gp_Pnt) -> None: ... @overload + def SetSurfaceNormal(self, theNormal: float) -> None: ... + @overload def SetSurfaceNormal(self, theNormal: gp_Vec) -> None: ... - def SurfaceNormal(self) -> False: ... + def SurfaceNormal(self) -> float: ... class SelectBasics_SelectingVolumeManager: def DetectedPoint(self, theDepth: float) -> gp_Pnt: ... @@ -40,7 +42,9 @@ class SelectBasics_SelectingVolumeManager: def GetFarPickedPnt(self) -> gp_Pnt: ... def GetMousePosition(self) -> gp_Pnt2d: ... def GetNearPickedPnt(self) -> gp_Pnt: ... + def GetViewRayDirection(self) -> gp_Dir: ... def IsOverlapAllowed(self) -> bool: ... + def IsScalableActiveVolume(self) -> bool: ... @overload def Overlaps(self, thePnt: gp_Pnt, thePickResult: SelectBasics_PickResult) -> bool: ... @overload @@ -50,9 +54,24 @@ class SelectBasics_SelectingVolumeManager: @overload def Overlaps(self, theArrayOfPts: TColgp_Array1OfPnt, theSensType: int, thePickResult: SelectBasics_PickResult) -> bool: ... @overload - def Overlaps(self, thePt1: gp_Pnt, thePt2: gp_Pnt, thePickResult: SelectBasics_PickResult) -> bool: ... + def Overlaps(self, thePnt1: gp_Pnt, thePnt2: gp_Pnt, thePickResult: SelectBasics_PickResult) -> bool: ... + @overload + def Overlaps(self, thePnt1: gp_Pnt, thePnt2: gp_Pnt, thePnt3: gp_Pnt, theSensType: int, thePickResult: SelectBasics_PickResult) -> bool: ... + @overload + def OverlapsCylinder(self, theBottomRad: float, theTopRad: float, theHeight: float, theTrsf: gp_Trsf, thePickResult: SelectBasics_PickResult) -> bool: ... + @overload + def OverlapsCylinder(self, theBottomRad: float, theTopRad: float, theHeight: float, theTrsf: gp_Trsf, theInside: Optional[bool] = None) -> bool: ... + @overload + def OverlapsPoint(self, thePnt: gp_Pnt, thePickResult: SelectBasics_PickResult) -> bool: ... + @overload + def OverlapsPoint(self, thePnt: gp_Pnt) -> bool: ... + def OverlapsPolygon(self, theArrayOfPts: TColgp_Array1OfPnt, theSensType: int, thePickResult: SelectBasics_PickResult) -> bool: ... + def OverlapsSegment(self, thePt1: gp_Pnt, thePt2: gp_Pnt, thePickResult: SelectBasics_PickResult) -> bool: ... + @overload + def OverlapsSphere(self, theCenter: gp_Pnt, theRadius: float, thePickResult: SelectBasics_PickResult) -> bool: ... @overload - def Overlaps(self, thePt1: gp_Pnt, thePt2: gp_Pnt, thePt3: gp_Pnt, theSensType: int, thePickResult: SelectBasics_PickResult) -> bool: ... + def OverlapsSphere(self, theCenter: gp_Pnt, theRadius: float, theInside: Optional[bool] = None) -> bool: ... + def OverlapsTriangle(self, thePt1: gp_Pnt, thePt2: gp_Pnt, thePt3: gp_Pnt, theSensType: int, thePickResult: SelectBasics_PickResult) -> bool: ... # harray1 classes # harray2 classes diff --git a/src/SWIG_files/wrapper/SelectMgr.i b/src/SWIG_files/wrapper/SelectMgr.i index 249d9daf0..73ae096fd 100644 --- a/src/SWIG_files/wrapper/SelectMgr.i +++ b/src/SWIG_files/wrapper/SelectMgr.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define SELECTMGRDOCSTRING "SelectMgr module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_selectmgr.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_selectmgr.html" %enddef %module (package="OCC.Core", docstring=SELECTMGRDOCSTRING) SelectMgr @@ -45,6 +45,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_selectmgr.html" #include #include #include +#include +#include #include #include #include @@ -52,8 +54,6 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_selectmgr.html" #include #include #include -#include -#include #include #include #include @@ -91,6 +91,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_selectmgr.html" %import Graphic3d.i %import gp.i %import Select3D.i +%import SelectBasics.i +%import TColgp.i %import PrsMgr.i %import Aspect.i %import Prs3d.i @@ -98,8 +100,6 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_selectmgr.html" %import V3d.i %import TopAbs.i %import BVH.i -%import SelectBasics.i -%import TColgp.i %import Bnd.i %pythoncode { @@ -119,6 +119,13 @@ enum SelectMgr_TypeOfDepthTolerance { SelectMgr_TypeOfDepthTolerance_SensitivityFactor = 2, }; +enum SelectMgr_SelectionType { + SelectMgr_SelectionType_Unknown = - 1, + SelectMgr_SelectionType_Point = 1, + SelectMgr_SelectionType_Box = 2, + SelectMgr_SelectionType_Polyline = 3, +}; + enum SelectMgr_TypeOfUpdate { SelectMgr_TOU_Full = 0, SelectMgr_TOU_Partial = 1, @@ -147,7 +154,7 @@ enum SelectMgr_PickingStrategy { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class SelectMgr_FilterType(IntEnum): @@ -164,6 +171,16 @@ SelectMgr_TypeOfDepthTolerance_Uniform = SelectMgr_TypeOfDepthTolerance.SelectMg SelectMgr_TypeOfDepthTolerance_UniformPixels = SelectMgr_TypeOfDepthTolerance.SelectMgr_TypeOfDepthTolerance_UniformPixels SelectMgr_TypeOfDepthTolerance_SensitivityFactor = SelectMgr_TypeOfDepthTolerance.SelectMgr_TypeOfDepthTolerance_SensitivityFactor +class SelectMgr_SelectionType(IntEnum): + SelectMgr_SelectionType_Unknown = - 1 + SelectMgr_SelectionType_Point = 1 + SelectMgr_SelectionType_Box = 2 + SelectMgr_SelectionType_Polyline = 3 +SelectMgr_SelectionType_Unknown = SelectMgr_SelectionType.SelectMgr_SelectionType_Unknown +SelectMgr_SelectionType_Point = SelectMgr_SelectionType.SelectMgr_SelectionType_Point +SelectMgr_SelectionType_Box = SelectMgr_SelectionType.SelectMgr_SelectionType_Box +SelectMgr_SelectionType_Polyline = SelectMgr_SelectionType.SelectMgr_SelectionType_Polyline + class SelectMgr_TypeOfUpdate(IntEnum): SelectMgr_TOU_Full = 0 SelectMgr_TOU_Partial = 1 @@ -204,6 +221,7 @@ SelectMgr_PickingStrategy_OnlyTopmost = SelectMgr_PickingStrategy.SelectMgr_Pick /* handles */ %wrap_handle(SelectMgr_BVHThreadPool) +%wrap_handle(SelectMgr_BaseIntersector) %wrap_handle(SelectMgr_EntityOwner) %wrap_handle(SelectMgr_Filter) %wrap_handle(SelectMgr_SelectableObject) @@ -211,8 +229,8 @@ SelectMgr_PickingStrategy_OnlyTopmost = SelectMgr_PickingStrategy.SelectMgr_Pick %wrap_handle(SelectMgr_SelectionImageFiller) %wrap_handle(SelectMgr_SelectionManager) %wrap_handle(SelectMgr_SensitiveEntity) +%wrap_handle(SelectMgr_AxisIntersector) %wrap_handle(SelectMgr_CompositionFilter) -%wrap_handle(SelectMgr_ViewerSelector3d) %wrap_handle(SelectMgr_AndFilter) %wrap_handle(SelectMgr_AndOrFilter) %wrap_handle(SelectMgr_OrFilter) @@ -243,15 +261,8 @@ SelectMgr_PickingStrategy_OnlyTopmost = SelectMgr_PickingStrategy.SelectMgr_Pick return self.Size() } }; +%template(SelectMgr_MapOfOwners) NCollection_DataMap,Standard_Integer>; %template(SelectMgr_Mat4) NCollection_Mat4; -%template(SelectMgr_SequenceOfFilter) NCollection_Sequence>; - -%extend NCollection_Sequence> { - %pythoncode { - def __len__(self): - return self.Size() - } -}; %template(SelectMgr_SequenceOfOwner) NCollection_Sequence>; %extend NCollection_Sequence> { @@ -281,8 +292,8 @@ typedef NCollection_Shared>::Iterator SelectMgr_ListIteratorOfListOfFilter; typedef NCollection_List> SelectMgr_ListOfFilter; typedef NCollection_DataMap, opencascade::handle>::Iterator SelectMgr_MapOfObjectSensitivesIterator; +typedef NCollection_DataMap, Standard_Integer> SelectMgr_MapOfOwners; typedef NCollection_Mat4 SelectMgr_Mat4; -typedef NCollection_Sequence> SelectMgr_SequenceOfFilter; typedef NCollection_Sequence> SelectMgr_SequenceOfOwner; typedef NCollection_Sequence> SelectMgr_SequenceOfSelection; typedef NCollection_Vec3 SelectMgr_Vec3; @@ -403,91 +414,63 @@ None } }; -/****************************** -* class SelectMgr_BaseFrustum * -******************************/ -/****************************** -* class SelectMgr_EntityOwner * -******************************/ -class SelectMgr_EntityOwner : public Standard_Transient { +/********************************** +* class SelectMgr_BaseIntersector * +**********************************/ +%nodefaultctor SelectMgr_BaseIntersector; +class SelectMgr_BaseIntersector : public Standard_Transient { public: - /****************** SelectMgr_EntityOwner ******************/ - /**** md5 signature: 35168c30f579c463b76f662a6c83bb98 ****/ - %feature("compactdefaultargs") SelectMgr_EntityOwner; - %feature("autodoc", "Initializes the selection priority apriority. - -Parameters ----------- -aPriority: int,optional - default value is 0 + /****************** Build ******************/ + /**** md5 signature: a41bf8256f32ce9506d69a52d250386f ****/ + %feature("compactdefaultargs") Build; + %feature("autodoc", "Builds intersector according to internal parameters. Returns ------- None -") SelectMgr_EntityOwner; - SelectMgr_EntityOwner(const Standard_Integer aPriority = 0); - - /****************** SelectMgr_EntityOwner ******************/ - /**** md5 signature: 49230bdc1e89f7028e9f12f710ed7815 ****/ - %feature("compactdefaultargs") SelectMgr_EntityOwner; - %feature("autodoc", "Constructs a framework with the selectable object anso being attributed the selection priority apriority. +") Build; + virtual void Build(); -Parameters ----------- -aSO: SelectMgr_SelectableObject -aPriority: int,optional - default value is 0 + /****************** Camera ******************/ + /**** md5 signature: 9722357b74290d4bf6f13f9113469012 ****/ + %feature("compactdefaultargs") Camera; + %feature("autodoc", "Return camera definition. Returns ------- -None -") SelectMgr_EntityOwner; - SelectMgr_EntityOwner(const opencascade::handle & aSO, const Standard_Integer aPriority = 0); +opencascade::handle +") Camera; + const opencascade::handle & Camera(); - /****************** SelectMgr_EntityOwner ******************/ - /**** md5 signature: 963caefd0a499900c1583ec550ee8e1f ****/ - %feature("compactdefaultargs") SelectMgr_EntityOwner; - %feature("autodoc", "Constructs a framework from existing one anso being attributed the selection priority apriority. + /****************** DetectedPoint ******************/ + /**** md5 signature: 6c6688b42e6b7c576329ada82a48bca7 ****/ + %feature("compactdefaultargs") DetectedPoint; + %feature("autodoc", "Calculates the point on a view ray that was detected during the run of selection algo by given depth. it makes sense only for intersectors built on a single point. this method returns infinite point for the base class. Parameters ---------- -theOwner: SelectMgr_EntityOwner -aPriority: int,optional - default value is 0 +theDepth: float Returns ------- -None -") SelectMgr_EntityOwner; - SelectMgr_EntityOwner(const opencascade::handle & theOwner, const Standard_Integer aPriority = 0); +gp_Pnt +") DetectedPoint; + virtual gp_Pnt DetectedPoint(const Standard_Real theDepth); - /****************** Clear ******************/ - /**** md5 signature: d5969540eab52130ef3a242724a4b637 ****/ - %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears the owners matching the value of the selection mode amode from the presentation manager object apm. + /****************** DistToGeometryCenter ******************/ + /**** md5 signature: d05c069bc0dac1d0061914d9064f5c6b ****/ + %feature("compactdefaultargs") DistToGeometryCenter; + %feature("autodoc", "Measures distance between 3d projection of user-picked screen point and given point thecog. it makes sense only for intersectors built on a single point. this method returns infinite value for the base class. Parameters ---------- -thePrsMgr: PrsMgr_PresentationManager -theMode: int,optional - default value is 0 - -Returns -------- -None -") Clear; - virtual void Clear(const opencascade::handle & thePrsMgr, const Standard_Integer theMode = 0); - - /****************** ComesFromDecomposition ******************/ - /**** md5 signature: 6889a701c50209599d441be5b1dd1509 ****/ - %feature("compactdefaultargs") ComesFromDecomposition; - %feature("autodoc", "Returns true if this owner points to a part of object and false for entire object. +theCOG: gp_Pnt Returns ------- -bool -") ComesFromDecomposition; - Standard_Boolean ComesFromDecomposition(); +float +") DistToGeometryCenter; + virtual Standard_Real DistToGeometryCenter(const gp_Pnt & theCOG); %feature("autodoc", "1"); @@ -497,185 +480,703 @@ bool self->DumpJson(s, depth); return s.str();} }; - /****************** HandleMouseClick ******************/ - /**** md5 signature: add80052ddbdb459ce100ea351ce9701 ****/ - %feature("compactdefaultargs") HandleMouseClick; - %feature("autodoc", "Handle mouse button click event. does nothing by default and returns false. @param thepoint mouse cursor position @param thebutton clicked button @param themodifiers key modifiers @param theisdoubleclick flag indicating double mouse click returns true if object handled click. - -Parameters ----------- -thePoint: Graphic3d_Vec2i -theButton: Aspect_VKeyMouse -theModifiers: Aspect_VKeyFlags -theIsDoubleClick: bool + /****************** GetFarPnt ******************/ + /**** md5 signature: 3e36f446d09a687c0f4c947199de3fba ****/ + %feature("compactdefaultargs") GetFarPnt; + %feature("autodoc", "Returns far point of intersector. this method returns zero point for the base class. Returns ------- -bool -") HandleMouseClick; - virtual Standard_Boolean HandleMouseClick(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButton, Aspect_VKeyFlags theModifiers, bool theIsDoubleClick); +gp_Pnt +") GetFarPnt; + virtual const gp_Pnt GetFarPnt(); - /****************** HasLocation ******************/ - /**** md5 signature: 570d972f6c1bbb3a38c176a3dd7778ef ****/ - %feature("compactdefaultargs") HasLocation; - %feature("autodoc", "Returns true if selectable has transformation. + /****************** GetMousePosition ******************/ + /**** md5 signature: f0999a81a45c2c3d9eb21b1ee061e7e0 ****/ + %feature("compactdefaultargs") GetMousePosition; + %feature("autodoc", "Returns current mouse coordinates. this method returns infinite point for the base class. Returns ------- -bool -") HasLocation; - virtual Standard_Boolean HasLocation(); +gp_Pnt2d +") GetMousePosition; + virtual const gp_Pnt2d GetMousePosition(); - /****************** HasSelectable ******************/ - /**** md5 signature: f14bd3f82c22c452db3e0247d683264e ****/ - %feature("compactdefaultargs") HasSelectable; - %feature("autodoc", "Returns true if there is a selectable object to serve as an owner. + /****************** GetNearPnt ******************/ + /**** md5 signature: 17d67816021feab183a1521372f11473 ****/ + %feature("compactdefaultargs") GetNearPnt; + %feature("autodoc", "Returns near point of intersector. this method returns zero point for the base class. Returns ------- -bool -") HasSelectable; - Standard_Boolean HasSelectable(); +gp_Pnt +") GetNearPnt; + virtual const gp_Pnt GetNearPnt(); - /****************** HilightWithColor ******************/ - /**** md5 signature: 87de798bf932a923cf132ba96810aaa6 ****/ - %feature("compactdefaultargs") HilightWithColor; - %feature("autodoc", "Highlights selectable object's presentation with display mode in presentation manager with given highlight style. also a check for auto-highlight is performed - if selectable object manages highlighting on its own, execution will be passed to selectmgr_selectableobject::hilightownerwithcolor method. + /****************** GetPlanes ******************/ + /**** md5 signature: b90140b2ac0c4c0502829a7ff8252d2c ****/ + %feature("compactdefaultargs") GetPlanes; + %feature("autodoc", "Stores plane equation coefficients (in the following form: ax + by + cz + d = 0) to the given vector. this method only clears input vector for the base class. Parameters ---------- -thePrsMgr: PrsMgr_PresentationManager -theStyle: Prs3d_Drawer -theMode: int,optional - default value is 0 +thePlaneEquations: NCollection_Vector Returns ------- None -") HilightWithColor; - virtual void HilightWithColor(const opencascade::handle & thePrsMgr, const opencascade::handle & theStyle, const Standard_Integer theMode = 0); +") GetPlanes; + virtual void GetPlanes(NCollection_Vector & thePlaneEquations); - /****************** IsAutoHilight ******************/ - /**** md5 signature: 57ad8a813588ecd393319c64b612a682 ****/ - %feature("compactdefaultargs") IsAutoHilight; - %feature("autodoc", "If owner is not auto hilighted, for group contains many such owners will be called one method hilightselected of selectableobject. + /****************** GetSelectionType ******************/ + /**** md5 signature: 8a2f723381b539ff3ca96048a6b87ecc ****/ + %feature("compactdefaultargs") GetSelectionType; + %feature("autodoc", "Returns selection type of this intersector. Returns ------- -bool -") IsAutoHilight; - virtual Standard_Boolean IsAutoHilight(); +SelectMgr_SelectionType +") GetSelectionType; + SelectMgr_SelectionType GetSelectionType(); - /****************** IsForcedHilight ******************/ - /**** md5 signature: e492510bd7de6d5d862a5155125b20af ****/ - %feature("compactdefaultargs") IsForcedHilight; - %feature("autodoc", "If this method returns true the owner will always call method hilight for selectableobject when the owner is detected. by default it always return false. + /****************** GetViewRayDirection ******************/ + /**** md5 signature: c751cf5028d4253b9ccc63b4a7d68a0c ****/ + %feature("compactdefaultargs") GetViewRayDirection; + %feature("autodoc", "Returns direction ray of intersector. this method returns zero direction for the base class. + +Returns +------- +gp_Dir +") GetViewRayDirection; + virtual const gp_Dir GetViewRayDirection(); + + /****************** IsScalable ******************/ + /**** md5 signature: 9733a9bb15d124569350ae667909d84c ****/ + %feature("compactdefaultargs") IsScalable; + %feature("autodoc", "Checks if it is possible to scale this intersector. Returns ------- bool -") IsForcedHilight; - virtual Standard_Boolean IsForcedHilight(); +") IsScalable; + virtual Standard_Boolean IsScalable(); - /****************** IsHilighted ******************/ - /**** md5 signature: c2a9996f63892a7491634f477b938b73 ****/ - %feature("compactdefaultargs") IsHilighted; - %feature("autodoc", "Returns true if the presentation manager highlights selections corresponding to the selection mode. + /****************** OverlapsBox ******************/ + /**** md5 signature: b3d8e238997ac67fa00f862c71d8fb5e ****/ + %feature("compactdefaultargs") OverlapsBox; + %feature("autodoc", "Sat intersection test between defined volume and given axis-aligned box. Parameters ---------- -thePrsMgr: PrsMgr_PresentationManager -theMode: int,optional - default value is 0 +theBoxMin: SelectMgr_Vec3 +theBoxMax: SelectMgr_Vec3 +theClipRange: SelectMgr_ViewClipRange +thePickResult: SelectBasics_PickResult Returns ------- bool -") IsHilighted; - virtual Standard_Boolean IsHilighted(const opencascade::handle & thePrsMgr, const Standard_Integer theMode = 0); +") OverlapsBox; + virtual Standard_Boolean OverlapsBox(const SelectMgr_Vec3 & theBoxMin, const SelectMgr_Vec3 & theBoxMax, const SelectMgr_ViewClipRange & theClipRange, SelectBasics_PickResult & thePickResult); - /****************** IsSameSelectable ******************/ - /**** md5 signature: 1bb45ad41a756386595dad93200478e4 ****/ - %feature("compactdefaultargs") IsSameSelectable; - %feature("autodoc", "Returns true if pointer to selectable object of this owner is equal to the given one. + /****************** OverlapsBox ******************/ + /**** md5 signature: 3333b0eb5ae7761f543fe228c538ee5b ****/ + %feature("compactdefaultargs") OverlapsBox; + %feature("autodoc", "Returns true if selecting volume is overlapped by axis-aligned bounding box with minimum corner at point theminpt and maximum at point themaxpt. Parameters ---------- -theOther: SelectMgr_SelectableObject +theBoxMin: SelectMgr_Vec3 +theBoxMax: SelectMgr_Vec3 +theInside: bool *,optional + default value is NULL Returns ------- bool -") IsSameSelectable; - Standard_Boolean IsSameSelectable(const opencascade::handle & theOther); +") OverlapsBox; + virtual Standard_Boolean OverlapsBox(const SelectMgr_Vec3 & theBoxMin, const SelectMgr_Vec3 & theBoxMax, Standard_Boolean * theInside = NULL); - /****************** IsSelected ******************/ - /**** md5 signature: 949447744d8f6a94eaf4d4702b6e976e ****/ - %feature("compactdefaultargs") IsSelected; - %feature("autodoc", "Returns standard_true if the owner is selected. + /****************** OverlapsCylinder ******************/ + /**** md5 signature: 7cf8e8b6aff6e3075f07bbfcecbc9017 ****/ + %feature("compactdefaultargs") OverlapsCylinder; + %feature("autodoc", "Returns true if selecting volume is overlapped by cylinder (or cone) with radiuses thebottomrad and thetoprad, height theheight and transformation to apply thetrsf. + +Parameters +---------- +theBottomRad: float +theTopRad: float +theHeight: float +theTrsf: gp_Trsf +theClipRange: SelectMgr_ViewClipRange +thePickResult: SelectBasics_PickResult Returns ------- bool -") IsSelected; - Standard_Boolean IsSelected(); - - /****************** Location ******************/ - /**** md5 signature: e9a3bfb3f4a14a9bfddfb515790cf3eb ****/ - %feature("compactdefaultargs") Location; - %feature("autodoc", "Returns transformation of selectable. +") OverlapsCylinder; + virtual Standard_Boolean OverlapsCylinder(const Standard_Real theBottomRad, const Standard_Real theTopRad, const Standard_Real theHeight, const gp_Trsf & theTrsf, const SelectMgr_ViewClipRange & theClipRange, SelectBasics_PickResult & thePickResult); -Returns -------- -TopLoc_Location -") Location; - virtual TopLoc_Location Location(); + /****************** OverlapsCylinder ******************/ + /**** md5 signature: 5f67d458875f1aefc78c51b6436b3f88 ****/ + %feature("compactdefaultargs") OverlapsCylinder; + %feature("autodoc", "Returns true if selecting volume is overlapped by cylinder (or cone) with radiuses thebottomrad and thetoprad, height theheight and transformation to apply thetrsf. - /****************** Priority ******************/ - /**** md5 signature: 29598227ed02533258ae1cec0309a089 ****/ - %feature("compactdefaultargs") Priority; - %feature("autodoc", "Return selection priority (within range [0-9]) for results with the same depth; 0 by default. example - selection of shapes: the owners are selectable objects (presentations) a user can give vertex priority [3], edges [2] faces [1] shape [0], so that if during selection one vertex one edge and one face are simultaneously detected, the vertex will only be hilighted. +Parameters +---------- +theBottomRad: float +theTopRad: float +theHeight: float +theTrsf: gp_Trsf +theInside: bool *,optional + default value is NULL Returns ------- -int -") Priority; - Standard_Integer Priority(); +bool +") OverlapsCylinder; + virtual Standard_Boolean OverlapsCylinder(const Standard_Real theBottomRad, const Standard_Real theTopRad, const Standard_Real theHeight, const gp_Trsf & theTrsf, Standard_Boolean * theInside = NULL); - /****************** Selectable ******************/ - /**** md5 signature: 1129a474cddb2058eec6858748c2e93e ****/ - %feature("compactdefaultargs") Selectable; - %feature("autodoc", "Returns a selectable object detected in the working context. + /****************** OverlapsPoint ******************/ + /**** md5 signature: ca285b43cc259fcb46ff477678762dba ****/ + %feature("compactdefaultargs") OverlapsPoint; + %feature("autodoc", "Intersection test between defined volume and given point. + +Parameters +---------- +thePnt: gp_Pnt +theClipRange: SelectMgr_ViewClipRange +thePickResult: SelectBasics_PickResult Returns ------- -opencascade::handle -") Selectable; - virtual opencascade::handle Selectable(); +bool +") OverlapsPoint; + virtual Standard_Boolean OverlapsPoint(const gp_Pnt & thePnt, const SelectMgr_ViewClipRange & theClipRange, SelectBasics_PickResult & thePickResult); - /****************** Set ******************/ - /**** md5 signature: cc7bacf3830beb70c8bc9e3ab1dc0545 ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the selectable object. + /****************** OverlapsPoint ******************/ + /**** md5 signature: 7d294e46b6d94e1ca91f519f8b1d482d ****/ + %feature("compactdefaultargs") OverlapsPoint; + %feature("autodoc", "Intersection test between defined volume and given point does not perform depth calculation, so this method is defined as helper function for inclusion test. therefore, its implementation makes sense only for rectangular frustum with box selection mode activated. Parameters ---------- -theSelObj: SelectMgr_SelectableObject +thePnt: gp_Pnt Returns ------- -None -") Set; - void Set(const opencascade::handle & theSelObj); +bool +") OverlapsPoint; + virtual Standard_Boolean OverlapsPoint(const gp_Pnt & thePnt); - /****************** Set ******************/ - /**** md5 signature: 564f8abfa67cc280ba647fed234e9d47 ****/ - %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the selectable priority of the owner. + /****************** OverlapsPolygon ******************/ + /**** md5 signature: ea879fc06a4c6f6d0a789b21bf9e01f2 ****/ + %feature("compactdefaultargs") OverlapsPolygon; + %feature("autodoc", "Sat intersection test between defined volume and given ordered set of points, representing line segments. the test may be considered of interior part or boundary line defined by segments depending on given sensitivity type. Parameters ---------- -thePriority: int +theArrayOfPnts: TColgp_Array1OfPnt +theSensType: Select3D_TypeOfSensitivity +theClipRange: SelectMgr_ViewClipRange +thePickResult: SelectBasics_PickResult + +Returns +------- +bool +") OverlapsPolygon; + virtual Standard_Boolean OverlapsPolygon(const TColgp_Array1OfPnt & theArrayOfPnts, Select3D_TypeOfSensitivity theSensType, const SelectMgr_ViewClipRange & theClipRange, SelectBasics_PickResult & thePickResult); + + /****************** OverlapsSegment ******************/ + /**** md5 signature: d402778adf591662c5989dc838ac2ca6 ****/ + %feature("compactdefaultargs") OverlapsSegment; + %feature("autodoc", "Checks if line segment overlaps selecting frustum. + +Parameters +---------- +thePnt1: gp_Pnt +thePnt2: gp_Pnt +theClipRange: SelectMgr_ViewClipRange +thePickResult: SelectBasics_PickResult + +Returns +------- +bool +") OverlapsSegment; + virtual Standard_Boolean OverlapsSegment(const gp_Pnt & thePnt1, const gp_Pnt & thePnt2, const SelectMgr_ViewClipRange & theClipRange, SelectBasics_PickResult & thePickResult); + + /****************** OverlapsSphere ******************/ + /**** md5 signature: 32b443cedf236c938f70d5163436b508 ****/ + %feature("compactdefaultargs") OverlapsSphere; + %feature("autodoc", "Returns true if selecting volume is overlapped by sphere with center thecenter and radius theradius. + +Parameters +---------- +theCenter: gp_Pnt +theRadius: float +theInside: bool *,optional + default value is NULL + +Returns +------- +bool +") OverlapsSphere; + virtual Standard_Boolean OverlapsSphere(const gp_Pnt & theCenter, const Standard_Real theRadius, Standard_Boolean * theInside = NULL); + + /****************** OverlapsSphere ******************/ + /**** md5 signature: 37997e5cd3caaa032de4ff44a63381ed ****/ + %feature("compactdefaultargs") OverlapsSphere; + %feature("autodoc", "Returns true if selecting volume is overlapped by sphere with center thecenter and radius theradius. + +Parameters +---------- +theCenter: gp_Pnt +theRadius: float +theClipRange: SelectMgr_ViewClipRange +thePickResult: SelectBasics_PickResult + +Returns +------- +bool +") OverlapsSphere; + virtual Standard_Boolean OverlapsSphere(const gp_Pnt & theCenter, const Standard_Real theRadius, const SelectMgr_ViewClipRange & theClipRange, SelectBasics_PickResult & thePickResult); + + /****************** OverlapsTriangle ******************/ + /**** md5 signature: fc92c4fa04dc601ad98f7ee32291b96f ****/ + %feature("compactdefaultargs") OverlapsTriangle; + %feature("autodoc", "Sat intersection test between defined volume and given triangle. the test may be considered of interior part or boundary line defined by triangle vertices depending on given sensitivity type. + +Parameters +---------- +thePnt1: gp_Pnt +thePnt2: gp_Pnt +thePnt3: gp_Pnt +theSensType: Select3D_TypeOfSensitivity +theClipRange: SelectMgr_ViewClipRange +thePickResult: SelectBasics_PickResult + +Returns +------- +bool +") OverlapsTriangle; + virtual Standard_Boolean OverlapsTriangle(const gp_Pnt & thePnt1, const gp_Pnt & thePnt2, const gp_Pnt & thePnt3, Select3D_TypeOfSensitivity theSensType, const SelectMgr_ViewClipRange & theClipRange, SelectBasics_PickResult & thePickResult); + + /****************** RayCylinderIntersection ******************/ + /**** md5 signature: d88a89b28889ef5d671470f6fa53eb2c ****/ + %feature("compactdefaultargs") RayCylinderIntersection; + %feature("autodoc", "Checks whether the ray that starts at the point theloc and directs with the direction theraydir intersects with the cylinder (or cone) with radiuses thebottomrad and thetoprad and height theheights. + +Parameters +---------- +theBottomRadius: float +theTopRadius: float +theHeight: float +theLoc: gp_Pnt +theRayDir: gp_Dir + +Returns +------- +theTimeEnter: float +theTimeLeave: float +") RayCylinderIntersection; + virtual Standard_Boolean RayCylinderIntersection(const Standard_Real theBottomRadius, const Standard_Real theTopRadius, const Standard_Real theHeight, const gp_Pnt & theLoc, const gp_Dir & theRayDir, Standard_Real &OutValue, Standard_Real &OutValue); + + /****************** RaySphereIntersection ******************/ + /**** md5 signature: a447f92c1a753c60f95dacf06134d88f ****/ + %feature("compactdefaultargs") RaySphereIntersection; + %feature("autodoc", "Checks whether the ray that starts at the point theloc and directs with the direction theraydir intersects with the sphere with center at thecenter and radius theradius. + +Parameters +---------- +theCenter: gp_Pnt +theRadius: float +theLoc: gp_Pnt +theRayDir: gp_Dir + +Returns +------- +theTimeEnter: float +theTimeLeave: float +") RaySphereIntersection; + virtual Standard_Boolean RaySphereIntersection(const gp_Pnt & theCenter, const Standard_Real theRadius, const gp_Pnt & theLoc, const gp_Dir & theRayDir, Standard_Real &OutValue, Standard_Real &OutValue); + + /****************** ScaleAndTransform ******************/ + /**** md5 signature: 03f05921987bcd766b276d57220bf861 ****/ + %feature("compactdefaultargs") ScaleAndTransform; + %feature("autodoc", "Note that this method does not perform any checks on type of the frustum. @param thescalefactor [in] scale factor for new intersector or negative value if undefined; important: scaling makes sense only for scalable ::isscalable() intersectors (built on a single point)! @param thetrsf [in] transformation for new intersector or gp_identity if undefined @param thebuilder [in] an optional argument that represents corresponding settings for re-constructing transformed frustum from scratch; could be null if reconstruction is not expected furthermore returns a copy of the frustum resized according to the scale factor given and transforms it using the matrix given. + +Parameters +---------- +theScaleFactor: int +theTrsf: gp_GTrsf +theBuilder: SelectMgr_FrustumBuilder + +Returns +------- +opencascade::handle +") ScaleAndTransform; + virtual opencascade::handle ScaleAndTransform(const Standard_Integer theScaleFactor, const gp_GTrsf & theTrsf, const opencascade::handle & theBuilder); + + /****************** SetCamera ******************/ + /**** md5 signature: f2614c926a92a0a375328573f4288898 ****/ + %feature("compactdefaultargs") SetCamera; + %feature("autodoc", "Saves camera definition. + +Parameters +---------- +theCamera: Graphic3d_Camera + +Returns +------- +None +") SetCamera; + virtual void SetCamera(const opencascade::handle & theCamera); + + /****************** SetPixelTolerance ******************/ + /**** md5 signature: ca5a8a26205f52e8a3a279a36ba509e4 ****/ + %feature("compactdefaultargs") SetPixelTolerance; + %feature("autodoc", "Sets pixel tolerance. it makes sense only for scalable intersectors (built on a single point). this method does nothing for the base class. + +Parameters +---------- +theTol: int + +Returns +------- +None +") SetPixelTolerance; + virtual void SetPixelTolerance(const Standard_Integer theTol); + + /****************** SetViewport ******************/ + /**** md5 signature: 35321000dbfc7f82f14ef5defb456d2f ****/ + %feature("compactdefaultargs") SetViewport; + %feature("autodoc", "Sets viewport parameters. this method does nothing for the base class. + +Parameters +---------- +theX: float +theY: float +theWidth: float +theHeight: float + +Returns +------- +None +") SetViewport; + virtual void SetViewport(const Standard_Real theX, const Standard_Real theY, const Standard_Real theWidth, const Standard_Real theHeight); + + /****************** SetWindowSize ******************/ + /**** md5 signature: d28d2507e21d13e97ddcec9b2c59cbb2 ****/ + %feature("compactdefaultargs") SetWindowSize; + %feature("autodoc", "Sets current window size. this method does nothing for the base class. + +Parameters +---------- +theWidth: int +theHeight: int + +Returns +------- +None +") SetWindowSize; + virtual void SetWindowSize(const Standard_Integer theWidth, const Standard_Integer theHeight); + + /****************** WindowSize ******************/ + /**** md5 signature: 6027bd72564d44492379be31be79c1f6 ****/ + %feature("compactdefaultargs") WindowSize; + %feature("autodoc", "Returns current window size. this method doesn't set any output values for the base class. + +Parameters +---------- + +Returns +------- +theWidth: int +theHeight: int +") WindowSize; + virtual void WindowSize(Standard_Integer &OutValue, Standard_Integer &OutValue); + +}; + + +%make_alias(SelectMgr_BaseIntersector) + +%extend SelectMgr_BaseIntersector { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/****************************** +* class SelectMgr_EntityOwner * +******************************/ +class SelectMgr_EntityOwner : public Standard_Transient { + public: + /****************** SelectMgr_EntityOwner ******************/ + /**** md5 signature: 35168c30f579c463b76f662a6c83bb98 ****/ + %feature("compactdefaultargs") SelectMgr_EntityOwner; + %feature("autodoc", "Initializes the selection priority apriority. + +Parameters +---------- +aPriority: int,optional + default value is 0 + +Returns +------- +None +") SelectMgr_EntityOwner; + SelectMgr_EntityOwner(const Standard_Integer aPriority = 0); + + /****************** SelectMgr_EntityOwner ******************/ + /**** md5 signature: 49230bdc1e89f7028e9f12f710ed7815 ****/ + %feature("compactdefaultargs") SelectMgr_EntityOwner; + %feature("autodoc", "Constructs a framework with the selectable object anso being attributed the selection priority apriority. + +Parameters +---------- +aSO: SelectMgr_SelectableObject +aPriority: int,optional + default value is 0 + +Returns +------- +None +") SelectMgr_EntityOwner; + SelectMgr_EntityOwner(const opencascade::handle & aSO, const Standard_Integer aPriority = 0); + + /****************** SelectMgr_EntityOwner ******************/ + /**** md5 signature: 963caefd0a499900c1583ec550ee8e1f ****/ + %feature("compactdefaultargs") SelectMgr_EntityOwner; + %feature("autodoc", "Constructs a framework from existing one anso being attributed the selection priority apriority. + +Parameters +---------- +theOwner: SelectMgr_EntityOwner +aPriority: int,optional + default value is 0 + +Returns +------- +None +") SelectMgr_EntityOwner; + SelectMgr_EntityOwner(const opencascade::handle & theOwner, const Standard_Integer aPriority = 0); + + /****************** Clear ******************/ + /**** md5 signature: d5969540eab52130ef3a242724a4b637 ****/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "Clears the owners matching the value of the selection mode amode from the presentation manager object apm. + +Parameters +---------- +thePrsMgr: PrsMgr_PresentationManager +theMode: int,optional + default value is 0 + +Returns +------- +None +") Clear; + virtual void Clear(const opencascade::handle & thePrsMgr, const Standard_Integer theMode = 0); + + /****************** ComesFromDecomposition ******************/ + /**** md5 signature: 6889a701c50209599d441be5b1dd1509 ****/ + %feature("compactdefaultargs") ComesFromDecomposition; + %feature("autodoc", "Returns true if this owner points to a part of object and false for entire object. + +Returns +------- +bool +") ComesFromDecomposition; + Standard_Boolean ComesFromDecomposition(); + + + %feature("autodoc", "1"); + %extend{ + std::string DumpJsonToString(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return s.str();} + }; + /****************** HandleMouseClick ******************/ + /**** md5 signature: add80052ddbdb459ce100ea351ce9701 ****/ + %feature("compactdefaultargs") HandleMouseClick; + %feature("autodoc", "Handle mouse button click event. does nothing by default and returns false. @param thepoint mouse cursor position @param thebutton clicked button @param themodifiers key modifiers @param theisdoubleclick flag indicating double mouse click returns true if object handled click. + +Parameters +---------- +thePoint: Graphic3d_Vec2i +theButton: Aspect_VKeyMouse +theModifiers: Aspect_VKeyFlags +theIsDoubleClick: bool + +Returns +------- +bool +") HandleMouseClick; + virtual Standard_Boolean HandleMouseClick(const Graphic3d_Vec2i & thePoint, Aspect_VKeyMouse theButton, Aspect_VKeyFlags theModifiers, bool theIsDoubleClick); + + /****************** HasLocation ******************/ + /**** md5 signature: 570d972f6c1bbb3a38c176a3dd7778ef ****/ + %feature("compactdefaultargs") HasLocation; + %feature("autodoc", "Returns true if selectable has transformation. + +Returns +------- +bool +") HasLocation; + virtual Standard_Boolean HasLocation(); + + /****************** HasSelectable ******************/ + /**** md5 signature: f14bd3f82c22c452db3e0247d683264e ****/ + %feature("compactdefaultargs") HasSelectable; + %feature("autodoc", "Returns true if there is a selectable object to serve as an owner. + +Returns +------- +bool +") HasSelectable; + Standard_Boolean HasSelectable(); + + /****************** HilightWithColor ******************/ + /**** md5 signature: 87de798bf932a923cf132ba96810aaa6 ****/ + %feature("compactdefaultargs") HilightWithColor; + %feature("autodoc", "Highlights selectable object's presentation with display mode in presentation manager with given highlight style. also a check for auto-highlight is performed - if selectable object manages highlighting on its own, execution will be passed to selectmgr_selectableobject::hilightownerwithcolor method. + +Parameters +---------- +thePrsMgr: PrsMgr_PresentationManager +theStyle: Prs3d_Drawer +theMode: int,optional + default value is 0 + +Returns +------- +None +") HilightWithColor; + virtual void HilightWithColor(const opencascade::handle & thePrsMgr, const opencascade::handle & theStyle, const Standard_Integer theMode = 0); + + /****************** IsAutoHilight ******************/ + /**** md5 signature: 57ad8a813588ecd393319c64b612a682 ****/ + %feature("compactdefaultargs") IsAutoHilight; + %feature("autodoc", "If owner is not auto hilighted, for group contains many such owners will be called one method hilightselected of selectableobject. + +Returns +------- +bool +") IsAutoHilight; + virtual Standard_Boolean IsAutoHilight(); + + /****************** IsForcedHilight ******************/ + /**** md5 signature: e492510bd7de6d5d862a5155125b20af ****/ + %feature("compactdefaultargs") IsForcedHilight; + %feature("autodoc", "If this method returns true the owner will always call method hilight for selectableobject when the owner is detected. by default it always return false. + +Returns +------- +bool +") IsForcedHilight; + virtual Standard_Boolean IsForcedHilight(); + + /****************** IsHilighted ******************/ + /**** md5 signature: c2a9996f63892a7491634f477b938b73 ****/ + %feature("compactdefaultargs") IsHilighted; + %feature("autodoc", "Returns true if the presentation manager highlights selections corresponding to the selection mode. + +Parameters +---------- +thePrsMgr: PrsMgr_PresentationManager +theMode: int,optional + default value is 0 + +Returns +------- +bool +") IsHilighted; + virtual Standard_Boolean IsHilighted(const opencascade::handle & thePrsMgr, const Standard_Integer theMode = 0); + + /****************** IsSameSelectable ******************/ + /**** md5 signature: 1bb45ad41a756386595dad93200478e4 ****/ + %feature("compactdefaultargs") IsSameSelectable; + %feature("autodoc", "Returns true if pointer to selectable object of this owner is equal to the given one. + +Parameters +---------- +theOther: SelectMgr_SelectableObject + +Returns +------- +bool +") IsSameSelectable; + Standard_Boolean IsSameSelectable(const opencascade::handle & theOther); + + /****************** IsSelected ******************/ + /**** md5 signature: 949447744d8f6a94eaf4d4702b6e976e ****/ + %feature("compactdefaultargs") IsSelected; + %feature("autodoc", "Returns standard_true if the owner is selected. + +Returns +------- +bool +") IsSelected; + Standard_Boolean IsSelected(); + + /****************** Location ******************/ + /**** md5 signature: e9a3bfb3f4a14a9bfddfb515790cf3eb ****/ + %feature("compactdefaultargs") Location; + %feature("autodoc", "Returns transformation of selectable. + +Returns +------- +TopLoc_Location +") Location; + virtual TopLoc_Location Location(); + + /****************** Priority ******************/ + /**** md5 signature: 29598227ed02533258ae1cec0309a089 ****/ + %feature("compactdefaultargs") Priority; + %feature("autodoc", "Return selection priority (within range [0-9]) for results with the same depth; 0 by default. example - selection of shapes: the owners are selectable objects (presentations) a user can give vertex priority [3], edges [2] faces [1] shape [0], so that if during selection one vertex one edge and one face are simultaneously detected, the vertex will only be hilighted. + +Returns +------- +int +") Priority; + Standard_Integer Priority(); + + /****************** Selectable ******************/ + /**** md5 signature: 1129a474cddb2058eec6858748c2e93e ****/ + %feature("compactdefaultargs") Selectable; + %feature("autodoc", "Returns a selectable object detected in the working context. + +Returns +------- +opencascade::handle +") Selectable; + virtual opencascade::handle Selectable(); + + /****************** Set ******************/ + /**** md5 signature: cc7bacf3830beb70c8bc9e3ab1dc0545 ****/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "Sets the selectable object. + +Parameters +---------- +theSelObj: SelectMgr_SelectableObject + +Returns +------- +None +") Set; + void Set(const opencascade::handle & theSelObj); + + /****************** Set ******************/ + /**** md5 signature: 564f8abfa67cc280ba647fed234e9d47 ****/ + %feature("compactdefaultargs") Set; + %feature("autodoc", "Sets the selectable priority of the owner. + +Parameters +---------- +thePriority: int Returns ------- @@ -1313,7 +1814,7 @@ enum BVHSubset { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class BVHSubset(IntEnum): @@ -1476,24 +1977,20 @@ bool Standard_Boolean Remove(const opencascade::handle & theObject); /****************** UpdateBVH ******************/ - /**** md5 signature: 7b761a008dcdefa3ae620aa5abc335b0 ****/ + /**** md5 signature: 8a4c543113d4a23f5fbc275c1d261940 ****/ %feature("compactdefaultargs") UpdateBVH; %feature("autodoc", "Updates outdated bvh trees and remembers the last state of the camera view-projection matrices and viewport (window) dimensions. Parameters ---------- -theCamera: Graphic3d_Camera -theProjectionMat: Graphic3d_Mat4d -theWorldViewMat: Graphic3d_Mat4d -theViewState: Graphic3d_WorldViewProjState -theViewportWidth: int -theViewportHeight: int +theCam: Graphic3d_Camera +theWinSize: Graphic3d_Vec2i Returns ------- None ") UpdateBVH; - void UpdateBVH(const opencascade::handle & theCamera, const Graphic3d_Mat4d & theProjectionMat, const Graphic3d_Mat4d & theWorldViewMat, const Graphic3d_WorldViewProjState & theViewState, const Standard_Integer theViewportWidth, const Standard_Integer theViewportHeight); + void UpdateBVH(const opencascade::handle & theCam, const Graphic3d_Vec2i & theWinSize); }; @@ -1510,20 +2007,15 @@ None class SelectMgr_SelectingVolumeManager : public SelectBasics_SelectingVolumeManager { public: /****************** SelectMgr_SelectingVolumeManager ******************/ - /**** md5 signature: 88c9baa84730ed8c95f865643313b569 ****/ + /**** md5 signature: 766e9640f35bf18828817e28109e724c ****/ %feature("compactdefaultargs") SelectMgr_SelectingVolumeManager; %feature("autodoc", "Creates instances of all available selecting volume types. -Parameters ----------- -theToAllocateFrustums: bool,optional - default value is Standard_True - Returns ------- None ") SelectMgr_SelectingVolumeManager; - SelectMgr_SelectingVolumeManager(Standard_Boolean theToAllocateFrustums = Standard_True); + SelectMgr_SelectingVolumeManager(); /****************** AllowOverlapDetection ******************/ /**** md5 signature: 835f65572d504a5580a4fc1007d46f5c ****/ @@ -1540,10 +2032,21 @@ None ") AllowOverlapDetection; virtual void AllowOverlapDetection(const Standard_Boolean theIsToAllow); + /****************** BuildSelectingVolume ******************/ + /**** md5 signature: 8d111d8f578ec131aa6dd52ce1a06500 ****/ + %feature("compactdefaultargs") BuildSelectingVolume; + %feature("autodoc", "Builds previously initialized selecting volume. + +Returns +------- +None +") BuildSelectingVolume; + void BuildSelectingVolume(); + /****************** BuildSelectingVolume ******************/ /**** md5 signature: d3870be043d44dc3c4c9021e9328557f ****/ %feature("compactdefaultargs") BuildSelectingVolume; - %feature("autodoc", "Builds rectangular selecting frustum for point selection. + %feature("autodoc", "No available documentation. Parameters ---------- @@ -1558,7 +2061,7 @@ None /****************** BuildSelectingVolume ******************/ /**** md5 signature: 6d5dfec62c478092fcbc8add0168a788 ****/ %feature("compactdefaultargs") BuildSelectingVolume; - %feature("autodoc", "Builds rectangular selecting frustum for box selection. + %feature("autodoc", "No available documentation. Parameters ---------- @@ -1574,7 +2077,7 @@ None /****************** BuildSelectingVolume ******************/ /**** md5 signature: 0b768a2e513c26decf9d0f6a27302911 ****/ %feature("compactdefaultargs") BuildSelectingVolume; - %feature("autodoc", "Builds set of triangular selecting frustums for polyline selection. + %feature("autodoc", "No available documentation. Parameters ---------- @@ -1587,7 +2090,7 @@ None void BuildSelectingVolume(const TColgp_Array1OfPnt2d & thePoints); /****************** Camera ******************/ - /**** md5 signature: 9722357b74290d4bf6f13f9113469012 ****/ + /**** md5 signature: e0e8d00ee700afb9ca88da977e8b5747 ****/ %feature("compactdefaultargs") Camera; %feature("autodoc", "Returns current camera definition. @@ -1658,9 +2161,9 @@ gp_Pnt virtual gp_Pnt GetFarPickedPnt(); /****************** GetMousePosition ******************/ - /**** md5 signature: 3146c30fdc649573d84878daffdc7e57 ****/ + /**** md5 signature: dcc0cc032f698db0f9d95560a7ad20f9 ****/ %feature("compactdefaultargs") GetMousePosition; - %feature("autodoc", "Return mouse coordinates for point selection mode. + %feature("autodoc", "Returns mouse coordinates for point selection mode. returns infinite point in case of unsupport of mouse position for this active selection volume. Returns ------- @@ -1680,7 +2183,7 @@ gp_Pnt virtual gp_Pnt GetNearPickedPnt(); /****************** GetPlanes ******************/ - /**** md5 signature: c2c102a337ece46bfdb7552bb588b2d8 ****/ + /**** md5 signature: 6ca80f788783698f67ff4f449d84c80c ****/ %feature("compactdefaultargs") GetPlanes; %feature("autodoc", "Stores plane equation coefficients (in the following form: ax + by + cz + d = 0) to the given vector. @@ -1705,6 +2208,93 @@ gp_Pnt * ") GetVertices; const gp_Pnt * GetVertices(); + /****************** GetViewRayDirection ******************/ + /**** md5 signature: 21f31209db824731d7acac6bf2abae83 ****/ + %feature("compactdefaultargs") GetViewRayDirection; + %feature("autodoc", "Valid only for point and rectangular selection. returns view ray direction. + +Returns +------- +gp_Dir +") GetViewRayDirection; + virtual gp_Dir GetViewRayDirection(); + + /****************** InitAxisSelectingVolume ******************/ + /**** md5 signature: 26109159d24d5be10c951c3c439d4af1 ****/ + %feature("compactdefaultargs") InitAxisSelectingVolume; + %feature("autodoc", "Creates and activates axis selector for point selection. + +Parameters +---------- +theAxis: gp_Ax1 + +Returns +------- +None +") InitAxisSelectingVolume; + void InitAxisSelectingVolume(const gp_Ax1 & theAxis); + + /****************** InitBoxSelectingVolume ******************/ + /**** md5 signature: 85ba60b668422521b374712ef9dc305b ****/ + %feature("compactdefaultargs") InitBoxSelectingVolume; + %feature("autodoc", "Creates, initializes and activates rectangular selecting frustum for box selection. + +Parameters +---------- +theMinPt: gp_Pnt2d +theMaxPt: gp_Pnt2d + +Returns +------- +None +") InitBoxSelectingVolume; + void InitBoxSelectingVolume(const gp_Pnt2d & theMinPt, const gp_Pnt2d & theMaxPt); + + /****************** InitPointSelectingVolume ******************/ + /**** md5 signature: 6fd958c8f193c830449b334386063d1e ****/ + %feature("compactdefaultargs") InitPointSelectingVolume; + %feature("autodoc", "Creates, initializes and activates rectangular selecting frustum for point selection. + +Parameters +---------- +thePoint: gp_Pnt2d + +Returns +------- +None +") InitPointSelectingVolume; + void InitPointSelectingVolume(const gp_Pnt2d & thePoint); + + /****************** InitPolylineSelectingVolume ******************/ + /**** md5 signature: 91b0266302c5afb5d62b7b293bb285dc ****/ + %feature("compactdefaultargs") InitPolylineSelectingVolume; + %feature("autodoc", "Creates, initializes and activates set of triangular selecting frustums for polyline selection. + +Parameters +---------- +thePoints: TColgp_Array1OfPnt2d + +Returns +------- +None +") InitPolylineSelectingVolume; + void InitPolylineSelectingVolume(const TColgp_Array1OfPnt2d & thePoints); + + /****************** InitSelectingVolume ******************/ + /**** md5 signature: a70f6f4650e5b257e6e7420cd2ae830d ****/ + %feature("compactdefaultargs") InitSelectingVolume; + %feature("autodoc", "Sets as active the custom selecting volume. + +Parameters +---------- +theVolume: SelectMgr_BaseIntersector + +Returns +------- +None +") InitSelectingVolume; + void InitSelectingVolume(const opencascade::handle & theVolume); + /****************** IsOverlapAllowed ******************/ /**** md5 signature: 7d8f9be9184a75e442465114e308659f ****/ %feature("compactdefaultargs") IsOverlapAllowed; @@ -1716,6 +2306,17 @@ bool ") IsOverlapAllowed; virtual Standard_Boolean IsOverlapAllowed(); + /****************** IsScalableActiveVolume ******************/ + /**** md5 signature: cec63286df013390f8db8e217254c9db ****/ + %feature("compactdefaultargs") IsScalableActiveVolume; + %feature("autodoc", "Checks if it is possible to scale current active selecting volume. + +Returns +------- +bool +") IsScalableActiveVolume; + virtual Standard_Boolean IsScalableActiveVolume(); + /****************** ObjectClipping ******************/ /**** md5 signature: f6c35522166321d4f812458a964f18cf ****/ %feature("compactdefaultargs") ObjectClipping; @@ -1727,9 +2328,9 @@ opencascade::handle ") ObjectClipping; const opencascade::handle & ObjectClipping(); - /****************** Overlaps ******************/ - /**** md5 signature: e9d23145a7798aafba1bb50a37f94425 ****/ - %feature("compactdefaultargs") Overlaps; + /****************** OverlapsBox ******************/ + /**** md5 signature: 4b7c5cc7fac549e880a63ba09353ab83 ****/ + %feature("compactdefaultargs") OverlapsBox; %feature("autodoc", "Sat intersection test between defined volume and given axis-aligned box. Parameters @@ -1741,12 +2342,12 @@ thePickResult: SelectBasics_PickResult Returns ------- bool -") Overlaps; - virtual Standard_Boolean Overlaps(const SelectMgr_Vec3 & theBoxMin, const SelectMgr_Vec3 & theBoxMax, SelectBasics_PickResult & thePickResult); +") OverlapsBox; + virtual Standard_Boolean OverlapsBox(const SelectMgr_Vec3 & theBoxMin, const SelectMgr_Vec3 & theBoxMax, SelectBasics_PickResult & thePickResult); - /****************** Overlaps ******************/ - /**** md5 signature: 95c6b8b1e7c428ad28d82cfbc1693720 ****/ - %feature("compactdefaultargs") Overlaps; + /****************** OverlapsBox ******************/ + /**** md5 signature: 4811ebe00d4b1a89d64ffa793d81cfd8 ****/ + %feature("compactdefaultargs") OverlapsBox; %feature("autodoc", "Returns true if selecting volume is overlapped by axis-aligned bounding box with minimum corner at point theminpt and maximum at point themaxpt. Parameters @@ -1759,60 +2360,82 @@ theInside: bool *,optional Returns ------- bool -") Overlaps; - virtual Standard_Boolean Overlaps(const SelectMgr_Vec3 & theBoxMin, const SelectMgr_Vec3 & theBoxMax, Standard_Boolean * theInside = NULL); +") OverlapsBox; + virtual Standard_Boolean OverlapsBox(const SelectMgr_Vec3 & theBoxMin, const SelectMgr_Vec3 & theBoxMax, Standard_Boolean * theInside = NULL); - /****************** Overlaps ******************/ - /**** md5 signature: 0acf2b0e4ea6a2d5d856c5c32c6cbab7 ****/ - %feature("compactdefaultargs") Overlaps; - %feature("autodoc", "Intersection test between defined volume and given point. + /****************** OverlapsCylinder ******************/ + /**** md5 signature: 26557a28e00e8edb55cf53095b7aac25 ****/ + %feature("compactdefaultargs") OverlapsCylinder; + %feature("autodoc", "Returns true if selecting volume is overlapped by cylinder (or cone) with radiuses thebottomrad and thetoprad, height theheight and transformation to apply thetrsf. Parameters ---------- -thePnt: gp_Pnt +theBottomRad: float +theTopRad: float +theHeight: float +theTrsf: gp_Trsf thePickResult: SelectBasics_PickResult Returns ------- bool -") Overlaps; - virtual Standard_Boolean Overlaps(const gp_Pnt & thePnt, SelectBasics_PickResult & thePickResult); +") OverlapsCylinder; + virtual Standard_Boolean OverlapsCylinder(const Standard_Real theBottomRad, const Standard_Real theTopRad, const Standard_Real theHeight, const gp_Trsf & theTrsf, SelectBasics_PickResult & thePickResult); + + /****************** OverlapsCylinder ******************/ + /**** md5 signature: ebba148002fb6dc8cbbe7979fbf2a67b ****/ + %feature("compactdefaultargs") OverlapsCylinder; + %feature("autodoc", "Returns true if selecting volume is overlapped by cylinder (or cone) with radiuses thebottomrad and thetoprad, height theheight and transformation to apply thetrsf. + +Parameters +---------- +theBottomRad: float +theTopRad: float +theHeight: float +theTrsf: gp_Trsf +theInside: bool *,optional + default value is NULL + +Returns +------- +bool +") OverlapsCylinder; + virtual Standard_Boolean OverlapsCylinder(const Standard_Real theBottomRad, const Standard_Real theTopRad, const Standard_Real theHeight, const gp_Trsf & theTrsf, Standard_Boolean * theInside = NULL); - /****************** Overlaps ******************/ - /**** md5 signature: 15d41c8f739c0ce842f61077e7fdebb2 ****/ - %feature("compactdefaultargs") Overlaps; + /****************** OverlapsPoint ******************/ + /**** md5 signature: dc4b85981b0c33d2a566ec628898624d ****/ + %feature("compactdefaultargs") OverlapsPoint; %feature("autodoc", "Intersection test between defined volume and given point. Parameters ---------- thePnt: gp_Pnt +thePickResult: SelectBasics_PickResult Returns ------- bool -") Overlaps; - virtual Standard_Boolean Overlaps(const gp_Pnt & thePnt); +") OverlapsPoint; + virtual Standard_Boolean OverlapsPoint(const gp_Pnt & thePnt, SelectBasics_PickResult & thePickResult); - /****************** Overlaps ******************/ - /**** md5 signature: 1ef89a6f633473ae7690385aaae28b92 ****/ - %feature("compactdefaultargs") Overlaps; - %feature("autodoc", "Sat intersection test between defined volume and given ordered set of points, representing line segments. the test may be considered of interior part or boundary line defined by segments depending on given sensitivity type. + /****************** OverlapsPoint ******************/ + /**** md5 signature: d7b37b52b3a018e10f4074a808688275 ****/ + %feature("compactdefaultargs") OverlapsPoint; + %feature("autodoc", "Intersection test between defined volume and given point. Parameters ---------- -theArrayOfPts: TColgp_HArray1OfPnt -theSensType: int -thePickResult: SelectBasics_PickResult +thePnt: gp_Pnt Returns ------- bool -") Overlaps; - virtual Standard_Boolean Overlaps(const opencascade::handle & theArrayOfPts, Standard_Integer theSensType, SelectBasics_PickResult & thePickResult); +") OverlapsPoint; + virtual Standard_Boolean OverlapsPoint(const gp_Pnt & thePnt); - /****************** Overlaps ******************/ - /**** md5 signature: fb7b41afbb828318fc5f75597be730a4 ****/ - %feature("compactdefaultargs") Overlaps; + /****************** OverlapsPolygon ******************/ + /**** md5 signature: 191ac64a95f79df4fa49ccb283f0714b ****/ + %feature("compactdefaultargs") OverlapsPolygon; %feature("autodoc", "Sat intersection test between defined volume and given ordered set of points, representing line segments. the test may be considered of interior part or boundary line defined by segments depending on given sensitivity type. Parameters @@ -1824,12 +2447,12 @@ thePickResult: SelectBasics_PickResult Returns ------- bool -") Overlaps; - virtual Standard_Boolean Overlaps(const TColgp_Array1OfPnt & theArrayOfPts, Standard_Integer theSensType, SelectBasics_PickResult & thePickResult); +") OverlapsPolygon; + virtual Standard_Boolean OverlapsPolygon(const TColgp_Array1OfPnt & theArrayOfPts, Standard_Integer theSensType, SelectBasics_PickResult & thePickResult); - /****************** Overlaps ******************/ - /**** md5 signature: 5a4fdd6cf5990d69cb44c2752d9cf429 ****/ - %feature("compactdefaultargs") Overlaps; + /****************** OverlapsSegment ******************/ + /**** md5 signature: 9facfbdce7f5efd87b89a4104b49953f ****/ + %feature("compactdefaultargs") OverlapsSegment; %feature("autodoc", "Checks if line segment overlaps selecting frustum. Parameters @@ -1841,110 +2464,99 @@ thePickResult: SelectBasics_PickResult Returns ------- bool -") Overlaps; - virtual Standard_Boolean Overlaps(const gp_Pnt & thePnt1, const gp_Pnt & thePnt2, SelectBasics_PickResult & thePickResult); +") OverlapsSegment; + virtual Standard_Boolean OverlapsSegment(const gp_Pnt & thePnt1, const gp_Pnt & thePnt2, SelectBasics_PickResult & thePickResult); - /****************** Overlaps ******************/ - /**** md5 signature: 9a5e1237922eff21a936edd5cd4e2233 ****/ - %feature("compactdefaultargs") Overlaps; - %feature("autodoc", "Sat intersection test between defined volume and given triangle. the test may be considered of interior part or boundary line defined by triangle vertices depending on given sensitivity type. + /****************** OverlapsSphere ******************/ + /**** md5 signature: e847078d05a6a0ce1e7e3f093c489ddb ****/ + %feature("compactdefaultargs") OverlapsSphere; + %feature("autodoc", "Intersection test between defined volume and given sphere. Parameters ---------- -thePnt1: gp_Pnt -thePnt2: gp_Pnt -thePnt3: gp_Pnt -theSensType: int +theCenter: gp_Pnt +theRadius: float thePickResult: SelectBasics_PickResult Returns ------- bool -") Overlaps; - virtual Standard_Boolean Overlaps(const gp_Pnt & thePnt1, const gp_Pnt & thePnt2, const gp_Pnt & thePnt3, Standard_Integer theSensType, SelectBasics_PickResult & thePickResult); - - /****************** ProjectionMatrix ******************/ - /**** md5 signature: ba648dd7b6de7cfe7eaed2ae24ad2b05 ****/ - %feature("compactdefaultargs") ProjectionMatrix; - %feature("autodoc", "Returns current projection transformation common for all selecting volumes. - -Returns -------- -Graphic3d_Mat4d -") ProjectionMatrix; - const Graphic3d_Mat4d & ProjectionMatrix(); +") OverlapsSphere; + virtual Standard_Boolean OverlapsSphere(const gp_Pnt & theCenter, const Standard_Real theRadius, SelectBasics_PickResult & thePickResult); - /****************** ScaleAndTransform ******************/ - /**** md5 signature: 97fa1c93c915db40ef5183e7034a43db ****/ - %feature("compactdefaultargs") ScaleAndTransform; - %feature("autodoc", "Important: scaling makes sense only for frustum built on a single point! note that this method does not perform any checks on type of the frustum. //! returns a copy of the frustum resized according to the scale factor given and transforms it using the matrix given. there are no default parameters, but in case if: - transformation only is needed: @thescalefactor must be initialized as any negative value; - scale only is needed: @thetrsf must be set to gp_identity. builder is an optional argument that represents corresponding settings for re-constructing transformed frustum from scratch. can be null if reconstruction is not expected furthermore. + /****************** OverlapsSphere ******************/ + /**** md5 signature: 2b7a70713e1032389098753ec8495331 ****/ + %feature("compactdefaultargs") OverlapsSphere; + %feature("autodoc", "Intersection test between defined volume and given sphere. Parameters ---------- -theScaleFactor: int -theTrsf: gp_GTrsf -theBuilder: SelectMgr_FrustumBuilder,optional +theCenter: gp_Pnt +theRadius: float +theInside: bool *,optional default value is NULL Returns ------- -SelectMgr_SelectingVolumeManager -") ScaleAndTransform; - virtual SelectMgr_SelectingVolumeManager ScaleAndTransform(const Standard_Integer theScaleFactor, const gp_GTrsf & theTrsf, const opencascade::handle & theBuilder = NULL); +bool +") OverlapsSphere; + virtual Standard_Boolean OverlapsSphere(const gp_Pnt & theCenter, const Standard_Real theRadius, Standard_Boolean * theInside = NULL); - /****************** SetActiveSelectionType ******************/ - /**** md5 signature: bb196b52c241933538bbab6aeca4322f ****/ - %feature("compactdefaultargs") SetActiveSelectionType; - %feature("autodoc", "No available documentation. + /****************** OverlapsTriangle ******************/ + /**** md5 signature: 638ac865012392274d476eb994ef2dfc ****/ + %feature("compactdefaultargs") OverlapsTriangle; + %feature("autodoc", "Sat intersection test between defined volume and given triangle. the test may be considered of interior part or boundary line defined by triangle vertices depending on given sensitivity type. Parameters ---------- -theType: SelectionType +thePnt1: gp_Pnt +thePnt2: gp_Pnt +thePnt3: gp_Pnt +theSensType: int +thePickResult: SelectBasics_PickResult Returns ------- -None -") SetActiveSelectionType; - void SetActiveSelectionType(const SelectionType & theType); +bool +") OverlapsTriangle; + virtual Standard_Boolean OverlapsTriangle(const gp_Pnt & thePnt1, const gp_Pnt & thePnt2, const gp_Pnt & thePnt3, Standard_Integer theSensType, SelectBasics_PickResult & thePickResult); - /****************** SetCamera ******************/ - /**** md5 signature: 11f06b5f3493f65ebc339cf1e1252d99 ****/ - %feature("compactdefaultargs") SetCamera; - %feature("autodoc", "Updates camera projection and orientation matrices in all selecting volumes. + /****************** ScaleAndTransform ******************/ + /**** md5 signature: 52c642a3c1880fb8abb130dbb36a0aff ****/ + %feature("compactdefaultargs") ScaleAndTransform; + %feature("autodoc", "Important: scaling makes sense only for frustum built on a single point! note that this method does not perform any checks on type of the frustum. //! returns a copy of the frustum resized according to the scale factor given and transforms it using the matrix given. there are no default parameters, but in case if: - transformation only is needed: @thescalefactor must be initialized as any negative value; - scale only is needed: @thetrsf must be set to gp_identity. builder is an optional argument that represents corresponding settings for re-constructing transformed frustum from scratch. can be null if reconstruction is not expected furthermore. Parameters ---------- -theCamera: Graphic3d_Camera +theScaleFactor: int +theTrsf: gp_GTrsf +theBuilder: SelectMgr_FrustumBuilder Returns ------- -None -") SetCamera; - void SetCamera(const opencascade::handle theCamera); +SelectMgr_SelectingVolumeManager +") ScaleAndTransform; + virtual SelectMgr_SelectingVolumeManager ScaleAndTransform(const Standard_Integer theScaleFactor, const gp_GTrsf & theTrsf, const opencascade::handle & theBuilder); /****************** SetCamera ******************/ - /**** md5 signature: 9622e55d8fd1b9fc5d3e3394bdbf36b9 ****/ + /**** md5 signature: 11f06b5f3493f65ebc339cf1e1252d99 ****/ %feature("compactdefaultargs") SetCamera; - %feature("autodoc", "Updates camera projection and orientation matrices in all selecting volumes. + %feature("autodoc", "Updates camera projection and orientation matrices in all selecting volumes note: this method should be called after selection volume building else exception will be thrown. Parameters ---------- -theProjection: Graphic3d_Mat4d -theWorldView: Graphic3d_Mat4d -theIsOrthographic: bool -theWVPState: Graphic3d_WorldViewProjState,optional - default value is Graphic3d_WorldViewProjState() +theCamera: Graphic3d_Camera Returns ------- None ") SetCamera; - void SetCamera(const Graphic3d_Mat4d & theProjection, const Graphic3d_Mat4d & theWorldView, const Standard_Boolean theIsOrthographic, const Graphic3d_WorldViewProjState & theWVPState = Graphic3d_WorldViewProjState()); + void SetCamera(const opencascade::handle theCamera); /****************** SetPixelTolerance ******************/ /**** md5 signature: fda084bdc0d0a8e945d1f4e82a500297 ****/ %feature("compactdefaultargs") SetPixelTolerance; - %feature("autodoc", "Updates pixel tolerance in all selecting volumes. + %feature("autodoc", "Updates pixel tolerance in all selecting volumes note: this method should be called after selection volume building else exception will be thrown. Parameters ---------- @@ -2006,7 +2618,7 @@ None /****************** SetViewport ******************/ /**** md5 signature: 8a132d12573d3301f6dc1103aa3c5d06 ****/ %feature("compactdefaultargs") SetViewport; - %feature("autodoc", "Updates viewport in all selecting volumes. + %feature("autodoc", "Updates viewport in all selecting volumes note: this method should be called after selection volume building else exception will be thrown. Parameters ---------- @@ -2024,7 +2636,7 @@ None /****************** SetWindowSize ******************/ /**** md5 signature: 8f5369c74a4835dacda32c89cfdc6f2a ****/ %feature("compactdefaultargs") SetWindowSize; - %feature("autodoc", "Updates window size in all selecting volumes. + %feature("autodoc", "Updates window size in all selecting volumes note: this method should be called after selection volume building else exception will be thrown. Parameters ---------- @@ -2062,7 +2674,7 @@ opencascade::handle /****************** WindowSize ******************/ /**** md5 signature: b6b9e026658a5426a88d46691f9f9543 ****/ %feature("compactdefaultargs") WindowSize; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Returns window size. Parameters ---------- @@ -2071,30 +2683,8 @@ Returns ------- theWidth: int theHeight: int -") WindowSize; - void WindowSize(Standard_Integer &OutValue, Standard_Integer &OutValue); - - /****************** WorldViewMatrix ******************/ - /**** md5 signature: 23c687dcb922de6c82abce119f4be06f ****/ - %feature("compactdefaultargs") WorldViewMatrix; - %feature("autodoc", "Returns current world view transformation common for all selecting volumes. - -Returns -------- -Graphic3d_Mat4d -") WorldViewMatrix; - const Graphic3d_Mat4d & WorldViewMatrix(); - - /****************** WorldViewProjState ******************/ - /**** md5 signature: 6eef6074aae24be463d73d71bdf53e19 ****/ - %feature("compactdefaultargs") WorldViewProjState; - %feature("autodoc", "Returns current camera world view projection transformation state common for all selecting volumes. - -Returns -------- -Graphic3d_WorldViewProjState -") WorldViewProjState; - const Graphic3d_WorldViewProjState & WorldViewProjState(); +") WindowSize; + void WindowSize(Standard_Integer &OutValue, Standard_Integer &OutValue); }; @@ -2776,171 +3366,540 @@ class SelectMgr_SortCriterion { Returns ------- -None -") SelectMgr_SortCriterion; - SelectMgr_SortCriterion(); +None +") SelectMgr_SortCriterion; + SelectMgr_SortCriterion(); + + /****************** IsCloserDepth ******************/ + /**** md5 signature: f54c02ecbb70ec9f3fd99f77b918a45b ****/ + %feature("compactdefaultargs") IsCloserDepth; + %feature("autodoc", "Compare with another item by depth, priority and mindist. + +Parameters +---------- +theOther: SelectMgr_SortCriterion + +Returns +------- +bool +") IsCloserDepth; + bool IsCloserDepth(const SelectMgr_SortCriterion & theOther); + + /****************** IsHigherPriority ******************/ + /**** md5 signature: 7ef827a8f908cd593cb19194e4c3327d ****/ + %feature("compactdefaultargs") IsHigherPriority; + %feature("autodoc", "Compare with another item using old logic (occt version <= 6.3.1) with priority considered preceding depth. + +Parameters +---------- +theOther: SelectMgr_SortCriterion + +Returns +------- +bool +") IsHigherPriority; + bool IsHigherPriority(const SelectMgr_SortCriterion & theOther); + +}; + + +%extend SelectMgr_SortCriterion { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/******************************* +* class SelectMgr_ToleranceMap * +*******************************/ +/******************************** +* class SelectMgr_ViewClipRange * +********************************/ +class SelectMgr_ViewClipRange { + public: + /****************** SelectMgr_ViewClipRange ******************/ + /**** md5 signature: 26502fffc9d3cfab4e9764855bb46286 ****/ + %feature("compactdefaultargs") SelectMgr_ViewClipRange; + %feature("autodoc", "Creates an empty clip range. + +Returns +------- +None +") SelectMgr_ViewClipRange; + SelectMgr_ViewClipRange(); + + /****************** AddClipSubRange ******************/ + /**** md5 signature: 629945498bfae195a79192ef4690f13f ****/ + %feature("compactdefaultargs") AddClipSubRange; + %feature("autodoc", "Adds a clipping sub-range (for clipping chains). + +Parameters +---------- +theRange: Bnd_Range + +Returns +------- +None +") AddClipSubRange; + void AddClipSubRange(const Bnd_Range & theRange); + + /****************** AddClippingPlanes ******************/ + /**** md5 signature: 530c5e2e47a475c0ff904682df4ec3ab ****/ + %feature("compactdefaultargs") AddClippingPlanes; + %feature("autodoc", "Add clipping planes. planes and picking ray should be defined in the same coordinate system. + +Parameters +---------- +thePlanes: Graphic3d_SequenceOfHClipPlane +thePickRay: gp_Ax1 + +Returns +------- +None +") AddClippingPlanes; + void AddClippingPlanes(const Graphic3d_SequenceOfHClipPlane & thePlanes, const gp_Ax1 & thePickRay); + + /****************** ChangeUnclipRange ******************/ + /**** md5 signature: 58b75e3eeaf4dd4dbdda4bc0bfa4ec3e ****/ + %feature("compactdefaultargs") ChangeUnclipRange; + %feature("autodoc", "Returns the main unclipped range; [-inf, inf] by default. + +Returns +------- +Bnd_Range +") ChangeUnclipRange; + Bnd_Range & ChangeUnclipRange(); + + + %feature("autodoc", "1"); + %extend{ + std::string DumpJsonToString(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return s.str();} + }; + /****************** GetNearestDepth ******************/ + /**** md5 signature: a7d31c5d6b83b64f1f6f7f0def838d0f ****/ + %feature("compactdefaultargs") GetNearestDepth; + %feature("autodoc", "Calculates the min not clipped value from the range. returns false if the whole range is clipped. + +Parameters +---------- +theRange: Bnd_Range + +Returns +------- +theDepth: float +") GetNearestDepth; + Standard_Boolean GetNearestDepth(const Bnd_Range & theRange, Standard_Real &OutValue); + + /****************** IsClipped ******************/ + /**** md5 signature: 28a5904272062fde8c7fd50816e6a223 ****/ + %feature("compactdefaultargs") IsClipped; + %feature("autodoc", "Check if the given depth is not within clipping range(s), e.g. true means depth is clipped. + +Parameters +---------- +theDepth: float + +Returns +------- +bool +") IsClipped; + Standard_Boolean IsClipped(const Standard_Real theDepth); + + /****************** SetVoid ******************/ + /**** md5 signature: 4e44fd52f6a76368c77b381fe1482a21 ****/ + %feature("compactdefaultargs") SetVoid; + %feature("autodoc", "Clears clipping range. + +Returns +------- +None +") SetVoid; + void SetVoid(); + +}; + + +%extend SelectMgr_ViewClipRange { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/********************************* +* class SelectMgr_ViewerSelector * +*********************************/ +/********************************** +* class SelectMgr_AxisIntersector * +**********************************/ +class SelectMgr_AxisIntersector : public SelectMgr_BaseIntersector { + public: + /****************** SelectMgr_AxisIntersector ******************/ + /**** md5 signature: 3732b66199e86d09fe930b2bf8417fa2 ****/ + %feature("compactdefaultargs") SelectMgr_AxisIntersector; + %feature("autodoc", "Empty constructor. + +Returns +------- +None +") SelectMgr_AxisIntersector; + SelectMgr_AxisIntersector(); + + /****************** Build ******************/ + /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + %feature("compactdefaultargs") Build; + %feature("autodoc", "Builds axis according to internal parameters. note: it should be called after init() method. + +Returns +------- +None +") Build; + virtual void Build(); + + /****************** DetectedPoint ******************/ + /**** md5 signature: f5119614d059d473f2e98823f778528f ****/ + %feature("compactdefaultargs") DetectedPoint; + %feature("autodoc", "Calculates the point on a axis ray that was detected during the run of selection algo by given depth. + +Parameters +---------- +theDepth: float + +Returns +------- +gp_Pnt +") DetectedPoint; + virtual gp_Pnt DetectedPoint(const Standard_Real theDepth); + + /****************** DistToGeometryCenter ******************/ + /**** md5 signature: ef4883136b3d59dc96190e78632a000d ****/ + %feature("compactdefaultargs") DistToGeometryCenter; + %feature("autodoc", "Measures distance between start axis point and given point thecog. + +Parameters +---------- +theCOG: gp_Pnt + +Returns +------- +float +") DistToGeometryCenter; + virtual Standard_Real DistToGeometryCenter(const gp_Pnt & theCOG); + + + %feature("autodoc", "1"); + %extend{ + std::string DumpJsonToString(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return s.str();} + }; + /****************** GetFarPnt ******************/ + /**** md5 signature: 81facda4320b4fbe9ad4747e990428a7 ****/ + %feature("compactdefaultargs") GetFarPnt; + %feature("autodoc", "Returns far point along axis (infinite). + +Returns +------- +gp_Pnt +") GetFarPnt; + virtual const gp_Pnt GetFarPnt(); + + /****************** GetNearPnt ******************/ + /**** md5 signature: 6547ed3e9b4a5b5d0053afdb73046a99 ****/ + %feature("compactdefaultargs") GetNearPnt; + %feature("autodoc", "Returns near point along axis. + +Returns +------- +gp_Pnt +") GetNearPnt; + virtual const gp_Pnt GetNearPnt(); + + /****************** GetViewRayDirection ******************/ + /**** md5 signature: 0d6910870801415274f5dddb9b21e975 ****/ + %feature("compactdefaultargs") GetViewRayDirection; + %feature("autodoc", "Returns axis direction. + +Returns +------- +gp_Dir +") GetViewRayDirection; + virtual const gp_Dir GetViewRayDirection(); + + /****************** Init ******************/ + /**** md5 signature: b07bb18041c7d7fd236c285838ee6fee ****/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "Initializes selecting axis according to the input one. + +Parameters +---------- +theAxis: gp_Ax1 + +Returns +------- +None +") Init; + void Init(const gp_Ax1 & theAxis); + + /****************** IsScalable ******************/ + /**** md5 signature: bafeca45d952fd05dab481f471cd565b ****/ + %feature("compactdefaultargs") IsScalable; + %feature("autodoc", "Returns false (not applicable to this volume). + +Returns +------- +bool +") IsScalable; + virtual Standard_Boolean IsScalable(); + + /****************** OverlapsBox ******************/ + /**** md5 signature: eb9dad6b797a0a0ff89c1d09f8cc2446 ****/ + %feature("compactdefaultargs") OverlapsBox; + %feature("autodoc", "Intersection test between defined axis and given axis-aligned box. + +Parameters +---------- +theBoxMin: SelectMgr_Vec3 +theBoxMax: SelectMgr_Vec3 +theClipRange: SelectMgr_ViewClipRange +thePickResult: SelectBasics_PickResult + +Returns +------- +bool +") OverlapsBox; + virtual Standard_Boolean OverlapsBox(const SelectMgr_Vec3 & theBoxMin, const SelectMgr_Vec3 & theBoxMax, const SelectMgr_ViewClipRange & theClipRange, SelectBasics_PickResult & thePickResult); + + /****************** OverlapsBox ******************/ + /**** md5 signature: b59e9bf72467fe4ca0dfb9992d5bd028 ****/ + %feature("compactdefaultargs") OverlapsBox; + %feature("autodoc", "Returns true if selecting axis intersects axis-aligned bounding box with minimum corner at point theminpt and maximum at point themaxpt. + +Parameters +---------- +theBoxMin: SelectMgr_Vec3 +theBoxMax: SelectMgr_Vec3 +theInside: bool * + +Returns +------- +bool +") OverlapsBox; + virtual Standard_Boolean OverlapsBox(const SelectMgr_Vec3 & theBoxMin, const SelectMgr_Vec3 & theBoxMax, Standard_Boolean * theInside); - /****************** IsCloserDepth ******************/ - /**** md5 signature: f54c02ecbb70ec9f3fd99f77b918a45b ****/ - %feature("compactdefaultargs") IsCloserDepth; - %feature("autodoc", "Compare with another item by depth, priority and mindist. + /****************** OverlapsCylinder ******************/ + /**** md5 signature: 91e36733d419bfa87a94a4fadf66c1f6 ****/ + %feature("compactdefaultargs") OverlapsCylinder; + %feature("autodoc", "Returns true if selecting volume is overlapped by cylinder (or cone) with radiuses thebottomrad and thetoprad, height theheight and transformation to apply thetrsf. Parameters ---------- -theOther: SelectMgr_SortCriterion +theBottomRad: float +theTopRad: float +theHeight: float +theTrsf: gp_Trsf +theClipRange: SelectMgr_ViewClipRange +thePickResult: SelectBasics_PickResult Returns ------- bool -") IsCloserDepth; - bool IsCloserDepth(const SelectMgr_SortCriterion & theOther); +") OverlapsCylinder; + virtual Standard_Boolean OverlapsCylinder(const Standard_Real theBottomRad, const Standard_Real theTopRad, const Standard_Real theHeight, const gp_Trsf & theTrsf, const SelectMgr_ViewClipRange & theClipRange, SelectBasics_PickResult & thePickResult); - /****************** IsHigherPriority ******************/ - /**** md5 signature: 7ef827a8f908cd593cb19194e4c3327d ****/ - %feature("compactdefaultargs") IsHigherPriority; - %feature("autodoc", "Compare with another item using old logic (occt version <= 6.3.1) with priority considered preceding depth. + /****************** OverlapsCylinder ******************/ + /**** md5 signature: ebba148002fb6dc8cbbe7979fbf2a67b ****/ + %feature("compactdefaultargs") OverlapsCylinder; + %feature("autodoc", "Returns true if selecting volume is overlapped by cylinder (or cone) with radiuses thebottomrad and thetoprad, height theheight and transformation to apply thetrsf. Parameters ---------- -theOther: SelectMgr_SortCriterion +theBottomRad: float +theTopRad: float +theHeight: float +theTrsf: gp_Trsf +theInside: bool *,optional + default value is NULL Returns ------- bool -") IsHigherPriority; - bool IsHigherPriority(const SelectMgr_SortCriterion & theOther); +") OverlapsCylinder; + virtual Standard_Boolean OverlapsCylinder(const Standard_Real theBottomRad, const Standard_Real theTopRad, const Standard_Real theHeight, const gp_Trsf & theTrsf, Standard_Boolean * theInside = NULL); -}; + /****************** OverlapsPoint ******************/ + /**** md5 signature: f5ec1da88416f5d768fc10e142d3a825 ****/ + %feature("compactdefaultargs") OverlapsPoint; + %feature("autodoc", "Intersection test between defined axis and given point. +Parameters +---------- +thePnt: gp_Pnt +theClipRange: SelectMgr_ViewClipRange +thePickResult: SelectBasics_PickResult -%extend SelectMgr_SortCriterion { - %pythoncode { - __repr__ = _dumps_object - } -}; +Returns +------- +bool +") OverlapsPoint; + virtual Standard_Boolean OverlapsPoint(const gp_Pnt & thePnt, const SelectMgr_ViewClipRange & theClipRange, SelectBasics_PickResult & thePickResult); -/******************************* -* class SelectMgr_ToleranceMap * -*******************************/ -/******************************** -* class SelectMgr_ViewClipRange * -********************************/ -class SelectMgr_ViewClipRange { - public: - /****************** SelectMgr_ViewClipRange ******************/ - /**** md5 signature: 26502fffc9d3cfab4e9764855bb46286 ****/ - %feature("compactdefaultargs") SelectMgr_ViewClipRange; - %feature("autodoc", "Creates an empty clip range. + /****************** OverlapsPoint ******************/ + /**** md5 signature: d7b37b52b3a018e10f4074a808688275 ****/ + %feature("compactdefaultargs") OverlapsPoint; + %feature("autodoc", "Intersection test between defined axis and given point. + +Parameters +---------- +thePnt: gp_Pnt Returns ------- -None -") SelectMgr_ViewClipRange; - SelectMgr_ViewClipRange(); +bool +") OverlapsPoint; + virtual Standard_Boolean OverlapsPoint(const gp_Pnt & thePnt); - /****************** AddClipSubRange ******************/ - /**** md5 signature: 629945498bfae195a79192ef4690f13f ****/ - %feature("compactdefaultargs") AddClipSubRange; - %feature("autodoc", "Adds a clipping sub-range (for clipping chains). + /****************** OverlapsPolygon ******************/ + /**** md5 signature: db9e490051fa1222da72a0503292bd60 ****/ + %feature("compactdefaultargs") OverlapsPolygon; + %feature("autodoc", "Intersection test between defined axis and given ordered set of points, representing line segments. the test may be considered of interior part or boundary line defined by segments depending on given sensitivity type. Parameters ---------- -theRange: Bnd_Range +theArrayOfPnts: TColgp_Array1OfPnt +theSensType: Select3D_TypeOfSensitivity +theClipRange: SelectMgr_ViewClipRange +thePickResult: SelectBasics_PickResult Returns ------- -None -") AddClipSubRange; - void AddClipSubRange(const Bnd_Range & theRange); +bool +") OverlapsPolygon; + virtual Standard_Boolean OverlapsPolygon(const TColgp_Array1OfPnt & theArrayOfPnts, Select3D_TypeOfSensitivity theSensType, const SelectMgr_ViewClipRange & theClipRange, SelectBasics_PickResult & thePickResult); - /****************** AddClippingPlanes ******************/ - /**** md5 signature: 530c5e2e47a475c0ff904682df4ec3ab ****/ - %feature("compactdefaultargs") AddClippingPlanes; - %feature("autodoc", "Add clipping planes. planes and picking ray should be defined in the same coordinate system. + /****************** OverlapsSegment ******************/ + /**** md5 signature: 8ca34a19e289d4f56d25f404f14353a2 ****/ + %feature("compactdefaultargs") OverlapsSegment; + %feature("autodoc", "Checks if selecting axis intersects line segment. Parameters ---------- -thePlanes: Graphic3d_SequenceOfHClipPlane -thePickRay: gp_Ax1 +thePnt1: gp_Pnt +thePnt2: gp_Pnt +theClipRange: SelectMgr_ViewClipRange +thePickResult: SelectBasics_PickResult Returns ------- -None -") AddClippingPlanes; - void AddClippingPlanes(const Graphic3d_SequenceOfHClipPlane & thePlanes, const gp_Ax1 & thePickRay); +bool +") OverlapsSegment; + virtual Standard_Boolean OverlapsSegment(const gp_Pnt & thePnt1, const gp_Pnt & thePnt2, const SelectMgr_ViewClipRange & theClipRange, SelectBasics_PickResult & thePickResult); - /****************** ChangeUnclipRange ******************/ - /**** md5 signature: 58b75e3eeaf4dd4dbdda4bc0bfa4ec3e ****/ - %feature("compactdefaultargs") ChangeUnclipRange; - %feature("autodoc", "Returns the main unclipped range; [-inf, inf] by default. + /****************** OverlapsSphere ******************/ + /**** md5 signature: 2b7a70713e1032389098753ec8495331 ****/ + %feature("compactdefaultargs") OverlapsSphere; + %feature("autodoc", "Intersection test between defined axis and given sphere with center thecenter and radius theradius. + +Parameters +---------- +theCenter: gp_Pnt +theRadius: float +theInside: bool *,optional + default value is NULL Returns ------- -Bnd_Range -") ChangeUnclipRange; - Bnd_Range & ChangeUnclipRange(); - +bool +") OverlapsSphere; + virtual Standard_Boolean OverlapsSphere(const gp_Pnt & theCenter, const Standard_Real theRadius, Standard_Boolean * theInside = NULL); - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** GetNearestDepth ******************/ - /**** md5 signature: a7d31c5d6b83b64f1f6f7f0def838d0f ****/ - %feature("compactdefaultargs") GetNearestDepth; - %feature("autodoc", "Calculates the min not clipped value from the range. returns false if the whole range is clipped. + /****************** OverlapsSphere ******************/ + /**** md5 signature: f08575f5df6e1b77c989dc6c099c2b39 ****/ + %feature("compactdefaultargs") OverlapsSphere; + %feature("autodoc", "Intersection test between defined axis and given sphere with center thecenter and radius theradius. Parameters ---------- -theRange: Bnd_Range +theCenter: gp_Pnt +theRadius: float +theClipRange: SelectMgr_ViewClipRange +thePickResult: SelectBasics_PickResult Returns ------- -theDepth: float -") GetNearestDepth; - Standard_Boolean GetNearestDepth(const Bnd_Range & theRange, Standard_Real &OutValue); +bool +") OverlapsSphere; + virtual Standard_Boolean OverlapsSphere(const gp_Pnt & theCenter, const Standard_Real theRadius, const SelectMgr_ViewClipRange & theClipRange, SelectBasics_PickResult & thePickResult); - /****************** IsClipped ******************/ - /**** md5 signature: 28a5904272062fde8c7fd50816e6a223 ****/ - %feature("compactdefaultargs") IsClipped; - %feature("autodoc", "Check if the given depth is not within clipping range(s), e.g. true means depth is clipped. + /****************** OverlapsTriangle ******************/ + /**** md5 signature: 98197f256a47bdbe43f4622e23bf7cd4 ****/ + %feature("compactdefaultargs") OverlapsTriangle; + %feature("autodoc", "Intersection test between defined axis and given triangle. the test may be considered of interior part or boundary line defined by triangle vertices depending on given sensitivity type. Parameters ---------- -theDepth: float +thePnt1: gp_Pnt +thePnt2: gp_Pnt +thePnt3: gp_Pnt +theSensType: Select3D_TypeOfSensitivity +theClipRange: SelectMgr_ViewClipRange +thePickResult: SelectBasics_PickResult Returns ------- bool -") IsClipped; - Standard_Boolean IsClipped(const Standard_Real theDepth); +") OverlapsTriangle; + virtual Standard_Boolean OverlapsTriangle(const gp_Pnt & thePnt1, const gp_Pnt & thePnt2, const gp_Pnt & thePnt3, Select3D_TypeOfSensitivity theSensType, const SelectMgr_ViewClipRange & theClipRange, SelectBasics_PickResult & thePickResult); - /****************** SetVoid ******************/ - /**** md5 signature: 4e44fd52f6a76368c77b381fe1482a21 ****/ - %feature("compactdefaultargs") SetVoid; - %feature("autodoc", "Clears clipping range. + /****************** ScaleAndTransform ******************/ + /**** md5 signature: a203fbfb62144f3225129b6829253952 ****/ + %feature("compactdefaultargs") ScaleAndTransform; + %feature("autodoc", "Important: scaling doesn't make sense for this intersector. returns a copy of the intersector transformed using the matrix given. builder is an optional argument that represents corresponding settings for re-constructing transformed frustum from scratch. can be null if reconstruction is not expected furthermore. + +Parameters +---------- +theScaleFactor: int +theTrsf: gp_GTrsf +theBuilder: SelectMgr_FrustumBuilder + +Returns +------- +opencascade::handle +") ScaleAndTransform; + virtual opencascade::handle ScaleAndTransform(const Standard_Integer theScaleFactor, const gp_GTrsf & theTrsf, const opencascade::handle & theBuilder); + + /****************** SetCamera ******************/ + /**** md5 signature: fb69f58b8ac85ce845a8857ed97739d9 ****/ + %feature("compactdefaultargs") SetCamera; + %feature("autodoc", "Saves camera definition. do nothing for axis intersector (not applicable to this volume). + +Parameters +---------- +theCamera: Graphic3d_Camera Returns ------- None -") SetVoid; - void SetVoid(); +") SetCamera; + virtual void SetCamera(const opencascade::handle & theCamera); }; -%extend SelectMgr_ViewClipRange { +%make_alias(SelectMgr_AxisIntersector) + +%extend SelectMgr_AxisIntersector { %pythoncode { __repr__ = _dumps_object } }; -/********************************* -* class SelectMgr_ViewerSelector * -*********************************/ +/****************************** +* class SelectMgr_BaseFrustum * +******************************/ /************************************ * class SelectMgr_CompositionFilter * ************************************/ @@ -3030,7 +3989,7 @@ None void Remove(const opencascade::handle & aFilter); /****************** StoredFilters ******************/ - /**** md5 signature: a04e070cce1cdb1ca6b68764c2c7326f ****/ + /**** md5 signature: 0ff7be41979ba25dcaba3d785745d646 ****/ %feature("compactdefaultargs") StoredFilters; %feature("autodoc", "Returns the list of stored filters from this framework. @@ -3051,158 +4010,12 @@ SelectMgr_ListOfFilter } }; -/************************** -* class SelectMgr_Frustum * -**************************/ /************************************* * class SelectMgr_RectangularFrustum * *************************************/ /************************************ * class SelectMgr_TriangularFrustum * ************************************/ -/*************************************** -* class SelectMgr_TriangularFrustumSet * -***************************************/ -/*********************************** -* class SelectMgr_ViewerSelector3d * -***********************************/ -class SelectMgr_ViewerSelector3d : public SelectMgr_ViewerSelector { - public: - /****************** SelectMgr_ViewerSelector3d ******************/ - /**** md5 signature: 75d5da300b4147660a2cf004f2aa3145 ****/ - %feature("compactdefaultargs") SelectMgr_ViewerSelector3d; - %feature("autodoc", "Constructs an empty 3d selector object. - -Returns -------- -None -") SelectMgr_ViewerSelector3d; - SelectMgr_ViewerSelector3d(); - - /****************** ClearSensitive ******************/ - /**** md5 signature: bbfbdb95251072aaccc54e26ea15ada9 ****/ - %feature("compactdefaultargs") ClearSensitive; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theView: V3d_View - -Returns -------- -None -") ClearSensitive; - void ClearSensitive(const opencascade::handle & theView); - - /****************** DisplaySensitive ******************/ - /**** md5 signature: 8dded899c4a255afc18ddc44c8d7a6f7 ****/ - %feature("compactdefaultargs") DisplaySensitive; - %feature("autodoc", "Displays sensitives in view . - -Parameters ----------- -theView: V3d_View - -Returns -------- -None -") DisplaySensitive; - void DisplaySensitive(const opencascade::handle & theView); - - /****************** DisplaySensitive ******************/ - /**** md5 signature: b1201290956c96d7a296cb8583c59abe ****/ - %feature("compactdefaultargs") DisplaySensitive; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theSel: SelectMgr_Selection -theTrsf: gp_Trsf -theView: V3d_View -theToClearOthers: bool,optional - default value is Standard_True - -Returns -------- -None -") DisplaySensitive; - void DisplaySensitive(const opencascade::handle & theSel, const gp_Trsf & theTrsf, const opencascade::handle & theView, const Standard_Boolean theToClearOthers = Standard_True); - - - %feature("autodoc", "1"); - %extend{ - std::string DumpJsonToString(int depth=-1) { - std::stringstream s; - self->DumpJson(s, depth); - return s.str();} - }; - /****************** Pick ******************/ - /**** md5 signature: 2bffaec90f889b1c8a589371f27c765d ****/ - %feature("compactdefaultargs") Pick; - %feature("autodoc", "Picks the sensitive entity at the pixel coordinates of the mouse and . the selector looks for touched areas and owners. - -Parameters ----------- -theXPix: int -theYPix: int -theView: V3d_View - -Returns -------- -None -") Pick; - void Pick(const Standard_Integer theXPix, const Standard_Integer theYPix, const opencascade::handle & theView); - - /****************** Pick ******************/ - /**** md5 signature: ac91d378236f4cd1507ea2ad52a93f76 ****/ - %feature("compactdefaultargs") Pick; - %feature("autodoc", "Picks the sensitive entity according to the minimum and maximum pixel values , , and defining a 2d area for selection in the 3d view aview. - -Parameters ----------- -theXPMin: int -theYPMin: int -theXPMax: int -theYPMax: int -theView: V3d_View - -Returns -------- -None -") Pick; - void Pick(const Standard_Integer theXPMin, const Standard_Integer theYPMin, const Standard_Integer theXPMax, const Standard_Integer theYPMax, const opencascade::handle & theView); - - /****************** Pick ******************/ - /**** md5 signature: d9dd319057f3def6d1d43685fa1cdf94 ****/ - %feature("compactdefaultargs") Pick; - %feature("autodoc", "Pick action - input pixel values for polyline selection for selection. - -Parameters ----------- -thePolyline: TColgp_Array1OfPnt2d -theView: V3d_View - -Returns -------- -None -") Pick; - void Pick(const TColgp_Array1OfPnt2d & thePolyline, const opencascade::handle & theView); - -}; - - -%make_alias(SelectMgr_ViewerSelector3d) - -%extend SelectMgr_ViewerSelector3d { - %pythoncode { - __repr__ = _dumps_object - - @methodnotwrapped - def ToPixMap(self): - pass - } -}; - /**************************** * class SelectMgr_AndFilter * ****************************/ @@ -3332,6 +4145,9 @@ None } }; +/************************** +* class SelectMgr_Frustum * +**************************/ /*************************** * class SelectMgr_OrFilter * ***************************/ @@ -3374,6 +4190,9 @@ bool } }; +/*************************************** +* class SelectMgr_TriangularFrustumSet * +***************************************/ /* python proxy for excluded classes */ %pythoncode { @classnotwrapped diff --git a/src/SWIG_files/wrapper/SelectMgr.pyi b/src/SWIG_files/wrapper/SelectMgr.pyi index a69177e7d..32a0b80d9 100644 --- a/src/SWIG_files/wrapper/SelectMgr.pyi +++ b/src/SWIG_files/wrapper/SelectMgr.pyi @@ -6,6 +6,8 @@ from OCC.Core.NCollection import * from OCC.Core.Graphic3d import * from OCC.Core.gp import * from OCC.Core.Select3D import * +from OCC.Core.SelectBasics import * +from OCC.Core.TColgp import * from OCC.Core.PrsMgr import * from OCC.Core.Aspect import * from OCC.Core.Prs3d import * @@ -13,8 +15,6 @@ from OCC.Core.TopLoc import * from OCC.Core.V3d import * from OCC.Core.TopAbs import * from OCC.Core.BVH import * -from OCC.Core.SelectBasics import * -from OCC.Core.TColgp import * from OCC.Core.Bnd import * SelectBasics_EntityOwner = NewType('SelectBasics_EntityOwner', SelectMgr_EntityOwner) @@ -45,21 +45,6 @@ class SelectMgr_ListOfFilter: def Value(self, theIndex: int) -> False: ... def SetValue(self, theIndex: int, theValue: False) -> None: ... -class SelectMgr_SequenceOfFilter: - def __init__(self) -> None: ... - def __len__(self) -> int: ... - def Size(self) -> int: ... - def Clear(self) -> None: ... - def First(self) -> False: ... - def Last(self) -> False: ... - def Length(self) -> int: ... - def Append(self, theItem: False) -> False: ... - def Prepend(self, theItem: False) -> False: ... - def RemoveFirst(self) -> None: ... - def Reverse(self) -> None: ... - def Value(self, theIndex: int) -> False: ... - def SetValue(self, theIndex: int, theValue: False) -> None: ... - class SelectMgr_SequenceOfOwner: def __init__(self) -> None: ... def __len__(self) -> int: ... @@ -106,6 +91,17 @@ SelectMgr_TypeOfDepthTolerance_Uniform = SelectMgr_TypeOfDepthTolerance.SelectMg SelectMgr_TypeOfDepthTolerance_UniformPixels = SelectMgr_TypeOfDepthTolerance.SelectMgr_TypeOfDepthTolerance_UniformPixels SelectMgr_TypeOfDepthTolerance_SensitivityFactor = SelectMgr_TypeOfDepthTolerance.SelectMgr_TypeOfDepthTolerance_SensitivityFactor +class SelectMgr_SelectionType(IntEnum): + SelectMgr_SelectionType_Unknown: int = ... + SelectMgr_SelectionType_Point: int = ... + SelectMgr_SelectionType_Box: int = ... + SelectMgr_SelectionType_Polyline: int = ... + +SelectMgr_SelectionType_Unknown = SelectMgr_SelectionType.SelectMgr_SelectionType_Unknown +SelectMgr_SelectionType_Point = SelectMgr_SelectionType.SelectMgr_SelectionType_Point +SelectMgr_SelectionType_Box = SelectMgr_SelectionType.SelectMgr_SelectionType_Box +SelectMgr_SelectionType_Polyline = SelectMgr_SelectionType.SelectMgr_SelectionType_Polyline + class SelectMgr_TypeOfUpdate(IntEnum): SelectMgr_TOU_Full: int = ... SelectMgr_TOU_Partial: int = ... @@ -157,6 +153,45 @@ class SelectMgr_BVHThreadPool(Standard_Transient): def Threads(self) -> False: ... def WaitThreads(self) -> None: ... +class SelectMgr_BaseIntersector(Standard_Transient): + def Build(self) -> None: ... + def Camera(self) -> Graphic3d_Camera: ... + def DetectedPoint(self, theDepth: float) -> gp_Pnt: ... + def DistToGeometryCenter(self, theCOG: gp_Pnt) -> float: ... + def GetFarPnt(self) -> gp_Pnt: ... + def GetMousePosition(self) -> gp_Pnt2d: ... + def GetNearPnt(self) -> gp_Pnt: ... + def GetSelectionType(self) -> SelectMgr_SelectionType: ... + def GetViewRayDirection(self) -> gp_Dir: ... + def IsScalable(self) -> bool: ... + @overload + def OverlapsBox(self, theBoxMin: SelectMgr_Vec3, theBoxMax: SelectMgr_Vec3, theClipRange: SelectMgr_ViewClipRange, thePickResult: SelectBasics_PickResult) -> bool: ... + @overload + def OverlapsBox(self, theBoxMin: SelectMgr_Vec3, theBoxMax: SelectMgr_Vec3, theInside: Optional[bool] = None) -> bool: ... + @overload + def OverlapsCylinder(self, theBottomRad: float, theTopRad: float, theHeight: float, theTrsf: gp_Trsf, theClipRange: SelectMgr_ViewClipRange, thePickResult: SelectBasics_PickResult) -> bool: ... + @overload + def OverlapsCylinder(self, theBottomRad: float, theTopRad: float, theHeight: float, theTrsf: gp_Trsf, theInside: Optional[bool] = None) -> bool: ... + @overload + def OverlapsPoint(self, thePnt: gp_Pnt, theClipRange: SelectMgr_ViewClipRange, thePickResult: SelectBasics_PickResult) -> bool: ... + @overload + def OverlapsPoint(self, thePnt: gp_Pnt) -> bool: ... + def OverlapsPolygon(self, theArrayOfPnts: TColgp_Array1OfPnt, theSensType: Select3D_TypeOfSensitivity, theClipRange: SelectMgr_ViewClipRange, thePickResult: SelectBasics_PickResult) -> bool: ... + def OverlapsSegment(self, thePnt1: gp_Pnt, thePnt2: gp_Pnt, theClipRange: SelectMgr_ViewClipRange, thePickResult: SelectBasics_PickResult) -> bool: ... + @overload + def OverlapsSphere(self, theCenter: gp_Pnt, theRadius: float, theInside: Optional[bool] = None) -> bool: ... + @overload + def OverlapsSphere(self, theCenter: gp_Pnt, theRadius: float, theClipRange: SelectMgr_ViewClipRange, thePickResult: SelectBasics_PickResult) -> bool: ... + def OverlapsTriangle(self, thePnt1: gp_Pnt, thePnt2: gp_Pnt, thePnt3: gp_Pnt, theSensType: Select3D_TypeOfSensitivity, theClipRange: SelectMgr_ViewClipRange, thePickResult: SelectBasics_PickResult) -> bool: ... + def RayCylinderIntersection(self, theBottomRadius: float, theTopRadius: float, theHeight: float, theLoc: gp_Pnt, theRayDir: gp_Dir) -> Tuple[bool, float, float]: ... + def RaySphereIntersection(self, theCenter: gp_Pnt, theRadius: float, theLoc: gp_Pnt, theRayDir: gp_Dir) -> Tuple[bool, float, float]: ... + def ScaleAndTransform(self, theScaleFactor: int, theTrsf: gp_GTrsf, theBuilder: SelectMgr_FrustumBuilder) -> SelectMgr_BaseIntersector: ... + def SetCamera(self, theCamera: Graphic3d_Camera) -> None: ... + def SetPixelTolerance(self, theTol: int) -> None: ... + def SetViewport(self, theX: float, theY: float, theWidth: float, theHeight: float) -> None: ... + def SetWindowSize(self, theWidth: int, theHeight: int) -> None: ... + def WindowSize(self) -> Tuple[int, int]: ... + class SelectMgr_EntityOwner(Standard_Transient): @overload def __init__(self, aPriority: Optional[int] = 0) -> None: ... @@ -166,6 +201,7 @@ class SelectMgr_EntityOwner(Standard_Transient): def __init__(self, theOwner: SelectMgr_EntityOwner, aPriority: Optional[int] = 0) -> None: ... def Clear(self, thePrsMgr: PrsMgr_PresentationManager, theMode: Optional[int] = 0) -> None: ... def ComesFromDecomposition(self) -> bool: ... + def HandleMouseClick(self, thePoint: Graphic3d_Vec2i, theButton: Aspect_VKeyMouse, theModifiers: Aspect_VKeyFlags, theIsDoubleClick: bool) -> bool: ... def HasLocation(self) -> bool: ... def HasSelectable(self) -> bool: ... def HilightWithColor(self, thePrsMgr: PrsMgr_PresentationManager, theStyle: Prs3d_Drawer, theMode: Optional[int] = 0) -> None: ... @@ -236,12 +272,14 @@ class SelectMgr_SelectableObjectSet: def IsEmpty(self) -> bool: ... def MarkDirty(self) -> None: ... def Remove(self, theObject: SelectMgr_SelectableObject) -> bool: ... - def UpdateBVH(self, theCamera: Graphic3d_Camera, theProjectionMat: Graphic3d_Mat4d, theWorldViewMat: Graphic3d_Mat4d, theViewState: Graphic3d_WorldViewProjState, theViewportWidth: int, theViewportHeight: int) -> None: ... + def UpdateBVH(self, theCam: Graphic3d_Camera, theWinSize: Graphic3d_Vec2i) -> None: ... class SelectMgr_SelectingVolumeManager(SelectBasics_SelectingVolumeManager): - def __init__(self, theToAllocateFrustums: Optional[bool] = True) -> None: ... + def __init__(self) -> None: ... def AllowOverlapDetection(self, theIsToAllow: bool) -> None: ... @overload + def BuildSelectingVolume(self) -> None: ... + @overload def BuildSelectingVolume(self, thePoint: gp_Pnt2d) -> None: ... @overload def BuildSelectingVolume(self, theMinPt: gp_Pnt2d, theMaxPt: gp_Pnt2d) -> None: ... @@ -255,30 +293,36 @@ class SelectMgr_SelectingVolumeManager(SelectBasics_SelectingVolumeManager): def GetMousePosition(self) -> gp_Pnt2d: ... def GetNearPickedPnt(self) -> gp_Pnt: ... def GetVertices(self) -> gp_Pnt: ... + def GetViewRayDirection(self) -> gp_Dir: ... + def InitAxisSelectingVolume(self, theAxis: gp_Ax1) -> None: ... + def InitBoxSelectingVolume(self, theMinPt: gp_Pnt2d, theMaxPt: gp_Pnt2d) -> None: ... + def InitPointSelectingVolume(self, thePoint: gp_Pnt2d) -> None: ... + def InitPolylineSelectingVolume(self, thePoints: TColgp_Array1OfPnt2d) -> None: ... + def InitSelectingVolume(self, theVolume: SelectMgr_BaseIntersector) -> None: ... def IsOverlapAllowed(self) -> bool: ... + def IsScalableActiveVolume(self) -> bool: ... def ObjectClipping(self) -> Graphic3d_SequenceOfHClipPlane: ... @overload - def Overlaps(self, theBoxMin: SelectMgr_Vec3, theBoxMax: SelectMgr_Vec3, thePickResult: SelectBasics_PickResult) -> bool: ... + def OverlapsBox(self, theBoxMin: SelectMgr_Vec3, theBoxMax: SelectMgr_Vec3, thePickResult: SelectBasics_PickResult) -> bool: ... @overload - def Overlaps(self, theBoxMin: SelectMgr_Vec3, theBoxMax: SelectMgr_Vec3, theInside: Optional[bool] = None) -> bool: ... + def OverlapsBox(self, theBoxMin: SelectMgr_Vec3, theBoxMax: SelectMgr_Vec3, theInside: Optional[bool] = None) -> bool: ... @overload - def Overlaps(self, thePnt: gp_Pnt, thePickResult: SelectBasics_PickResult) -> bool: ... + def OverlapsCylinder(self, theBottomRad: float, theTopRad: float, theHeight: float, theTrsf: gp_Trsf, thePickResult: SelectBasics_PickResult) -> bool: ... @overload - def Overlaps(self, thePnt: gp_Pnt) -> bool: ... + def OverlapsCylinder(self, theBottomRad: float, theTopRad: float, theHeight: float, theTrsf: gp_Trsf, theInside: Optional[bool] = None) -> bool: ... @overload - def Overlaps(self, theArrayOfPts: TColgp_HArray1OfPnt, theSensType: int, thePickResult: SelectBasics_PickResult) -> bool: ... + def OverlapsPoint(self, thePnt: gp_Pnt, thePickResult: SelectBasics_PickResult) -> bool: ... @overload - def Overlaps(self, theArrayOfPts: TColgp_Array1OfPnt, theSensType: int, thePickResult: SelectBasics_PickResult) -> bool: ... + def OverlapsPoint(self, thePnt: gp_Pnt) -> bool: ... + def OverlapsPolygon(self, theArrayOfPts: TColgp_Array1OfPnt, theSensType: int, thePickResult: SelectBasics_PickResult) -> bool: ... + def OverlapsSegment(self, thePnt1: gp_Pnt, thePnt2: gp_Pnt, thePickResult: SelectBasics_PickResult) -> bool: ... @overload - def Overlaps(self, thePnt1: gp_Pnt, thePnt2: gp_Pnt, thePickResult: SelectBasics_PickResult) -> bool: ... - @overload - def Overlaps(self, thePnt1: gp_Pnt, thePnt2: gp_Pnt, thePnt3: gp_Pnt, theSensType: int, thePickResult: SelectBasics_PickResult) -> bool: ... - def ProjectionMatrix(self) -> Graphic3d_Mat4d: ... - def ScaleAndTransform(self, theScaleFactor: int, theTrsf: gp_GTrsf, theBuilder: Optional[SelectMgr_FrustumBuilder] = None) -> SelectMgr_SelectingVolumeManager: ... + def OverlapsSphere(self, theCenter: gp_Pnt, theRadius: float, thePickResult: SelectBasics_PickResult) -> bool: ... @overload + def OverlapsSphere(self, theCenter: gp_Pnt, theRadius: float, theInside: Optional[bool] = None) -> bool: ... + def OverlapsTriangle(self, thePnt1: gp_Pnt, thePnt2: gp_Pnt, thePnt3: gp_Pnt, theSensType: int, thePickResult: SelectBasics_PickResult) -> bool: ... + def ScaleAndTransform(self, theScaleFactor: int, theTrsf: gp_GTrsf, theBuilder: SelectMgr_FrustumBuilder) -> SelectMgr_SelectingVolumeManager: ... def SetCamera(self, theCamera: Graphic3d_Camera) -> None: ... - @overload - def SetCamera(self, theProjection: Graphic3d_Mat4d, theWorldView: Graphic3d_Mat4d, theIsOrthographic: bool, theWVPState: Optional[Graphic3d_WorldViewProjState] = Graphic3d_WorldViewProjState()) -> None: ... def SetPixelTolerance(self, theTolerance: int) -> None: ... def SetViewClipRanges(self, theRange: SelectMgr_ViewClipRange) -> None: ... @overload @@ -290,8 +334,6 @@ class SelectMgr_SelectingVolumeManager(SelectBasics_SelectingVolumeManager): def ViewClipRanges(self) -> SelectMgr_ViewClipRange: ... def ViewClipping(self) -> Graphic3d_SequenceOfHClipPlane: ... def WindowSize(self) -> Tuple[int, int]: ... - def WorldViewMatrix(self) -> Graphic3d_Mat4d: ... - def WorldViewProjState(self) -> Graphic3d_WorldViewProjState: ... class SelectMgr_Selection(Standard_Transient): def __init__(self, theModeIdx: Optional[int] = 0) -> None: ... @@ -347,8 +389,8 @@ class SelectMgr_SensitiveEntity(Standard_Transient): class SelectMgr_SortCriterion: def __init__(self) -> None: ... - def IsCloserDepth(self, theOther: SelectMgr_SortCriterion) -> False: ... - def IsHigherPriority(self, theOther: SelectMgr_SortCriterion) -> False: ... + def IsCloserDepth(self, theOther: SelectMgr_SortCriterion) -> bool: ... + def IsHigherPriority(self, theOther: SelectMgr_SortCriterion) -> bool: ... class SelectMgr_ViewClipRange: def __init__(self) -> None: ... @@ -359,6 +401,38 @@ class SelectMgr_ViewClipRange: def IsClipped(self, theDepth: float) -> bool: ... def SetVoid(self) -> None: ... +class SelectMgr_AxisIntersector(SelectMgr_BaseIntersector): + def __init__(self) -> None: ... + def Build(self) -> None: ... + def DetectedPoint(self, theDepth: float) -> gp_Pnt: ... + def DistToGeometryCenter(self, theCOG: gp_Pnt) -> float: ... + def GetFarPnt(self) -> gp_Pnt: ... + def GetNearPnt(self) -> gp_Pnt: ... + def GetViewRayDirection(self) -> gp_Dir: ... + def Init(self, theAxis: gp_Ax1) -> None: ... + def IsScalable(self) -> bool: ... + @overload + def OverlapsBox(self, theBoxMin: SelectMgr_Vec3, theBoxMax: SelectMgr_Vec3, theClipRange: SelectMgr_ViewClipRange, thePickResult: SelectBasics_PickResult) -> bool: ... + @overload + def OverlapsBox(self, theBoxMin: SelectMgr_Vec3, theBoxMax: SelectMgr_Vec3, theInside: bool) -> bool: ... + @overload + def OverlapsCylinder(self, theBottomRad: float, theTopRad: float, theHeight: float, theTrsf: gp_Trsf, theClipRange: SelectMgr_ViewClipRange, thePickResult: SelectBasics_PickResult) -> bool: ... + @overload + def OverlapsCylinder(self, theBottomRad: float, theTopRad: float, theHeight: float, theTrsf: gp_Trsf, theInside: Optional[bool] = None) -> bool: ... + @overload + def OverlapsPoint(self, thePnt: gp_Pnt, theClipRange: SelectMgr_ViewClipRange, thePickResult: SelectBasics_PickResult) -> bool: ... + @overload + def OverlapsPoint(self, thePnt: gp_Pnt) -> bool: ... + def OverlapsPolygon(self, theArrayOfPnts: TColgp_Array1OfPnt, theSensType: Select3D_TypeOfSensitivity, theClipRange: SelectMgr_ViewClipRange, thePickResult: SelectBasics_PickResult) -> bool: ... + def OverlapsSegment(self, thePnt1: gp_Pnt, thePnt2: gp_Pnt, theClipRange: SelectMgr_ViewClipRange, thePickResult: SelectBasics_PickResult) -> bool: ... + @overload + def OverlapsSphere(self, theCenter: gp_Pnt, theRadius: float, theInside: Optional[bool] = None) -> bool: ... + @overload + def OverlapsSphere(self, theCenter: gp_Pnt, theRadius: float, theClipRange: SelectMgr_ViewClipRange, thePickResult: SelectBasics_PickResult) -> bool: ... + def OverlapsTriangle(self, thePnt1: gp_Pnt, thePnt2: gp_Pnt, thePnt3: gp_Pnt, theSensType: Select3D_TypeOfSensitivity, theClipRange: SelectMgr_ViewClipRange, thePickResult: SelectBasics_PickResult) -> bool: ... + def ScaleAndTransform(self, theScaleFactor: int, theTrsf: gp_GTrsf, theBuilder: SelectMgr_FrustumBuilder) -> SelectMgr_BaseIntersector: ... + def SetCamera(self, theCamera: Graphic3d_Camera) -> None: ... + class SelectMgr_CompositionFilter(SelectMgr_Filter): def ActsOn(self, aStandardMode: TopAbs_ShapeEnum) -> bool: ... def Add(self, afilter: SelectMgr_Filter) -> None: ... @@ -368,20 +442,6 @@ class SelectMgr_CompositionFilter(SelectMgr_Filter): def Remove(self, aFilter: SelectMgr_Filter) -> None: ... def StoredFilters(self) -> SelectMgr_ListOfFilter: ... -class SelectMgr_ViewerSelector3d(SelectMgr_ViewerSelector): - def __init__(self) -> None: ... - def ClearSensitive(self, theView: V3d_View) -> None: ... - @overload - def DisplaySensitive(self, theView: V3d_View) -> None: ... - @overload - def DisplaySensitive(self, theSel: SelectMgr_Selection, theTrsf: gp_Trsf, theView: V3d_View, theToClearOthers: Optional[bool] = True) -> None: ... - @overload - def Pick(self, theXPix: int, theYPix: int, theView: V3d_View) -> None: ... - @overload - def Pick(self, theXPMin: int, theYPMin: int, theXPMax: int, theYPMax: int, theView: V3d_View) -> None: ... - @overload - def Pick(self, thePolyline: TColgp_Array1OfPnt2d, theView: V3d_View) -> None: ... - class SelectMgr_AndFilter(SelectMgr_CompositionFilter): def __init__(self) -> None: ... def IsOk(self, anobj: SelectMgr_EntityOwner) -> bool: ... diff --git a/src/SWIG_files/wrapper/ShapeAlgo.i b/src/SWIG_files/wrapper/ShapeAlgo.i index 54fc43e39..3b964ea57 100644 --- a/src/SWIG_files/wrapper/ShapeAlgo.i +++ b/src/SWIG_files/wrapper/ShapeAlgo.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define SHAPEALGODOCSTRING "ShapeAlgo module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_shapealgo.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_shapealgo.html" %enddef %module (package="OCC.Core", docstring=SHAPEALGODOCSTRING) ShapeAlgo @@ -81,7 +81,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/ShapeAnalysis.i b/src/SWIG_files/wrapper/ShapeAnalysis.i index ac2be769c..8242b723a 100644 --- a/src/SWIG_files/wrapper/ShapeAnalysis.i +++ b/src/SWIG_files/wrapper/ShapeAnalysis.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define SHAPEANALYSISDOCSTRING "ShapeAnalysis module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_shapeanalysis.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_shapeanalysis.html" %enddef %module (package="OCC.Core", docstring=SHAPEANALYSISDOCSTRING) ShapeAnalysis @@ -90,7 +90,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -277,7 +277,7 @@ class ShapeAnalysis_CheckSmallFace { /****************** ShapeAnalysis_CheckSmallFace ******************/ /**** md5 signature: 682c1315e887393b2bb9d3f1f6aa911f ****/ %feature("compactdefaultargs") ShapeAnalysis_CheckSmallFace; - %feature("autodoc", "Creates an empty tool checks a shape i.e. each of its faces, records checks as diagnostics in the //! if has not been set before, no check is done //! for faces which are in a shell, topological data are recorded to allow recovering connectivities after fixing or removing the small faces or parts of faces enchains various checks on a face inshell : to compute more informations, relevant to topology. + %feature("autodoc", "Creates an empty tool checks a shape i.e. each of its faces, records checks as diagnostics in the //! if has not been set before, no check is done //! for faces which are in a shell, topological data are recorded to allow recovering connectivities after fixing or removing the small faces or parts of faces enchains various checks on a face inshell : to compute more information, relevant to topology. Returns ------- @@ -447,7 +447,7 @@ paramv: float /****************** FindStripEdges ******************/ /**** md5 signature: 488fc04364bde628e00f8bf16852f40f ****/ %feature("compactdefaultargs") FindStripEdges; - %feature("autodoc", "Searchs for two and only two edges up tolerance returns true if ok, false if not 2 edges if true, returns the two edges and their maximum distance. + %feature("autodoc", "Searches for two and only two edges up tolerance returns true if ok, false if not 2 edges if true, returns the two edges and their maximum distance. Parameters ---------- @@ -1049,7 +1049,7 @@ bool /****************** CheckOverlapping ******************/ /**** md5 signature: 8ce837196cc14fae3f308905714a9765 ****/ %feature("compactdefaultargs") CheckOverlapping; - %feature("autodoc", "Checks the first edge is overlapped with second edge. if distance between two edges is less then thetoloverlap edges is overlapped. thedomaindis - length of part of edges on wich edges is overlapped. + %feature("autodoc", "Checks the first edge is overlapped with second edge. if distance between two edges is less then thetoloverlap edges are overlapped. thedomaindis - length of part of edges on which edges are overlapped. Parameters ---------- @@ -1209,24 +1209,6 @@ bool ") CheckVerticesWithPCurve; Standard_Boolean CheckVerticesWithPCurve(const TopoDS_Edge & edge, const opencascade::handle & surface, const TopLoc_Location & location, const Standard_Real preci = -1, const Standard_Integer vtx = 0); - /****************** ComputeDeviation ******************/ - /**** md5 signature: 5b28f41a99747c3f5e998147e40c2e30 ****/ - %feature("compactdefaultargs") ComputeDeviation; - %feature("autodoc", "Computes the maximal deviation between the two curve representations. dev is an input/output parameter and contains the computed deviation (should be initialized with 0. for the first call). used by checksameparameter(). - -Parameters ----------- -CRef: Adaptor3d_Curve -Other: Adaptor3d_Curve -SameParameter: bool -NCONTROL: int - -Returns -------- -dev: float -") ComputeDeviation; - static Standard_Boolean ComputeDeviation(const Adaptor3d_Curve & CRef, const Adaptor3d_Curve & Other, const Standard_Boolean SameParameter, Standard_Real &OutValue, const Standard_Integer NCONTROL); - /****************** Curve3d ******************/ /**** md5 signature: a62c7816a4324c1eb17a7617f6fa678f ****/ %feature("compactdefaultargs") Curve3d; @@ -2277,7 +2259,7 @@ Dmax: float /****************** PositionTrsf ******************/ /**** md5 signature: 2a3f3a6e4f8ae606dbb46116193e80b1 ****/ %feature("compactdefaultargs") PositionTrsf; - %feature("autodoc", "Builds transfromation object out of matrix. matrix must be 3 x 4. unit is used as multiplier. + %feature("autodoc", "Builds transformation object out of matrix. matrix must be 3 x 4. unit is used as multiplier. Parameters ---------- @@ -2318,7 +2300,7 @@ None ShapeAnalysis_ShapeContents(); /****************** BigSplineSec ******************/ - /**** md5 signature: 0199bf9d3b269b35de6e5df96995f45b ****/ + /**** md5 signature: 54d972c865f7c7aa668cde4b02c0832a ****/ %feature("compactdefaultargs") BigSplineSec; %feature("autodoc", "No available documentation. @@ -2326,12 +2308,12 @@ Returns ------- opencascade::handle ") BigSplineSec; - opencascade::handle BigSplineSec(); + const opencascade::handle & BigSplineSec(); /****************** Clear ******************/ /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears all accumulated statictics. + %feature("autodoc", "Clears all accumulated statistics. Returns ------- @@ -2351,7 +2333,7 @@ None void ClearFlags(); /****************** IndirectSec ******************/ - /**** md5 signature: 887bf1fe521a9bc268eab0bae4d389a9 ****/ + /**** md5 signature: 4fcb801915109654e44e027f9cf7dd5e ****/ %feature("compactdefaultargs") IndirectSec; %feature("autodoc", "No available documentation. @@ -2359,7 +2341,7 @@ Returns ------- opencascade::handle ") IndirectSec; - opencascade::handle IndirectSec(); + const opencascade::handle & IndirectSec(); %feature("autodoc","1"); @@ -2414,6 +2396,19 @@ opencascade::handle } }; + %feature("autodoc","1"); + %extend { + Standard_Boolean GetModifyOffsetSurfaceMode() { + return (Standard_Boolean) $self->ModifyOffsetSurfaceMode(); + } + }; + %feature("autodoc","1"); + %extend { + void SetModifyOffsetSurfaceMode(Standard_Boolean value) { + $self->ModifyOffsetSurfaceMode()=value; + } + }; + %feature("autodoc","1"); %extend { Standard_Boolean GetModifyTrimmed2dMode() { @@ -2440,7 +2435,7 @@ opencascade::handle } }; /****************** NbBSplibeSurf ******************/ - /**** md5 signature: 5518306eba90b729aeb9509ffb7e5c57 ****/ + /**** md5 signature: a158c4118473734c13a9c47a1a1d0965 ****/ %feature("compactdefaultargs") NbBSplibeSurf; %feature("autodoc", "No available documentation. @@ -2451,7 +2446,7 @@ int Standard_Integer NbBSplibeSurf(); /****************** NbBezierSurf ******************/ - /**** md5 signature: aad955c6e7f01e3cbcdf2eca83c00882 ****/ + /**** md5 signature: f230d6bd348270373890003db3887aa7 ****/ %feature("compactdefaultargs") NbBezierSurf; %feature("autodoc", "No available documentation. @@ -2462,7 +2457,7 @@ int Standard_Integer NbBezierSurf(); /****************** NbBigSplines ******************/ - /**** md5 signature: 68bc3e8419d2afe5d9531b608b9e4abf ****/ + /**** md5 signature: b902850b4b063fb8100fe14f9ec25d99 ****/ %feature("compactdefaultargs") NbBigSplines; %feature("autodoc", "No available documentation. @@ -2473,7 +2468,7 @@ int Standard_Integer NbBigSplines(); /****************** NbC0Curves ******************/ - /**** md5 signature: 88262560ac1a169e11bd6ec19ce400ec ****/ + /**** md5 signature: eb9f63c0673c781381a6e9316402f984 ****/ %feature("compactdefaultargs") NbC0Curves; %feature("autodoc", "No available documentation. @@ -2484,7 +2479,7 @@ int Standard_Integer NbC0Curves(); /****************** NbC0Surfaces ******************/ - /**** md5 signature: ec9baf8d36619044ba930bb4dbfb9be2 ****/ + /**** md5 signature: 02810c9805ebe930183428b77fee41da ****/ %feature("compactdefaultargs") NbC0Surfaces; %feature("autodoc", "No available documentation. @@ -2495,7 +2490,7 @@ int Standard_Integer NbC0Surfaces(); /****************** NbEdges ******************/ - /**** md5 signature: b4dae8fc9e9992109d200aaac9bd9ada ****/ + /**** md5 signature: 31924aa1f5b2c848f6f0ca402e060038 ****/ %feature("compactdefaultargs") NbEdges; %feature("autodoc", "No available documentation. @@ -2506,7 +2501,7 @@ int Standard_Integer NbEdges(); /****************** NbFaceWithSevWires ******************/ - /**** md5 signature: 5b11391afc09f8c5235c581f024acc84 ****/ + /**** md5 signature: 775f8eb64ab3f3c9a3a49c47fe16047b ****/ %feature("compactdefaultargs") NbFaceWithSevWires; %feature("autodoc", "No available documentation. @@ -2517,7 +2512,7 @@ int Standard_Integer NbFaceWithSevWires(); /****************** NbFaces ******************/ - /**** md5 signature: 1f0fd1808c5306ae27c425978ee57bb5 ****/ + /**** md5 signature: d13128d0cc6393b9d04e2d25833180b2 ****/ %feature("compactdefaultargs") NbFaces; %feature("autodoc", "No available documentation. @@ -2528,7 +2523,7 @@ int Standard_Integer NbFaces(); /****************** NbFreeEdges ******************/ - /**** md5 signature: 601078396c3dc97b2847707250e5a03a ****/ + /**** md5 signature: aee040571e4e5e4bf01f4afeb43b0c31 ****/ %feature("compactdefaultargs") NbFreeEdges; %feature("autodoc", "No available documentation. @@ -2539,7 +2534,7 @@ int Standard_Integer NbFreeEdges(); /****************** NbFreeFaces ******************/ - /**** md5 signature: d14e5d9b9438b37023c56265f1a0fd84 ****/ + /**** md5 signature: c0112838d3d1e64094a2d567b7b46be2 ****/ %feature("compactdefaultargs") NbFreeFaces; %feature("autodoc", "No available documentation. @@ -2550,7 +2545,7 @@ int Standard_Integer NbFreeFaces(); /****************** NbFreeWires ******************/ - /**** md5 signature: b4cae47e68f24434447587fe37aa4a96 ****/ + /**** md5 signature: c92f135ee9df08cc79c9ef24cefda860 ****/ %feature("compactdefaultargs") NbFreeWires; %feature("autodoc", "No available documentation. @@ -2561,7 +2556,7 @@ int Standard_Integer NbFreeWires(); /****************** NbIndirectSurf ******************/ - /**** md5 signature: 62bb42974b6575f299b28b4c7df40ebc ****/ + /**** md5 signature: cce29bb337068b157451319ee82ba077 ****/ %feature("compactdefaultargs") NbIndirectSurf; %feature("autodoc", "No available documentation. @@ -2572,7 +2567,7 @@ int Standard_Integer NbIndirectSurf(); /****************** NbNoPCurve ******************/ - /**** md5 signature: 66b4c6e6be9e1e2afa51e5bcbd91d4b7 ****/ + /**** md5 signature: dd9ab53719003ad1fff0d19d4ec2a383 ****/ %feature("compactdefaultargs") NbNoPCurve; %feature("autodoc", "No available documentation. @@ -2583,7 +2578,7 @@ int Standard_Integer NbNoPCurve(); /****************** NbOffsetCurves ******************/ - /**** md5 signature: 0100d7755e19a7b810cce7c045dfc6a6 ****/ + /**** md5 signature: 967fb9d18380f7c2bcc8319df6e8df84 ****/ %feature("compactdefaultargs") NbOffsetCurves; %feature("autodoc", "No available documentation. @@ -2594,7 +2589,7 @@ int Standard_Integer NbOffsetCurves(); /****************** NbOffsetSurf ******************/ - /**** md5 signature: ff2b55704598daf353e2b689eca41be7 ****/ + /**** md5 signature: e57363e69044105891867110d2345e39 ****/ %feature("compactdefaultargs") NbOffsetSurf; %feature("autodoc", "No available documentation. @@ -2605,7 +2600,7 @@ int Standard_Integer NbOffsetSurf(); /****************** NbSharedEdges ******************/ - /**** md5 signature: b457072352fd9c3e9218f83200b5cc6b ****/ + /**** md5 signature: c61367063a15b3c10c7d747eb798d342 ****/ %feature("compactdefaultargs") NbSharedEdges; %feature("autodoc", "No available documentation. @@ -2616,7 +2611,7 @@ int Standard_Integer NbSharedEdges(); /****************** NbSharedFaces ******************/ - /**** md5 signature: 79dbba2af2b754e7d8cdde9015b549bb ****/ + /**** md5 signature: 933c219efa9e6b7b0da7310630ac52f9 ****/ %feature("compactdefaultargs") NbSharedFaces; %feature("autodoc", "No available documentation. @@ -2627,7 +2622,7 @@ int Standard_Integer NbSharedFaces(); /****************** NbSharedFreeEdges ******************/ - /**** md5 signature: a64b2515b8fad4c0c0d765921807f4cc ****/ + /**** md5 signature: 8ca35fad5a9eb10427cf93e1412d3b7c ****/ %feature("compactdefaultargs") NbSharedFreeEdges; %feature("autodoc", "No available documentation. @@ -2638,7 +2633,7 @@ int Standard_Integer NbSharedFreeEdges(); /****************** NbSharedFreeWires ******************/ - /**** md5 signature: becd02110340153e5fd0d0cfda811d73 ****/ + /**** md5 signature: 20452abf53c6cf2997c540ef9f6240f8 ****/ %feature("compactdefaultargs") NbSharedFreeWires; %feature("autodoc", "No available documentation. @@ -2649,7 +2644,7 @@ int Standard_Integer NbSharedFreeWires(); /****************** NbSharedShells ******************/ - /**** md5 signature: ff2bdfc65a99a1214bb8e015935783d8 ****/ + /**** md5 signature: 21799d026c4b5244949caca935eb9973 ****/ %feature("compactdefaultargs") NbSharedShells; %feature("autodoc", "No available documentation. @@ -2660,7 +2655,7 @@ int Standard_Integer NbSharedShells(); /****************** NbSharedSolids ******************/ - /**** md5 signature: 8ef1260b45d13decb139a9012acb3bab ****/ + /**** md5 signature: e889313fe5c4a42d2e3a95ea02050236 ****/ %feature("compactdefaultargs") NbSharedSolids; %feature("autodoc", "No available documentation. @@ -2671,7 +2666,7 @@ int Standard_Integer NbSharedSolids(); /****************** NbSharedVertices ******************/ - /**** md5 signature: a5453d48f2fa5e932a80ea375c45927a ****/ + /**** md5 signature: 372916a5a5f969d74b8ce75741bf9c8b ****/ %feature("compactdefaultargs") NbSharedVertices; %feature("autodoc", "No available documentation. @@ -2682,7 +2677,7 @@ int Standard_Integer NbSharedVertices(); /****************** NbSharedWires ******************/ - /**** md5 signature: 0e5fcf8be89f57bb1edef788c1cc64be ****/ + /**** md5 signature: 45baeee356041349c927f30542e85ac6 ****/ %feature("compactdefaultargs") NbSharedWires; %feature("autodoc", "No available documentation. @@ -2693,7 +2688,7 @@ int Standard_Integer NbSharedWires(); /****************** NbShells ******************/ - /**** md5 signature: ae5cea2f4ee50541dc840582f5c8441d ****/ + /**** md5 signature: 90611081501be215cf608e5c6dbae82b ****/ %feature("compactdefaultargs") NbShells; %feature("autodoc", "No available documentation. @@ -2704,7 +2699,7 @@ int Standard_Integer NbShells(); /****************** NbSolids ******************/ - /**** md5 signature: fe0e5621a431c37f6921d15dbbe777ad ****/ + /**** md5 signature: e487e0540ab54972941cb8ff851eb69d ****/ %feature("compactdefaultargs") NbSolids; %feature("autodoc", "No available documentation. @@ -2715,7 +2710,7 @@ int Standard_Integer NbSolids(); /****************** NbSolidsWithVoids ******************/ - /**** md5 signature: 5e8b39b93411bd17075211cb049009c3 ****/ + /**** md5 signature: 061a635d0c847222bbd6ab14fadeb7dd ****/ %feature("compactdefaultargs") NbSolidsWithVoids; %feature("autodoc", "No available documentation. @@ -2726,7 +2721,7 @@ int Standard_Integer NbSolidsWithVoids(); /****************** NbTrimSurf ******************/ - /**** md5 signature: 4c86d57bd7fe16c78e81715d7d26ac8b ****/ + /**** md5 signature: 3efdf188aeaea9dcfc5fd783da55a4bd ****/ %feature("compactdefaultargs") NbTrimSurf; %feature("autodoc", "No available documentation. @@ -2737,7 +2732,7 @@ int Standard_Integer NbTrimSurf(); /****************** NbTrimmedCurve2d ******************/ - /**** md5 signature: 831cc19d09373e57246c50afb40fde09 ****/ + /**** md5 signature: ecad0e4f50e5e6221cc5208bcc031620 ****/ %feature("compactdefaultargs") NbTrimmedCurve2d; %feature("autodoc", "No available documentation. @@ -2748,7 +2743,7 @@ int Standard_Integer NbTrimmedCurve2d(); /****************** NbTrimmedCurve3d ******************/ - /**** md5 signature: 6cdd535fa28199051b9643900b4c70c2 ****/ + /**** md5 signature: ab37744f32810f0b89cc4c34952add89 ****/ %feature("compactdefaultargs") NbTrimmedCurve3d; %feature("autodoc", "No available documentation. @@ -2759,7 +2754,7 @@ int Standard_Integer NbTrimmedCurve3d(); /****************** NbVertices ******************/ - /**** md5 signature: 435b05539d6b9d704dc04d9218f26996 ****/ + /**** md5 signature: fdb7d948cb5ffe9c7da397697d4125c9 ****/ %feature("compactdefaultargs") NbVertices; %feature("autodoc", "No available documentation. @@ -2770,7 +2765,7 @@ int Standard_Integer NbVertices(); /****************** NbWireWithSevSeams ******************/ - /**** md5 signature: 7b1c334798f5c46aaa4ebcffaef9298b ****/ + /**** md5 signature: 980097a25054a46469c805a1232fc68b ****/ %feature("compactdefaultargs") NbWireWithSevSeams; %feature("autodoc", "No available documentation. @@ -2781,7 +2776,7 @@ int Standard_Integer NbWireWithSevSeams(); /****************** NbWireWitnSeam ******************/ - /**** md5 signature: 20e8473d0ecf8ebdba112f78f9e77fad ****/ + /**** md5 signature: 4c637a5e0b69a5fbb251f366da6bc6f2 ****/ %feature("compactdefaultargs") NbWireWitnSeam; %feature("autodoc", "No available documentation. @@ -2792,7 +2787,7 @@ int Standard_Integer NbWireWitnSeam(); /****************** NbWires ******************/ - /**** md5 signature: 623d3933020942cf2c5912f50d17d660 ****/ + /**** md5 signature: bce549b9d0543bc5dacda7fa2e69e8be ****/ %feature("compactdefaultargs") NbWires; %feature("autodoc", "No available documentation. @@ -2803,7 +2798,7 @@ int Standard_Integer NbWires(); /****************** OffsetCurveSec ******************/ - /**** md5 signature: 490f03227f3d12f47c0434fda729f5da ****/ + /**** md5 signature: eb1ffd42724130745142fbafb6d6f429 ****/ %feature("compactdefaultargs") OffsetCurveSec; %feature("autodoc", "No available documentation. @@ -2811,10 +2806,10 @@ Returns ------- opencascade::handle ") OffsetCurveSec; - opencascade::handle OffsetCurveSec(); + const opencascade::handle & OffsetCurveSec(); /****************** OffsetSurfaceSec ******************/ - /**** md5 signature: 6c55196f30d06cbadfc0d2456d8b105c ****/ + /**** md5 signature: 9dea0424704ec339188ce6a0460530ef ****/ %feature("compactdefaultargs") OffsetSurfaceSec; %feature("autodoc", "No available documentation. @@ -2822,7 +2817,7 @@ Returns ------- opencascade::handle ") OffsetSurfaceSec; - opencascade::handle OffsetSurfaceSec(); + const opencascade::handle & OffsetSurfaceSec(); /****************** Perform ******************/ /**** md5 signature: 16888c81df64e609e09767552e6bb5d4 ****/ @@ -2840,7 +2835,7 @@ None void Perform(const TopoDS_Shape & shape); /****************** Trimmed2dSec ******************/ - /**** md5 signature: a5b6c4cf8a74d62bf08dd5a061b72b8a ****/ + /**** md5 signature: 693d57b465052fb2bdb308b10040bd27 ****/ %feature("compactdefaultargs") Trimmed2dSec; %feature("autodoc", "No available documentation. @@ -2848,10 +2843,10 @@ Returns ------- opencascade::handle ") Trimmed2dSec; - opencascade::handle Trimmed2dSec(); + const opencascade::handle & Trimmed2dSec(); /****************** Trimmed3dSec ******************/ - /**** md5 signature: db189311bbf0a26bd1a7e654a6e20b81 ****/ + /**** md5 signature: e81b2c686b92f9cab25b8105b7b0deaf ****/ %feature("compactdefaultargs") Trimmed3dSec; %feature("autodoc", "No available documentation. @@ -2859,7 +2854,7 @@ Returns ------- opencascade::handle ") Trimmed3dSec; - opencascade::handle Trimmed3dSec(); + const opencascade::handle & Trimmed3dSec(); }; @@ -3180,15 +3175,15 @@ None ShapeAnalysis_Surface(const opencascade::handle & S); /****************** Adaptor3d ******************/ - /**** md5 signature: 477869ea05f2394b5dbd824c2b39e9e9 ****/ + /**** md5 signature: 4a7d7b95e745d7a630f736bb0273d63e ****/ %feature("compactdefaultargs") Adaptor3d; %feature("autodoc", "Returns the adaptor. creates it if not yet done. Returns ------- -opencascade::handle +opencascade::handle ") Adaptor3d; - const opencascade::handle & Adaptor3d(); + const opencascade::handle & Adaptor3d(); /****************** Bounds ******************/ /**** md5 signature: 76f4d0acb9d784f5c349713b7a3066ed ****/ @@ -3358,7 +3353,7 @@ bool /****************** IsDegenerated ******************/ /**** md5 signature: 73b532d2945208b748a3d0135fc0559d ****/ %feature("compactdefaultargs") IsDegenerated; - %feature("autodoc", "Returns true if straight pcurve going from point p2d1 to p2d2 is degenerate, i.e. lies in the singularity of the surface. note: it uses another method of detecting singularity than used by computesingularities() et al.! for that, maximums of distances between points p2d1, p2d2 and 0.5*(p2d1+p2d2) and between corresponding 3d points are computed. the pcurve (p2d1, p2d2) is considered as degenerate if: - max distance in 3d is less than - max distance in 2d is at least times greather than the resolution computed from max distance in 3d (max3d < tol && max2d > ratio * resolution(max3d)) note: should be >1 (e.g. 10). + %feature("autodoc", "Returns true if straight pcurve going from point p2d1 to p2d2 is degenerate, i.e. lies in the singularity of the surface. note: it uses another method of detecting singularity than used by computesingularities() et al.! for that, maximums of distances between points p2d1, p2d2 and 0.5*(p2d1+p2d2) and between corresponding 3d points are computed. the pcurve (p2d1, p2d2) is considered as degenerate if: - max distance in 3d is less than - max distance in 2d is at least times greater than the resolution computed from max distance in 3d (max3d < tol && max2d > ratio * resolution(max3d)) note: should be >1 (e.g. 10). Parameters ---------- @@ -3423,7 +3418,7 @@ int /****************** NextValueOfUV ******************/ /**** md5 signature: 8f75d76c37899f095d2b498ceb77fdd1 ****/ %feature("compactdefaultargs") NextValueOfUV; - %feature("autodoc", "Projects a point p3d on the surface. does the same thing as valueofuv but tries to optimize computations by taking into account previous point : makes a step by uv and tries newton algorithm. if >0. and distance between solution and p3d is greater than , that solution is considered as bad, and valueofuv() is used. if not succeded, calls valueofuv(). + %feature("autodoc", "Projects a point p3d on the surface. does the same thing as valueofuv but tries to optimize computations by taking into account previous point : makes a step by uv and tries newton algorithm. if >0. and distance between solution and p3d is greater than , that solution is considered as bad, and valueofuv() is used. if not succeeded, calls valueofuv(). Parameters ---------- @@ -3497,7 +3492,7 @@ None /****************** Singularity ******************/ /**** md5 signature: 3da019b1f8fced06e45e0430b0c745b0 ****/ %feature("compactdefaultargs") Singularity; - %feature("autodoc", "Returns the characteristics of the singularity specified by its rank number . that means, that it is not neccessary for to be in the range [1, nbsingularities] but must be not greater than possible (see computesingularities). the returned characteristics are: preci: the smallest precision with which the iso-line is considered as degenerated, p3d: 3d point of singularity (middle point of the surface iso-line), firstp2d and lastp2d: first and last 2d points of the iso-line in parametrical surface, firstpar and lastpar: first and last parameters of the iso-line in parametrical surface, uisodeg: if the degenerated iso-line is u-iso (true) or v-iso (false). returns false if is out of range, else returns true. + %feature("autodoc", "Returns the characteristics of the singularity specified by its rank number . that means, that it is not necessary for to be in the range [1, nbsingularities] but must be not greater than possible (see computesingularities). the returned characteristics are: preci: the smallest precision with which the iso-line is considered as degenerated, p3d: 3d point of singularity (middle point of the surface iso-line), firstp2d and lastp2d: first and last 2d points of the iso-line in parametrical surface, firstpar and lastpar: first and last parameters of the iso-line in parametrical surface, uisodeg: if the degenerated iso-line is u-iso (true) or v-iso (false). returns false if is out of range, else returns true. Parameters ---------- @@ -3527,15 +3522,15 @@ opencascade::handle const opencascade::handle & Surface(); /****************** TrueAdaptor3d ******************/ - /**** md5 signature: d3d46dd2f2341546bef219e67daf51db ****/ + /**** md5 signature: 83b3798d6206a15a81c91320fc25472f ****/ %feature("compactdefaultargs") TrueAdaptor3d; %feature("autodoc", "Returns the adaptor (may be null if method adaptor() was not called). Returns ------- -opencascade::handle +opencascade::handle ") TrueAdaptor3d; - const opencascade::handle & TrueAdaptor3d(); + const opencascade::handle & TrueAdaptor3d(); /****************** UCloseVal ******************/ /**** md5 signature: 6b05bece8dc5d04e6e44b77fe1c48cb5 ****/ @@ -3884,7 +3879,7 @@ bool /****************** CheckConnected ******************/ /**** md5 signature: abaeb0271f4e2c19ab97ef3799de3bfd ****/ %feature("compactdefaultargs") CheckConnected; - %feature("autodoc", "Checks connected edges (num-th and preceeding). tests with starting preci from or with if it is greater. considers vertices. returns: false if edges are connected by the common vertex, else true status : ok : vertices (end of num-1 th edge and start on num-th one) are already the same done1 : absolutely confused (gp::resolution) done2 : confused at starting from done3 : confused at but not fail1 : not confused fail2 : not confused but confused with if reverse num-th edge. + %feature("autodoc", "Checks connected edges (num-th and preceding). tests with starting preci from or with if it is greater. considers vertices. returns: false if edges are connected by the common vertex, else true status : ok : vertices (end of num-1 th edge and start on num-th one) are already the same done1 : absolutely confused (gp::resolution) done2 : confused at starting from done3 : confused at but not fail1 : not confused fail2 : not confused but confused with if reverse num-th edge. Parameters ---------- @@ -3939,7 +3934,7 @@ bool /****************** CheckDegenerated ******************/ /**** md5 signature: 1fa1510ebdf1a3475b2c4f751616ed2a ****/ %feature("compactdefaultargs") CheckDegenerated; - %feature("autodoc", "Checks for degenerated edge between two adjacent ones. fills parameters dgnr1 and dgnr2 with points in paramterical space that correspond to the singularity (either gap that needs to be filled by degenerated edge or that already filled) returns: false if no singularity or edge is already degenerated, otherwise true status: ok : no surface singularity, or edge is already degenerated done1: degenerated edge should be inserted (gap in 2d) done2: edge should be made degenerated (recompute pcurve and set the flag) fail1: one of edges neighbouring to degenerated one has no pcurve fail2: edge marked as degenerated and has no pcurve but singularity is not detected. + %feature("autodoc", "Checks for degenerated edge between two adjacent ones. fills parameters dgnr1 and dgnr2 with points in parametric space that correspond to the singularity (either gap that needs to be filled by degenerated edge or that already filled) returns: false if no singularity or edge is already degenerated, otherwise true status: ok : no surface singularity, or edge is already degenerated done1: degenerated edge should be inserted (gap in 2d) done2: edge should be made degenerated (recompute pcurve and set the flag) fail1: one of edges neighbouring to degenerated one has no pcurve fail2: edge marked as degenerated and has no pcurve but singularity is not detected. Parameters ---------- @@ -3971,7 +3966,7 @@ bool /****************** CheckEdgeCurves ******************/ /**** md5 signature: f765d450e50275b806856816ca07a0ce ****/ %feature("compactdefaultargs") CheckEdgeCurves; - %feature("autodoc", "Checks edges geometry (consitency of 2d and 3d senses, adjasment of curves to the vertices, etc.). the order of the checks : call shapeanalysis_wire to check: shapeanalysis_edge::checkcurve3dwithpcurve (1), shapeanalysis_edge::checkvertceswithpcurve (2), shapeanalysis_edge::checkvertceswithcurve3d (3), checkseam (4) additional: checkgap3d (5), checkgap2d (6), shapeanalysis_edge::checksameparameter (7) returns: true if at least one check returned true remark: the numbers in brackets show with what donei or faili the status can be queried. + %feature("autodoc", "Checks edges geometry (consistency of 2d and 3d senses, adjasment of curves to the vertices, etc.). the order of the checks : call shapeanalysis_wire to check: shapeanalysis_edge::checkcurve3dwithpcurve (1), shapeanalysis_edge::checkvertceswithpcurve (2), shapeanalysis_edge::checkvertceswithcurve3d (3), checkseam (4) additional: checkgap3d (5), checkgap2d (6), shapeanalysis_edge::checksameparameter (7) returns: true if at least one check returned true remark: the numbers in brackets show with what donei or faili the status can be queried. Returns ------- @@ -3982,7 +3977,7 @@ bool /****************** CheckGap2d ******************/ /**** md5 signature: 24f4a5e0b2b4a9af5acc632ecdd068d3 ****/ %feature("compactdefaultargs") CheckGap2d; - %feature("autodoc", "Checks gap between edges in 2d (pcurves). checks the distance between ends of pcurves of the num-th and preceeding edge. the distance can be queried by mindistance2d. //! returns: true if status is done status: ok : gap is less than parametric precision out of myprecision done : gap is greater than parametric precision out of myprecision fail : no pcurve(s) on the edge(s). + %feature("autodoc", "Checks gap between edges in 2d (pcurves). checks the distance between ends of pcurves of the num-th and preceding edge. the distance can be queried by mindistance2d. //! returns: true if status is done status: ok : gap is less than parametric precision out of myprecision done : gap is greater than parametric precision out of myprecision fail : no pcurve(s) on the edge(s). Parameters ---------- @@ -3998,7 +3993,7 @@ bool /****************** CheckGap3d ******************/ /**** md5 signature: ffb83a77fe32afc90de4b17a854712b9 ****/ %feature("compactdefaultargs") CheckGap3d; - %feature("autodoc", "Checks gap between edges in 3d (3d curves). checks the distance between ends of 3d curves of the num-th and preceeding edge. the distance can be queried by mindistance3d. //! returns: true if status is done status: ok : gap is less than myprecision done : gap is greater than myprecision fail : no 3d curve(s) on the edge(s). + %feature("autodoc", "Checks gap between edges in 3d (3d curves). checks the distance between ends of 3d curves of the num-th and preceding edge. the distance can be queried by mindistance3d. //! returns: true if status is done status: ok : gap is less than myprecision done : gap is greater than myprecision fail : no 3d curve(s) on the edge(s). Parameters ---------- @@ -4150,7 +4145,7 @@ bool /****************** CheckLoop ******************/ /**** md5 signature: c95ccb397df77c1565de7d6d15910099 ****/ %feature("compactdefaultargs") CheckLoop; - %feature("autodoc", "Checks existance of loop on wire and return vertices wich are loop vertices (vertices belonging to a few pairs of edges). + %feature("autodoc", "Checks existence of loop on wire and return vertices which are loop vertices (vertices belonging to a few pairs of edges). Parameters ---------- @@ -4315,7 +4310,7 @@ bool /****************** CheckShapeConnect ******************/ /**** md5 signature: 0a79b66d7b431d4b26c20c6461576e0b ****/ %feature("compactdefaultargs") CheckShapeConnect; - %feature("autodoc", "Checks with what orientation (wire or edge) can be connected to the wire. tests distances with starting from (close confusion), but if given is greater, tests with (coarse confusion). the smallest found distance can be returned by mindistance3d //! returns: false if status is fail (see below) status: done1 : if follows , direct sense (normal) done2 : if follows , but if reversed done3 : if preceeds , direct sense done4 : if preceeds , but if reversed fail1 : if is neither an edge nor a wire fail2 : if cannot be connected to //! done5 : to the tail of the is closer with direct sense done6 : to the head of the is closer with direct sense //! remark: statuses done1 - done4, fail1 - fail2 are basic and describe the nearest connection of the to . statuses done5 and done6 are advanced and are to be used when analyzing with what sense (direct or reversed) the should be connected to : for tail of if done4 is true should be direct, otherwise reversed. for head of if done5 is true should be direct, otherwise reversed. + %feature("autodoc", "Checks with what orientation (wire or edge) can be connected to the wire. tests distances with starting from (close confusion), but if given is greater, tests with (coarse confusion). the smallest found distance can be returned by mindistance3d //! returns: false if status is fail (see below) status: done1 : if follows , direct sense (normal) done2 : if follows , but if reversed done3 : if precedes , direct sense done4 : if precedes , but if reversed fail1 : if is neither an edge nor a wire fail2 : if cannot be connected to //! done5 : to the tail of the is closer with direct sense done6 : to the head of the is closer with direct sense //! remark: statuses done1 - done4, fail1 - fail2 are basic and describe the nearest connection of the to . statuses done5 and done6 are advanced and are to be used when analyzing with what sense (direct or reversed) the should be connected to : for tail of if done4 is true should be direct, otherwise reversed. for head of if done5 is true should be direct, otherwise reversed. Parameters ---------- @@ -4501,7 +4496,7 @@ bool /****************** LastCheckStatus ******************/ /**** md5 signature: 51a8334fdef2c5ed71ca2129b25a052b ****/ %feature("compactdefaultargs") LastCheckStatus; - %feature("autodoc", "Querying the status of the last perfomed 'advanced' checking procedure. + %feature("autodoc", "Querying the status of the last performed 'advanced' checking procedure. Parameters ---------- @@ -4601,7 +4596,7 @@ int /****************** Perform ******************/ /**** md5 signature: dc83e5133003c9f9c7b166df8b5a4192 ****/ %feature("compactdefaultargs") Perform; - %feature("autodoc", "Performs all the checks in the following order : checkorder, checksmall, checkconected, checkedgecurves, checkdegenerated, checkselfintersection, checklacking, checkclosed returns: true if at least one method returned true; for deeper analysis use status...(status) methods. + %feature("autodoc", "Performs all the checks in the following order : checkorder, checksmall, checkconnected, checkedgecurves, checkdegenerated, checkselfintersection, checklacking, checkclosed returns: true if at least one method returned true; for deeper analysis use status...(status) methods. Returns ------- @@ -5004,7 +4999,7 @@ n2: int /****************** Gap ******************/ /**** md5 signature: 367d72f7f9d9f8ac382afd0e4369ad2c ****/ %feature("compactdefaultargs") Gap; - %feature("autodoc", "Returns the gap between a couple and its preceeding is considered ordered if = 0 (d), returns the greatest gap found. + %feature("autodoc", "Returns the gap between a couple and its preceding is considered ordered if = 0 (d), returns the greatest gap found. Parameters ---------- @@ -5138,7 +5133,7 @@ None /****************** SetMode ******************/ /**** md5 signature: ba0fdbb4cb9a7fffbf1cee2688fbb2ce ****/ %feature("compactdefaultargs") SetMode; - %feature("autodoc", "Sets new values. clears the connexion list if changes, also clears the edge list (else, doesnt). + %feature("autodoc", "Sets new values. clears the connexion list if changes, also clears the edge list (else, doesn't). Parameters ---------- @@ -5246,7 +5241,7 @@ None /****************** Data ******************/ /**** md5 signature: ebe1966f41fb4acf2b591d40ed683c05 ****/ %feature("compactdefaultargs") Data; - %feature("autodoc", "Returns the recorded status for a vertex with its recorded position and parameters on both edges these values are relevant regarding the status: status meaning position preceeding following 0 same no no no 1 samecoord no no no 2 close no no no 3 end yes no yes 4 start yes yes no 5 inters yes yes yes -1 disjoined no no no. + %feature("autodoc", "Returns the recorded status for a vertex with its recorded position and parameters on both edges these values are relevant regarding the status: status meaning position preceding following 0 same no no no 1 samecoord no no no 2 close no no no 3 end yes no yes 4 start yes yes no 5 inters yes yes yes -1 disjoined no no no. Parameters ---------- @@ -5437,7 +5432,7 @@ None /****************** SetEnd ******************/ /**** md5 signature: c7fabda1b23b9b9674f25e44bc282ae3 ****/ %feature("compactdefaultargs") SetEnd; - %feature("autodoc", " is the end of preceeding edge, and its projection on the following one lies on it at the precision of gives the parameter on the following edge. + %feature("autodoc", " is the end of preceding edge, and its projection on the following one lies on it at the precision of gives the parameter on the following edge. Parameters ---------- @@ -5454,7 +5449,7 @@ None /****************** SetInters ******************/ /**** md5 signature: fe3d221c509ef08f54b84f9770f207e3 ****/ %feature("compactdefaultargs") SetInters; - %feature("autodoc", " is the intersection of both edges is the parameter on preceeding edge, on following edge. + %feature("autodoc", " is the intersection of both edges is the parameter on preceding edge, on following edge. Parameters ---------- @@ -5472,7 +5467,7 @@ None /****************** SetPrecision ******************/ /**** md5 signature: a601cf881702916ad1a5bcd1fec314c4 ****/ %feature("compactdefaultargs") SetPrecision; - %feature("autodoc", "Sets the precision for work analysing: for each vertex, comparison between the end of the preceeding edge and the start of the following edge each vertex rank corresponds to the end vertex of the edge of same rank, in the shapeextend_wiredata. i.e. for vertex , edge is the preceeding one, is the following one. + %feature("autodoc", "Sets the precision for work analysing: for each vertex, comparison between the end of the preceding edge and the start of the following edge each vertex rank corresponds to the end vertex of the edge of same rank, in the shapeextend_wiredata. i.e. for vertex , edge is the preceding one, is the following one. Parameters ---------- @@ -5517,7 +5512,7 @@ None /****************** SetStart ******************/ /**** md5 signature: 1b976331febdffff9819237d0da2d19b ****/ %feature("compactdefaultargs") SetStart; - %feature("autodoc", " is the start of following edge, its projection on the preceeding one lies on it at the precision of gives the parameter on the preceeding edge. + %feature("autodoc", " is the start of following edge, its projection on the preceding one lies on it at the precision of gives the parameter on the preceding edge. Parameters ---------- @@ -5607,7 +5602,7 @@ class ShapeAnalysis_TransferParametersProj : public ShapeAnalysis_TransferParame /****************** ShapeAnalysis_TransferParametersProj ******************/ /**** md5 signature: 05907c49624548dfe8719171abdd39c5 ****/ %feature("compactdefaultargs") ShapeAnalysis_TransferParametersProj; - %feature("autodoc", "Creats empty constructor. + %feature("autodoc", "Creates empty constructor. Returns ------- diff --git a/src/SWIG_files/wrapper/ShapeAnalysis.pyi b/src/SWIG_files/wrapper/ShapeAnalysis.pyi index 7fa6d07dd..9ca698463 100644 --- a/src/SWIG_files/wrapper/ShapeAnalysis.pyi +++ b/src/SWIG_files/wrapper/ShapeAnalysis.pyi @@ -140,8 +140,6 @@ class ShapeAnalysis_Edge: def CheckVerticesWithPCurve(self, edge: TopoDS_Edge, face: TopoDS_Face, preci: Optional[float] = -1, vtx: Optional[int] = 0) -> bool: ... @overload def CheckVerticesWithPCurve(self, edge: TopoDS_Edge, surface: Geom_Surface, location: TopLoc_Location, preci: Optional[float] = -1, vtx: Optional[int] = 0) -> bool: ... - @staticmethod - def ComputeDeviation(CRef: Adaptor3d_Curve, Other: Adaptor3d_Curve, SameParameter: bool, NCONTROL: int) -> Tuple[bool, float]: ... def Curve3d(self, edge: TopoDS_Edge, C3d: Geom_Curve, orient: Optional[bool] = True) -> Tuple[bool, float, float]: ... def FirstVertex(self, edge: TopoDS_Edge) -> TopoDS_Vertex: ... @overload @@ -264,6 +262,8 @@ class ShapeAnalysis_ShapeContents: def SetModifyOffestSurfaceMode(self, value: bool) -> None: ... def GetModifyOffsetCurveMode(self) -> bool: ... def SetModifyOffsetCurveMode(self, value: bool) -> None: ... + def GetModifyOffsetSurfaceMode(self) -> bool: ... + def SetModifyOffsetSurfaceMode(self, value: bool) -> None: ... def GetModifyTrimmed2dMode(self) -> bool: ... def SetModifyTrimmed2dMode(self, value: bool) -> None: ... def GetModifyTrimmed3dMode(self) -> bool: ... @@ -332,7 +332,7 @@ class ShapeAnalysis_Shell: class ShapeAnalysis_Surface(Standard_Transient): def __init__(self, S: Geom_Surface) -> None: ... - def Adaptor3d(self) -> GeomAdaptor_HSurface: ... + def Adaptor3d(self) -> GeomAdaptor_Surface: ... def Bounds(self) -> Tuple[float, float, float, float]: ... def ComputeBoundIsos(self) -> None: ... def DegeneratedValues(self, P3d: gp_Pnt, preci: float, firstP2d: gp_Pnt2d, lastP2d: gp_Pnt2d, forward: Optional[bool] = True) -> Tuple[bool, float, float]: ... @@ -361,7 +361,7 @@ class ShapeAnalysis_Surface(Standard_Transient): def SetDomain(self, U1: float, U2: float, V1: float, V2: float) -> None: ... def Singularity(self, num: int, P3d: gp_Pnt, firstP2d: gp_Pnt2d, lastP2d: gp_Pnt2d) -> Tuple[bool, float, float, float, bool]: ... def Surface(self) -> Geom_Surface: ... - def TrueAdaptor3d(self) -> GeomAdaptor_HSurface: ... + def TrueAdaptor3d(self) -> GeomAdaptor_Surface: ... def UCloseVal(self) -> float: ... def UIso(self, U: float) -> Geom_Curve: ... def UVFromIso(self, P3D: gp_Pnt, preci: float) -> Tuple[float, float, float]: ... @@ -608,7 +608,6 @@ ShapeAnalysis_Curve_IsPeriodic = ShapeAnalysis_Curve.IsPeriodic ShapeAnalysis_Curve_IsPeriodic = ShapeAnalysis_Curve.IsPeriodic ShapeAnalysis_Curve_IsPlanar = ShapeAnalysis_Curve.IsPlanar ShapeAnalysis_Curve_IsPlanar = ShapeAnalysis_Curve.IsPlanar -ShapeAnalysis_Edge_ComputeDeviation = ShapeAnalysis_Edge.ComputeDeviation ShapeAnalysis_FreeBounds_ConnectEdgesToWires = ShapeAnalysis_FreeBounds.ConnectEdgesToWires ShapeAnalysis_FreeBounds_ConnectWiresToWires = ShapeAnalysis_FreeBounds.ConnectWiresToWires ShapeAnalysis_FreeBounds_ConnectWiresToWires = ShapeAnalysis_FreeBounds.ConnectWiresToWires diff --git a/src/SWIG_files/wrapper/ShapeBuild.i b/src/SWIG_files/wrapper/ShapeBuild.i index 8d3695765..fe3a2f01d 100644 --- a/src/SWIG_files/wrapper/ShapeBuild.i +++ b/src/SWIG_files/wrapper/ShapeBuild.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define SHAPEBUILDDOCSTRING "ShapeBuild module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_shapebuild.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_shapebuild.html" %enddef %module (package="OCC.Core", docstring=SHAPEBUILDDOCSTRING) ShapeBuild @@ -83,7 +83,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -485,7 +485,7 @@ None /****************** Apply ******************/ /**** md5 signature: 12ba89fbea5e6ee53d81d4b37fbd9ef2 ****/ %feature("compactdefaultargs") Apply; - %feature("autodoc", "Applies the substitutions requests to a shape //! gives the level of type until which requests are taken into account. for subshapes of the type no rebuild and futher exploring are done. actually, not implemented below topabs_face //! says how to do on a solid,shell ... if one of its sub-shapes has been changed: 0: at least one replace or remove -> compound, else as such 1: at least one remove (replace are ignored) -> compound 2: replace and remove are both ignored if replace/remove are ignored or absent, the result as same type as the starting shape. + %feature("autodoc", "Applies the substitutions requests to a shape //! gives the level of type until which requests are taken into account. for subshapes of the type no rebuild and further exploring are done. actually, not implemented below topabs_face //! says how to do on a solid,shell ... if one of its sub-shapes has been changed: 0: at least one replace or remove -> compound, else as such 1: at least one remove (replace are ignored) -> compound 2: replace and remove are both ignored if replace/remove are ignored or absent, the result as same type as the starting shape. Parameters ---------- @@ -502,7 +502,7 @@ TopoDS_Shape /****************** Apply ******************/ /**** md5 signature: 9fa21a223a211d6010aadfc1a9387cb1 ****/ %feature("compactdefaultargs") Apply; - %feature("autodoc", "Applies the substitutions requests to a shape. //! gives the level of type until which requests are taken into account. for subshapes of the type no rebuild and futher exploring are done. //! note: each subshape can be replaced by shape of the same type or by shape containing only shapes of that type (for example, topods_edge can be replaced by topods_edge, topods_wire or topods_compound containing topods_edges). if incompatible shape type is encountered, it is ignored and flag fail1 is set in status. + %feature("autodoc", "Applies the substitutions requests to a shape. //! gives the level of type until which requests are taken into account. for subshapes of the type no rebuild and further exploring are done. //! note: each subshape can be replaced by shape of the same type or by shape containing only shapes of that type (for example, topods_edge can be replaced by topods_edge, topods_wire or topods_compound containing topods_edges). if incompatible shape type is encountered, it is ignored and flag fail1 is set in status. Parameters ---------- diff --git a/src/SWIG_files/wrapper/ShapeConstruct.i b/src/SWIG_files/wrapper/ShapeConstruct.i index 153d0c20d..6e9583925 100644 --- a/src/SWIG_files/wrapper/ShapeConstruct.i +++ b/src/SWIG_files/wrapper/ShapeConstruct.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define SHAPECONSTRUCTDOCSTRING "ShapeConstruct module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_shapeconstruct.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_shapeconstruct.html" %enddef %module (package="OCC.Core", docstring=SHAPECONSTRUCTDOCSTRING) ShapeConstruct @@ -52,6 +52,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_shapeconstruct.ht #include #include #include +#include #include #include #include @@ -88,6 +89,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_shapeconstruct.ht %import TColStd.i %import BRepBuilderAPI.i %import TColgp.i +%import Message.i %import ShapeAnalysis.i %import ShapeExtend.i @@ -99,7 +101,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -442,15 +444,20 @@ None ShapeConstruct_MakeTriangulation(const TopoDS_Wire & wire, const Standard_Real prec = 0.0); /****************** Build ******************/ - /**** md5 signature: 5ad4569f96377eec0c61c7f10d7c7aa9 ****/ + /**** md5 signature: 58900897d55d51e349b2e40a091ec26f ****/ %feature("compactdefaultargs") Build; %feature("autodoc", "No available documentation. +Parameters +---------- +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + Returns ------- None ") Build; - virtual void Build(); + virtual void Build(const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** IsDone ******************/ /**** md5 signature: e2af43c18fdd9d21f5f5de9eae7fc9de ****/ @@ -640,7 +647,7 @@ None /****************** Status ******************/ /**** md5 signature: 03f2df8a606eef2de1cd56a4ae73f0f0 ****/ %feature("compactdefaultargs") Status; - %feature("autodoc", "Returns the status of last peform. + %feature("autodoc", "Returns the status of last perform. Parameters ---------- diff --git a/src/SWIG_files/wrapper/ShapeConstruct.pyi b/src/SWIG_files/wrapper/ShapeConstruct.pyi index 7c585411e..1edef1d58 100644 --- a/src/SWIG_files/wrapper/ShapeConstruct.pyi +++ b/src/SWIG_files/wrapper/ShapeConstruct.pyi @@ -13,6 +13,7 @@ from OCC.Core.gp import * from OCC.Core.TColStd import * from OCC.Core.BRepBuilderAPI import * from OCC.Core.TColgp import * +from OCC.Core.Message import * from OCC.Core.ShapeAnalysis import * from OCC.Core.ShapeExtend import * @@ -55,7 +56,7 @@ class ShapeConstruct_MakeTriangulation(BRepBuilderAPI_MakeShape): def __init__(self, pnts: TColgp_Array1OfPnt, prec: Optional[float] = 0.0) -> None: ... @overload def __init__(self, wire: TopoDS_Wire, prec: Optional[float] = 0.0) -> None: ... - def Build(self) -> None: ... + def Build(self, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> None: ... def IsDone(self) -> bool: ... class ShapeConstruct_ProjectCurveOnSurface(Standard_Transient): diff --git a/src/SWIG_files/wrapper/ShapeCustom.i b/src/SWIG_files/wrapper/ShapeCustom.i index 23be5054e..6e750ce63 100644 --- a/src/SWIG_files/wrapper/ShapeCustom.i +++ b/src/SWIG_files/wrapper/ShapeCustom.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define SHAPECUSTOMDOCSTRING "ShapeCustom module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_shapecustom.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_shapecustom.html" %enddef %module (package="OCC.Core", docstring=SHAPECUSTOMDOCSTRING) ShapeCustom @@ -86,7 +86,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -940,7 +940,7 @@ Tol: float /****************** NewCurve2d ******************/ /**** md5 signature: ea858177828b71b789a2564d89f64210 ****/ %feature("compactdefaultargs") NewCurve2d; - %feature("autodoc", "Returns standard_true if the edge has a new curve on surface on the face .in this case, is the new geometric support of the edge, the new location, the new tolerance. //! otherwise, returns standard_false, and , , are not significant. //! is the new edge created from . is the new face created from . they may be usefull. + %feature("autodoc", "Returns standard_true if the edge has a new curve on surface on the face .in this case, is the new geometric support of the edge, the new location, the new tolerance. //! otherwise, returns standard_false, and , , are not significant. //! is the new edge created from . is the new face created from . they may be useful. Parameters ---------- @@ -1011,7 +1011,7 @@ RevFace: bool /****************** SetExtrusionMode ******************/ /**** md5 signature: 169e481cbec21216a690aea07c39e8bf ****/ %feature("compactdefaultargs") SetExtrusionMode; - %feature("autodoc", "Sets mode for convertion of surfaces of linear extrusion. + %feature("autodoc", "Sets mode for conversion of surfaces of linear extrusion. Parameters ---------- @@ -1026,7 +1026,7 @@ None /****************** SetOffsetMode ******************/ /**** md5 signature: 95ca203f203423b410d33a2b819a45cb ****/ %feature("compactdefaultargs") SetOffsetMode; - %feature("autodoc", "Sets mode for convertion of offset surfaces. + %feature("autodoc", "Sets mode for conversion of offset surfaces. Parameters ---------- @@ -1041,7 +1041,7 @@ None /****************** SetPlaneMode ******************/ /**** md5 signature: 76c90747b069acf4539a86c302869898 ****/ %feature("compactdefaultargs") SetPlaneMode; - %feature("autodoc", "Sets mode for convertion of plane surfaces. + %feature("autodoc", "Sets mode for conversion of plane surfaces. Parameters ---------- @@ -1056,7 +1056,7 @@ None /****************** SetRevolutionMode ******************/ /**** md5 signature: e7948e94ae621e0951e54d40c4147525 ****/ %feature("compactdefaultargs") SetRevolutionMode; - %feature("autodoc", "Sets mode for convertion of surfaces of revolution. + %feature("autodoc", "Sets mode for conversion of surfaces of revolution. Parameters ---------- @@ -1138,7 +1138,7 @@ Tol: float /****************** NewCurve2d ******************/ /**** md5 signature: ea858177828b71b789a2564d89f64210 ****/ %feature("compactdefaultargs") NewCurve2d; - %feature("autodoc", "Returns standard_true if the edge has a new curve on surface on the face .in this case, is the new geometric support of the edge, the new location, the new tolerance. //! otherwise, returns standard_false, and , , are not significant. //! is the new edge created from . is the new face created from . they may be usefull. + %feature("autodoc", "Returns standard_true if the edge has a new curve on surface on the face .in this case, is the new geometric support of the edge, the new location, the new tolerance. //! otherwise, returns standard_false, and , , are not significant. //! is the new edge created from . is the new face created from . they may be useful. Parameters ---------- diff --git a/src/SWIG_files/wrapper/ShapeExtend.i b/src/SWIG_files/wrapper/ShapeExtend.i index b95253ec0..9a01408ff 100644 --- a/src/SWIG_files/wrapper/ShapeExtend.i +++ b/src/SWIG_files/wrapper/ShapeExtend.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define SHAPEEXTENDDOCSTRING "ShapeExtend module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_shapeextend.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_shapeextend.html" %enddef %module (package="OCC.Core", docstring=SHAPEEXTENDDOCSTRING) ShapeExtend @@ -110,7 +110,7 @@ enum ShapeExtend_Parametrisation { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class ShapeExtend_Status(IntEnum): @@ -1789,7 +1789,7 @@ None /****************** Init ******************/ /**** md5 signature: a9e5faa7293c857497a7c93fe76d0f12 ****/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Loads an already existing wire if is true (default), edges are added in the sequence as they are explored by topods_iterator else, if is false, wire is explored by breptools_wireexplorer and it is guaranteed that edges will be sequencially connected. remark : in the latter case it can happen that not all edges will be found (because of limitations of breptools_wireexplorer for disconnected wires and wires with seam edges). + %feature("autodoc", "Loads an already existing wire if is true (default), edges are added in the sequence as they are explored by topods_iterator else, if is false, wire is explored by breptools_wireexplorer and it is guaranteed that edges will be sequentially connected. remark : in the latter case it can happen that not all edges will be found (because of limitations of breptools_wireexplorer for disconnected wires and wires with seam edges). Parameters ---------- diff --git a/src/SWIG_files/wrapper/ShapeFix.i b/src/SWIG_files/wrapper/ShapeFix.i index 3d7fbec55..1b4b8852e 100644 --- a/src/SWIG_files/wrapper/ShapeFix.i +++ b/src/SWIG_files/wrapper/ShapeFix.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define SHAPEFIXDOCSTRING "ShapeFix module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_shapefix.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_shapefix.html" %enddef %module (package="OCC.Core", docstring=SHAPEFIXDOCSTRING) ShapeFix @@ -92,7 +92,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -1741,7 +1741,7 @@ None /****************** SplitEdges ******************/ /**** md5 signature: 331bb3c5f5af91cdf07f7ad382ac1f69 ****/ %feature("compactdefaultargs") SplitEdges; - %feature("autodoc", "Splits edges in the original shape by grid. this is a part of perform() which does not produce any resulting shape; the only result is filled context where splittings are recorded. //! note: if edge is splitted, it is replaced by wire, and order of edges in the wire corresponds to forward orientation of the edge. + %feature("autodoc", "Splits edges in the original shape by grid. this is a part of perform() which does not produce any resulting shape; the only result is filled context where splittings are recorded. //! note: if edge is split, it is replaced by wire, and order of edges in the wire corresponds to forward orientation of the edge. Returns ------- @@ -1907,7 +1907,7 @@ bool /****************** FixLoopWire ******************/ /**** md5 signature: f97141bba35ff4c3a243e9711fbe3754 ****/ %feature("compactdefaultargs") FixLoopWire; - %feature("autodoc", "Detects if wire has a loop and fixes this situation by splitting on the few parts. if wire has a loops and it was splitted status was set to value shapeextend_done6. + %feature("autodoc", "Detects if wire has a loop and fixes this situation by splitting on the few parts. if wire has a loops and it was split status was set to value shapeextend_done6. Parameters ---------- @@ -2188,7 +2188,7 @@ bool /****************** Result ******************/ /**** md5 signature: e7d296a4a4a5995509cb67e3ee28f5dc ****/ %feature("compactdefaultargs") Result; - %feature("autodoc", "Returns resulting shape (face or shell if splitted) to be used instead of face() if fixmissingseam involved. + %feature("autodoc", "Returns resulting shape (face or shell if split) to be used instead of face() if fixmissingseam involved. Returns ------- @@ -2997,7 +2997,7 @@ TopoDS_Compound /****************** FixFaceOrientation ******************/ /**** md5 signature: ff34d366ae4848ab5f8277e68d81b0db ****/ %feature("compactdefaultargs") FixFaceOrientation; - %feature("autodoc", "Fixes orientation of faces in shell. changes orientation of face in the shell, if it is oriented opposite to neigbouring faces. if it is not possible to orient all faces in the shell (like in case of mebious band), this method orients only subset of faces. other faces are stored in error compound. modes : isaccountmulticonex - mode for account cases of multiconnexity. if this mode is equal to standard_true, separate shells will be created in the cases of multiconnexity. if this mode is equal to standard_false, one shell will be created without account of multiconnexity.by defautt - standard_true; nonmanifold - mode for creation of non-manifold shells. if this mode is equal to standard_true one non-manifold will be created from shell contains multishared edges. else if this mode is equal to standard_false only manifold shells will be created. by default - standard_false. + %feature("autodoc", "Fixes orientation of faces in shell. changes orientation of face in the shell, if it is oriented opposite to neighbouring faces. if it is not possible to orient all faces in the shell (like in case of mebious band), this method orients only subset of faces. other faces are stored in error compound. modes : isaccountmulticonex - mode for account cases of multiconnexity. if this mode is equal to standard_true, separate shells will be created in the cases of multiconnexity. if this mode is equal to standard_false, one shell will be created without account of multiconnexity.by defautt - standard_true; nonmanifold - mode for creation of non-manifold shells. if this mode is equal to standard_true one non-manifold will be created from shell contains multishared edges. else if this mode is equal to standard_false only manifold shells will be created. by default - standard_false. Parameters ---------- @@ -3652,7 +3652,7 @@ bool /****************** FixConnected ******************/ /**** md5 signature: 7d709d2fdd3a7b3c1d87cdd42f7e46a7 ****/ %feature("compactdefaultargs") FixConnected; - %feature("autodoc", "Fixes connected edges (preceeding and current) forces vertices (end of preceeding-begin of current) to be the same one tests with starting preci or, if given greater, if is -1 then maxtolerance() is taken. + %feature("autodoc", "Fixes connected edges (preceding and current) forces vertices (end of preceding-begin of current) to be the same one tests with starting preci or, if given greater, if is -1 then maxtolerance() is taken. Parameters ---------- @@ -4143,7 +4143,7 @@ int /****************** FixSmall ******************/ /**** md5 signature: 58abaa56305b1fe5b2efde18d1cf22ad ****/ %feature("compactdefaultargs") FixSmall; - %feature("autodoc", "Fixes null length edge to be removed if an edge has null length (regarding preci, or - what is smaller), it should be removed it can be with no problem if its two vertices are the same else, if lockvtx is false, it is removed and its end vertex is put on the preceeding edge but if lockvtx is true, this edge must be kept ... + %feature("autodoc", "Fixes null length edge to be removed if an edge has null length (regarding preci, or - what is smaller), it should be removed it can be with no problem if its two vertices are the same else, if lockvtx is false, it is removed and its end vertex is put on the preceding edge but if lockvtx is true, this edge must be kept ... Parameters ---------- @@ -4609,7 +4609,7 @@ bool /****************** StatusRemovedSegment ******************/ /**** md5 signature: 70675d4f6f1fd8791c8e40f92a56e97e ****/ %feature("compactdefaultargs") StatusRemovedSegment; - %feature("autodoc", "Querying the status of perfomed api fixing procedures each status..() methods gives information about the last call to the corresponding fix..() method of api level: ok : no problems detected; nothing done done: some problem(s) was(were) detected and successfully fixed fail: some problem(s) cannot be fixed. + %feature("autodoc", "Querying the status of performed api fixing procedures each status..() methods gives information about the last call to the corresponding fix..() method of api level: ok : no problems detected; nothing done done: some problem(s) was(were) detected and successfully fixed fail: some problem(s) cannot be fixed. Returns ------- diff --git a/src/SWIG_files/wrapper/ShapeProcess.i b/src/SWIG_files/wrapper/ShapeProcess.i index 0fafdfc69..4addb49cc 100644 --- a/src/SWIG_files/wrapper/ShapeProcess.i +++ b/src/SWIG_files/wrapper/ShapeProcess.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define SHAPEPROCESSDOCSTRING "ShapeProcess module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_shapeprocess.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_shapeprocess.html" %enddef %module (package="OCC.Core", docstring=SHAPEPROCESSDOCSTRING) ShapeProcess @@ -88,7 +88,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -485,7 +485,7 @@ class ShapeProcess_OperLibrary { /****************** ApplyModifier ******************/ /**** md5 signature: b322162cc954d340e91de4550fc0742f ****/ %feature("compactdefaultargs") ApplyModifier; - %feature("autodoc", "Applies breptools_modification to a shape, taking into account sharing of components of compounds. if themutableinput vat is set to true then imput shape s can be modified during the modification process. + %feature("autodoc", "Applies breptools_modification to a shape, taking into account sharing of components of compounds. if themutableinput vat is set to true then input shape s can be modified during the modification process. Parameters ---------- diff --git a/src/SWIG_files/wrapper/ShapeProcessAPI.i b/src/SWIG_files/wrapper/ShapeProcessAPI.i index 67c209ade..fc3ec043d 100644 --- a/src/SWIG_files/wrapper/ShapeProcessAPI.i +++ b/src/SWIG_files/wrapper/ShapeProcessAPI.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define SHAPEPROCESSAPIDOCSTRING "ShapeProcessAPI module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_shapeprocessapi.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_shapeprocessapi.html" %enddef %module (package="OCC.Core", docstring=SHAPEPROCESSAPIDOCSTRING) ShapeProcessAPI @@ -82,7 +82,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/ShapeUpgrade.i b/src/SWIG_files/wrapper/ShapeUpgrade.i index 7bdd91406..e1b959fcb 100644 --- a/src/SWIG_files/wrapper/ShapeUpgrade.i +++ b/src/SWIG_files/wrapper/ShapeUpgrade.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define SHAPEUPGRADEDOCSTRING "ShapeUpgrade module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_shapeupgrade.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_shapeupgrade.html" %enddef %module (package="OCC.Core", docstring=SHAPEUPGRADEDOCSTRING) ShapeUpgrade @@ -105,7 +105,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -168,7 +168,7 @@ bool /****************** C0BSplineToSequenceOfC1BSplineCurve ******************/ /**** md5 signature: b2f124ea9a65afe841263d044caf576a ****/ %feature("compactdefaultargs") C0BSplineToSequenceOfC1BSplineCurve; - %feature("autodoc", "Converts c0 b-spline curve into sequence of c1 b-spline curves. this method splits b-spline at the knots with multiplicities equal to degree, i.e. unlike method geomconvert::c0bsplinetoarrayofc1bsplinecurve this one does not use any tolerance and therefore does not change the geometry of b-spline. returns true if c0 b-spline was successfully splitted, else returns false (if bs is c1 b-spline). + %feature("autodoc", "Converts c0 b-spline curve into sequence of c1 b-spline curves. this method splits b-spline at the knots with multiplicities equal to degree, i.e. unlike method geomconvert::c0bsplinetoarrayofc1bsplinecurve this one does not use any tolerance and therefore does not change the geometry of b-spline. returns true if c0 b-spline was successfully split, else returns false (if bs is c1 b-spline). Parameters ---------- @@ -198,7 +198,7 @@ class ShapeUpgrade_RemoveLocations : public Standard_Transient { /****************** ShapeUpgrade_RemoveLocations ******************/ /**** md5 signature: 54dac0aa6aad1fe2656b7d5ae1b4515b ****/ %feature("compactdefaultargs") ShapeUpgrade_RemoveLocations; - %feature("autodoc", "Empy constructor. + %feature("autodoc", "Empty constructor. Returns ------- @@ -209,7 +209,7 @@ None /****************** GetResult ******************/ /**** md5 signature: 61ceaea87a267f8cb3587a019bfaa140 ****/ %feature("compactdefaultargs") GetResult; - %feature("autodoc", "Returns shape with removed locatins. + %feature("autodoc", "Returns shape with removed locations. Returns ------- @@ -520,7 +520,7 @@ None /****************** Status ******************/ /**** md5 signature: 1d6b7ae9195134a3f7a36f14c85fbd58 ****/ %feature("compactdefaultargs") Status; - %feature("autodoc", "Queries the status of last call to perform ok : no splitting was done (or no call to perform) done1: some edges were splitted done2: surface was splitted fail1: some errors occured. + %feature("autodoc", "Queries the status of last call to perform ok : no splitting was done (or no call to perform) done1: some edges were split done2: surface was split fail1: some errors occurred. Parameters ---------- @@ -1260,9 +1260,6 @@ TopoDS_Shape } }; -/*************************** -* class SubSequenceOfEdges * -***************************/ /************************************************* * class ShapeUpgrade_ConvertSurfaceToBezierBasis * *************************************************/ @@ -1759,7 +1756,7 @@ bool /****************** Status ******************/ /**** md5 signature: 1d6b7ae9195134a3f7a36f14c85fbd58 ****/ %feature("compactdefaultargs") Status; - %feature("autodoc", "Queries the status of last call to perform ok : no splitting was done (or no call to perform) done1: some edges were splitted done2: surface was splitted done3: surface was modified without splitting fail1: some fails encountered during splitting wires fail2: face cannot be splitted. + %feature("autodoc", "Queries the status of last call to perform ok : no splitting was done (or no call to perform) done1: some edges were split done2: surface was split done3: surface was modified without splitting fail1: some fails encountered during splitting wires fail2: face cannot be split. Parameters ---------- @@ -3337,7 +3334,7 @@ None /****************** Status ******************/ /**** md5 signature: 1d6b7ae9195134a3f7a36f14c85fbd58 ****/ %feature("compactdefaultargs") Status; - %feature("autodoc", "Queries status of last call to perform() ok - no edges were splitted, wire left untouched done1 - some edges were splitted fail1 - some edges have no 3d curve (skipped) fail2 - some edges have no pcurve (skipped). + %feature("autodoc", "Queries status of last call to perform() ok - no edges were split, wire left untouched done1 - some edges were split fail1 - some edges have no 3d curve (skipped) fail2 - some edges have no pcurve (skipped). Parameters ---------- @@ -3458,7 +3455,7 @@ int /****************** SetNbSplitPoints ******************/ /**** md5 signature: 03dde7b4fa7d112ab39d0955ccf1da2e ****/ %feature("compactdefaultargs") SetNbSplitPoints; - %feature("autodoc", "Sets the number of cutting lines by which closed face will be splitted. the resulting faces will be num+1. + %feature("autodoc", "Sets the number of cutting lines by which closed face will be split. the resulting faces will be num+1. Parameters ---------- @@ -3537,7 +3534,7 @@ None /****************** SplitParams ******************/ /**** md5 signature: 58b035673d8a2196e251a31275012623 ****/ %feature("compactdefaultargs") SplitParams; - %feature("autodoc", "Returns the list of splitted parameters in original curve parametrisation. + %feature("autodoc", "Returns the list of split parameters in original curve parametrisation. Returns ------- @@ -3679,7 +3676,7 @@ None /****************** SplitParams ******************/ /**** md5 signature: 58b035673d8a2196e251a31275012623 ****/ %feature("compactdefaultargs") SplitParams; - %feature("autodoc", "Returns the list of splitted parameters in original curve parametrisation. + %feature("autodoc", "Returns the list of split parameters in original curve parametrisation. Returns ------- diff --git a/src/SWIG_files/wrapper/Standard.i b/src/SWIG_files/wrapper/Standard.i index 64ce8dcaa..ede18106f 100644 --- a/src/SWIG_files/wrapper/Standard.i +++ b/src/SWIG_files/wrapper/Standard.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STANDARDDOCSTRING "Standard module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_standard.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_standard.html" %enddef %module (package="OCC.Core", docstring=STANDARDDOCSTRING) Standard @@ -40,11 +40,13 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_standard.html" #include //Dependencies +#include #include #include #include #include %}; +%import NCollection.i %pythoncode { from enum import IntEnum @@ -60,7 +62,7 @@ enum Standard_HandlerStatus { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Standard_HandlerStatus(IntEnum): @@ -93,6 +95,7 @@ typedef char Standard_Character; typedef Standard_ErrorHandler::Callback Standard_ErrorHandlerCallback; typedef char16_t Standard_ExtCharacter; typedef const Standard_ExtCharacter * Standard_ExtString; +typedef NCollection_Shared Standard_HMutex; typedef std::istream Standard_IStream; typedef int Standard_Integer; typedef std::ostream Standard_OStream; @@ -189,6 +192,27 @@ Standard_Address ") Reallocate; static Standard_Address Reallocate(const Standard_Address aStorage, const Standard_Size aNewSize); + /****************** StackTrace ******************/ + /**** md5 signature: 11cdd0e88a61817ce1133c83a30be60d ****/ + %feature("compactdefaultargs") StackTrace; + %feature("autodoc", "Appends backtrace to a message buffer. stack information might be incomplete in case of stripped binaries. implementation details: - not implemented for android, ios, qnx and uwp platforms. - on non-windows platform, this function is a wrapper to backtrace() system call. - on windows (win32) platform, the function loads dbghelp.dll dynamically, and no stack will be provided if this or companion libraries (symsrv.dll, srcsrv.dll, etc.) will not be found; .pdb symbols should be provided on windows platform to retrieve a meaningful stack; only x86_64 cpu architecture is currently implemented. @param thebuffer [in] [out] message buffer to extend @param thebuffersize [in] message buffer size @param thenbtraces [in] maximum number of stack traces @param thecontext [in] optional platform-dependent frame context; in case of dbghelp (windows) should be a pointer to context @param thenbtopskip [in] number of traces on top of the stack to skip returns true on success. + +Parameters +---------- +theBuffer: char * +theBufferSize: int +theNbTraces: int +theContext: void *,optional + default value is NULL +theNbTopSkip: int,optional + default value is 0 + +Returns +------- +bool +") StackTrace; + static Standard_Boolean StackTrace(char * theBuffer, const int theBufferSize, const int theNbTraces, void * theContext = NULL, const int theNbTopSkip = 0); + }; @@ -214,7 +238,7 @@ class Standard_ArrayStreamBuffer : public std::streambuf { /****************** Standard_ArrayStreamBuffer ******************/ /**** md5 signature: 72e8fa1633999e17c4113d48c2d43739 ****/ %feature("compactdefaultargs") Standard_ArrayStreamBuffer; - %feature("autodoc", "Main constructor. passed pointer is stored as is (memory is not copied nor released with destructor). @param thebegin pointer to the beggining of pre-allocated buffer @param thesize length of pre-allocated buffer. + %feature("autodoc", "Main constructor. passed pointer is stored as is (memory is not copied nor released with destructor). @param thebegin pointer to the beginning of pre-allocated buffer @param thesize length of pre-allocated buffer. Parameters ---------- @@ -230,7 +254,7 @@ None /****************** Init ******************/ /**** md5 signature: d18d18891aa5348c727148263a9628cb ****/ %feature("compactdefaultargs") Init; - %feature("autodoc", "(re)-initialize the stream. passed pointer is stored as is (memory is not copied nor released with destructor). @param thebegin pointer to the beggining of pre-allocated buffer @param thesize length of pre-allocated buffer. + %feature("autodoc", "(re)-initialize the stream. passed pointer is stored as is (memory is not copied nor released with destructor). @param thebegin pointer to the beginning of pre-allocated buffer @param thesize length of pre-allocated buffer. Parameters ---------- @@ -1134,6 +1158,7 @@ char * *************************/ class Standard_Failure : public Standard_Transient { public: + class StringRef {}; /****************** Standard_Failure ******************/ /**** md5 signature: 28eca828ed422c117208722fa40f1b8f ****/ %feature("compactdefaultargs") Standard_Failure; @@ -1161,30 +1186,46 @@ None Standard_Failure(const Standard_Failure & f); /****************** Standard_Failure ******************/ - /**** md5 signature: 1ca069088790633532f3fc20a7e3084c ****/ + /**** md5 signature: bfea0bc1601bd488834fb05fabb35682 ****/ %feature("compactdefaultargs") Standard_Failure; - %feature("autodoc", "Creates a status object of type 'failure'. + %feature("autodoc", "Creates a status object of type 'failure'. @param thedesc [in] exception description. Parameters ---------- -aString: char * +theDesc: char * Returns ------- None ") Standard_Failure; - Standard_Failure(const char * aString); + Standard_Failure(const char * theDesc); - /****************** Caught ******************/ - /**** md5 signature: e487ba4f8c916a476ce53b88d6e749b0 ****/ - %feature("compactdefaultargs") Caught; - %feature("autodoc", "Returns the last caught exception. needed when exceptions are emulated by c longjumps, in other cases is also provided for compatibility. + /****************** Standard_Failure ******************/ + /**** md5 signature: 598ccf8efeea31d62c1978fafbb81e3d ****/ + %feature("compactdefaultargs") Standard_Failure; + %feature("autodoc", "Creates a status object of type 'failure' with stack trace. @param thedesc [in] exception description @param thestacktrace [in] associated stack trace. + +Parameters +---------- +theDesc: char * +theStackTrace: char * Returns ------- -opencascade::handle -") Caught; - static opencascade::handle Caught(); +None +") Standard_Failure; + Standard_Failure(const char * theDesc, const char * theStackTrace); + + /****************** DefaultStackTraceLength ******************/ + /**** md5 signature: 12c493f7dd93e3779bfe7abdb3051a3b ****/ + %feature("compactdefaultargs") DefaultStackTraceLength; + %feature("autodoc", "Returns the default length of stack trace to be captured by standard_failure constructor; 0 by default meaning no stack trace. + +Returns +------- +int +") DefaultStackTraceLength; + static Standard_Integer DefaultStackTraceLength(); /****************** GetMessageString ******************/ /**** md5 signature: 6cf28bba781d197207e850c1ab1a1376 ****/ @@ -1197,6 +1238,17 @@ char * ") GetMessageString; virtual const char * GetMessageString(); + /****************** GetStackString ******************/ + /**** md5 signature: 5581b971f0facf6f7621539967764486 ****/ + %feature("compactdefaultargs") GetStackString; + %feature("autodoc", "Returns the stack trace string. + +Returns +------- +char * +") GetStackString; + virtual const char * GetStackString(); + /****************** Jump ******************/ /**** md5 signature: e33ef5a1dbf8b90ad71d2447437ae607 ****/ %feature("compactdefaultargs") Jump; @@ -1209,19 +1261,35 @@ None void Jump(); /****************** NewInstance ******************/ - /**** md5 signature: 9286e9615414b307ea2d1b0cb0dc3aa6 ****/ + /**** md5 signature: 8aca08fb5837ba2ac4dd2d68b9488c2c ****/ %feature("compactdefaultargs") NewInstance; - %feature("autodoc", "Used to construct an instance of the exception object as a handle. shall be used to protect against possible construction of exception object in c stack -- that is dangerous since some of methods require that object was allocated dynamically. + %feature("autodoc", "Used to construct an instance of the exception object as a handle. shall be used to protect against possible construction of exception object in c stack, which is dangerous since some of methods require that object was allocated dynamically. Parameters ---------- -aMessage: char * +theMessage: char * Returns ------- opencascade::handle ") NewInstance; - static opencascade::handle NewInstance(const char * aMessage); + static opencascade::handle NewInstance(const char * theMessage); + + /****************** NewInstance ******************/ + /**** md5 signature: 47f811a9539bde6aaf8c4a9a851c69f7 ****/ + %feature("compactdefaultargs") NewInstance; + %feature("autodoc", "Used to construct an instance of the exception object as a handle. + +Parameters +---------- +theMessage: char * +theStackTrace: char * + +Returns +------- +opencascade::handle +") NewInstance; + static opencascade::handle NewInstance(const char * theMessage, const char * theStackTrace); %feature("autodoc", "1"); @@ -1303,20 +1371,50 @@ None ") Reraise; void Reraise(const Standard_SStream & aReason); + /****************** SetDefaultStackTraceLength ******************/ + /**** md5 signature: 0a05375e4fbc3fd48e63e470f065603f ****/ + %feature("compactdefaultargs") SetDefaultStackTraceLength; + %feature("autodoc", "Sets default length of stack trace to be captured by standard_failure constructor. + +Parameters +---------- +theNbStackTraces: int + +Returns +------- +None +") SetDefaultStackTraceLength; + static void SetDefaultStackTraceLength(Standard_Integer theNbStackTraces); + /****************** SetMessageString ******************/ - /**** md5 signature: e114353f153670bda6bb3ce3aa4b0258 ****/ + /**** md5 signature: b83b6b6b9d7cb98cd6a3d0dfaa1a4c66 ****/ %feature("compactdefaultargs") SetMessageString; %feature("autodoc", "Sets error message. Parameters ---------- -aMessage: char * +theMessage: char * Returns ------- None ") SetMessageString; - virtual void SetMessageString(const char * aMessage); + virtual void SetMessageString(const char * theMessage); + + /****************** SetStackString ******************/ + /**** md5 signature: 0ac982cf92368c8ff9d3ab7dc330defa ****/ + %feature("compactdefaultargs") SetStackString; + %feature("autodoc", "Sets the stack trace string. + +Parameters +---------- +theStack: char * + +Returns +------- +None +") SetStackString; + virtual void SetStackString(const char * theStack); }; @@ -1620,7 +1718,7 @@ char * const char * GetMessageString(); /****************** NewInstance ******************/ - /**** md5 signature: e32a31c27ebaac0a085850d6c769c71e ****/ + /**** md5 signature: c920a2e02bad464ffbe4c7662f3298ea ****/ %feature("compactdefaultargs") NewInstance; %feature("autodoc", "Returns global instance of exception. @@ -1635,6 +1733,22 @@ opencascade::handle ") NewInstance; static opencascade::handle NewInstance(const char * theMessage = ""); + /****************** NewInstance ******************/ + /**** md5 signature: 6c918de0ecdc1c640cd677eed73b0564 ****/ + %feature("compactdefaultargs") NewInstance; + %feature("autodoc", "Returns global instance of exception. + +Parameters +---------- +theMessage: char * +theStackTrace: char * + +Returns +------- +opencascade::handle +") NewInstance; + static opencascade::handle NewInstance(const char * theMessage, const char * theStackTrace); + /****************** Raise ******************/ /**** md5 signature: 52297b82d875f5f61f56970e75bf80a5 ****/ %feature("compactdefaultargs") Raise; diff --git a/src/SWIG_files/wrapper/Standard.pyi b/src/SWIG_files/wrapper/Standard.pyi index 35f72d339..70310f659 100644 --- a/src/SWIG_files/wrapper/Standard.pyi +++ b/src/SWIG_files/wrapper/Standard.pyi @@ -1,6 +1,7 @@ from enum import IntEnum from typing import overload, NewType, Optional, Tuple +from OCC.Core.NCollection import * Standard_Address = NewType('Standard_Address', None) Standard_Boolean = NewType('Standard_Boolean', bool) @@ -12,6 +13,8 @@ Standard_ErrorHandlerCallback = NewType('Standard_ErrorHandlerCallback', Any) Standard_ExtCharacter = NewType('Standard_ExtCharacter', str) Standard_ExtString = NewType('Standard_ExtString', str) #the following typedef cannot be wrapped as is +Standard_HMutex = NewType('Standard_HMutex', Any) +#the following typedef cannot be wrapped as is Standard_IStream = NewType('Standard_IStream', Any) Standard_Integer = NewType('Standard_Integer', int) #the following typedef cannot be wrapped as is @@ -61,13 +64,16 @@ class standard: def Purge() -> int: ... @staticmethod def Reallocate(aStorage: None, aNewSize: int) -> None: ... + @staticmethod + def StackTrace(theBuffer: str, theBufferSize: int, theNbTraces: int, theContext: Optional[None] = None, theNbTopSkip: Optional[int] = 0) -> bool: ... class Standard_ArrayStreamBuffer(): pass class Standard_Condition: - def Check(self) -> False: ... - def CheckReset(self) -> False: ... + def __init__(self, theIsSet: bool) -> None: ... + def Check(self) -> bool: ... + def CheckReset(self) -> bool: ... def Reset(self) -> None: ... def Set(self) -> None: ... @overload @@ -152,13 +158,20 @@ class Standard_Failure(Standard_Transient): @overload def __init__(self, f: Standard_Failure) -> None: ... @overload - def __init__(self, aString: str) -> None: ... + def __init__(self, theDesc: str) -> None: ... + @overload + def __init__(self, theDesc: str, theStackTrace: str) -> None: ... @staticmethod - def Caught() -> Standard_Failure: ... + def DefaultStackTraceLength() -> int: ... def GetMessageString(self) -> str: ... + def GetStackString(self) -> str: ... def Jump(self) -> None: ... + @overload @staticmethod - def NewInstance(aMessage: str) -> Standard_Failure: ... + def NewInstance(theMessage: str) -> Standard_Failure: ... + @overload + @staticmethod + def NewInstance(theMessage: str, theStackTrace: str) -> Standard_Failure: ... @overload @staticmethod def Raise(aMessage: Optional[str] = "") -> None: ... @@ -171,7 +184,10 @@ class Standard_Failure(Standard_Transient): def Reraise(self, aMessage: str) -> None: ... @overload def Reraise(self, aReason: Standard_SStream) -> None: ... - def SetMessageString(self, aMessage: str) -> None: ... + @staticmethod + def SetDefaultStackTraceLength(theNbStackTraces: int) -> None: ... + def SetMessageString(self, theMessage: str) -> None: ... + def SetStackString(self, theStack: str) -> None: ... class Standard_MMgrOpt(Standard_MMgrRoot): def __init__(self, aClear: Optional[bool] = True, aMMap: Optional[bool] = True, aCellSize: Optional[int] = 200, aNbPages: Optional[int] = 10000, aThreshold: Optional[int] = 40000) -> None: ... @@ -195,10 +211,14 @@ class Standard_MMgrTBBalloc(Standard_MMgrRoot): class Standard_OutOfMemory(Standard_ProgramError): def __init__(self, theMessage: Optional[str] = 0) -> None: ... def GetMessageString(self) -> str: ... + @overload @staticmethod def NewInstance(theMessage: Optional[str] = "") -> Standard_OutOfMemory: ... @overload @staticmethod + def NewInstance(theMessage: str, theStackTrace: str) -> Standard_OutOfMemory: ... + @overload + @staticmethod def Raise(theMessage: Optional[str] = "") -> None: ... @overload @staticmethod @@ -251,6 +271,7 @@ standard_Allocate = standard.Allocate standard_AllocateAligned = standard.AllocateAligned standard_Purge = standard.Purge standard_Reallocate = standard.Reallocate +standard_StackTrace = standard.StackTrace Standard_ErrorHandler_IsInTryBlock = Standard_ErrorHandler.IsInTryBlock Standard_ErrorHandler_LastCaughtError = Standard_ErrorHandler.LastCaughtError Standard_GUID_CheckGUIDFormat = Standard_GUID.CheckGUIDFormat @@ -258,10 +279,13 @@ Standard_GUID_HashCode = Standard_GUID.HashCode Standard_GUID_IsEqual = Standard_GUID.IsEqual Standard_Transient_get_type_descriptor = Standard_Transient.get_type_descriptor Standard_Transient_get_type_name = Standard_Transient.get_type_name -Standard_Failure_Caught = Standard_Failure.Caught +Standard_Failure_DefaultStackTraceLength = Standard_Failure.DefaultStackTraceLength +Standard_Failure_NewInstance = Standard_Failure.NewInstance Standard_Failure_NewInstance = Standard_Failure.NewInstance Standard_Failure_Raise = Standard_Failure.Raise Standard_Failure_Raise = Standard_Failure.Raise +Standard_Failure_SetDefaultStackTraceLength = Standard_Failure.SetDefaultStackTraceLength +Standard_OutOfMemory_NewInstance = Standard_OutOfMemory.NewInstance Standard_OutOfMemory_NewInstance = Standard_OutOfMemory.NewInstance Standard_OutOfMemory_Raise = Standard_OutOfMemory.Raise Standard_OutOfMemory_Raise = Standard_OutOfMemory.Raise diff --git a/src/SWIG_files/wrapper/StdFail.i b/src/SWIG_files/wrapper/StdFail.i index 117761d8d..08e60bba3 100644 --- a/src/SWIG_files/wrapper/StdFail.i +++ b/src/SWIG_files/wrapper/StdFail.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STDFAILDOCSTRING "StdFail module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stdfail.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stdfail.html" %enddef %module (package="OCC.Core", docstring=STDFAILDOCSTRING) StdFail @@ -58,7 +58,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/StdPrs.i b/src/SWIG_files/wrapper/StdPrs.i index ecc5dbc1b..3e17e175a 100644 --- a/src/SWIG_files/wrapper/StdPrs.i +++ b/src/SWIG_files/wrapper/StdPrs.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STDPRSDOCSTRING "StdPrs module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stdprs.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stdprs.html" %enddef %module (package="OCC.Core", docstring=STDPRSDOCSTRING) StdPrs @@ -117,7 +117,7 @@ enum StdPrs_Volume { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class StdPrs_Volume(IntEnum): @@ -982,14 +982,14 @@ None static void AddOnSurface(const TopoDS_Face & theFace, const opencascade::handle & theDrawer, const Standard_Real theDeflection, Prs3d_NListOfSequenceOfPnt & theUPolylines, Prs3d_NListOfSequenceOfPnt & theVPolylines); /****************** AddOnSurface ******************/ - /**** md5 signature: 2a39018c9ad850bc04d4002ce676b267 ****/ + /**** md5 signature: df3d10afd0ae22442b9d52062f1fc4a4 ****/ %feature("compactdefaultargs") AddOnSurface; %feature("autodoc", "Computes isolines on surface and adds them to presentation. @param thepresentation [in] the presentation. @param thesurface [in] the surface. @param thedrawer [in] the display settings. @param thedeflection [in] the deflection value. @param theuisoparams [in] the parameters of u isolines to compute. @param thevisoparams [in] the parameters of v isolines to compute. Parameters ---------- thePresentation: Prs3d_Presentation -theSurface: BRepAdaptor_HSurface +theSurface: BRepAdaptor_Surface theDrawer: Prs3d_Drawer theDeflection: float theUIsoParams: TColStd_SequenceOfReal @@ -999,7 +999,7 @@ Returns ------- None ") AddOnSurface; - static void AddOnSurface(const opencascade::handle & thePresentation, const opencascade::handle & theSurface, const opencascade::handle & theDrawer, const Standard_Real theDeflection, const TColStd_SequenceOfReal & theUIsoParams, const TColStd_SequenceOfReal & theVIsoParams); + static void AddOnSurface(const opencascade::handle & thePresentation, const opencascade::handle & theSurface, const opencascade::handle & theDrawer, const Standard_Real theDeflection, const TColStd_SequenceOfReal & theUIsoParams, const TColStd_SequenceOfReal & theVIsoParams); /****************** AddOnTriangulation ******************/ /**** md5 signature: edc7640cc9248e14e63a44d5f239dbf2 ****/ @@ -1060,7 +1060,7 @@ None /****************** UVIsoParameters ******************/ /**** md5 signature: 624d137e5f58c70fc47c9a4a74925873 ****/ %feature("compactdefaultargs") UVIsoParameters; - %feature("autodoc", "Evalute sequence of parameters for drawing uv isolines for a given face. @param theface [in] the face. @param thenbisou [in] the number of u isolines. @param thenbisov [in] the number of v isolines. @param theuvlimit [in] the u, v parameter value limit. @param theuisoparams [out] the sequence of u isoline parameters. @param thevisoparams [out] the sequence of v isoline parameters. @param theumin [out] the lower u boundary of theface. @param theumax [out] the upper u boundary of theface. @param thevmin [out] the lower v boundary of theface. @param thevmax [out] the upper v boundary of theface. + %feature("autodoc", "Evaluate sequence of parameters for drawing uv isolines for a given face. @param theface [in] the face. @param thenbisou [in] the number of u isolines. @param thenbisov [in] the number of v isolines. @param theuvlimit [in] the u, v parameter value limit. @param theuisoparams [out] the sequence of u isoline parameters. @param thevisoparams [out] the sequence of v isoline parameters. @param theumin [out] the lower u boundary of theface. @param theumax [out] the upper u boundary of theface. @param thevmin [out] the lower v boundary of theface. @param thevmax [out] the upper v boundary of theface. Parameters ---------- @@ -1752,19 +1752,19 @@ None StdPrs_ToolRFace(); /****************** StdPrs_ToolRFace ******************/ - /**** md5 signature: 983555aabecb3bc77e3e28a1ffd5c0a3 ****/ + /**** md5 signature: e7bc0fa23547e41ba692892564fc2893 ****/ %feature("compactdefaultargs") StdPrs_ToolRFace; %feature("autodoc", "Constructor with initialization. Parameters ---------- -aSurface: BRepAdaptor_HSurface +aSurface: BRepAdaptor_Surface Returns ------- None ") StdPrs_ToolRFace; - StdPrs_ToolRFace(const opencascade::handle & aSurface); + StdPrs_ToolRFace(const opencascade::handle & aSurface); /****************** Edge ******************/ /**** md5 signature: be590cff987799d8b7c28083399d0e9f ****/ @@ -2059,31 +2059,31 @@ Z: float class StdPrs_WFDeflectionRestrictedFace : public Prs3d_Root { public: /****************** Add ******************/ - /**** md5 signature: c3779aab39acf244c115012e93a7b53f ****/ + /**** md5 signature: d12972390c3d49174724abd88e035741 ****/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Defines a display featuring u and v isoparameters. adds the surface aface to the stdprs_wfrestrictedface algorithm. this face is found in a shape in the presentation object apresentation, and its display attributes - in particular, the number of u and v isoparameters - are set in the attribute manager adrawer. aface is brepadaptor_hsurface surface created from a face in a topological shape. which is passed as an argument through the brepadaptor_hsurface surface created from it. this is what allows the topological face to be treated as a geometric surface. + %feature("autodoc", "Defines a display featuring u and v isoparameters. adds the surface aface to the stdprs_wfrestrictedface algorithm. this face is found in a shape in the presentation object apresentation, and its display attributes - in particular, the number of u and v isoparameters - are set in the attribute manager adrawer. aface is brepadaptor_surface surface created from a face in a topological shape. which is passed as an argument through the brepadaptor_surface surface created from it. this is what allows the topological face to be treated as a geometric surface. Parameters ---------- aPresentation: Prs3d_Presentation -aFace: BRepAdaptor_HSurface +aFace: BRepAdaptor_Surface aDrawer: Prs3d_Drawer Returns ------- None ") Add; - static void Add(const opencascade::handle & aPresentation, const opencascade::handle & aFace, const opencascade::handle & aDrawer); + static void Add(const opencascade::handle & aPresentation, const opencascade::handle & aFace, const opencascade::handle & aDrawer); /****************** Add ******************/ - /**** md5 signature: bd67831026bf2f8410d269d4d216516e ****/ + /**** md5 signature: a43b9cb76c2452baca5c8f7ad5d11599 ****/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Defines a display of a delection-specified face. the display will feature u and v isoparameters. adds the topology ashape to the stdprs_wfrestrictedface algorithm. this shape is found in the presentation object apresentation, and its display attributes - except the number of u and v isoparameters - are set in the attribute manager adrawer. the function sets the number of u and v isoparameters, nbuiso and nbviso, in the shape. to do this, the arguments drawuiso and drawviso must be true. aface is brepadaptor_hsurface surface created from a face in a topological shape. which is passed as an argument through the brepadaptor_hsurface surface created from it. this is what allows the topological face to be treated as a geometric surface. curves give a sequence of face curves, it is used if the primitivearray visualization approach is activated (it is activated by default). + %feature("autodoc", "Defines a display of a delection-specified face. the display will feature u and v isoparameters. adds the topology ashape to the stdprs_wfrestrictedface algorithm. this shape is found in the presentation object apresentation, and its display attributes - except the number of u and v isoparameters - are set in the attribute manager adrawer. the function sets the number of u and v isoparameters, nbuiso and nbviso, in the shape. to do this, the arguments drawuiso and drawviso must be true. aface is brepadaptor_surface surface created from a face in a topological shape. which is passed as an argument through the brepadaptor_surface surface created from it. this is what allows the topological face to be treated as a geometric surface. curves give a sequence of face curves, it is used if the primitivearray visualization approach is activated (it is activated by default). Parameters ---------- aPresentation: Prs3d_Presentation -aFace: BRepAdaptor_HSurface +aFace: BRepAdaptor_Surface DrawUIso: bool DrawVIso: bool Deflection: float @@ -2096,44 +2096,44 @@ Returns ------- None ") Add; - static void Add(const opencascade::handle & aPresentation, const opencascade::handle & aFace, const Standard_Boolean DrawUIso, const Standard_Boolean DrawVIso, const Standard_Real Deflection, const Standard_Integer NBUiso, const Standard_Integer NBViso, const opencascade::handle & aDrawer, Prs3d_NListOfSequenceOfPnt & Curves); + static void Add(const opencascade::handle & aPresentation, const opencascade::handle & aFace, const Standard_Boolean DrawUIso, const Standard_Boolean DrawVIso, const Standard_Real Deflection, const Standard_Integer NBUiso, const Standard_Integer NBViso, const opencascade::handle & aDrawer, Prs3d_NListOfSequenceOfPnt & Curves); /****************** AddUIso ******************/ - /**** md5 signature: c7bc1083953eb55ee37830dae7cc0d08 ****/ + /**** md5 signature: abfa66a39e010c944e7999fccfbc51bc ****/ %feature("compactdefaultargs") AddUIso; - %feature("autodoc", "Defines a display featuring u isoparameters respectively. add the surface aface to the stdprs_wfrestrictedface algorithm. this face is found in a shape in the presentation object apresentation, and its display attributes - in particular, the number of u isoparameters - are set in the attribute manager adrawer. aface is brepadaptor_hsurface surface created from a face in a topological shape. which is passed to the function as an argument through the brepadaptor_hsurface surface created from it. this is what allows the topological face to be treated as a geometric surface. + %feature("autodoc", "Defines a display featuring u isoparameters respectively. add the surface aface to the stdprs_wfrestrictedface algorithm. this face is found in a shape in the presentation object apresentation, and its display attributes - in particular, the number of u isoparameters - are set in the attribute manager adrawer. aface is brepadaptor_surface surface created from a face in a topological shape. which is passed to the function as an argument through the brepadaptor_surface surface created from it. this is what allows the topological face to be treated as a geometric surface. Parameters ---------- aPresentation: Prs3d_Presentation -aFace: BRepAdaptor_HSurface +aFace: BRepAdaptor_Surface aDrawer: Prs3d_Drawer Returns ------- None ") AddUIso; - static void AddUIso(const opencascade::handle & aPresentation, const opencascade::handle & aFace, const opencascade::handle & aDrawer); + static void AddUIso(const opencascade::handle & aPresentation, const opencascade::handle & aFace, const opencascade::handle & aDrawer); /****************** AddVIso ******************/ - /**** md5 signature: 3454b5eb78296ec3fe63fd100e981573 ****/ + /**** md5 signature: ab3ca8960e5f458613d750c65aa59839 ****/ %feature("compactdefaultargs") AddVIso; - %feature("autodoc", "Defines a display featuring v isoparameters respectively. add the surface aface to the stdprs_wfrestrictedface algorithm. this face is found in a shape in the presentation object apresentation, and its display attributes - in particular, the number of v isoparameters - are set in the attribute manager adrawer. aface is brepadaptor_hsurface surface created from a face in a topological shape. which is passed to the function as an argument through the brepadaptor_hsurface surface created from it. this is what allows the topological face to be treated as a geometric surface. + %feature("autodoc", "Defines a display featuring v isoparameters respectively. add the surface aface to the stdprs_wfrestrictedface algorithm. this face is found in a shape in the presentation object apresentation, and its display attributes - in particular, the number of v isoparameters - are set in the attribute manager adrawer. aface is brepadaptor_surface surface created from a face in a topological shape. which is passed to the function as an argument through the brepadaptor_surface surface created from it. this is what allows the topological face to be treated as a geometric surface. Parameters ---------- aPresentation: Prs3d_Presentation -aFace: BRepAdaptor_HSurface +aFace: BRepAdaptor_Surface aDrawer: Prs3d_Drawer Returns ------- None ") AddVIso; - static void AddVIso(const opencascade::handle & aPresentation, const opencascade::handle & aFace, const opencascade::handle & aDrawer); + static void AddVIso(const opencascade::handle & aPresentation, const opencascade::handle & aFace, const opencascade::handle & aDrawer); /****************** Match ******************/ - /**** md5 signature: ba1a38f9bdbfa9e5b5bdd906c65a82b1 ****/ + /**** md5 signature: 36064271588fe17924d682737e08c090 ****/ %feature("compactdefaultargs") Match; %feature("autodoc", "No available documentation. @@ -2143,17 +2143,17 @@ X: float Y: float Z: float aDistance: float -aFace: BRepAdaptor_HSurface +aFace: BRepAdaptor_Surface aDrawer: Prs3d_Drawer Returns ------- bool ") Match; - static Standard_Boolean Match(const Standard_Real X, const Standard_Real Y, const Standard_Real Z, const Standard_Real aDistance, const opencascade::handle & aFace, const opencascade::handle & aDrawer); + static Standard_Boolean Match(const Standard_Real X, const Standard_Real Y, const Standard_Real Z, const Standard_Real aDistance, const opencascade::handle & aFace, const opencascade::handle & aDrawer); /****************** Match ******************/ - /**** md5 signature: 80e712bfb9a326d9059eafb824fa08d0 ****/ + /**** md5 signature: 647e7386d58dcbc030ed16f372590bd3 ****/ %feature("compactdefaultargs") Match; %feature("autodoc", "No available documentation. @@ -2163,7 +2163,7 @@ X: float Y: float Z: float aDistance: float -aFace: BRepAdaptor_HSurface +aFace: BRepAdaptor_Surface aDrawer: Prs3d_Drawer DrawUIso: bool DrawVIso: bool @@ -2175,10 +2175,10 @@ Returns ------- bool ") Match; - static Standard_Boolean Match(const Standard_Real X, const Standard_Real Y, const Standard_Real Z, const Standard_Real aDistance, const opencascade::handle & aFace, const opencascade::handle & aDrawer, const Standard_Boolean DrawUIso, const Standard_Boolean DrawVIso, const Standard_Real aDeflection, const Standard_Integer NBUiso, const Standard_Integer NBViso); + static Standard_Boolean Match(const Standard_Real X, const Standard_Real Y, const Standard_Real Z, const Standard_Real aDistance, const opencascade::handle & aFace, const opencascade::handle & aDrawer, const Standard_Boolean DrawUIso, const Standard_Boolean DrawVIso, const Standard_Real aDeflection, const Standard_Integer NBUiso, const Standard_Integer NBViso); /****************** MatchUIso ******************/ - /**** md5 signature: 25c861dd6b719e861a8671b67433efc4 ****/ + /**** md5 signature: c8686c8ec60c7dfe1d0960364542d7a9 ****/ %feature("compactdefaultargs") MatchUIso; %feature("autodoc", "No available documentation. @@ -2188,17 +2188,17 @@ X: float Y: float Z: float aDistance: float -aFace: BRepAdaptor_HSurface +aFace: BRepAdaptor_Surface aDrawer: Prs3d_Drawer Returns ------- bool ") MatchUIso; - static Standard_Boolean MatchUIso(const Standard_Real X, const Standard_Real Y, const Standard_Real Z, const Standard_Real aDistance, const opencascade::handle & aFace, const opencascade::handle & aDrawer); + static Standard_Boolean MatchUIso(const Standard_Real X, const Standard_Real Y, const Standard_Real Z, const Standard_Real aDistance, const opencascade::handle & aFace, const opencascade::handle & aDrawer); /****************** MatchVIso ******************/ - /**** md5 signature: b4aa459088ca23619268888f5e3cc21e ****/ + /**** md5 signature: 7ed1a209bfc944df2831a03220e9bbdd ****/ %feature("compactdefaultargs") MatchVIso; %feature("autodoc", "No available documentation. @@ -2208,14 +2208,14 @@ X: float Y: float Z: float aDistance: float -aFace: BRepAdaptor_HSurface +aFace: BRepAdaptor_Surface aDrawer: Prs3d_Drawer Returns ------- bool ") MatchVIso; - static Standard_Boolean MatchVIso(const Standard_Real X, const Standard_Real Y, const Standard_Real Z, const Standard_Real aDistance, const opencascade::handle & aFace, const opencascade::handle & aDrawer); + static Standard_Boolean MatchVIso(const Standard_Real X, const Standard_Real Y, const Standard_Real Z, const Standard_Real aDistance, const opencascade::handle & aFace, const opencascade::handle & aDrawer); }; @@ -2232,21 +2232,21 @@ bool class StdPrs_WFDeflectionSurface : public Prs3d_Root { public: /****************** Add ******************/ - /**** md5 signature: 42666969419c36293cf76b80c7e1a7bc ****/ + /**** md5 signature: 22102598190948bd248c9eed6e92b2c5 ****/ %feature("compactdefaultargs") Add; %feature("autodoc", "Adds the surface asurface to the presentation object apresentation, and defines its boundaries and isoparameters. the shape's display attributes are set in the attribute manager adrawer. these include whether deflection is absolute or relative to the size of the shape. the surface asurface is a surface object from adaptor, and provides data from a geom surface. this makes it possible to use the surface in a geometric algorithm. note that this surface object is manipulated by handles. Parameters ---------- aPresentation: Prs3d_Presentation -aSurface: Adaptor3d_HSurface +aSurface: Adaptor3d_Surface aDrawer: Prs3d_Drawer Returns ------- None ") Add; - static void Add(const opencascade::handle & aPresentation, const opencascade::handle & aSurface, const opencascade::handle & aDrawer); + static void Add(const opencascade::handle & aPresentation, const opencascade::handle & aSurface, const opencascade::handle & aDrawer); }; @@ -2294,14 +2294,14 @@ None class StdPrs_WFRestrictedFace : public Prs3d_Root { public: /****************** Add ******************/ - /**** md5 signature: 18dd5b60438ad5bbde64376bd4de6291 ****/ + /**** md5 signature: 076538b85d4e03db1c26729f0039250d ****/ %feature("compactdefaultargs") Add; %feature("autodoc", "No available documentation. Parameters ---------- thePresentation: Handle ( Prs3d_Presentation ) -theFace: BRepAdaptor_HSurface +theFace: BRepAdaptor_Surface theDrawUIso: bool theDrawVIso: bool theNbUIso: int @@ -2313,61 +2313,61 @@ Returns ------- None ") Add; - static void Add(const Handle ( Prs3d_Presentation ) & thePresentation, const opencascade::handle & theFace, const Standard_Boolean theDrawUIso, const Standard_Boolean theDrawVIso, const Standard_Integer theNbUIso, const Standard_Integer theNbVIso, const opencascade::handle & theDrawer, Prs3d_NListOfSequenceOfPnt & theCurves); + static void Add(const Handle ( Prs3d_Presentation ) & thePresentation, const opencascade::handle & theFace, const Standard_Boolean theDrawUIso, const Standard_Boolean theDrawVIso, const Standard_Integer theNbUIso, const Standard_Integer theNbVIso, const opencascade::handle & theDrawer, Prs3d_NListOfSequenceOfPnt & theCurves); /****************** Add ******************/ - /**** md5 signature: 1fe61a26cdc16ffabfe9b8ef70da3e88 ****/ + /**** md5 signature: e45d54c16977319468756914ccb16f96 ****/ %feature("compactdefaultargs") Add; %feature("autodoc", "No available documentation. Parameters ---------- thePresentation: Handle ( Prs3d_Presentation ) -theFace: BRepAdaptor_HSurface +theFace: BRepAdaptor_Surface theDrawer: Handle ( Prs3d_Drawer ) Returns ------- None ") Add; - static void Add(const Handle ( Prs3d_Presentation ) & thePresentation, const opencascade::handle & theFace, const Handle ( Prs3d_Drawer ) & theDrawer); + static void Add(const Handle ( Prs3d_Presentation ) & thePresentation, const opencascade::handle & theFace, const Handle ( Prs3d_Drawer ) & theDrawer); /****************** AddUIso ******************/ - /**** md5 signature: f92a0a6b19543688630f4bad6580345b ****/ + /**** md5 signature: 691ce66b22bdadce9b0791ceff26e3e6 ****/ %feature("compactdefaultargs") AddUIso; %feature("autodoc", "No available documentation. Parameters ---------- thePresentation: Handle ( Prs3d_Presentation ) -theFace: BRepAdaptor_HSurface +theFace: BRepAdaptor_Surface theDrawer: Handle ( Prs3d_Drawer ) Returns ------- None ") AddUIso; - static void AddUIso(const Handle ( Prs3d_Presentation ) & thePresentation, const opencascade::handle & theFace, const Handle ( Prs3d_Drawer ) & theDrawer); + static void AddUIso(const Handle ( Prs3d_Presentation ) & thePresentation, const opencascade::handle & theFace, const Handle ( Prs3d_Drawer ) & theDrawer); /****************** AddVIso ******************/ - /**** md5 signature: aea5fb11d169fe06d0173b15b7abd569 ****/ + /**** md5 signature: e4053cb34cfa26f718bd0aac8e5ab0c8 ****/ %feature("compactdefaultargs") AddVIso; %feature("autodoc", "No available documentation. Parameters ---------- thePresentation: Handle ( Prs3d_Presentation ) -theFace: BRepAdaptor_HSurface +theFace: BRepAdaptor_Surface theDrawer: Handle ( Prs3d_Drawer ) Returns ------- None ") AddVIso; - static void AddVIso(const Handle ( Prs3d_Presentation ) & thePresentation, const opencascade::handle & theFace, const Handle ( Prs3d_Drawer ) & theDrawer); + static void AddVIso(const Handle ( Prs3d_Presentation ) & thePresentation, const opencascade::handle & theFace, const Handle ( Prs3d_Drawer ) & theDrawer); /****************** Match ******************/ - /**** md5 signature: e6cd786e533b89c47314d7d5673dbac8 ****/ + /**** md5 signature: 73807c62eed49a19c080d0ed89c7ee6e ****/ %feature("compactdefaultargs") Match; %feature("autodoc", "No available documentation. @@ -2377,7 +2377,7 @@ theX: float theY: float theZ: float theDistance: float -theFace: BRepAdaptor_HSurface +theFace: BRepAdaptor_Surface theDrawUIso: bool theDrawVIso: bool theDeflection: float @@ -2389,10 +2389,10 @@ Returns ------- bool ") Match; - static Standard_Boolean Match(const Standard_Real theX, const Standard_Real theY, const Standard_Real theZ, const Standard_Real theDistance, const opencascade::handle & theFace, const Standard_Boolean theDrawUIso, const Standard_Boolean theDrawVIso, const Standard_Real theDeflection, const Standard_Integer theNbUIso, const Standard_Integer theNbVIso, const opencascade::handle & theDrawer); + static Standard_Boolean Match(const Standard_Real theX, const Standard_Real theY, const Standard_Real theZ, const Standard_Real theDistance, const opencascade::handle & theFace, const Standard_Boolean theDrawUIso, const Standard_Boolean theDrawVIso, const Standard_Real theDeflection, const Standard_Integer theNbUIso, const Standard_Integer theNbVIso, const opencascade::handle & theDrawer); /****************** Match ******************/ - /**** md5 signature: 20f30b2bb19ebd10743c635e848c4b52 ****/ + /**** md5 signature: 1c3eff0f811bf265e1062653bc20f999 ****/ %feature("compactdefaultargs") Match; %feature("autodoc", "No available documentation. @@ -2402,17 +2402,17 @@ theX: float theY: float theZ: float theDistance: float -theFace: BRepAdaptor_HSurface +theFace: BRepAdaptor_Surface theDrawer: Handle ( Prs3d_Drawer ) Returns ------- bool ") Match; - static Standard_Boolean Match(const Standard_Real theX, const Standard_Real theY, const Standard_Real theZ, const Standard_Real theDistance, const opencascade::handle & theFace, const Handle ( Prs3d_Drawer ) & theDrawer); + static Standard_Boolean Match(const Standard_Real theX, const Standard_Real theY, const Standard_Real theZ, const Standard_Real theDistance, const opencascade::handle & theFace, const Handle ( Prs3d_Drawer ) & theDrawer); /****************** MatchUIso ******************/ - /**** md5 signature: a8c999afb264c4c071200195a057f928 ****/ + /**** md5 signature: 285b5f5fb51f89038ecfc31952642b0e ****/ %feature("compactdefaultargs") MatchUIso; %feature("autodoc", "No available documentation. @@ -2422,17 +2422,17 @@ theX: float theY: float theZ: float theDistance: float -theFace: BRepAdaptor_HSurface +theFace: BRepAdaptor_Surface theDrawer: Handle ( Prs3d_Drawer ) Returns ------- bool ") MatchUIso; - static Standard_Boolean MatchUIso(const Standard_Real theX, const Standard_Real theY, const Standard_Real theZ, const Standard_Real theDistance, const opencascade::handle & theFace, const Handle ( Prs3d_Drawer ) & theDrawer); + static Standard_Boolean MatchUIso(const Standard_Real theX, const Standard_Real theY, const Standard_Real theZ, const Standard_Real theDistance, const opencascade::handle & theFace, const Handle ( Prs3d_Drawer ) & theDrawer); /****************** MatchVIso ******************/ - /**** md5 signature: 7118dd075c642266a9771b2aa81d2b73 ****/ + /**** md5 signature: 8add17f73e226b549cfb6f2f022faec1 ****/ %feature("compactdefaultargs") MatchVIso; %feature("autodoc", "No available documentation. @@ -2442,14 +2442,14 @@ theX: float theY: float theZ: float theDistance: float -theFace: BRepAdaptor_HSurface +theFace: BRepAdaptor_Surface theDrawer: Handle ( Prs3d_Drawer ) Returns ------- bool ") MatchVIso; - static Standard_Boolean MatchVIso(const Standard_Real theX, const Standard_Real theY, const Standard_Real theZ, const Standard_Real theDistance, const opencascade::handle & theFace, const Handle ( Prs3d_Drawer ) & theDrawer); + static Standard_Boolean MatchVIso(const Standard_Real theX, const Standard_Real theY, const Standard_Real theZ, const Standard_Real theDistance, const opencascade::handle & theFace, const Handle ( Prs3d_Drawer ) & theDrawer); }; @@ -2566,21 +2566,21 @@ opencascade::handle class StdPrs_WFSurface : public Prs3d_Root { public: /****************** Add ******************/ - /**** md5 signature: 42666969419c36293cf76b80c7e1a7bc ****/ + /**** md5 signature: 22102598190948bd248c9eed6e92b2c5 ****/ %feature("compactdefaultargs") Add; %feature("autodoc", "Draws a surface by drawing the isoparametric curves with respect to a fixed number of points given by the drawer. the number of isoparametric curves to be drawn and their color are controlled by the furnished drawer. Parameters ---------- aPresentation: Prs3d_Presentation -aSurface: Adaptor3d_HSurface +aSurface: Adaptor3d_Surface aDrawer: Prs3d_Drawer Returns ------- None ") Add; - static void Add(const opencascade::handle & aPresentation, const opencascade::handle & aSurface, const opencascade::handle & aDrawer); + static void Add(const opencascade::handle & aPresentation, const opencascade::handle & aSurface, const opencascade::handle & aDrawer); }; diff --git a/src/SWIG_files/wrapper/StdPrs.pyi b/src/SWIG_files/wrapper/StdPrs.pyi index bd90a0a09..053caad77 100644 --- a/src/SWIG_files/wrapper/StdPrs.pyi +++ b/src/SWIG_files/wrapper/StdPrs.pyi @@ -55,7 +55,7 @@ class StdPrs_BRepFont(Standard_Transient): def Descender(self) -> float: ... def FTFont(self) -> False: ... @overload - def Init(self, theFontPath: NCollection_String, theSize: float, theFaceId: int) -> False: ... + def Init(self, theFontPath: NCollection_String, theSize: float, theFaceId: int) -> bool: ... def LineSpacing(self) -> float: ... def Mutex(self) -> Standard_Mutex: ... def PointSize(self) -> float: ... @@ -63,6 +63,7 @@ class StdPrs_BRepFont(Standard_Transient): def RenderGlyph(self, theChar: Standard_Utf32Char) -> TopoDS_Shape: ... def Scale(self) -> float: ... def SetCompositeCurveMode(self, theToConcatenate: bool) -> None: ... + def SetWidthScaling(self, theScaleFactor: float) -> None: ... class StdPrs_BRepTextBuilder: @overload @@ -124,7 +125,7 @@ class StdPrs_Isolines(Prs3d_Root): def AddOnSurface(theFace: TopoDS_Face, theDrawer: Prs3d_Drawer, theDeflection: float, theUPolylines: Prs3d_NListOfSequenceOfPnt, theVPolylines: Prs3d_NListOfSequenceOfPnt) -> None: ... @overload @staticmethod - def AddOnSurface(thePresentation: Prs3d_Presentation, theSurface: BRepAdaptor_HSurface, theDrawer: Prs3d_Drawer, theDeflection: float, theUIsoParams: TColStd_SequenceOfReal, theVIsoParams: TColStd_SequenceOfReal) -> None: ... + def AddOnSurface(thePresentation: Prs3d_Presentation, theSurface: BRepAdaptor_Surface, theDrawer: Prs3d_Drawer, theDeflection: float, theUIsoParams: TColStd_SequenceOfReal, theVIsoParams: TColStd_SequenceOfReal) -> None: ... @overload @staticmethod def AddOnTriangulation(thePresentation: Prs3d_Presentation, theFace: TopoDS_Face, theDrawer: Prs3d_Drawer) -> None: ... @@ -214,7 +215,7 @@ class StdPrs_ToolRFace: @overload def __init__(self) -> None: ... @overload - def __init__(self, aSurface: BRepAdaptor_HSurface) -> None: ... + def __init__(self, aSurface: BRepAdaptor_Surface) -> None: ... def Edge(self) -> TopoDS_Edge: ... def Init(self) -> None: ... def IsInvalidGeometry(self) -> bool: ... @@ -253,28 +254,28 @@ class StdPrs_ToolVertex: class StdPrs_WFDeflectionRestrictedFace(Prs3d_Root): @overload @staticmethod - def Add(aPresentation: Prs3d_Presentation, aFace: BRepAdaptor_HSurface, aDrawer: Prs3d_Drawer) -> None: ... + def Add(aPresentation: Prs3d_Presentation, aFace: BRepAdaptor_Surface, aDrawer: Prs3d_Drawer) -> None: ... @overload @staticmethod - def Add(aPresentation: Prs3d_Presentation, aFace: BRepAdaptor_HSurface, DrawUIso: bool, DrawVIso: bool, Deflection: float, NBUiso: int, NBViso: int, aDrawer: Prs3d_Drawer, Curves: Prs3d_NListOfSequenceOfPnt) -> None: ... + def Add(aPresentation: Prs3d_Presentation, aFace: BRepAdaptor_Surface, DrawUIso: bool, DrawVIso: bool, Deflection: float, NBUiso: int, NBViso: int, aDrawer: Prs3d_Drawer, Curves: Prs3d_NListOfSequenceOfPnt) -> None: ... @staticmethod - def AddUIso(aPresentation: Prs3d_Presentation, aFace: BRepAdaptor_HSurface, aDrawer: Prs3d_Drawer) -> None: ... + def AddUIso(aPresentation: Prs3d_Presentation, aFace: BRepAdaptor_Surface, aDrawer: Prs3d_Drawer) -> None: ... @staticmethod - def AddVIso(aPresentation: Prs3d_Presentation, aFace: BRepAdaptor_HSurface, aDrawer: Prs3d_Drawer) -> None: ... + def AddVIso(aPresentation: Prs3d_Presentation, aFace: BRepAdaptor_Surface, aDrawer: Prs3d_Drawer) -> None: ... @overload @staticmethod - def Match(X: float, Y: float, Z: float, aDistance: float, aFace: BRepAdaptor_HSurface, aDrawer: Prs3d_Drawer) -> bool: ... + def Match(X: float, Y: float, Z: float, aDistance: float, aFace: BRepAdaptor_Surface, aDrawer: Prs3d_Drawer) -> bool: ... @overload @staticmethod - def Match(X: float, Y: float, Z: float, aDistance: float, aFace: BRepAdaptor_HSurface, aDrawer: Prs3d_Drawer, DrawUIso: bool, DrawVIso: bool, aDeflection: float, NBUiso: int, NBViso: int) -> bool: ... + def Match(X: float, Y: float, Z: float, aDistance: float, aFace: BRepAdaptor_Surface, aDrawer: Prs3d_Drawer, DrawUIso: bool, DrawVIso: bool, aDeflection: float, NBUiso: int, NBViso: int) -> bool: ... @staticmethod - def MatchUIso(X: float, Y: float, Z: float, aDistance: float, aFace: BRepAdaptor_HSurface, aDrawer: Prs3d_Drawer) -> bool: ... + def MatchUIso(X: float, Y: float, Z: float, aDistance: float, aFace: BRepAdaptor_Surface, aDrawer: Prs3d_Drawer) -> bool: ... @staticmethod - def MatchVIso(X: float, Y: float, Z: float, aDistance: float, aFace: BRepAdaptor_HSurface, aDrawer: Prs3d_Drawer) -> bool: ... + def MatchVIso(X: float, Y: float, Z: float, aDistance: float, aFace: BRepAdaptor_Surface, aDrawer: Prs3d_Drawer) -> bool: ... class StdPrs_WFDeflectionSurface(Prs3d_Root): @staticmethod - def Add(aPresentation: Prs3d_Presentation, aSurface: Adaptor3d_HSurface, aDrawer: Prs3d_Drawer) -> None: ... + def Add(aPresentation: Prs3d_Presentation, aSurface: Adaptor3d_Surface, aDrawer: Prs3d_Drawer) -> None: ... class StdPrs_WFPoleSurface(Prs3d_Root): @staticmethod @@ -283,24 +284,24 @@ class StdPrs_WFPoleSurface(Prs3d_Root): class StdPrs_WFRestrictedFace(Prs3d_Root): @overload @staticmethod - def Add(thePresentation: Prs3d_Presentation, theFace: BRepAdaptor_HSurface, theDrawUIso: bool, theDrawVIso: bool, theNbUIso: int, theNbVIso: int, theDrawer: Prs3d_Drawer, theCurves: Prs3d_NListOfSequenceOfPnt) -> None: ... + def Add(thePresentation: Prs3d_Presentation, theFace: BRepAdaptor_Surface, theDrawUIso: bool, theDrawVIso: bool, theNbUIso: int, theNbVIso: int, theDrawer: Prs3d_Drawer, theCurves: Prs3d_NListOfSequenceOfPnt) -> None: ... @overload @staticmethod - def Add(thePresentation: Prs3d_Presentation, theFace: BRepAdaptor_HSurface, theDrawer: Prs3d_Drawer) -> None: ... + def Add(thePresentation: Prs3d_Presentation, theFace: BRepAdaptor_Surface, theDrawer: Prs3d_Drawer) -> None: ... @staticmethod - def AddUIso(thePresentation: Prs3d_Presentation, theFace: BRepAdaptor_HSurface, theDrawer: Prs3d_Drawer) -> None: ... + def AddUIso(thePresentation: Prs3d_Presentation, theFace: BRepAdaptor_Surface, theDrawer: Prs3d_Drawer) -> None: ... @staticmethod - def AddVIso(thePresentation: Prs3d_Presentation, theFace: BRepAdaptor_HSurface, theDrawer: Prs3d_Drawer) -> None: ... + def AddVIso(thePresentation: Prs3d_Presentation, theFace: BRepAdaptor_Surface, theDrawer: Prs3d_Drawer) -> None: ... @overload @staticmethod - def Match(theX: float, theY: float, theZ: float, theDistance: float, theFace: BRepAdaptor_HSurface, theDrawUIso: bool, theDrawVIso: bool, theDeflection: float, theNbUIso: int, theNbVIso: int, theDrawer: Prs3d_Drawer) -> bool: ... + def Match(theX: float, theY: float, theZ: float, theDistance: float, theFace: BRepAdaptor_Surface, theDrawUIso: bool, theDrawVIso: bool, theDeflection: float, theNbUIso: int, theNbVIso: int, theDrawer: Prs3d_Drawer) -> bool: ... @overload @staticmethod - def Match(theX: float, theY: float, theZ: float, theDistance: float, theFace: BRepAdaptor_HSurface, theDrawer: Prs3d_Drawer) -> bool: ... + def Match(theX: float, theY: float, theZ: float, theDistance: float, theFace: BRepAdaptor_Surface, theDrawer: Prs3d_Drawer) -> bool: ... @staticmethod - def MatchUIso(theX: float, theY: float, theZ: float, theDistance: float, theFace: BRepAdaptor_HSurface, theDrawer: Prs3d_Drawer) -> bool: ... + def MatchUIso(theX: float, theY: float, theZ: float, theDistance: float, theFace: BRepAdaptor_Surface, theDrawer: Prs3d_Drawer) -> bool: ... @staticmethod - def MatchVIso(theX: float, theY: float, theZ: float, theDistance: float, theFace: BRepAdaptor_HSurface, theDrawer: Prs3d_Drawer) -> bool: ... + def MatchVIso(theX: float, theY: float, theZ: float, theDistance: float, theFace: BRepAdaptor_Surface, theDrawer: Prs3d_Drawer) -> bool: ... class StdPrs_WFShape(Prs3d_Root): @staticmethod @@ -318,7 +319,7 @@ class StdPrs_WFShape(Prs3d_Root): class StdPrs_WFSurface(Prs3d_Root): @staticmethod - def Add(aPresentation: Prs3d_Presentation, aSurface: Adaptor3d_HSurface, aDrawer: Prs3d_Drawer) -> None: ... + def Add(aPresentation: Prs3d_Presentation, aSurface: Adaptor3d_Surface, aDrawer: Prs3d_Drawer) -> None: ... class StdPrs_HLRPolyShape(StdPrs_HLRShapeI): def ComputeHLR(self, thePrs: Prs3d_Presentation, theShape: TopoDS_Shape, theDrawer: Prs3d_Drawer, theProjector: Graphic3d_Camera) -> None: ... diff --git a/src/SWIG_files/wrapper/StdSelect.i b/src/SWIG_files/wrapper/StdSelect.i index e0e7a2b4d..b306ff984 100644 --- a/src/SWIG_files/wrapper/StdSelect.i +++ b/src/SWIG_files/wrapper/StdSelect.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STDSELECTDOCSTRING "StdSelect module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stdselect.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stdselect.html" %enddef %module (package="OCC.Core", docstring=STDSELECTDOCSTRING) StdSelect @@ -113,13 +113,15 @@ enum StdSelect_TypeOfSelectionImage { StdSelect_TypeOfSelectionImage_UnnormalizedDepth = 2, StdSelect_TypeOfSelectionImage_ColoredDetectedObject = 3, StdSelect_TypeOfSelectionImage_ColoredEntity = 4, - StdSelect_TypeOfSelectionImage_ColoredOwner = 5, - StdSelect_TypeOfSelectionImage_ColoredSelectionMode = 6, + StdSelect_TypeOfSelectionImage_ColoredEntityType = 5, + StdSelect_TypeOfSelectionImage_ColoredOwner = 6, + StdSelect_TypeOfSelectionImage_ColoredSelectionMode = 7, + StdSelect_TypeOfSelectionImage_SurfaceNormal = 8, }; /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class StdSelect_TypeOfFace(IntEnum): @@ -152,15 +154,19 @@ class StdSelect_TypeOfSelectionImage(IntEnum): StdSelect_TypeOfSelectionImage_UnnormalizedDepth = 2 StdSelect_TypeOfSelectionImage_ColoredDetectedObject = 3 StdSelect_TypeOfSelectionImage_ColoredEntity = 4 - StdSelect_TypeOfSelectionImage_ColoredOwner = 5 - StdSelect_TypeOfSelectionImage_ColoredSelectionMode = 6 + StdSelect_TypeOfSelectionImage_ColoredEntityType = 5 + StdSelect_TypeOfSelectionImage_ColoredOwner = 6 + StdSelect_TypeOfSelectionImage_ColoredSelectionMode = 7 + StdSelect_TypeOfSelectionImage_SurfaceNormal = 8 StdSelect_TypeOfSelectionImage_NormalizedDepth = StdSelect_TypeOfSelectionImage.StdSelect_TypeOfSelectionImage_NormalizedDepth StdSelect_TypeOfSelectionImage_NormalizedDepthInverted = StdSelect_TypeOfSelectionImage.StdSelect_TypeOfSelectionImage_NormalizedDepthInverted StdSelect_TypeOfSelectionImage_UnnormalizedDepth = StdSelect_TypeOfSelectionImage.StdSelect_TypeOfSelectionImage_UnnormalizedDepth StdSelect_TypeOfSelectionImage_ColoredDetectedObject = StdSelect_TypeOfSelectionImage.StdSelect_TypeOfSelectionImage_ColoredDetectedObject StdSelect_TypeOfSelectionImage_ColoredEntity = StdSelect_TypeOfSelectionImage.StdSelect_TypeOfSelectionImage_ColoredEntity +StdSelect_TypeOfSelectionImage_ColoredEntityType = StdSelect_TypeOfSelectionImage.StdSelect_TypeOfSelectionImage_ColoredEntityType StdSelect_TypeOfSelectionImage_ColoredOwner = StdSelect_TypeOfSelectionImage.StdSelect_TypeOfSelectionImage_ColoredOwner StdSelect_TypeOfSelectionImage_ColoredSelectionMode = StdSelect_TypeOfSelectionImage.StdSelect_TypeOfSelectionImage_ColoredSelectionMode +StdSelect_TypeOfSelectionImage_SurfaceNormal = StdSelect_TypeOfSelectionImage.StdSelect_TypeOfSelectionImage_SurfaceNormal }; /* end python proxy for enums */ @@ -327,22 +333,21 @@ int Standard_Integer HilightMode(); /****************** HilightWithColor ******************/ - /**** md5 signature: 56e556dd0edce796a3c3d12b272af59e ****/ + /**** md5 signature: ff872ded3a30d3b368f40f78eef3d5d8 ****/ %feature("compactdefaultargs") HilightWithColor; %feature("autodoc", "No available documentation. Parameters ---------- -thePM: PrsMgr_PresentationManager3d +thePM: PrsMgr_PresentationManager theStyle: Prs3d_Drawer -theMode: int,optional - default value is 0 +theMode: int Returns ------- None ") HilightWithColor; - virtual void HilightWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const Standard_Integer theMode = 0); + virtual void HilightWithColor(const opencascade::handle & thePM, const opencascade::handle & theStyle, const Standard_Integer theMode); /****************** IsHilighted ******************/ /**** md5 signature: 19f129c3adba382b625d88256f1470cb ****/ @@ -431,21 +436,21 @@ None virtual void Unhilight(const opencascade::handle & aPM, const Standard_Integer aMode = 0); /****************** UpdateHighlightTrsf ******************/ - /**** md5 signature: e61a4536040859fb2d3616b477fa8627 ****/ + /**** md5 signature: 5cda4347f3f81c378d7a079e96459f5e ****/ %feature("compactdefaultargs") UpdateHighlightTrsf; %feature("autodoc", "Implements immediate application of location transformation of parent object to dynamic highlight structure. Parameters ---------- theViewer: V3d_Viewer -theManager: PrsMgr_PresentationManager3d +theManager: PrsMgr_PresentationManager theDispMode: int Returns ------- None ") UpdateHighlightTrsf; - virtual void UpdateHighlightTrsf(const opencascade::handle & theViewer, const opencascade::handle & theManager, const Standard_Integer theDispMode); + virtual void UpdateHighlightTrsf(const opencascade::handle & theViewer, const opencascade::handle & theManager, const Standard_Integer theDispMode); }; @@ -579,7 +584,7 @@ None /****************** Load ******************/ /**** md5 signature: 00cf72412f1de1b90a4446a128411b90 ****/ %feature("compactdefaultargs") Load; - %feature("autodoc", "Same functionnalities ; the only difference is that the selectable object from which the selection comes is stored in each sensitive entityowner; decomposition of into sensitive entities following a mode of decomposition . these entities are stored in the major difference is that the known users are first inserted in the brepowners. the original shape is the last user... (see entityowner from selectbasics and brepowner)... + %feature("autodoc", "Same functionalities ; the only difference is that the selectable object from which the selection comes is stored in each sensitive entityowner; decomposition of into sensitive entities following a mode of decomposition . these entities are stored in the major difference is that the known users are first inserted in the brepowners. the original shape is the last user... (see entityowner from selectbasics and brepowner)... Parameters ---------- @@ -825,22 +830,21 @@ None StdSelect_Shape(const TopoDS_Shape & theShape, const opencascade::handle & theDrawer = opencascade::handle()); /****************** Compute ******************/ - /**** md5 signature: 7a2e6142c1414b0e4f62cf86893d72b9 ****/ + /**** md5 signature: f53f89fd95d4c315c88ee451ac3f4363 ****/ %feature("compactdefaultargs") Compute; %feature("autodoc", "No available documentation. Parameters ---------- -aPresentationManager: PrsMgr_PresentationManager3d -aPresentation: Prs3d_Presentation -aMode: int,optional - default value is 0 +thePrsMgr: PrsMgr_PresentationManager +thePrs: Prs3d_Presentation +theMode: int Returns ------- None ") Compute; - void Compute(const opencascade::handle & aPresentationManager, const opencascade::handle & aPresentation, const Standard_Integer aMode = 0); + virtual void Compute(const opencascade::handle & thePrsMgr, const opencascade::handle & thePrs, const Standard_Integer theMode); %feature("autodoc", "1"); diff --git a/src/SWIG_files/wrapper/StdSelect.pyi b/src/SWIG_files/wrapper/StdSelect.pyi index 10339632e..84ccbcdf6 100644 --- a/src/SWIG_files/wrapper/StdSelect.pyi +++ b/src/SWIG_files/wrapper/StdSelect.pyi @@ -45,16 +45,20 @@ class StdSelect_TypeOfSelectionImage(IntEnum): StdSelect_TypeOfSelectionImage_UnnormalizedDepth: int = ... StdSelect_TypeOfSelectionImage_ColoredDetectedObject: int = ... StdSelect_TypeOfSelectionImage_ColoredEntity: int = ... + StdSelect_TypeOfSelectionImage_ColoredEntityType: int = ... StdSelect_TypeOfSelectionImage_ColoredOwner: int = ... StdSelect_TypeOfSelectionImage_ColoredSelectionMode: int = ... + StdSelect_TypeOfSelectionImage_SurfaceNormal: int = ... StdSelect_TypeOfSelectionImage_NormalizedDepth = StdSelect_TypeOfSelectionImage.StdSelect_TypeOfSelectionImage_NormalizedDepth StdSelect_TypeOfSelectionImage_NormalizedDepthInverted = StdSelect_TypeOfSelectionImage.StdSelect_TypeOfSelectionImage_NormalizedDepthInverted StdSelect_TypeOfSelectionImage_UnnormalizedDepth = StdSelect_TypeOfSelectionImage.StdSelect_TypeOfSelectionImage_UnnormalizedDepth StdSelect_TypeOfSelectionImage_ColoredDetectedObject = StdSelect_TypeOfSelectionImage.StdSelect_TypeOfSelectionImage_ColoredDetectedObject StdSelect_TypeOfSelectionImage_ColoredEntity = StdSelect_TypeOfSelectionImage.StdSelect_TypeOfSelectionImage_ColoredEntity +StdSelect_TypeOfSelectionImage_ColoredEntityType = StdSelect_TypeOfSelectionImage.StdSelect_TypeOfSelectionImage_ColoredEntityType StdSelect_TypeOfSelectionImage_ColoredOwner = StdSelect_TypeOfSelectionImage.StdSelect_TypeOfSelectionImage_ColoredOwner StdSelect_TypeOfSelectionImage_ColoredSelectionMode = StdSelect_TypeOfSelectionImage.StdSelect_TypeOfSelectionImage_ColoredSelectionMode +StdSelect_TypeOfSelectionImage_SurfaceNormal = StdSelect_TypeOfSelectionImage.StdSelect_TypeOfSelectionImage_SurfaceNormal class stdselect: @staticmethod @@ -71,14 +75,14 @@ class StdSelect_BRepOwner(SelectMgr_EntityOwner): def HasHilightMode(self) -> bool: ... def HasShape(self) -> bool: ... def HilightMode(self) -> int: ... - def HilightWithColor(self, thePM: PrsMgr_PresentationManager3d, theStyle: Prs3d_Drawer, theMode: Optional[int] = 0) -> None: ... + def HilightWithColor(self, thePM: PrsMgr_PresentationManager, theStyle: Prs3d_Drawer, theMode: int) -> None: ... def IsHilighted(self, aPM: PrsMgr_PresentationManager, aMode: Optional[int] = 0) -> bool: ... def ResetHilightMode(self) -> None: ... def SetHilightMode(self, theMode: int) -> None: ... def SetLocation(self, aLoc: TopLoc_Location) -> None: ... def Shape(self) -> TopoDS_Shape: ... def Unhilight(self, aPM: PrsMgr_PresentationManager, aMode: Optional[int] = 0) -> None: ... - def UpdateHighlightTrsf(self, theViewer: V3d_Viewer, theManager: PrsMgr_PresentationManager3d, theDispMode: int) -> None: ... + def UpdateHighlightTrsf(self, theViewer: V3d_Viewer, theManager: PrsMgr_PresentationManager, theDispMode: int) -> None: ... class StdSelect_BRepSelectionTool: @staticmethod @@ -114,7 +118,7 @@ class StdSelect_FaceFilter(SelectMgr_Filter): class StdSelect_Shape(PrsMgr_PresentableObject): def __init__(self, theShape: TopoDS_Shape, theDrawer: Optional[Prs3d_Drawer] = Prs3d_Drawer()) -> None: ... - def Compute(self, aPresentationManager: PrsMgr_PresentationManager3d, aPresentation: Prs3d_Presentation, aMode: Optional[int] = 0) -> None: ... + def Compute(self, thePrsMgr: PrsMgr_PresentationManager, thePrs: Prs3d_Presentation, theMode: int) -> None: ... @overload def Shape(self) -> TopoDS_Shape: ... @overload diff --git a/src/SWIG_files/wrapper/StepAP203.i b/src/SWIG_files/wrapper/StepAP203.i index c5210d8a0..2ff021810 100644 --- a/src/SWIG_files/wrapper/StepAP203.i +++ b/src/SWIG_files/wrapper/StepAP203.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPAP203DOCSTRING "StepAP203 module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stepap203.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stepap203.html" %enddef %module (package="OCC.Core", docstring=STEPAP203DOCSTRING) StepAP203 @@ -74,7 +74,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/StepAP209.i b/src/SWIG_files/wrapper/StepAP209.i index 248d4ce7d..9dd6fb174 100644 --- a/src/SWIG_files/wrapper/StepAP209.i +++ b/src/SWIG_files/wrapper/StepAP209.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPAP209DOCSTRING "StepAP209 module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stepap209.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stepap209.html" %enddef %module (package="OCC.Core", docstring=STEPAP209DOCSTRING) StepAP209 @@ -92,7 +92,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/StepAP214.i b/src/SWIG_files/wrapper/StepAP214.i index c23958e73..fd56dd2bc 100644 --- a/src/SWIG_files/wrapper/StepAP214.i +++ b/src/SWIG_files/wrapper/StepAP214.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPAP214DOCSTRING "StepAP214 module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stepap214.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stepap214.html" %enddef %module (package="OCC.Core", docstring=STEPAP214DOCSTRING) StepAP214 @@ -84,7 +84,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/StepAP242.i b/src/SWIG_files/wrapper/StepAP242.i index dc9b8a7c2..2453e7ad0 100644 --- a/src/SWIG_files/wrapper/StepAP242.i +++ b/src/SWIG_files/wrapper/StepAP242.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPAP242DOCSTRING "StepAP242 module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stepap242.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stepap242.html" %enddef %module (package="OCC.Core", docstring=STEPAP242DOCSTRING) StepAP242 @@ -81,7 +81,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -554,7 +554,7 @@ None /****************** UsedRepresentation ******************/ /**** md5 signature: 31fb83363cd632dfd92cd10a687caef9 ****/ %feature("compactdefaultargs") UsedRepresentation; - %feature("autodoc", "Retuns field usedrepresentation. + %feature("autodoc", "Returns field usedrepresentation. Returns ------- diff --git a/src/SWIG_files/wrapper/StepBasic.i b/src/SWIG_files/wrapper/StepBasic.i index 8477547ac..01b38d6fc 100644 --- a/src/SWIG_files/wrapper/StepBasic.i +++ b/src/SWIG_files/wrapper/StepBasic.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPBASICDOCSTRING "StepBasic module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stepbasic.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stepbasic.html" %enddef %module (package="OCC.Core", docstring=STEPBASICDOCSTRING) StepBasic @@ -135,7 +135,7 @@ enum StepBasic_SiPrefix { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class StepBasic_Source(IntEnum): diff --git a/src/SWIG_files/wrapper/StepData.i b/src/SWIG_files/wrapper/StepData.i index 84fa443cd..cd7de7a3f 100644 --- a/src/SWIG_files/wrapper/StepData.i +++ b/src/SWIG_files/wrapper/StepData.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPDATADOCSTRING "StepData module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stepdata.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stepdata.html" %enddef %module (package="OCC.Core", docstring=STEPDATADOCSTRING) StepData @@ -75,7 +75,7 @@ enum StepData_Logical { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class StepData_Logical(IntEnum): @@ -1263,7 +1263,7 @@ None /****************** SetString ******************/ /**** md5 signature: fd08d5f8b5cfd32e65c1be12d7e2440a ****/ %feature("compactdefaultargs") SetString; - %feature("autodoc", "Sets a string value (or predeclares a list as string) does not redefine the kind if it is alread string or enum. + %feature("autodoc", "Sets a string value (or predeclares a list as string) does not redefine the kind if it is already string or enum. Parameters ---------- @@ -1543,6 +1543,130 @@ None } }; +/******************************* +* class StepData_GlobalFactors * +*******************************/ +%nodefaultctor StepData_GlobalFactors; +class StepData_GlobalFactors { + public: + /****************** CascadeUnit ******************/ + /**** md5 signature: 1d922b1909929662e8a86e6a23ede302 ****/ + %feature("compactdefaultargs") CascadeUnit; + %feature("autodoc", "Returns length unit for current transfer process (mm by default). + +Returns +------- +float +") CascadeUnit; + Standard_Real CascadeUnit(); + + /****************** FactorDegreeRadian ******************/ + /**** md5 signature: fedc74b704a2e72463aac2b15d888fed ****/ + %feature("compactdefaultargs") FactorDegreeRadian; + %feature("autodoc", "Returns transient factor degree radian for conversion of angles at one stage of transfer process. + +Returns +------- +float +") FactorDegreeRadian; + Standard_Real FactorDegreeRadian(); + + /****************** FactorRadianDegree ******************/ + /**** md5 signature: 5bd933935fec8d7cc09bfb26a323362d ****/ + %feature("compactdefaultargs") FactorRadianDegree; + %feature("autodoc", "Returns transient factor radian degree for conversion of angles at one stage of transfer process. + +Returns +------- +float +") FactorRadianDegree; + Standard_Real FactorRadianDegree(); + + /****************** InitializeFactors ******************/ + /**** md5 signature: cd04360a2d1cbd674218ed3c1e732874 ****/ + %feature("compactdefaultargs") InitializeFactors; + %feature("autodoc", "Initializes the 3 factors for the conversion of units. + +Parameters +---------- +theLengthFactor: float +thePlaneAngleFactor: float +theSolidAngleFactor: float + +Returns +------- +None +") InitializeFactors; + void InitializeFactors(const Standard_Real theLengthFactor, const Standard_Real thePlaneAngleFactor, const Standard_Real theSolidAngleFactor); + + /****************** Intance ******************/ + /**** md5 signature: 7f5502a01c51de8576abf266a805c432 ****/ + %feature("compactdefaultargs") Intance; + %feature("autodoc", "Returns a global static object. + +Returns +------- +StepData_GlobalFactors +") Intance; + static StepData_GlobalFactors & Intance(); + + /****************** LengthFactor ******************/ + /**** md5 signature: 8ecee2a738cfd3d25ea62faec23cb9f3 ****/ + %feature("compactdefaultargs") LengthFactor; + %feature("autodoc", "Returns transient length factor for scaling of shapes at one stage of transfer process. + +Returns +------- +float +") LengthFactor; + Standard_Real LengthFactor(); + + /****************** PlaneAngleFactor ******************/ + /**** md5 signature: 5ab6ca47a256360934b00071841825fc ****/ + %feature("compactdefaultargs") PlaneAngleFactor; + %feature("autodoc", "Returns transient plane angle factor for conversion of angles at one stage of transfer process. + +Returns +------- +float +") PlaneAngleFactor; + Standard_Real PlaneAngleFactor(); + + /****************** SetCascadeUnit ******************/ + /**** md5 signature: 9681d8ff7bf315f004a2dba0dc32aacc ****/ + %feature("compactdefaultargs") SetCascadeUnit; + %feature("autodoc", "Sets length unit for current transfer process. + +Parameters +---------- +theUnit: float + +Returns +------- +None +") SetCascadeUnit; + void SetCascadeUnit(const Standard_Real theUnit); + + /****************** SolidAngleFactor ******************/ + /**** md5 signature: 191f77f63c19e48f9e70e03bdbc69a21 ****/ + %feature("compactdefaultargs") SolidAngleFactor; + %feature("autodoc", "Returns transient solid angle factor for conversion of angles at one stage of transfer process. + +Returns +------- +float +") SolidAngleFactor; + Standard_Real SolidAngleFactor(); + +}; + + +%extend StepData_GlobalFactors { + %pythoncode { + __repr__ = _dumps_object + } +}; + /*************************************** * class StepData_GlobalNodeOfWriterLib * ***************************************/ @@ -1562,7 +1686,7 @@ None /****************** Add ******************/ /**** md5 signature: 497be690de5df95c0f5f595cb301a456 ****/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds a module bound with a protocol to the list : does nothing if already in the list, that is, same type (exact match) and same state (that is, isequal is not required) once added, stores its attached protocol in correspondance. + %feature("autodoc", "Adds a module bound with a protocol to the list : does nothing if already in the list, that is, same type (exact match) and same state (that is, isequal is not required) once added, stores its attached protocol in correspondence. Parameters ---------- @@ -3559,7 +3683,7 @@ None /****************** HasHeaderEntity ******************/ /**** md5 signature: b89a0a364c711932b6d01b56cee77906 ****/ %feature("compactdefaultargs") HasHeaderEntity; - %feature("autodoc", "Says if a header entity has a specifed type. + %feature("autodoc", "Says if a header entity has a specified type. Parameters ---------- @@ -3612,6 +3736,28 @@ int ") IdentLabel; Standard_Integer IdentLabel(const opencascade::handle & ent); + /****************** IsInitializedUnit ******************/ + /**** md5 signature: fe0bd8baacb679c3138fd7d26ea62f98 ****/ + %feature("compactdefaultargs") IsInitializedUnit; + %feature("autodoc", "Returns the unit initialization flag true - the unit was initialized false - the unit value was not initialized, the default value is used. + +Returns +------- +bool +") IsInitializedUnit; + Standard_Boolean IsInitializedUnit(); + + /****************** LocalLengthUnit ******************/ + /**** md5 signature: 985f2c4be943ccdeef11a3c7627d6535 ****/ + %feature("compactdefaultargs") LocalLengthUnit; + %feature("autodoc", "Returns local length unit using for transfer process (1 by default). + +Returns +------- +float +") LocalLengthUnit; + Standard_Real LocalLengthUnit(); + /****************** NewEmptyModel ******************/ /**** md5 signature: 40876c8eb593ebc41abaf47645e862e5 ****/ %feature("compactdefaultargs") NewEmptyModel; @@ -3639,6 +3785,21 @@ None ") SetIdentLabel; void SetIdentLabel(const opencascade::handle & ent, const Standard_Integer ident); + /****************** SetLocalLengthUnit ******************/ + /**** md5 signature: 783595f799eb693ca1a2109c4ddaf448 ****/ + %feature("compactdefaultargs") SetLocalLengthUnit; + %feature("autodoc", "Sets local length unit using for transfer process. + +Parameters +---------- +theUnit: float + +Returns +------- +None +") SetLocalLengthUnit; + void SetLocalLengthUnit(const Standard_Real theUnit); + /****************** SetSourceCodePage ******************/ /**** md5 signature: aa588b60c23e4bbb2537b739d5a43a57 ****/ %feature("compactdefaultargs") SetSourceCodePage; @@ -3654,6 +3815,21 @@ None ") SetSourceCodePage; void SetSourceCodePage(Resource_FormatType theCode); + /****************** SetWriteLengthUnit ******************/ + /**** md5 signature: c506583997fe9e8405e47ccc0d6e9a2b ****/ + %feature("compactdefaultargs") SetWriteLengthUnit; + %feature("autodoc", "Sets length unit using for writing process. + +Parameters +---------- +theUnit: float + +Returns +------- +None +") SetWriteLengthUnit; + void SetWriteLengthUnit(const Standard_Real theUnit); + /****************** SourceCodePage ******************/ /**** md5 signature: e194da071972a41e58548e424201cc2c ****/ %feature("compactdefaultargs") SourceCodePage; @@ -3695,6 +3871,17 @@ None ") VerifyCheck; virtual void VerifyCheck(opencascade::handle & ach); + /****************** WriteLengthUnit ******************/ + /**** md5 signature: a15b65aac54886b2c56544fdb4e2f592 ****/ + %feature("compactdefaultargs") WriteLengthUnit; + %feature("autodoc", "Returns length unit using for writing process (1 by default). + +Returns +------- +float +") WriteLengthUnit; + Standard_Real WriteLengthUnit(); + }; @@ -3942,7 +4129,7 @@ int /****************** NextForComplex ******************/ /**** md5 signature: dcd2936f68f0d3198fecec8298b34d93 ****/ %feature("compactdefaultargs") NextForComplex; - %feature("autodoc", "Returns the next 'componant' for a complex type entity, of which is already a componant (the first one or a next one) returns 0 for a simple type or for the last componant. + %feature("autodoc", "Returns the next 'component' for a complex type entity, of which is already a component (the first one or a next one) returns 0 for a simple type or for the last component. Parameters ---------- @@ -4520,7 +4707,7 @@ None /****************** AddParam ******************/ /**** md5 signature: b7c09c76557d15a905a6585c105fc6eb ****/ %feature("compactdefaultargs") AddParam; - %feature("autodoc", "Prepares adding a parameter (that is, adds ',' except for first one); normally for internal use; can be used to send a totally empty parameter (with no litteral value). + %feature("autodoc", "Prepares adding a parameter (that is, adds ',' except for first one); normally for internal use; can be used to send a totally empty parameter (with no literal value). Returns ------- @@ -4568,7 +4755,7 @@ None /****************** EndComplex ******************/ /**** md5 signature: 647e8f46af8631ebe3ef1f2b96ad4dea ****/ %feature("compactdefaultargs") EndComplex; - %feature("autodoc", "Sends the end of a complex entity : a simple closed bracket it must be called after sending all the componants and before the final call to endentity. + %feature("autodoc", "Sends the end of a complex entity : a simple closed bracket it must be called after sending all the components and before the final call to endentity. Returns ------- @@ -4771,7 +4958,7 @@ None /****************** Send ******************/ /**** md5 signature: f58679aa6a4d459eeebef2ee9689b9ec ****/ %feature("compactdefaultargs") Send; - %feature("autodoc", "Sends a real parameter (wroks with floatwriter). + %feature("autodoc", "Sends a real parameter (works with floatwriter). Parameters ---------- @@ -4909,7 +5096,7 @@ None /****************** SendEntity ******************/ /**** md5 signature: 815da511e408035eb7d900f0d5de06aa ****/ %feature("compactdefaultargs") SendEntity; - %feature("autodoc", "Send an entity of the data section. if it corresponds to a scope, also sends the scope informations and contained items. + %feature("autodoc", "Send an entity of the data section. if it corresponds to a scope, also sends the scope information and contained items. Parameters ---------- @@ -4925,7 +5112,7 @@ None /****************** SendEnum ******************/ /**** md5 signature: 3697a0d2e471dd3afbe9d81d2d3efbe7 ****/ %feature("compactdefaultargs") SendEnum; - %feature("autodoc", "Sends an enum given by string (litteral expression) adds '.' around it if not done remark : val can be computed by class enumtool from stepdata: stepwriter.sendenum (myenum.text(enumval));. + %feature("autodoc", "Sends an enum given by string (literal expression) adds '.' around it if not done remark : val can be computed by class enumtool from stepdata: stepwriter.sendenum (myenum.text(enumval));. Parameters ---------- @@ -4940,7 +5127,7 @@ None /****************** SendEnum ******************/ /**** md5 signature: ece5bc46b726e98cedf51fd63ae16366 ****/ %feature("compactdefaultargs") SendEnum; - %feature("autodoc", "Sends an enum given by string (litteral expression) adds '.' around it if not done. + %feature("autodoc", "Sends an enum given by string (literal expression) adds '.' around it if not done. Parameters ---------- @@ -5102,7 +5289,7 @@ None /****************** SendUndef ******************/ /**** md5 signature: 2f7e3905171f54dc8bc4c8128123b2a0 ****/ %feature("compactdefaultargs") SendUndef; - %feature("autodoc", "Sends an undefined (optionnal absent) parameter (by '$'). + %feature("autodoc", "Sends an undefined (optional absent) parameter (by '$'). Returns ------- @@ -5129,7 +5316,7 @@ None /****************** StartComplex ******************/ /**** md5 signature: 32f5a1b6cc0ca2550cde910812f629aa ****/ %feature("compactdefaultargs") StartComplex; - %feature("autodoc", "Sends the start of a complex entity, which is a simple open bracket (without increasing braket level) it must be called just after sendentity and before sending componants, each one begins by startentity. + %feature("autodoc", "Sends the start of a complex entity, which is a simple open bracket (without increasing braket level) it must be called just after sendentity and before sending components, each one begins by startentity. Returns ------- @@ -5140,7 +5327,7 @@ None /****************** StartEntity ******************/ /**** md5 signature: fb2e99a3062c663c9c61b42c2f9ee4a7 ****/ %feature("compactdefaultargs") StartEntity; - %feature("autodoc", "Sets entity's steptype, opens brakets, starts param no to 0 params are separated by comma remark : for a multiple type entity (see express andor clause) startcomplex must be called before sending componants, then each 'componant' must be send separately (one call to startentity for each one) : the type which preceeds is then automaticaly closed. once all the componants have been sent, endcomplex must be called, then and only then endentity. + %feature("autodoc", "Sets entity's steptype, opens brakets, starts param no to 0 params are separated by comma remark : for a multiple type entity (see express andor clause) startcomplex must be called before sending components, then each 'component' must be sent separately (one call to startentity for each one) : the type which precedes is then automatically closed. once all the components have been sent, endcomplex must be called, then and only then endentity. Parameters ---------- @@ -6068,7 +6255,7 @@ None /****************** GlobalCheck ******************/ /**** md5 signature: 0c271e5ee55036c2344ebf1a4f07ae92 ****/ %feature("compactdefaultargs") GlobalCheck; - %feature("autodoc", "Calls globalcheck for each of its recorded ressources. + %feature("autodoc", "Calls globalcheck for each of its recorded resources. Parameters ---------- diff --git a/src/SWIG_files/wrapper/StepData.pyi b/src/SWIG_files/wrapper/StepData.pyi index 5b872e6e7..c5007c701 100644 --- a/src/SWIG_files/wrapper/StepData.pyi +++ b/src/SWIG_files/wrapper/StepData.pyi @@ -162,6 +162,18 @@ class StepData_GeneralModule(Interface_GeneralModule): def CopyCase(self, casenum: int, entfrom: Standard_Transient, entto: Standard_Transient, TC: Interface_CopyTool) -> None: ... def FillSharedCase(self, casenum: int, ent: Standard_Transient, iter: Interface_EntityIterator) -> None: ... +class StepData_GlobalFactors: + def CascadeUnit(self) -> float: ... + def FactorDegreeRadian(self) -> float: ... + def FactorRadianDegree(self) -> float: ... + def InitializeFactors(self, theLengthFactor: float, thePlaneAngleFactor: float, theSolidAngleFactor: float) -> None: ... + @staticmethod + def Intance() -> StepData_GlobalFactors: ... + def LengthFactor(self) -> float: ... + def PlaneAngleFactor(self) -> float: ... + def SetCascadeUnit(self, theUnit: float) -> None: ... + def SolidAngleFactor(self) -> float: ... + class StepData_GlobalNodeOfWriterLib(Standard_Transient): def __init__(self) -> None: ... def Add(self, amodule: StepData_ReadWriteModule, aprotocol: StepData_Protocol) -> None: ... @@ -329,12 +341,17 @@ class StepData_StepModel(Interface_InterfaceModel): def Header(self) -> Interface_EntityIterator: ... def HeaderEntity(self, atype: Standard_Type) -> Standard_Transient: ... def IdentLabel(self, ent: Standard_Transient) -> int: ... + def IsInitializedUnit(self) -> bool: ... + def LocalLengthUnit(self) -> float: ... def NewEmptyModel(self) -> Interface_InterfaceModel: ... def SetIdentLabel(self, ent: Standard_Transient, ident: int) -> None: ... + def SetLocalLengthUnit(self, theUnit: float) -> None: ... def SetSourceCodePage(self, theCode: Resource_FormatType) -> None: ... + def SetWriteLengthUnit(self, theUnit: float) -> None: ... def SourceCodePage(self) -> Resource_FormatType: ... def StringLabel(self, ent: Standard_Transient) -> TCollection_HAsciiString: ... def VerifyCheck(self, ach: Interface_Check) -> None: ... + def WriteLengthUnit(self) -> float: ... class StepData_StepReaderData(Interface_FileReaderData): def __init__(self, nbheader: int, nbtotal: int, nbpar: int, theSourceCodePage: Optional[Resource_FormatType] = Resource_FormatType_UTF8) -> None: ... @@ -620,4 +637,5 @@ stepdata_AddHeaderProtocol = stepdata.AddHeaderProtocol stepdata_HeaderProtocol = stepdata.HeaderProtocol stepdata_Init = stepdata.Init stepdata_Protocol = stepdata.Protocol +StepData_GlobalFactors_Intance = StepData_GlobalFactors.Intance StepData_WriterLib_SetGlobal = StepData_WriterLib.SetGlobal diff --git a/src/SWIG_files/wrapper/StepDimTol.i b/src/SWIG_files/wrapper/StepDimTol.i index fe5396ab7..760a79666 100644 --- a/src/SWIG_files/wrapper/StepDimTol.i +++ b/src/SWIG_files/wrapper/StepDimTol.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPDIMTOLDOCSTRING "StepDimTol module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stepdimtol.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stepdimtol.html" %enddef %module (package="OCC.Core", docstring=STEPDIMTOLDOCSTRING) StepDimTol @@ -156,7 +156,7 @@ enum StepDimTol_GeometricToleranceModifier { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class StepDimTol_LimitCondition(IntEnum): diff --git a/src/SWIG_files/wrapper/StepElement.i b/src/SWIG_files/wrapper/StepElement.i index 627b98829..fae5df88e 100644 --- a/src/SWIG_files/wrapper/StepElement.i +++ b/src/SWIG_files/wrapper/StepElement.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPELEMENTDOCSTRING "StepElement module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stepelement.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stepelement.html" %enddef %module (package="OCC.Core", docstring=STEPELEMENTDOCSTRING) StepElement @@ -137,7 +137,7 @@ enum StepElement_EnumeratedCurveElementPurpose { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class StepElement_ElementVolume(IntEnum): diff --git a/src/SWIG_files/wrapper/StepFEA.i b/src/SWIG_files/wrapper/StepFEA.i index 48fb7ab4f..29c62cc7a 100644 --- a/src/SWIG_files/wrapper/StepFEA.i +++ b/src/SWIG_files/wrapper/StepFEA.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPFEADOCSTRING "StepFEA module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stepfea.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stepfea.html" %enddef %module (package="OCC.Core", docstring=STEPFEADOCSTRING) StepFEA @@ -107,7 +107,7 @@ enum StepFEA_UnspecifiedValue { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class StepFEA_ElementVolume(IntEnum): diff --git a/src/SWIG_files/wrapper/StepGeom.i b/src/SWIG_files/wrapper/StepGeom.i index 05d3dc233..5ae109ebf 100644 --- a/src/SWIG_files/wrapper/StepGeom.i +++ b/src/SWIG_files/wrapper/StepGeom.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPGEOMDOCSTRING "StepGeom module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stepgeom.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stepgeom.html" %enddef %module (package="OCC.Core", docstring=STEPGEOMDOCSTRING) StepGeom @@ -125,7 +125,7 @@ enum StepGeom_TransitionCode { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class StepGeom_KnotType(IntEnum): @@ -219,6 +219,7 @@ StepGeom_tcContSameGradientSameCurvature = StepGeom_TransitionCode.StepGeom_tcCo %wrap_handle(StepGeom_Placement) %wrap_handle(StepGeom_Point) %wrap_handle(StepGeom_ReparametrisedCompositeCurveSegment) +%wrap_handle(StepGeom_SuParameters) %wrap_handle(StepGeom_Surface) %wrap_handle(StepGeom_Vector) %wrap_handle(StepGeom_Axis1Placement) @@ -2559,6 +2560,210 @@ None } }; +/****************************** +* class StepGeom_SuParameters * +******************************/ +class StepGeom_SuParameters : public StepGeom_GeometricRepresentationItem { + public: + /****************** StepGeom_SuParameters ******************/ + /**** md5 signature: 85a569687f8fad7c39c37d9d4f26571a ****/ + %feature("compactdefaultargs") StepGeom_SuParameters; + %feature("autodoc", "Default constructor. + +Returns +------- +None +") StepGeom_SuParameters; + StepGeom_SuParameters(); + + /****************** A ******************/ + /**** md5 signature: 4e126ab674129c10fe472f1cd454dbe1 ****/ + %feature("compactdefaultargs") A; + %feature("autodoc", "Returns field a. + +Returns +------- +float +") A; + Standard_Real A(); + + /****************** Alpha ******************/ + /**** md5 signature: d0eb4ad726a40bcb69a07e035d8af277 ****/ + %feature("compactdefaultargs") Alpha; + %feature("autodoc", "Returns field alpha. + +Returns +------- +float +") Alpha; + Standard_Real Alpha(); + + /****************** B ******************/ + /**** md5 signature: 4885a25669ae505f058aa5976f09cd40 ****/ + %feature("compactdefaultargs") B; + %feature("autodoc", "Returns field b. + +Returns +------- +float +") B; + Standard_Real B(); + + /****************** Beta ******************/ + /**** md5 signature: 9611cbc17e65fd7d9fe28a9eec917c98 ****/ + %feature("compactdefaultargs") Beta; + %feature("autodoc", "Returns field beta. + +Returns +------- +float +") Beta; + Standard_Real Beta(); + + /****************** C ******************/ + /**** md5 signature: 11ad00e12cf6f94e3fa3c08335c5a704 ****/ + %feature("compactdefaultargs") C; + %feature("autodoc", "Returns field c. + +Returns +------- +float +") C; + Standard_Real C(); + + /****************** Gamma ******************/ + /**** md5 signature: ed66dd0e2860030f93e03ba97486a1c2 ****/ + %feature("compactdefaultargs") Gamma; + %feature("autodoc", "Returns field gamma. + +Returns +------- +float +") Gamma; + Standard_Real Gamma(); + + /****************** Init ******************/ + /**** md5 signature: 8d4447275f2973777519acbfeba91772 ****/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "Initialize all fields (own and inherited). + +Parameters +---------- +theRepresentationItem_Name: TCollection_HAsciiString +theA: float +theAlpha: float +theB: float +theBeta: float +theC: float +theGamma: float + +Returns +------- +None +") Init; + void Init(const opencascade::handle & theRepresentationItem_Name, const Standard_Real theA, const Standard_Real theAlpha, const Standard_Real theB, const Standard_Real theBeta, const Standard_Real theC, const Standard_Real theGamma); + + /****************** SetA ******************/ + /**** md5 signature: 1e0ecd7ff33ffeee933a5e368addd9fd ****/ + %feature("compactdefaultargs") SetA; + %feature("autodoc", "Sets field a. + +Parameters +---------- +theA: float + +Returns +------- +None +") SetA; + void SetA(const Standard_Real theA); + + /****************** SetAlpha ******************/ + /**** md5 signature: 837be9743542dceb22ff479a64ecba65 ****/ + %feature("compactdefaultargs") SetAlpha; + %feature("autodoc", "Sets field alpha. + +Parameters +---------- +theAlpha: float + +Returns +------- +None +") SetAlpha; + void SetAlpha(const Standard_Real theAlpha); + + /****************** SetB ******************/ + /**** md5 signature: b4d6027747eb0316b2f2b6e762e13f55 ****/ + %feature("compactdefaultargs") SetB; + %feature("autodoc", "Sets field b. + +Parameters +---------- +theB: float + +Returns +------- +None +") SetB; + void SetB(const Standard_Real theB); + + /****************** SetBeta ******************/ + /**** md5 signature: 51a666586cca65bf67a6110dfff10935 ****/ + %feature("compactdefaultargs") SetBeta; + %feature("autodoc", "Sets field beta. + +Parameters +---------- +theBeta: float + +Returns +------- +None +") SetBeta; + void SetBeta(const Standard_Real theBeta); + + /****************** SetC ******************/ + /**** md5 signature: 01189ddb9fccb4ae72b663727cb3a54b ****/ + %feature("compactdefaultargs") SetC; + %feature("autodoc", "Sets field c. + +Parameters +---------- +theC: float + +Returns +------- +None +") SetC; + void SetC(const Standard_Real theC); + + /****************** SetGamma ******************/ + /**** md5 signature: 9c84dca979d1f7c1b2a794e39f4f7598 ****/ + %feature("compactdefaultargs") SetGamma; + %feature("autodoc", "Sets field gamma. + +Parameters +---------- +theGamma: float + +Returns +------- +None +") SetGamma; + void SetGamma(const Standard_Real theGamma); + +}; + + +%make_alias(StepGeom_SuParameters) + +%extend StepGeom_SuParameters { + %pythoncode { + __repr__ = _dumps_object + } +}; + /************************* * class StepGeom_Surface * *************************/ diff --git a/src/SWIG_files/wrapper/StepGeom.pyi b/src/SWIG_files/wrapper/StepGeom.pyi index 9f5f9b28f..f43981d52 100644 --- a/src/SWIG_files/wrapper/StepGeom.pyi +++ b/src/SWIG_files/wrapper/StepGeom.pyi @@ -438,6 +438,22 @@ class StepGeom_ReparametrisedCompositeCurveSegment(StepGeom_CompositeCurveSegmen def ParamLength(self) -> float: ... def SetParamLength(self, aParamLength: float) -> None: ... +class StepGeom_SuParameters(StepGeom_GeometricRepresentationItem): + def __init__(self) -> None: ... + def A(self) -> float: ... + def Alpha(self) -> float: ... + def B(self) -> float: ... + def Beta(self) -> float: ... + def C(self) -> float: ... + def Gamma(self) -> float: ... + def Init(self, theRepresentationItem_Name: TCollection_HAsciiString, theA: float, theAlpha: float, theB: float, theBeta: float, theC: float, theGamma: float) -> None: ... + def SetA(self, theA: float) -> None: ... + def SetAlpha(self, theAlpha: float) -> None: ... + def SetB(self, theB: float) -> None: ... + def SetBeta(self, theBeta: float) -> None: ... + def SetC(self, theC: float) -> None: ... + def SetGamma(self, theGamma: float) -> None: ... + class StepGeom_Surface(StepGeom_GeometricRepresentationItem): def __init__(self) -> None: ... diff --git a/src/SWIG_files/wrapper/StepRepr.i b/src/SWIG_files/wrapper/StepRepr.i index c04462f8f..cfc5268aa 100644 --- a/src/SWIG_files/wrapper/StepRepr.i +++ b/src/SWIG_files/wrapper/StepRepr.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPREPRDOCSTRING "StepRepr module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_steprepr.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_steprepr.html" %enddef %module (package="OCC.Core", docstring=STEPREPRDOCSTRING) StepRepr @@ -74,7 +74,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -95,8 +95,10 @@ from OCC.Core.Exception import * %wrap_handle(StepRepr_PropertyDefinitionRepresentation) %wrap_handle(StepRepr_Representation) %wrap_handle(StepRepr_RepresentationContext) +%wrap_handle(StepRepr_RepresentationContextReference) %wrap_handle(StepRepr_RepresentationItem) %wrap_handle(StepRepr_RepresentationMap) +%wrap_handle(StepRepr_RepresentationReference) %wrap_handle(StepRepr_RepresentationRelationship) %wrap_handle(StepRepr_ShapeAspect) %wrap_handle(StepRepr_ShapeAspectRelationship) @@ -1266,6 +1268,17 @@ opencascade::handle ") Description; opencascade::handle Description(); + /****************** HasDescription ******************/ + /**** md5 signature: 6792c1621c006761fed03425ebc22116 ****/ + %feature("compactdefaultargs") HasDescription; + %feature("autodoc", "No available documentation. + +Returns +------- +bool +") HasDescription; + Standard_Boolean HasDescription(); + /****************** Init ******************/ /**** md5 signature: 0e834570dec89c800ec534731b946b3a ****/ %feature("compactdefaultargs") Init; @@ -2292,6 +2305,74 @@ None } }; +/************************************************ +* class StepRepr_RepresentationContextReference * +************************************************/ +class StepRepr_RepresentationContextReference : public Standard_Transient { + public: + /****************** StepRepr_RepresentationContextReference ******************/ + /**** md5 signature: c328213af080df48a9b8729b1837422b ****/ + %feature("compactdefaultargs") StepRepr_RepresentationContextReference; + %feature("autodoc", "Default constructor. + +Returns +------- +None +") StepRepr_RepresentationContextReference; + StepRepr_RepresentationContextReference(); + + /****************** ContextIdentifier ******************/ + /**** md5 signature: 3b88cf0586009b9bd3138bd2c7449f57 ****/ + %feature("compactdefaultargs") ContextIdentifier; + %feature("autodoc", "Returns field contextidentifier. + +Returns +------- +opencascade::handle +") ContextIdentifier; + opencascade::handle ContextIdentifier(); + + /****************** Init ******************/ + /**** md5 signature: 2ccf5654d2b711006d7a780ce817e13c ****/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "Initialize all fields (own and inherited). + +Parameters +---------- +theContextIdentifier: TCollection_HAsciiString + +Returns +------- +None +") Init; + void Init(const opencascade::handle & theContextIdentifier); + + /****************** SetContextIdentifier ******************/ + /**** md5 signature: 60f8090548271b758b7db604c2dbd754 ****/ + %feature("compactdefaultargs") SetContextIdentifier; + %feature("autodoc", "Sets field contextidentifier. + +Parameters +---------- +theContextIdentifier: TCollection_HAsciiString + +Returns +------- +None +") SetContextIdentifier; + void SetContextIdentifier(const opencascade::handle & theContextIdentifier); + +}; + + +%make_alias(StepRepr_RepresentationContextReference) + +%extend StepRepr_RepresentationContextReference { + %pythoncode { + __repr__ = _dumps_object + } +}; + /************************************ * class StepRepr_RepresentationItem * ************************************/ @@ -2455,6 +2536,163 @@ None } }; +/********************************************************* +* class StepRepr_RepresentationOrRepresentationReference * +*********************************************************/ +class StepRepr_RepresentationOrRepresentationReference : public StepData_SelectType { + public: + /****************** StepRepr_RepresentationOrRepresentationReference ******************/ + /**** md5 signature: 2ee1db7ab40515398436157a4ae8c738 ****/ + %feature("compactdefaultargs") StepRepr_RepresentationOrRepresentationReference; + %feature("autodoc", "Empty constructor. + +Returns +------- +None +") StepRepr_RepresentationOrRepresentationReference; + StepRepr_RepresentationOrRepresentationReference(); + + /****************** CaseNum ******************/ + /**** md5 signature: b9dbcdb5b972500c66bc8bc08f651d0a ****/ + %feature("compactdefaultargs") CaseNum; + %feature("autodoc", "Recognizes a kind of representationorrepresentationreference select type -- 1 -> representation -- 2 -> representationreference. + +Parameters +---------- +ent: Standard_Transient + +Returns +------- +int +") CaseNum; + Standard_Integer CaseNum(const opencascade::handle & ent); + + /****************** Representation ******************/ + /**** md5 signature: b68b8aa0615de130a54bdd2ee7c69058 ****/ + %feature("compactdefaultargs") Representation; + %feature("autodoc", "Returns value as representation (or null if another type). + +Returns +------- +opencascade::handle +") Representation; + opencascade::handle Representation(); + + /****************** RepresentationReference ******************/ + /**** md5 signature: 461a26e5dad75c33acefac7805351baf ****/ + %feature("compactdefaultargs") RepresentationReference; + %feature("autodoc", "Returns value as representationreference (or null if another type). + +Returns +------- +opencascade::handle +") RepresentationReference; + opencascade::handle RepresentationReference(); + +}; + + +%extend StepRepr_RepresentationOrRepresentationReference { + %pythoncode { + __repr__ = _dumps_object + } +}; + +/***************************************** +* class StepRepr_RepresentationReference * +*****************************************/ +class StepRepr_RepresentationReference : public Standard_Transient { + public: + /****************** StepRepr_RepresentationReference ******************/ + /**** md5 signature: 46eaeb50ae59ce7f0b7436ba049fb18a ****/ + %feature("compactdefaultargs") StepRepr_RepresentationReference; + %feature("autodoc", "Default constructor. + +Returns +------- +None +") StepRepr_RepresentationReference; + StepRepr_RepresentationReference(); + + /****************** ContextOfItems ******************/ + /**** md5 signature: c7fff1cb1d425ac6c93ad8199b152c1a ****/ + %feature("compactdefaultargs") ContextOfItems; + %feature("autodoc", "Returns field contextofitems. + +Returns +------- +opencascade::handle +") ContextOfItems; + opencascade::handle ContextOfItems(); + + /****************** Id ******************/ + /**** md5 signature: cad437aa1c6f9043742098c562124f9e ****/ + %feature("compactdefaultargs") Id; + %feature("autodoc", "Returns field id. + +Returns +------- +opencascade::handle +") Id; + opencascade::handle Id(); + + /****************** Init ******************/ + /**** md5 signature: 6936a0ecf85a476f465a79b99ca725cc ****/ + %feature("compactdefaultargs") Init; + %feature("autodoc", "Initialize all fields (own and inherited). + +Parameters +---------- +theId: TCollection_HAsciiString +theContextOfItems: StepRepr_RepresentationContextReference + +Returns +------- +None +") Init; + void Init(const opencascade::handle & theId, const opencascade::handle & theContextOfItems); + + /****************** SetContextOfItems ******************/ + /**** md5 signature: 9c4f4a49658882a41529c2d80e4b9d11 ****/ + %feature("compactdefaultargs") SetContextOfItems; + %feature("autodoc", "Sets field contextofitems. + +Parameters +---------- +theContextOfItems: StepRepr_RepresentationContextReference + +Returns +------- +None +") SetContextOfItems; + void SetContextOfItems(const opencascade::handle & theContextOfItems); + + /****************** SetId ******************/ + /**** md5 signature: b1f60d3e5102c6da05e855395131256d ****/ + %feature("compactdefaultargs") SetId; + %feature("autodoc", "Sets field id. + +Parameters +---------- +theId: TCollection_HAsciiString + +Returns +------- +None +") SetId; + void SetId(const opencascade::handle & theId); + +}; + + +%make_alias(StepRepr_RepresentationReference) + +%extend StepRepr_RepresentationReference { + %pythoncode { + __repr__ = _dumps_object + } +}; + /******************************************** * class StepRepr_RepresentationRelationship * ********************************************/ @@ -2482,6 +2720,17 @@ opencascade::handle ") Description; opencascade::handle Description(); + /****************** HasDescription ******************/ + /**** md5 signature: 083af65e5ebbf93f76d20e3d8763206e ****/ + %feature("compactdefaultargs") HasDescription; + %feature("autodoc", "No available documentation. + +Returns +------- +bool +") HasDescription; + Standard_Boolean HasDescription(); + /****************** Init ******************/ /**** md5 signature: 148c2be5cfa53e5b136d44a9d5e3c232 ****/ %feature("compactdefaultargs") Init; diff --git a/src/SWIG_files/wrapper/StepRepr.pyi b/src/SWIG_files/wrapper/StepRepr.pyi index db554dae4..c63c1803b 100644 --- a/src/SWIG_files/wrapper/StepRepr.pyi +++ b/src/SWIG_files/wrapper/StepRepr.pyi @@ -214,6 +214,7 @@ class StepRepr_FunctionallyDefinedTransformation(Standard_Transient): class StepRepr_ItemDefinedTransformation(Standard_Transient): def __init__(self) -> None: ... def Description(self) -> TCollection_HAsciiString: ... + def HasDescription(self) -> bool: ... def Init(self, aName: TCollection_HAsciiString, aDescription: TCollection_HAsciiString, aTransformItem1: StepRepr_RepresentationItem, aTransformItem2: StepRepr_RepresentationItem) -> None: ... def Name(self) -> TCollection_HAsciiString: ... def SetDescription(self, aDescription: TCollection_HAsciiString) -> None: ... @@ -298,6 +299,12 @@ class StepRepr_RepresentationContext(Standard_Transient): def SetContextIdentifier(self, aContextIdentifier: TCollection_HAsciiString) -> None: ... def SetContextType(self, aContextType: TCollection_HAsciiString) -> None: ... +class StepRepr_RepresentationContextReference(Standard_Transient): + def __init__(self) -> None: ... + def ContextIdentifier(self) -> TCollection_HAsciiString: ... + def Init(self, theContextIdentifier: TCollection_HAsciiString) -> None: ... + def SetContextIdentifier(self, theContextIdentifier: TCollection_HAsciiString) -> None: ... + class StepRepr_RepresentationItem(Standard_Transient): def __init__(self) -> None: ... def Init(self, aName: TCollection_HAsciiString) -> None: ... @@ -312,9 +319,24 @@ class StepRepr_RepresentationMap(Standard_Transient): def SetMappedRepresentation(self, aMappedRepresentation: StepRepr_Representation) -> None: ... def SetMappingOrigin(self, aMappingOrigin: StepRepr_RepresentationItem) -> None: ... +class StepRepr_RepresentationOrRepresentationReference(StepData_SelectType): + def __init__(self) -> None: ... + def CaseNum(self, ent: Standard_Transient) -> int: ... + def Representation(self) -> StepRepr_Representation: ... + def RepresentationReference(self) -> StepRepr_RepresentationReference: ... + +class StepRepr_RepresentationReference(Standard_Transient): + def __init__(self) -> None: ... + def ContextOfItems(self) -> StepRepr_RepresentationContextReference: ... + def Id(self) -> TCollection_HAsciiString: ... + def Init(self, theId: TCollection_HAsciiString, theContextOfItems: StepRepr_RepresentationContextReference) -> None: ... + def SetContextOfItems(self, theContextOfItems: StepRepr_RepresentationContextReference) -> None: ... + def SetId(self, theId: TCollection_HAsciiString) -> None: ... + class StepRepr_RepresentationRelationship(Standard_Transient): def __init__(self) -> None: ... def Description(self) -> TCollection_HAsciiString: ... + def HasDescription(self) -> bool: ... def Init(self, aName: TCollection_HAsciiString, aDescription: TCollection_HAsciiString, aRep1: StepRepr_Representation, aRep2: StepRepr_Representation) -> None: ... def Name(self) -> TCollection_HAsciiString: ... def Rep1(self) -> StepRepr_Representation: ... diff --git a/src/SWIG_files/wrapper/StepShape.i b/src/SWIG_files/wrapper/StepShape.i index 727e22015..b339d23da 100644 --- a/src/SWIG_files/wrapper/StepShape.i +++ b/src/SWIG_files/wrapper/StepShape.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPSHAPEDOCSTRING "StepShape module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stepshape.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stepshape.html" %enddef %module (package="OCC.Core", docstring=STEPSHAPEDOCSTRING) StepShape @@ -87,7 +87,7 @@ enum StepShape_BooleanOperator { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class StepShape_AngleRelator(IntEnum): diff --git a/src/SWIG_files/wrapper/StepToGeom.i b/src/SWIG_files/wrapper/StepToGeom.i index b516c21ad..a91cc7103 100644 --- a/src/SWIG_files/wrapper/StepToGeom.i +++ b/src/SWIG_files/wrapper/StepToGeom.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPTOGEOMDOCSTRING "StepToGeom module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_steptogeom.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_steptogeom.html" %enddef %module (package="OCC.Core", docstring=STEPTOGEOMDOCSTRING) StepToGeom @@ -46,6 +46,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_steptogeom.html" #include #include #include +#include +#include #include #include #include @@ -68,6 +70,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_steptogeom.html" %import Geom.i %import Geom2d.i %import gp.i +%import StepRepr.i +%import TColStd.i %pythoncode { from enum import IntEnum @@ -77,7 +81,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -127,6 +131,21 @@ opencascade::handle ") MakeAxis2Placement; static opencascade::handle MakeAxis2Placement(const opencascade::handle & SA); + /****************** MakeAxis2Placement ******************/ + /**** md5 signature: 9c31e6d955fc394caecd4f46d406587b ****/ + %feature("compactdefaultargs") MakeAxis2Placement; + %feature("autodoc", "No available documentation. + +Parameters +---------- +SP: StepGeom_SuParameters + +Returns +------- +opencascade::handle +") MakeAxis2Placement; + static opencascade::handle MakeAxis2Placement(const opencascade::handle & SP); + /****************** MakeAxisPlacement ******************/ /**** md5 signature: afd550d9a29a4881d24f34abb414ecdb ****/ %feature("compactdefaultargs") MakeAxisPlacement; @@ -789,6 +808,22 @@ opencascade::handle ") MakeVectorWithMagnitude2d; static opencascade::handle MakeVectorWithMagnitude2d(const opencascade::handle & SV); + /****************** MakeYprRotation ******************/ + /**** md5 signature: de9dc847a92c9949d29654e63b9eb686 ****/ + %feature("compactdefaultargs") MakeYprRotation; + %feature("autodoc", "No available documentation. + +Parameters +---------- +SR: StepKinematics_SpatialRotation +theCntxt: StepRepr_GlobalUnitAssignedContext + +Returns +------- +opencascade::handle +") MakeYprRotation; + static opencascade::handle MakeYprRotation(const StepKinematics_SpatialRotation & SR, const opencascade::handle & theCntxt); + }; diff --git a/src/SWIG_files/wrapper/StepToGeom.pyi b/src/SWIG_files/wrapper/StepToGeom.pyi index 193d61f62..b6129df4e 100644 --- a/src/SWIG_files/wrapper/StepToGeom.pyi +++ b/src/SWIG_files/wrapper/StepToGeom.pyi @@ -7,13 +7,19 @@ from OCC.Core.StepGeom import * from OCC.Core.Geom import * from OCC.Core.Geom2d import * from OCC.Core.gp import * +from OCC.Core.StepRepr import * +from OCC.Core.TColStd import * class steptogeom: @staticmethod def MakeAxis1Placement(SA: StepGeom_Axis1Placement) -> Geom_Axis1Placement: ... + @overload @staticmethod def MakeAxis2Placement(SA: StepGeom_Axis2Placement3d) -> Geom_Axis2Placement: ... + @overload + @staticmethod + def MakeAxis2Placement(SP: StepGeom_SuParameters) -> Geom_Axis2Placement: ... @staticmethod def MakeAxisPlacement(SA: StepGeom_Axis2Placement2d) -> Geom2d_AxisPlacement: ... @staticmethod @@ -109,6 +115,7 @@ class steptogeom: steptogeom_MakeAxis1Placement = steptogeom.MakeAxis1Placement steptogeom_MakeAxis2Placement = steptogeom.MakeAxis2Placement +steptogeom_MakeAxis2Placement = steptogeom.MakeAxis2Placement steptogeom_MakeAxisPlacement = steptogeom.MakeAxisPlacement steptogeom_MakeBSplineCurve = steptogeom.MakeBSplineCurve steptogeom_MakeBSplineCurve2d = steptogeom.MakeBSplineCurve2d @@ -153,3 +160,4 @@ steptogeom_MakeTrimmedCurve = steptogeom.MakeTrimmedCurve steptogeom_MakeTrimmedCurve2d = steptogeom.MakeTrimmedCurve2d steptogeom_MakeVectorWithMagnitude = steptogeom.MakeVectorWithMagnitude steptogeom_MakeVectorWithMagnitude2d = steptogeom.MakeVectorWithMagnitude2d +steptogeom_MakeYprRotation = steptogeom.MakeYprRotation diff --git a/src/SWIG_files/wrapper/StepToTopoDS.i b/src/SWIG_files/wrapper/StepToTopoDS.i index b44be965b..4a9e4edf6 100644 --- a/src/SWIG_files/wrapper/StepToTopoDS.i +++ b/src/SWIG_files/wrapper/StepToTopoDS.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPTOTOPODSDOCSTRING "StepToTopoDS module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_steptotopods.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_steptotopods.html" %enddef %module (package="OCC.Core", docstring=STEPTOTOPODSDOCSTRING) StepToTopoDS @@ -136,7 +136,7 @@ enum StepToTopoDS_TranslateVertexError { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class StepToTopoDS_GeometricToolError(IntEnum): diff --git a/src/SWIG_files/wrapper/StepVisual.i b/src/SWIG_files/wrapper/StepVisual.i index 26dc8ad3c..a10d013d6 100644 --- a/src/SWIG_files/wrapper/StepVisual.i +++ b/src/SWIG_files/wrapper/StepVisual.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STEPVISUALDOCSTRING "StepVisual module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stepvisual.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stepvisual.html" %enddef %module (package="OCC.Core", docstring=STEPVISUALDOCSTRING) StepVisual @@ -118,7 +118,7 @@ enum StepVisual_ShadingSurfaceMethod { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class StepVisual_NullStyle(IntEnum): diff --git a/src/SWIG_files/wrapper/StlAPI.i b/src/SWIG_files/wrapper/StlAPI.i index 5ba825f96..b61353c3c 100644 --- a/src/SWIG_files/wrapper/StlAPI.i +++ b/src/SWIG_files/wrapper/StlAPI.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STLAPIDOCSTRING "StlAPI module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_stlapi.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_stlapi.html" %enddef %module (package="OCC.Core", docstring=STLAPIDOCSTRING) StlAPI @@ -64,7 +64,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/Storage.i b/src/SWIG_files/wrapper/Storage.i index a58c61c60..1fd382a97 100644 --- a/src/SWIG_files/wrapper/Storage.i +++ b/src/SWIG_files/wrapper/Storage.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define STORAGEDOCSTRING "Storage module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_storage.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_storage.html" %enddef %module (package="OCC.Core", docstring=STORAGEDOCSTRING) Storage @@ -89,7 +89,7 @@ enum Storage_OpenMode { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Storage_SolveMode(IntEnum): diff --git a/src/SWIG_files/wrapper/Sweep.i b/src/SWIG_files/wrapper/Sweep.i index 1c72c1c84..c56fac490 100644 --- a/src/SWIG_files/wrapper/Sweep.i +++ b/src/SWIG_files/wrapper/Sweep.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define SWEEPDOCSTRING "Sweep module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_sweep.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_sweep.html" %enddef %module (package="OCC.Core", docstring=SWEEPDOCSTRING) Sweep @@ -60,7 +60,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -228,7 +228,7 @@ None /****************** Init ******************/ /**** md5 signature: 9d541733c548a19a3e04659ced67dd20 ****/ %feature("compactdefaultargs") Init; - %feature("autodoc", "Resest the numshapeiterator on sub-shapes of . + %feature("autodoc", "Reset the numshapeiterator on sub-shapes of . Parameters ---------- diff --git a/src/SWIG_files/wrapper/TColGeom.i b/src/SWIG_files/wrapper/TColGeom.i index ee413101f..0cafef74a 100644 --- a/src/SWIG_files/wrapper/TColGeom.i +++ b/src/SWIG_files/wrapper/TColGeom.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TCOLGEOMDOCSTRING "TColGeom module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tcolgeom.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_tcolgeom.html" %enddef %module (package="OCC.Core", docstring=TCOLGEOMDOCSTRING) TColGeom @@ -61,7 +61,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/TColGeom2d.i b/src/SWIG_files/wrapper/TColGeom2d.i index 7d72b03a4..44ed35d9f 100644 --- a/src/SWIG_files/wrapper/TColGeom2d.i +++ b/src/SWIG_files/wrapper/TColGeom2d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TCOLGEOM2DDOCSTRING "TColGeom2d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tcolgeom2d.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_tcolgeom2d.html" %enddef %module (package="OCC.Core", docstring=TCOLGEOM2DDOCSTRING) TColGeom2d @@ -61,7 +61,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/TColQuantity.i b/src/SWIG_files/wrapper/TColQuantity.i index 394928507..3bcdbb107 100644 --- a/src/SWIG_files/wrapper/TColQuantity.i +++ b/src/SWIG_files/wrapper/TColQuantity.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TCOLQUANTITYDOCSTRING "TColQuantity module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tcolquantity.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_tcolquantity.html" %enddef %module (package="OCC.Core", docstring=TCOLQUANTITYDOCSTRING) TColQuantity @@ -58,7 +58,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/TColStd.i b/src/SWIG_files/wrapper/TColStd.i index 7f0250c06..07d2c7552 100644 --- a/src/SWIG_files/wrapper/TColStd.i +++ b/src/SWIG_files/wrapper/TColStd.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TCOLSTDDOCSTRING "TColStd module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tcolstd.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_tcolstd.html" %enddef %module (package="OCC.Core", docstring=TCOLSTDDOCSTRING) TColStd @@ -60,7 +60,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -725,29 +725,30 @@ TColStd_PackedMapOfInteger /*********************************** * class TColStd_PackedMapOfInteger * ***********************************/ -class TColStd_PackedMapOfInteger : private TCollection_BasicMap { +class TColStd_PackedMapOfInteger { public: + class TColStd_intMapNode {}; class Iterator {}; /****************** TColStd_PackedMapOfInteger ******************/ - /**** md5 signature: 619d2daca0e8dea9773a1b97a582c2c1 ****/ + /**** md5 signature: ee60f291faae5f56871e692625f9167d ****/ %feature("compactdefaultargs") TColStd_PackedMapOfInteger; - %feature("autodoc", "/// constructor. + %feature("autodoc", "Constructor. Parameters ---------- -NbBuckets: int,optional +theNbBuckets: int,optional default value is 1 Returns ------- None ") TColStd_PackedMapOfInteger; - TColStd_PackedMapOfInteger(const Standard_Integer NbBuckets = 1); + TColStd_PackedMapOfInteger(const Standard_Integer theNbBuckets = 1); /****************** TColStd_PackedMapOfInteger ******************/ - /**** md5 signature: df5363196f2bc30ad246fd02e747d5dd ****/ + /**** md5 signature: 2cdd258a707cd6ed3411a3db79e6a60a ****/ %feature("compactdefaultargs") TColStd_PackedMapOfInteger; - %feature("autodoc", "/// copy constructor. + %feature("autodoc", "Copy constructor. Parameters ---------- @@ -847,9 +848,9 @@ None void Difference(const TColStd_PackedMapOfInteger &, const TColStd_PackedMapOfInteger &); /****************** Extent ******************/ - /**** md5 signature: c808611e9f0acbe25f7e01fc4b129456 ****/ + /**** md5 signature: 19453f219e568f9c5109a0fd06459e95 ****/ %feature("compactdefaultargs") Extent; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Returns map extent. Returns ------- @@ -926,9 +927,9 @@ None void Intersection(const TColStd_PackedMapOfInteger &, const TColStd_PackedMapOfInteger &); /****************** IsEmpty ******************/ - /**** md5 signature: e0fa1d0f35a1c4ad702e4e993780ae41 ****/ + /**** md5 signature: d529c07ce9e12eea3222188c82b0e80b ****/ %feature("compactdefaultargs") IsEmpty; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Returns true if map is empty. Returns ------- @@ -967,9 +968,9 @@ bool Standard_Boolean IsSubset(const TColStd_PackedMapOfInteger &); /****************** NbBuckets ******************/ - /**** md5 signature: b26adb1645e0f77d77c223d25f073de1 ****/ + /**** md5 signature: cc8d74943ffa9a9dd7cf4eff0c6c9739 ****/ %feature("compactdefaultargs") NbBuckets; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Returns the number of map buckets (not that since integers are packed in this map, the number is smaller than extent). Returns ------- diff --git a/src/SWIG_files/wrapper/TColStd.pyi b/src/SWIG_files/wrapper/TColStd.pyi index 40a8e9189..01658ae45 100644 --- a/src/SWIG_files/wrapper/TColStd.pyi +++ b/src/SWIG_files/wrapper/TColStd.pyi @@ -465,9 +465,9 @@ class TColStd_HPackedMapOfInteger(Standard_Transient): def ChangeMap(self) -> TColStd_PackedMapOfInteger: ... def Map(self) -> TColStd_PackedMapOfInteger: ... -class TColStd_PackedMapOfInteger(TCollection_BasicMap): +class TColStd_PackedMapOfInteger: @overload - def __init__(self, NbBuckets: Optional[int] = 1) -> None: ... + def __init__(self, theNbBuckets: Optional[int] = 1) -> None: ... @overload def __init__(self, theOther: TColStd_PackedMapOfInteger) -> None: ... def Add(self, aKey: int) -> bool: ... diff --git a/src/SWIG_files/wrapper/TColgp.i b/src/SWIG_files/wrapper/TColgp.i index 50e76ab50..ce565d1f1 100644 --- a/src/SWIG_files/wrapper/TColgp.i +++ b/src/SWIG_files/wrapper/TColgp.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TCOLGPDOCSTRING "TColgp module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tcolgp.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_tcolgp.html" %enddef %module (package="OCC.Core", docstring=TCOLGPDOCSTRING) TColgp @@ -59,7 +59,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/TCollection.i b/src/SWIG_files/wrapper/TCollection.i index 462440123..6b8d8282c 100644 --- a/src/SWIG_files/wrapper/TCollection.i +++ b/src/SWIG_files/wrapper/TCollection.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TCOLLECTIONDOCSTRING "TCollection module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tcollection.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_tcollection.html" %enddef %module (package="OCC.Core", docstring=TCOLLECTIONDOCSTRING) TCollection @@ -56,37 +56,22 @@ from OCC.Core.Exception import * }; /* public enums */ -enum TCollection_Side { - TCollection_Left = 0, - TCollection_Right = 1, -}; - /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { - -class TCollection_Side(IntEnum): - TCollection_Left = 0 - TCollection_Right = 1 -TCollection_Left = TCollection_Side.TCollection_Left -TCollection_Right = TCollection_Side.TCollection_Right }; /* end python proxy for enums */ /* handles */ %wrap_handle(TCollection_HAsciiString) %wrap_handle(TCollection_HExtendedString) -%wrap_handle(TCollection_MapNode) -%wrap_handle(TCollection_SeqNode) /* end handles declaration */ /* templates */ /* end templates declaration */ /* typedefs */ -typedef TCollection_MapNode * TCollection_MapNodePtr; -typedef TCollection_SeqNode * TCollection_SeqNodePtr; /* end typedefs declaration */ /******************** @@ -184,7 +169,7 @@ None /****************** TCollection_AsciiString ******************/ /**** md5 signature: ac8ac9c34e424f0a9f52452a771d440e ****/ %feature("compactdefaultargs") TCollection_AsciiString; - %feature("autodoc", "Initializes an asciistring with space allocated. and filled with . this is usefull for buffers. + %feature("autodoc", "Initializes an asciistring with space allocated. and filled with . this is useful for buffers. Parameters ---------- @@ -308,7 +293,7 @@ None /****************** TCollection_AsciiString ******************/ /**** md5 signature: 31b9469f567d9991529cd4b23f00ac83 ****/ %feature("compactdefaultargs") TCollection_AsciiString; - %feature("autodoc", "Creation by converting an extended string to an ascii string. if replacenonascii is non-null charecter, it will be used in place of any non-ascii character found in the source string. otherwise, creates utf-8 unicode string. + %feature("autodoc", "Creation by converting an extended string to an ascii string. if replacenonascii is non-null character, it will be used in place of any non-ascii character found in the source string. otherwise, creates utf-8 unicode string. Parameters ---------- @@ -517,7 +502,7 @@ None /****************** ChangeAll ******************/ /**** md5 signature: 2a8248c4e2acd40c1b84a1410fcc9575 ****/ %feature("compactdefaultargs") ChangeAll; - %feature("autodoc", "Substitutes all the characters equal to achar by newchar in the asciistring . the substitution can be case sensitive. if you don't use default case sensitive, no matter wether achar is uppercase or not. example: me = 'histake' -> changeall('h','m',standard_true) gives me = 'mistake'. + %feature("autodoc", "Substitutes all the characters equal to achar by newchar in the asciistring . the substitution can be case sensitive. if you don't use default case sensitive, no matter whether achar is uppercase or not. example: me = 'histake' -> changeall('h','m',standard_true) gives me = 'mistake'. Parameters ---------- @@ -915,15 +900,20 @@ bool Standard_Boolean IsLess(const TCollection_AsciiString & other); /****************** IsRealValue ******************/ - /**** md5 signature: 37730896bf853986942d4303fcf722e6 ****/ + /**** md5 signature: 3455e68cf132006275afbfe41b3e332b ****/ %feature("compactdefaultargs") IsRealValue; - %feature("autodoc", "Returns true if the asciistring contains a real value. note: an integer value is considered to be a real value as well. + %feature("autodoc", "Returns true if the asciistring starts with some characters that can be interpreted as integer or real value. @param thetocheckfull [in] when true, checks if entire string defines a real value; otherwise checks if string starts with a real value note: an integer value is considered to be a real value as well. + +Parameters +---------- +theToCheckFull: bool,optional + default value is Standard_False Returns ------- bool ") IsRealValue; - Standard_Boolean IsRealValue(); + Standard_Boolean IsRealValue(Standard_Boolean theToCheckFull = Standard_False); /****************** IsSameString ******************/ /**** md5 signature: c1d604c9c70a25aef5035beb6698a7da ****/ @@ -945,7 +935,7 @@ bool /****************** LeftAdjust ******************/ /**** md5 signature: 2d194519f25a34b81a2aaed2f3fcf7eb ****/ %feature("compactdefaultargs") LeftAdjust; - %feature("autodoc", "Removes all space characters in the begining of the string. + %feature("autodoc", "Removes all space characters in the beginning of the string. Returns ------- @@ -983,7 +973,7 @@ int /****************** Location ******************/ /**** md5 signature: b7df9b412181c7ea45c2f5f147569013 ****/ %feature("compactdefaultargs") Location; - %feature("autodoc", "Returns an index in the string of the first occurence of the string s in the string from the starting index fromindex to the ending index toindex returns zero if failure raises an exception if fromindex or toindex is out of range. example: before me = 'aabaaaa', s = 'aa', fromindex = 1, toindex = 7 after me = 'aabaaaa' returns 4. + %feature("autodoc", "Returns an index in the string of the first occurrence of the string s in the string from the starting index fromindex to the ending index toindex returns zero if failure raises an exception if fromindex or toindex is out of range. example: before me = 'aabaaaa', s = 'aa', fromindex = 1, toindex = 7 after me = 'aabaaaa' returns 4. Parameters ---------- @@ -1000,7 +990,7 @@ int /****************** Location ******************/ /**** md5 signature: 6bebd5959426436339306c497d79377d ****/ %feature("compactdefaultargs") Location; - %feature("autodoc", "Returns the index of the nth occurence of the character c in the string from the starting index fromindex to the ending index toindex. returns zero if failure. raises an exception if fromindex or toindex is out of range. example: before me = 'aabaa', n = 3, c = 'a', fromindex = 1, toindex = 5 after me = 'aabaa' returns 5. + %feature("autodoc", "Returns the index of the nth occurrence of the character c in the string from the starting index fromindex to the ending index toindex. returns zero if failure. raises an exception if fromindex or toindex is out of range. example: before me = 'aabaa', n = 3, c = 'a', fromindex = 1, toindex = 5 after me = 'aabaa' returns 5. Parameters ---------- @@ -1087,7 +1077,7 @@ None /****************** RemoveAll ******************/ /**** md5 signature: 17e901953b8ffee8fc2a18f2cc4c7ebe ****/ %feature("compactdefaultargs") RemoveAll; - %feature("autodoc", "Remove all the occurences of the character c in the string. example: before me = 'hellllo', c = 'l' , casesensitive = true after me = 'hello'. + %feature("autodoc", "Remove all the occurrences of the character c in the string. example: before me = 'hellllo', c = 'l' , casesensitive = true after me = 'hello'. Parameters ---------- @@ -1380,7 +1370,7 @@ int /****************** Value ******************/ /**** md5 signature: b790c256d0e62b0d42a4819aca4e63bb ****/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns character at position in . if is less than zero or greater than the lenght of , an exception is raised. example: astring contains 'hello' astring.value(2) returns 'e'. + %feature("autodoc", "Returns character at position in . if is less than zero or greater than the length of , an exception is raised. example: astring contains 'hello' astring.value(2) returns 'e'. Parameters ---------- @@ -1587,174 +1577,6 @@ TCollection_AsciiString } }; -/********************************* -* class TCollection_BaseSequence * -*********************************/ -%nodefaultctor TCollection_BaseSequence; -class TCollection_BaseSequence { - public: - /****************** Exchange ******************/ - /**** md5 signature: 3faab1f487d68b5230cea955610b5349 ****/ - %feature("compactdefaultargs") Exchange; - %feature("autodoc", "Swaps elements which are located at positions and in . raises an exception if i or j is out of bound. example: before me = (a b c), i = 1, j = 3 after me = (c b a). - -Parameters ----------- -I: int -J: int - -Returns -------- -None -") Exchange; - void Exchange(const Standard_Integer I, const Standard_Integer J); - - /****************** IsEmpty ******************/ - /**** md5 signature: 6ab5e1ad63f93168856ab126dd374b81 ****/ - %feature("compactdefaultargs") IsEmpty; - %feature("autodoc", "Returns true if the sequence contains no elements. - -Returns -------- -bool -") IsEmpty; - Standard_Boolean IsEmpty(); - - /****************** Length ******************/ - /**** md5 signature: 58bd40380acccb2733bfbd37bf3cbb11 ****/ - %feature("compactdefaultargs") Length; - %feature("autodoc", "Returns the number of element(s) in the sequence. returns zero if the sequence is empty. - -Returns -------- -int -") Length; - Standard_Integer Length(); - - /****************** Reverse ******************/ - /**** md5 signature: b751d6874fc026e19a7a6cb37e9ac1b4 ****/ - %feature("compactdefaultargs") Reverse; - %feature("autodoc", "Reverses the order of items on . example: before me = (a b c) after me = (c b a). - -Returns -------- -None -") Reverse; - void Reverse(); - -}; - - -%extend TCollection_BaseSequence { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/***************************** -* class TCollection_BasicMap * -*****************************/ -%nodefaultctor TCollection_BasicMap; -class TCollection_BasicMap { - public: - /****************** Extent ******************/ - /**** md5 signature: 8da0d7e03de513b08d57e17232ac7391 ****/ - %feature("compactdefaultargs") Extent; - %feature("autodoc", "Returns the number of keys already stored in . - -Returns -------- -int -") Extent; - Standard_Integer Extent(); - - /****************** IsEmpty ******************/ - /**** md5 signature: 6ab5e1ad63f93168856ab126dd374b81 ****/ - %feature("compactdefaultargs") IsEmpty; - %feature("autodoc", "Returns true when the map contains no keys. this is exactly extent() == 0. - -Returns -------- -bool -") IsEmpty; - Standard_Boolean IsEmpty(); - - /****************** NbBuckets ******************/ - /**** md5 signature: 558ee01d25f82e9482b59df62eb99945 ****/ - %feature("compactdefaultargs") NbBuckets; - %feature("autodoc", "Returns the number of buckets in . - -Returns -------- -int -") NbBuckets; - Standard_Integer NbBuckets(); - - - %feature("autodoc", "1"); - %extend{ - std::string StatisticsToString() { - std::stringstream s; - self->Statistics(s); - return s.str();} - }; -}; - - -%extend TCollection_BasicMap { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/************************************* -* class TCollection_BasicMapIterator * -*************************************/ -%nodefaultctor TCollection_BasicMapIterator; -class TCollection_BasicMapIterator { - public: - /****************** More ******************/ - /**** md5 signature: 6f6e915c9a3dca758c059d9e8af02dff ****/ - %feature("compactdefaultargs") More; - %feature("autodoc", "Returns true if there is a current entry for this iterator in the map. use the function next to set this iterator to the position of the next entry, if it exists. - -Returns -------- -bool -") More; - Standard_Boolean More(); - - /****************** Next ******************/ - /**** md5 signature: f35c0df5f1d7c877986db18081404532 ****/ - %feature("compactdefaultargs") Next; - %feature("autodoc", "Sets this iterator to the position of the next entry of the map. nothing is changed if there is no more entry to explore in the map: this iterator is always positioned on the last entry of the map but the function more returns false. - -Returns -------- -None -") Next; - void Next(); - - /****************** Reset ******************/ - /**** md5 signature: 7beb446fe26b948f797f8de87e46c23d ****/ - %feature("compactdefaultargs") Reset; - %feature("autodoc", "Resets the iterator to the first node. - -Returns -------- -None -") Reset; - void Reset(); - -}; - - -%extend TCollection_BasicMapIterator { - %pythoncode { - __repr__ = _dumps_object - } -}; - /*********************************** * class TCollection_ExtendedString * ***********************************/ @@ -1989,7 +1811,7 @@ TCollection_ExtendedString /****************** ChangeAll ******************/ /**** md5 signature: 172cbf77fdcbc202d23ddaed833764da ****/ %feature("compactdefaultargs") ChangeAll; - %feature("autodoc", "Substitutes all the characters equal to achar by newchar in the extendedstring . the substitution can be case sensitive. if you don't use default case sensitive, no matter wether achar is uppercase or not. + %feature("autodoc", "Substitutes all the characters equal to achar by newchar in the extendedstring . the substitution can be case sensitive. if you don't use default case sensitive, no matter whether achar is uppercase or not. Parameters ---------- @@ -2479,7 +2301,7 @@ None /****************** Value ******************/ /**** md5 signature: 84bd4561d49bb9835b6ef809ad6dbc29 ****/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns character at position in . if is less than zero or greater than the lenght of , an exception is raised. example: astring contains 'hello' astring.value(2) returns 'e' exceptions standard_outofrange if where lies outside the bounds of this extended string. + %feature("autodoc", "Returns character at position in . if is less than zero or greater than the length of , an exception is raised. example: astring contains 'hello' astring.value(2) returns 'e' exceptions standard_outofrange if where lies outside the bounds of this extended string. Parameters ---------- @@ -2711,7 +2533,7 @@ None /****************** TCollection_HAsciiString ******************/ /**** md5 signature: 2d2c9cf505fe6268a2d3ca5bb9f0df5c ****/ %feature("compactdefaultargs") TCollection_HAsciiString; - %feature("autodoc", "Initializes a hasciistring with a hextendedstring. if replacenonascii is non-null charecter, it will be used in place of any non-ascii character found in the source string. otherwise, creates utf-8 unicode string. + %feature("autodoc", "Initializes a hasciistring with a hextendedstring. if replacenonascii is non-null character, it will be used in place of any non-ascii character found in the source string. otherwise, creates utf-8 unicode string. Parameters ---------- @@ -3103,7 +2925,7 @@ bool /****************** LeftAdjust ******************/ /**** md5 signature: 2d194519f25a34b81a2aaed2f3fcf7eb ****/ %feature("compactdefaultargs") LeftAdjust; - %feature("autodoc", "Removes all space characters in the begining of the string. + %feature("autodoc", "Removes all space characters in the beginning of the string. Returns ------- @@ -3141,7 +2963,7 @@ int /****************** Location ******************/ /**** md5 signature: 557d6cdb6bdb38582292298f38e087e8 ****/ %feature("compactdefaultargs") Location; - %feature("autodoc", "Returns an index in the string of the first occurence of the string s in the string from the starting index fromindex to the ending index toindex returns zero if failure raises an exception if fromindex or toindex is out of range. example: before me = 'aabaaaa', s = 'aa', fromindex = 1, toindex = 7 after me = 'aabaaaa' returns 4. + %feature("autodoc", "Returns an index in the string of the first occurrence of the string s in the string from the starting index fromindex to the ending index toindex returns zero if failure raises an exception if fromindex or toindex is out of range. example: before me = 'aabaaaa', s = 'aa', fromindex = 1, toindex = 7 after me = 'aabaaaa' returns 4. Parameters ---------- @@ -3158,7 +2980,7 @@ int /****************** Location ******************/ /**** md5 signature: 6bebd5959426436339306c497d79377d ****/ %feature("compactdefaultargs") Location; - %feature("autodoc", "Returns the index of the nth occurence of the character c in the string from the starting index fromindex to the ending index toindex. returns zero if failure. raises an exception if fromindex or toindex is out of range example: before me = 'aabaa', n = 3, c = 'a', fromindex = 1, toindex = 5 after me = 'aabaa' returns 5. + %feature("autodoc", "Returns the index of the nth occurrence of the character c in the string from the starting index fromindex to the ending index toindex. returns zero if failure. raises an exception if fromindex or toindex is out of range example: before me = 'aabaa', n = 3, c = 'a', fromindex = 1, toindex = 5 after me = 'aabaa' returns 5. Parameters ---------- @@ -3187,7 +3009,7 @@ None /****************** Prepend ******************/ /**** md5 signature: 71edcb8a4aaf67dd7f8a4065c9e6ab32 ****/ %feature("compactdefaultargs") Prepend; - %feature("autodoc", "Inserts the other string at the begining of the string example: before me = 'cde' , s = 'ab' after me = 'abcde' , s = 'ab'. + %feature("autodoc", "Inserts the other string at the beginning of the string example: before me = 'cde' , s = 'ab' after me = 'abcde' , s = 'ab'. Parameters ---------- @@ -3238,7 +3060,7 @@ None /****************** RemoveAll ******************/ /**** md5 signature: 17e901953b8ffee8fc2a18f2cc4c7ebe ****/ %feature("compactdefaultargs") RemoveAll; - %feature("autodoc", "Remove all the occurences of the character c in the string example: before me = 'hellllo', c = 'l' , casesensitive = true after me = 'hello'. + %feature("autodoc", "Remove all the occurrences of the character c in the string example: before me = 'hellllo', c = 'l' , casesensitive = true after me = 'hello'. Parameters ---------- @@ -3512,7 +3334,7 @@ int /****************** Value ******************/ /**** md5 signature: b790c256d0e62b0d42a4819aca4e63bb ****/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns character at position in . if is less than zero or greater than the lenght of , an exception is raised. example: astring contains 'hello' astring.value(2) returns 'e'. + %feature("autodoc", "Returns character at position in . if is less than zero or greater than the length of , an exception is raised. example: astring contains 'hello' astring.value(2) returns 'e'. Parameters ---------- @@ -3599,7 +3421,7 @@ None /****************** TCollection_HExtendedString ******************/ /**** md5 signature: 2296e03682630049aa1941ff334aa49d ****/ %feature("compactdefaultargs") TCollection_HExtendedString; - %feature("autodoc", "Initializes a hextendedstring with space allocated. and filled with .this is usefull for buffers. + %feature("autodoc", "Initializes a hextendedstring with space allocated. and filled with . this is useful for buffers. Parameters ---------- @@ -4021,102 +3843,6 @@ Standard_ExtCharacter } }; -/**************************** -* class TCollection_MapNode * -****************************/ -class TCollection_MapNode : public Standard_Transient { - public: - /****************** TCollection_MapNode ******************/ - /**** md5 signature: 8ef7c4db0c33b6cca1484b228821b316 ****/ - %feature("compactdefaultargs") TCollection_MapNode; - %feature("autodoc", "No available documentation. - -Parameters ----------- -n: TCollection_MapNodePtr - -Returns -------- -None -") TCollection_MapNode; - TCollection_MapNode(const TCollection_MapNodePtr & n); - - /****************** Next ******************/ - /**** md5 signature: 004eb29eeedb7cd2aa82c1dd61c2d193 ****/ - %feature("compactdefaultargs") Next; - %feature("autodoc", "No available documentation. - -Returns -------- -TCollection_MapNodePtr -") Next; - TCollection_MapNodePtr & Next(); - -}; - - -%make_alias(TCollection_MapNode) - -%extend TCollection_MapNode { - %pythoncode { - __repr__ = _dumps_object - } -}; - -/**************************** -* class TCollection_SeqNode * -****************************/ -class TCollection_SeqNode : public Standard_Transient { - public: - /****************** TCollection_SeqNode ******************/ - /**** md5 signature: ca459acccb03ff254b9fad899af111e8 ****/ - %feature("compactdefaultargs") TCollection_SeqNode; - %feature("autodoc", "No available documentation. - -Parameters ----------- -n: TCollection_SeqNodePtr -p: TCollection_SeqNodePtr - -Returns -------- -None -") TCollection_SeqNode; - TCollection_SeqNode(const TCollection_SeqNodePtr & n, const TCollection_SeqNodePtr & p); - - /****************** Next ******************/ - /**** md5 signature: 23248815da0e6934b1f8d60aecd98900 ****/ - %feature("compactdefaultargs") Next; - %feature("autodoc", "No available documentation. - -Returns -------- -TCollection_SeqNodePtr -") Next; - TCollection_SeqNodePtr & Next(); - - /****************** Previous ******************/ - /**** md5 signature: 31e9b8d85f3792b214edbd0ecd1021c6 ****/ - %feature("compactdefaultargs") Previous; - %feature("autodoc", "No available documentation. - -Returns -------- -TCollection_SeqNodePtr -") Previous; - TCollection_SeqNodePtr & Previous(); - -}; - - -%make_alias(TCollection_SeqNode) - -%extend TCollection_SeqNode { - %pythoncode { - __repr__ = _dumps_object - } -}; - /* harray1 classes */ /* harray2 classes */ /* hsequence classes */ diff --git a/src/SWIG_files/wrapper/TCollection.pyi b/src/SWIG_files/wrapper/TCollection.pyi index 95c9371bf..d7ccb4eae 100644 --- a/src/SWIG_files/wrapper/TCollection.pyi +++ b/src/SWIG_files/wrapper/TCollection.pyi @@ -4,15 +4,6 @@ from typing import overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * -TCollection_MapNodePtr = NewType('TCollection_MapNodePtr', TCollection_MapNode) -TCollection_SeqNodePtr = NewType('TCollection_SeqNodePtr', TCollection_SeqNode) - -class TCollection_Side(IntEnum): - TCollection_Left: int = ... - TCollection_Right: int = ... - -TCollection_Left = TCollection_Side.TCollection_Left -TCollection_Right = TCollection_Side.TCollection_Right class tcollection: @staticmethod @@ -114,7 +105,7 @@ class TCollection_AsciiString: def IsLess(self, other: str) -> bool: ... @overload def IsLess(self, other: TCollection_AsciiString) -> bool: ... - def IsRealValue(self) -> bool: ... + def IsRealValue(self, theToCheckFull: Optional[bool] = False) -> bool: ... @staticmethod def IsSameString(theString1: TCollection_AsciiString, theString2: TCollection_AsciiString, theIsCaseSensitive: bool) -> bool: ... def LeftAdjust(self) -> None: ... @@ -159,22 +150,6 @@ class TCollection_AsciiString: def UsefullLength(self) -> int: ... def Value(self, where: int) -> str: ... -class TCollection_BaseSequence: - def Exchange(self, I: int, J: int) -> None: ... - def IsEmpty(self) -> bool: ... - def Length(self) -> int: ... - def Reverse(self) -> None: ... - -class TCollection_BasicMap: - def Extent(self) -> int: ... - def IsEmpty(self) -> bool: ... - def NbBuckets(self) -> int: ... - -class TCollection_BasicMapIterator: - def More(self) -> bool: ... - def Next(self) -> None: ... - def Reset(self) -> None: ... - class TCollection_ExtendedString: @overload def __init__(self) -> None: ... @@ -396,15 +371,6 @@ class TCollection_HExtendedString(Standard_Transient): def Trunc(self, ahowmany: int) -> None: ... def Value(self, where: int) -> Standard_ExtCharacter: ... -class TCollection_MapNode(Standard_Transient): - def __init__(self, n: TCollection_MapNodePtr) -> None: ... - def Next(self) -> TCollection_MapNodePtr: ... - -class TCollection_SeqNode(Standard_Transient): - def __init__(self, n: TCollection_SeqNodePtr, p: TCollection_SeqNodePtr) -> None: ... - def Next(self) -> TCollection_SeqNodePtr: ... - def Previous(self) -> TCollection_SeqNodePtr: ... - # harray1 classes # harray2 classes # hsequence classes diff --git a/src/SWIG_files/wrapper/TDF.i b/src/SWIG_files/wrapper/TDF.i index f6559eb13..6c1168fa7 100644 --- a/src/SWIG_files/wrapper/TDF.i +++ b/src/SWIG_files/wrapper/TDF.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TDFDOCSTRING "TDF module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tdf.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_tdf.html" %enddef %module (package="OCC.Core", docstring=TDFDOCSTRING) TDF @@ -70,7 +70,7 @@ enum { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -600,7 +600,7 @@ None /****************** ForgetAllAttributes ******************/ /**** md5 signature: f0492f70679f693e73f3cd351b602cd9 ****/ %feature("compactdefaultargs") ForgetAllAttributes; - %feature("autodoc", "Forgets all the attributes attached to the label of . does it on the sub-labels if is set to true. of course, this method is compatible with transaction & delta mecanisms. be carefull that if will have a null label after this call. + %feature("autodoc", "Forgets all the attributes attached to the label of . does it on the sub-labels if is set to true. of course, this method is compatible with transaction & delta mechanisms. be careful that if will have a null label after this call. Parameters ---------- @@ -616,7 +616,7 @@ None /****************** ForgetAttribute ******************/ /**** md5 signature: 52de4f1eac4c1d719dc2240e16600cdd ****/ %feature("compactdefaultargs") ForgetAttribute; - %feature("autodoc", "Forgets the attribute of guid associated to the label of . be carefull that if is the attribute of , will have a null label after this call. if the attribute doesn't exist returns false. otherwise returns true. + %feature("autodoc", "Forgets the attribute of guid associated to the label of . be careful that if is the attribute of , will have a null label after this call. if the attribute doesn't exist returns false. otherwise returns true. Parameters ---------- @@ -1238,7 +1238,7 @@ class TDF_ClosureMode { /****************** TDF_ClosureMode ******************/ /**** md5 signature: d0067cf39e729d207d68714afd10e10e ****/ %feature("compactdefaultargs") TDF_ClosureMode; - %feature("autodoc", "Creates an objet with all modes set to . + %feature("autodoc", "Creates an object with all modes set to . Parameters ---------- @@ -1745,6 +1745,33 @@ None self->DumpJson(s, depth); return s.str();} }; + /****************** GetLabel ******************/ + /**** md5 signature: 6acb21919b35dccd58a6c624736c7a64 ****/ + %feature("compactdefaultargs") GetLabel; + %feature("autodoc", "Returns a label by an entry. returns standard_false, if such a label doesn't exist or mechanism for fast access to the label by entry is not initialized. + +Parameters +---------- +anEntry: TCollection_AsciiString +aLabel: TDF_Label + +Returns +------- +bool +") GetLabel; + Standard_Boolean GetLabel(const TCollection_AsciiString & anEntry, TDF_Label & aLabel); + + /****************** IsAccessByEntries ******************/ + /**** md5 signature: e9c87e292dba49522735bc8b2f6391f2 ****/ + %feature("compactdefaultargs") IsAccessByEntries; + %feature("autodoc", "Returns a status of mechanism for fast access to the labels via entries. + +Returns +------- +bool +") IsAccessByEntries; + Standard_Boolean IsAccessByEntries(); + /****************** IsApplicable ******************/ /**** md5 signature: 3bce195eeb54500772a8ae9747fed4f1 ****/ %feature("compactdefaultargs") IsApplicable; @@ -1793,6 +1820,21 @@ bool ") NotUndoMode; Standard_Boolean NotUndoMode(); + /****************** RegisterLabel ******************/ + /**** md5 signature: 338d96516dcaa839075496537c99690a ****/ + %feature("compactdefaultargs") RegisterLabel; + %feature("autodoc", "An internal method. it is used internally on creation of new labels. it adds a new label into internal table for fast access to the labels by entry. + +Parameters +---------- +aLabel: TDF_Label + +Returns +------- +None +") RegisterLabel; + void RegisterLabel(const TDF_Label & aLabel); + /****************** Root ******************/ /**** md5 signature: 8d91e6b3e48b0dcd1ed6725e1e277a57 ****/ %feature("compactdefaultargs") Root; @@ -1804,6 +1846,21 @@ TDF_Label ") Root; const TDF_Label Root(); + /****************** SetAccessByEntries ******************/ + /**** md5 signature: 7db07372e18eb363da4daa94e4ebb296 ****/ + %feature("compactdefaultargs") SetAccessByEntries; + %feature("autodoc", "Initializes a mechanism for fast access to the labels by their entries. the fast access is useful for large documents and often access to the labels via entries. internally, a table of entry - label is created, which allows to obtain a label by its entry in a very fast way. if the mechanism is turned off, the internal table is cleaned. new labels are added to the table, if the mechanism is on (no need to re-initialize the mechanism). + +Parameters +---------- +aSet: bool + +Returns +------- +None +") SetAccessByEntries; + void SetAccessByEntries(const Standard_Boolean aSet); + /****************** Time ******************/ /**** md5 signature: 29e54f38b67d119a1dd7d985afb308c4 ****/ %feature("compactdefaultargs") Time; @@ -1829,7 +1886,7 @@ int /****************** Undo ******************/ /**** md5 signature: e381e2729d2baa6e06b5553ecb90f6be ****/ %feature("compactdefaultargs") Undo; - %feature("autodoc", "Apply to undo a set of attribute modifications. //! optionnal set to true indiquates a delta set must be generated. (see above). + %feature("autodoc", "Apply to undo a set of attribute modifications. //! optional set to true indicates a delta set must be generated. (see above). Parameters ---------- @@ -2540,7 +2597,7 @@ TDF_Label /****************** ForgetAllAttributes ******************/ /**** md5 signature: f0492f70679f693e73f3cd351b602cd9 ****/ %feature("compactdefaultargs") ForgetAllAttributes; - %feature("autodoc", "Forgets all the attributes. does it on also on the sub-labels if is set to true. of course, this method is compatible with transaction & delta mecanisms. + %feature("autodoc", "Forgets all the attributes. does it on also on the sub-labels if is set to true. of course, this method is compatible with transaction & delta mechanisms. Parameters ---------- @@ -3006,7 +3063,7 @@ TDF_AttributeDataMap /****************** Clear ******************/ /**** md5 signature: ae54be580b423a6eadbe062e0bdb44c2 ****/ %feature("compactdefaultargs") Clear; - %feature("autodoc", "Clears the relocation dictionnary, but lets the self relocation flag to its current value. + %feature("autodoc", "Clears the relocation dictionary, but lets the self relocation flag to its current value. Returns ------- @@ -3405,7 +3462,7 @@ None /****************** OutReferences ******************/ /**** md5 signature: 16f5367a11932dbebdc9488dc199de94 ****/ %feature("compactdefaultargs") OutReferences; - %feature("autodoc", "Returns in the referenced attributes and kept by . it considers only the referers kept by . caution: is not cleared before use!. + %feature("autodoc", "Returns in the referenced attributes and kept by . it considers only the referrers kept by . caution: is not cleared before use!. Parameters ---------- @@ -3457,7 +3514,7 @@ None /****************** RelocateLabel ******************/ /**** md5 signature: a790ebba517221dfa8200224bae0d105 ****/ %feature("compactdefaultargs") RelocateLabel; - %feature("autodoc", "Returns the label having the same sub-entry as but located as descendant as instead of . //! exemple : //! alabel = 0:3:24:7:2:7 fromroot = 0:3:24 toroot = 0:5 returned label = 0:5:7:2:7. + %feature("autodoc", "Returns the label having the same sub-entry as but located as descendant as instead of . //! example : //! alabel = 0:3:24:7:2:7 fromroot = 0:3:24 toroot = 0:5 returned label = 0:5:7:2:7. Parameters ---------- diff --git a/src/SWIG_files/wrapper/TDF.pyi b/src/SWIG_files/wrapper/TDF.pyi index eae3e7993..423550df2 100644 --- a/src/SWIG_files/wrapper/TDF.pyi +++ b/src/SWIG_files/wrapper/TDF.pyi @@ -323,11 +323,15 @@ class TDF_Data(Standard_Transient): def __init__(self) -> None: ... def AllowModification(self, isAllowed: bool) -> None: ... def Destroy(self) -> None: ... + def GetLabel(self, anEntry: TCollection_AsciiString, aLabel: TDF_Label) -> bool: ... + def IsAccessByEntries(self) -> bool: ... def IsApplicable(self, aDelta: TDF_Delta) -> bool: ... def IsModificationAllowed(self) -> bool: ... def LabelNodeAllocator(self) -> TDF_HAllocator: ... def NotUndoMode(self) -> bool: ... + def RegisterLabel(self, aLabel: TDF_Label) -> None: ... def Root(self) -> TDF_Label: ... + def SetAccessByEntries(self, aSet: bool) -> None: ... def Time(self) -> int: ... def Transaction(self) -> int: ... def Undo(self, aDelta: TDF_Delta, withDelta: Optional[bool] = False) -> TDF_Delta: ... diff --git a/src/SWIG_files/wrapper/TDataStd.i b/src/SWIG_files/wrapper/TDataStd.i index 17d79aea5..61450eadb 100644 --- a/src/SWIG_files/wrapper/TDataStd.i +++ b/src/SWIG_files/wrapper/TDataStd.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TDATASTDDOCSTRING "TDataStd module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tdatastd.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_tdatastd.html" %enddef %module (package="OCC.Core", docstring=TDATASTDDOCSTRING) TDataStd @@ -70,7 +70,7 @@ enum TDataStd_RealEnum { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class TDataStd_RealEnum(IntEnum): @@ -4650,7 +4650,7 @@ bool /****************** HasDeferredData ******************/ /**** md5 signature: 6d3e21e66856957a5fa945244fecad2c ****/ %feature("compactdefaultargs") HasDeferredData; - %feature("autodoc", "Returns true if some data is not loaded from deferred storage and can be loaded using loaddeferreddata(). //! late-load interface allows to avoid loading auxiliary data into memory until it is needed by application and also speed up reader by skipping data chunks in file. this feature requires file format having special structure, and usually implies read-only access, therefore default implementation will return false here. //! late-load elements require special attention to ensure data consistency, as such elements are created in undefined state (no data) and undo/redo mechanism will not work until deferred data being loaded. //! usage scenarios: - application displays model in read-only way. late-load elements are loaded temporarily on demand and immediatly unloaded. thenameddata->loaddeferreddata (true); tcollection_asciistring avalue = thenameddata->getstring (thekey); thenameddata->unloaddeferreddata(); - application saves the model into another format. all late-load elements should be loaded (at least temporary during operation). - application modifies the model. late-load element should be loaded with removed link to deferred storage, so that undo()/redo() will work as expected since loading. thenameddata->loaddeferreddata (false); thenameddata->setstring (thekey, thenewvalue);. + %feature("autodoc", "Returns true if some data is not loaded from deferred storage and can be loaded using loaddeferreddata(). //! late-load interface allows to avoid loading auxiliary data into memory until it is needed by application and also speed up reader by skipping data chunks in file. this feature requires file format having special structure, and usually implies read-only access, therefore default implementation will return false here. //! late-load elements require special attention to ensure data consistency, as such elements are created in undefined state (no data) and undo/redo mechanism will not work until deferred data being loaded. //! usage scenarios: - application displays model in read-only way. late-load elements are loaded temporarily on demand and immediately unloaded. thenameddata->loaddeferreddata (true); tcollection_asciistring avalue = thenameddata->getstring (thekey); thenameddata->unloaddeferreddata(); - application saves the model into another format. all late-load elements should be loaded (at least temporary during operation). - application modifies the model. late-load element should be loaded with removed link to deferred storage, so that undo()/redo() will work as expected since loading. thenameddata->loaddeferreddata (false); thenameddata->setstring (thekey, thenewvalue);. Returns ------- @@ -4750,7 +4750,7 @@ Standard_GUID /****************** LoadDeferredData ******************/ /**** md5 signature: 4d667dd77669ff93ce36b42acfa15e09 ****/ %feature("compactdefaultargs") LoadDeferredData; - %feature("autodoc", "Load data from deferred storage, without calling backup(). as result, the content of the object will be overidden by data from deferred storage (which is normally read-only). @param thetokeepdeferred [in] when true, the link to deferred storage will be preserved so that it will be possible calling unloaddeferreddata() afterwards for releasing memory returns false if deferred storage is unavailable or deferred data has been already loaded. + %feature("autodoc", "Load data from deferred storage, without calling backup(). as result, the content of the object will be overridden by data from deferred storage (which is normally read-only). @param thetokeepdeferred [in] when true, the link to deferred storage will be preserved so that it will be possible calling unloaddeferreddata() afterwards for releasing memory returns false if deferred storage is unavailable or deferred data has been already loaded. Parameters ---------- @@ -6852,7 +6852,7 @@ bool /****************** ID ******************/ /**** md5 signature: 4697ce8a095fa6dcef0217708d19718f ****/ %feature("compactdefaultargs") ID; - %feature("autodoc", "Returns the tree id (default or explicit one depending onthe set method used). + %feature("autodoc", "Returns the tree id (default or explicit one depending on the set method used). Returns ------- diff --git a/src/SWIG_files/wrapper/TDataXtd.i b/src/SWIG_files/wrapper/TDataXtd.i index d8a944cc0..22dc9cdf6 100644 --- a/src/SWIG_files/wrapper/TDataXtd.i +++ b/src/SWIG_files/wrapper/TDataXtd.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TDATAXTDDOCSTRING "TDataXtd module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tdataxtd.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_tdataxtd.html" %enddef %module (package="OCC.Core", docstring=TDATAXTDDOCSTRING) TDataXtd @@ -49,12 +49,12 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tdataxtd.html" #include #include #include -#include #include #include #include #include #include +#include #include #include #include @@ -69,7 +69,6 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tdataxtd.html" %import Quantity.i %import TopoDS.i %import Poly.i -%import TShort.i %pythoncode { from enum import IntEnum @@ -119,7 +118,7 @@ enum TDataXtd_GeometryEnum { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class TDataXtd_ConstraintEnum(IntEnum): @@ -826,7 +825,7 @@ class TDataXtd_Geometry : public TDF_Attribute { /****************** TDataXtd_Geometry ******************/ /**** md5 signature: b8974b13707ba244045c3d0306541bbd ****/ %feature("compactdefaultargs") TDataXtd_Geometry; - %feature("autodoc", "This and the next methods are used to retrieve underlying geometry of the namedshape, even if noone geometry attribute is associated . if not found or not compliant geometry return false. + %feature("autodoc", "This and the next methods are used to retrieve underlying geometry of the namedshape, even if no geometry attribute is associated. if not found or not compliant geometry return false. Returns ------- @@ -2511,7 +2510,7 @@ opencascade::handle opencascade::handle NewEmpty(); /****************** Node ******************/ - /**** md5 signature: 86df678a3d98d54374f5f531a65a2fc7 ****/ + /**** md5 signature: e94431a8a9e60fd5ee7dc3e879ed9254 ****/ %feature("compactdefaultargs") Node; %feature("autodoc", "Returns node at the given index. raises standard_outofrange exception if theindex is less than 1 or greater than nbnodes. @@ -2523,10 +2522,10 @@ Returns ------- gp_Pnt ") Node; - const gp_Pnt Node(const Standard_Integer theIndex); + gp_Pnt Node(const Standard_Integer theIndex); /****************** Normal ******************/ - /**** md5 signature: c855feb3fd1089162515e7a137983bb4 ****/ + /**** md5 signature: 1f8c1bc50986664ddc2a6444da0aec81 ****/ %feature("compactdefaultargs") Normal; %feature("autodoc", "Returns normal at the given index. raises standard_outofrange exception. @@ -2538,7 +2537,7 @@ Returns ------- gp_Dir ") Normal; - const gp_Dir Normal(const Standard_Integer theIndex); + gp_Dir Normal(const Standard_Integer theIndex); /****************** Paste ******************/ /**** md5 signature: a6ff306a759c68a191c0262635db980f ****/ @@ -2660,21 +2659,6 @@ None ") SetNormal; void SetNormal(const Standard_Integer theIndex, const gp_Dir & theNormal); - /****************** SetNormals ******************/ - /**** md5 signature: 7c3a3b618d135482bdaa83f0ced5edb7 ****/ - %feature("compactdefaultargs") SetNormals; - %feature("autodoc", "Sets the table of node normals. raises exception if length of thenormals != 3 * nbnodes. - -Parameters ----------- -theNormals: TShort_HArray1OfShortReal - -Returns -------- -None -") SetNormals; - void SetNormals(const opencascade::handle & theNormals); - /****************** SetTriangle ******************/ /**** md5 signature: 4802341912a18dadbd9ddb25cc7c33be ****/ %feature("compactdefaultargs") SetTriangle; @@ -2708,7 +2692,7 @@ None void SetUVNode(const Standard_Integer theIndex, const gp_Pnt2d & theUVNode); /****************** Triangle ******************/ - /**** md5 signature: 4b478dad3ef750a602442807b17fca5a ****/ + /**** md5 signature: cfec7bae58a426adb2df65595a28d88f ****/ %feature("compactdefaultargs") Triangle; %feature("autodoc", "Returns triangle at the given index. raises standard_outofrange exception if theindex is less than 1 or greater than nbtriangles. @@ -2720,10 +2704,10 @@ Returns ------- Poly_Triangle ") Triangle; - const Poly_Triangle & Triangle(const Standard_Integer theIndex); + Poly_Triangle Triangle(const Standard_Integer theIndex); /****************** UVNode ******************/ - /**** md5 signature: 45592da925c13e10349c0f573d7d2cd6 ****/ + /**** md5 signature: 8deb1f90810778dff4fdcd7f6ef2228d ****/ %feature("compactdefaultargs") UVNode; %feature("autodoc", "Returns uvnode at the given index. raises standard_outofrange exception if theindex is less than 1 or greater than nbnodes. @@ -2735,7 +2719,7 @@ Returns ------- gp_Pnt2d ") UVNode; - const gp_Pnt2d UVNode(const Standard_Integer theIndex); + gp_Pnt2d UVNode(const Standard_Integer theIndex); }; diff --git a/src/SWIG_files/wrapper/TDataXtd.pyi b/src/SWIG_files/wrapper/TDataXtd.pyi index 203bc6fa7..a846de808 100644 --- a/src/SWIG_files/wrapper/TDataXtd.pyi +++ b/src/SWIG_files/wrapper/TDataXtd.pyi @@ -10,7 +10,6 @@ from OCC.Core.TNaming import * from OCC.Core.Quantity import * from OCC.Core.TopoDS import * from OCC.Core.Poly import * -from OCC.Core.TShort import * class TDataXtd_Array1OfTrsf: @@ -387,7 +386,6 @@ class TDataXtd_Triangulation(TDF_Attribute): def Set(self, theTriangulation: Poly_Triangulation) -> None: ... def SetNode(self, theIndex: int, theNode: gp_Pnt) -> None: ... def SetNormal(self, theIndex: int, theNormal: gp_Dir) -> None: ... - def SetNormals(self, theNormals: TShort_HArray1OfShortReal) -> None: ... def SetTriangle(self, theIndex: int, theTriangle: Poly_Triangle) -> None: ... def SetUVNode(self, theIndex: int, theUVNode: gp_Pnt2d) -> None: ... def Triangle(self, theIndex: int) -> Poly_Triangle: ... diff --git a/src/SWIG_files/wrapper/TDocStd.i b/src/SWIG_files/wrapper/TDocStd.i index 99602e203..203f521b4 100644 --- a/src/SWIG_files/wrapper/TDocStd.i +++ b/src/SWIG_files/wrapper/TDocStd.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TDOCSTDDOCSTRING "TDocStd module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tdocstd.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_tdocstd.html" %enddef %module (package="OCC.Core", docstring=TDOCSTDDOCSTRING) TDocStd @@ -46,10 +46,10 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tdocstd.html" #include #include #include +#include #include #include #include -#include #include #include #include @@ -61,10 +61,10 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tdocstd.html" %import CDF.i %import TCollection.i %import PCDM.i +%import CDM.i %import Message.i %import TColStd.i %import Resource.i -%import CDM.i %pythoncode { from enum import IntEnum @@ -72,10 +72,56 @@ from OCC.Core.Exception import * }; /* public enums */ +enum TDocStd_FormatVersion { + TDocStd_FormatVersion_VERSION_2 = 2, + TDocStd_FormatVersion_VERSION_3 = 3, + TDocStd_FormatVersion_VERSION_4 = 4, + TDocStd_FormatVersion_VERSION_5 = 5, + TDocStd_FormatVersion_VERSION_6 = 6, + TDocStd_FormatVersion_VERSION_7 = 7, + TDocStd_FormatVersion_VERSION_8 = 8, + TDocStd_FormatVersion_VERSION_9 = 9, + TDocStd_FormatVersion_VERSION_10 = 10, + TDocStd_FormatVersion_VERSION_11 = 11, + TDocStd_FormatVersion_VERSION_12 = 12, + TDocStd_FormatVersion_CURRENT = TDocStd_FormatVersion_VERSION_12, +}; + +enum { + TDocStd_FormatVersion_LOWER = TDocStd_FormatVersion_VERSION_2, + TDocStd_FormatVersion_UPPER = TDocStd_FormatVersion_VERSION_12, +}; + /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { + +class TDocStd_FormatVersion(IntEnum): + TDocStd_FormatVersion_VERSION_2 = 2 + TDocStd_FormatVersion_VERSION_3 = 3 + TDocStd_FormatVersion_VERSION_4 = 4 + TDocStd_FormatVersion_VERSION_5 = 5 + TDocStd_FormatVersion_VERSION_6 = 6 + TDocStd_FormatVersion_VERSION_7 = 7 + TDocStd_FormatVersion_VERSION_8 = 8 + TDocStd_FormatVersion_VERSION_9 = 9 + TDocStd_FormatVersion_VERSION_10 = 10 + TDocStd_FormatVersion_VERSION_11 = 11 + TDocStd_FormatVersion_VERSION_12 = 12 + TDocStd_FormatVersion_CURRENT = TDocStd_FormatVersion_VERSION_12 +TDocStd_FormatVersion_VERSION_2 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_2 +TDocStd_FormatVersion_VERSION_3 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_3 +TDocStd_FormatVersion_VERSION_4 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_4 +TDocStd_FormatVersion_VERSION_5 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_5 +TDocStd_FormatVersion_VERSION_6 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_6 +TDocStd_FormatVersion_VERSION_7 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_7 +TDocStd_FormatVersion_VERSION_8 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_8 +TDocStd_FormatVersion_VERSION_9 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_9 +TDocStd_FormatVersion_VERSION_10 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_10 +TDocStd_FormatVersion_VERSION_11 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_11 +TDocStd_FormatVersion_VERSION_12 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_12 +TDocStd_FormatVersion_CURRENT = TDocStd_FormatVersion.TDocStd_FormatVersion_CURRENT }; /* end python proxy for enums */ @@ -224,19 +270,19 @@ None void GetDocument(const Standard_Integer index, opencascade::handle & aDoc); /****************** InitDocument ******************/ - /**** md5 signature: e047092b0acc3e4db9a010df3a3169c4 ****/ + /**** md5 signature: cb8b1250bf5bfec47bac72c3724adc69 ****/ %feature("compactdefaultargs") InitDocument; %feature("autodoc", "Initialize the document adoc for the applicative session. this virtual function is called by newdocument and is to be redefined for each specific application. modified flag (different of disk version) ============= to open/save a document =======================. Parameters ---------- -aDoc: TDocStd_Document +aDoc: CDM_Document Returns ------- None ") InitDocument; - virtual void InitDocument(const opencascade::handle & aDoc); + virtual void InitDocument(const opencascade::handle & aDoc); /****************** IsDriverLoaded ******************/ /**** md5 signature: ce5001e98f2a57f66a3f7e6514b3374d ****/ @@ -276,10 +322,26 @@ int Standard_Integer NbDocuments(); /****************** NewDocument ******************/ - /**** md5 signature: 59cafdd79c80d452229e94f487dc1536 ****/ + /**** md5 signature: 286edb8ff55901567cc19085406b6fa3 ****/ %feature("compactdefaultargs") NewDocument; %feature("autodoc", "Constructs the empty new document adoc. this document will have the format format. if initdocument is redefined for a specific application, the new document is handled by the applicative session. +Parameters +---------- +format: TCollection_ExtendedString +aDoc: CDM_Document + +Returns +------- +None +") NewDocument; + virtual void NewDocument(const TCollection_ExtendedString & format, opencascade::handle & aDoc); + + /****************** NewDocument ******************/ + /**** md5 signature: 304cba09d9f9b321dcbffa19f8ee14a3 ****/ + %feature("compactdefaultargs") NewDocument; + %feature("autodoc", "A non-virtual method taking a tdocstd_documment object as an input. internally it calls a virtual method newdocument() with cdm_document object. + Parameters ---------- format: TCollection_ExtendedString @@ -289,7 +351,7 @@ Returns ------- None ") NewDocument; - virtual void NewDocument(const TCollection_ExtendedString & format, opencascade::handle & aDoc); + void NewDocument(const TCollection_ExtendedString & format, opencascade::handle & aDoc); /****************** OnAbortTransaction ******************/ /**** md5 signature: 307f163969480bb723f66d714329e2ba ****/ @@ -337,14 +399,15 @@ None virtual void OnOpenTransaction(const opencascade::handle & theDoc); /****************** Open ******************/ - /**** md5 signature: 64daab7c4cd0367cc3097722793092bf ****/ + /**** md5 signature: d156d2aa3a0dc1286af38a715d227db6 ****/ %feature("compactdefaultargs") Open; - %feature("autodoc", "Retrieves the document adoc stored under the name aname in the directory directory. in order not to override a version of adoc which is already in memory, this method can be made to depend on the value returned by isinsession. + %feature("autodoc", "Retrieves the document from specified file. in order not to override a version of the document which is already in memory, this method can be made to depend on the value returned by isinsession. @param[in] thepath file path to open @param[out] thedoc result document @param[in] thefilter optional filter to skip attributes or parts of the retrieved tree @param[in] therange optional progress indicator returns reading status. Parameters ---------- -path: TCollection_ExtendedString -aDoc: TDocStd_Document +thePath: TCollection_ExtendedString +theDoc: TDocStd_Document +theFilter: PCDM_ReaderFilter theRange: Message_ProgressRange,optional default value is Message_ProgressRange() @@ -352,7 +415,25 @@ Returns ------- PCDM_ReaderStatus ") Open; - PCDM_ReaderStatus Open(const TCollection_ExtendedString & path, opencascade::handle & aDoc, const Message_ProgressRange & theRange = Message_ProgressRange()); + PCDM_ReaderStatus Open(const TCollection_ExtendedString & thePath, opencascade::handle & theDoc, const opencascade::handle & theFilter, const Message_ProgressRange & theRange = Message_ProgressRange()); + + /****************** Open ******************/ + /**** md5 signature: b45b12c15fac1f822dd6f693c26d27ce ****/ + %feature("compactdefaultargs") Open; + %feature("autodoc", "Retrieves the document from specified file. in order not to override a version of the document which is already in memory, this method can be made to depend on the value returned by isinsession. @param[in] thepath file path to open @param[out] thedoc result document @param[in] therange optional progress indicator returns reading status. + +Parameters +---------- +thePath: TCollection_ExtendedString +theDoc: TDocStd_Document +theRange: Message_ProgressRange,optional + default value is Message_ProgressRange() + +Returns +------- +PCDM_ReaderStatus +") Open; + PCDM_ReaderStatus Open(const TCollection_ExtendedString & thePath, opencascade::handle & theDoc, const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** ReadingFormats ******************/ /**** md5 signature: 6dff661583c284b08e2b917089276643 ****/ @@ -392,13 +473,13 @@ char * virtual const char * ResourcesName(); /****************** Save ******************/ - /**** md5 signature: ca404dafa6e21d22d47d3cf8edb52587 ****/ + /**** md5 signature: b571dab0fb3d3e07b3e8150d22309a53 ****/ %feature("compactdefaultargs") Save; %feature("autodoc", "Save adoc active document. exceptions: standard_notimplemented if the document was not retrieved in the applicative session by using open. Parameters ---------- -aDoc: TDocStd_Document +theDoc: TDocStd_Document theRange: Message_ProgressRange,optional default value is Message_ProgressRange() @@ -406,16 +487,16 @@ Returns ------- PCDM_StoreStatus ") Save; - PCDM_StoreStatus Save(const opencascade::handle & aDoc, const Message_ProgressRange & theRange = Message_ProgressRange()); + PCDM_StoreStatus Save(const opencascade::handle & theDoc, const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** Save ******************/ - /**** md5 signature: 6628e2e8671351cd0089d239d1b481ec ****/ + /**** md5 signature: 1213906c4542565c92a0f9f505b075d2 ****/ %feature("compactdefaultargs") Save; %feature("autodoc", "Save the document overwriting the previous file. Parameters ---------- -aDoc: TDocStd_Document +theDoc: TDocStd_Document theStatusMessage: TCollection_ExtendedString theRange: Message_ProgressRange,optional default value is Message_ProgressRange() @@ -424,16 +505,16 @@ Returns ------- PCDM_StoreStatus ") Save; - PCDM_StoreStatus Save(const opencascade::handle & aDoc, TCollection_ExtendedString & theStatusMessage, const Message_ProgressRange & theRange = Message_ProgressRange()); + PCDM_StoreStatus Save(const opencascade::handle & theDoc, TCollection_ExtendedString & theStatusMessage, const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** SaveAs ******************/ - /**** md5 signature: 6864a4cb755dcc951e90f118437ba952 ****/ + /**** md5 signature: 03b44dac86f8e83525110619e00dff85 ****/ %feature("compactdefaultargs") SaveAs; %feature("autodoc", "Save the active document in the file in the path ; o verwrites the file if it already exists. Parameters ---------- -aDoc: TDocStd_Document +theDoc: TDocStd_Document path: TCollection_ExtendedString theRange: Message_ProgressRange,optional default value is Message_ProgressRange() @@ -442,16 +523,16 @@ Returns ------- PCDM_StoreStatus ") SaveAs; - PCDM_StoreStatus SaveAs(const opencascade::handle & aDoc, const TCollection_ExtendedString & path, const Message_ProgressRange & theRange = Message_ProgressRange()); + PCDM_StoreStatus SaveAs(const opencascade::handle & theDoc, const TCollection_ExtendedString & path, const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** SaveAs ******************/ - /**** md5 signature: ea5cc4a2a65eebccd513d51436a6b366 ****/ + /**** md5 signature: fc9f357e438e352135774e1dd7c1bb0f ****/ %feature("compactdefaultargs") SaveAs; %feature("autodoc", "Save the active document in the file in the path . overwrite the file if it already exist. Parameters ---------- -aDoc: TDocStd_Document +theDoc: TDocStd_Document path: TCollection_ExtendedString theStatusMessage: TCollection_ExtendedString theRange: Message_ProgressRange,optional @@ -461,7 +542,7 @@ Returns ------- PCDM_StoreStatus ") SaveAs; - PCDM_StoreStatus SaveAs(const opencascade::handle & aDoc, const TCollection_ExtendedString & path, TCollection_ExtendedString & theStatusMessage, const Message_ProgressRange & theRange = Message_ProgressRange()); + PCDM_StoreStatus SaveAs(const opencascade::handle & theDoc, const TCollection_ExtendedString & path, TCollection_ExtendedString & theStatusMessage, const Message_ProgressRange & theRange = Message_ProgressRange()); /****************** WritingFormats ******************/ /**** md5 signature: a5407beb640b0ebe68c0c3306feeeddb ****/ @@ -696,6 +777,21 @@ None ") ChangeStorageFormat; virtual void ChangeStorageFormat(const TCollection_ExtendedString & newStorageFormat); + /****************** ChangeStorageFormatVersion ******************/ + /**** md5 signature: c0a170d4f51e35c0959917fcc2b6dc37 ****/ + %feature("compactdefaultargs") ChangeStorageFormatVersion; + %feature("autodoc", "Sets version of the format to be used to store the document. + +Parameters +---------- +theVersion: TDocStd_FormatVersion + +Returns +------- +None +") ChangeStorageFormatVersion; + void ChangeStorageFormatVersion(const TDocStd_FormatVersion theVersion); + /****************** ClearRedos ******************/ /**** md5 signature: 24ac296ed75c3df1806aa7bb1fddee55 ****/ %feature("compactdefaultargs") ClearRedos; @@ -729,6 +825,17 @@ bool ") CommitCommand; Standard_Boolean CommitCommand(); + /****************** CurrentStorageFormatVersion ******************/ + /**** md5 signature: 41d846be0884fc722f98ab0cecb47e30 ****/ + %feature("compactdefaultargs") CurrentStorageFormatVersion; + %feature("autodoc", "Returns current storage format version of the document. + +Returns +------- +TDocStd_FormatVersion +") CurrentStorageFormatVersion; + static TDocStd_FormatVersion CurrentStorageFormatVersion(); + %feature("autodoc", "1"); %extend{ @@ -821,7 +928,7 @@ TCollection_ExtendedString /****************** GetPath ******************/ /**** md5 signature: b667548800d72ecbc6ccc6595cff37d2 ****/ %feature("compactdefaultargs") GetPath; - %feature("autodoc", "Returns the os path of the file, in wich one is saved. raise an exception if is not saved. + %feature("autodoc", "Returns the os path of the file, in which one is saved. raise an exception if is not saved. Returns ------- @@ -898,7 +1005,7 @@ bool /****************** IsChanged ******************/ /**** md5 signature: c6ef5df821d55ba9601e2f39be013961 ****/ %feature("compactdefaultargs") IsChanged; - %feature("autodoc", "Returns true if document differs from the state of last saving. this method have to be called only wroking in the transaction mode. + %feature("autodoc", "Returns true if document differs from the state of last saving. this method have to be called only working in the transaction mode. Returns ------- @@ -1177,6 +1284,17 @@ TCollection_ExtendedString ") StorageFormat; virtual TCollection_ExtendedString StorageFormat(); + /****************** StorageFormatVersion ******************/ + /**** md5 signature: b49a4fe8d3ebc03aaa9fc51a5634cc04 ****/ + %feature("compactdefaultargs") StorageFormatVersion; + %feature("autodoc", "Returns version of the format to be used to store the document. + +Returns +------- +TDocStd_FormatVersion +") StorageFormatVersion; + TDocStd_FormatVersion StorageFormatVersion(); + /****************** Undo ******************/ /**** md5 signature: 95113786d46edb519ce9957bac4f72f7 ****/ %feature("compactdefaultargs") Undo; @@ -1550,7 +1668,7 @@ None /****************** CommitCommand ******************/ /**** md5 signature: faa383479ebff95ab2d1b0ab2a6c6947 ****/ %feature("compactdefaultargs") CommitCommand; - %feature("autodoc", "Commits transaction in all documents and fills the transaction manager with the documents that have been changed during the transaction. returns true if new data has been added to myundos. note: all nested transactions in the documents will be commited. + %feature("autodoc", "Commits transaction in all documents and fills the transaction manager with the documents that have been changed during the transaction. returns true if new data has been added to myundos. note: all nested transactions in the documents will be committed. Returns ------- @@ -1661,7 +1779,7 @@ bool /****************** OpenCommand ******************/ /**** md5 signature: a5c155bd5cc75696d479b13cfff2f26e ****/ %feature("compactdefaultargs") OpenCommand; - %feature("autodoc", "Opens transaction in each document and sets the flag that transaction is opened. if there are already opened transactions in the documents, these transactions will be aborted before openning new ones. + %feature("autodoc", "Opens transaction in each document and sets the flag that transaction is opened. if there are already opened transactions in the documents, these transactions will be aborted before opening new ones. Returns ------- @@ -2111,7 +2229,7 @@ bool /****************** BackupCopy ******************/ /**** md5 signature: be67c343943ad438128f575f7f5feaa1 ****/ %feature("compactdefaultargs") BackupCopy; - %feature("autodoc", "Returns a null handle. raise allways for ,it is nonsense to use this method. + %feature("autodoc", "Returns a null handle. raise always for it is nonsense to use this method. Returns ------- @@ -2575,7 +2693,7 @@ None /****************** Copy ******************/ /**** md5 signature: 40287a29bb62ecf8fd177c44ed29dc25 ****/ %feature("compactdefaultargs") Copy; - %feature("autodoc", "Copy the content of under . noone link is registred. noone check is done. example opencascade::handle doc, xdoc; tdf_label l, xl; tdocstd_xlinktool xlinktool; xlinktool.copy(l,xl); exceptions: standard_domainerror if the contents of fromsource are not entirely in the scope of this label, in other words, are not self-contained. !!! ==> warning: if the document manages shapes use the next way: tdocstd_xlinktool xlinktool; xlinktool.copy(l,xl); toptools_datamapofshapeshape m; tnaming::changeshapes(target,m);. + %feature("autodoc", "Copy the content of under . no link is registered. no check is done. example opencascade::handle doc, xdoc; tdf_label l, xl; tdocstd_xlinktool xlinktool; xlinktool.copy(l,xl); exceptions: standard_domainerror if the contents of fromsource are not entirely in the scope of this label, in other words, are not self-contained. !!! ==> warning: if the document manages shapes use the next way: tdocstd_xlinktool xlinktool; xlinktool.copy(l,xl); toptools_datamapofshapeshape m; tnaming::changeshapes(target,m);. Parameters ---------- @@ -2591,7 +2709,7 @@ None /****************** CopyWithLink ******************/ /**** md5 signature: 1e751ce78167012e15d258327b145ca4 ****/ %feature("compactdefaultargs") CopyWithLink; - %feature("autodoc", "Copies the content of the label to the label . the link is registred with an xlink attribute by label. if the content of is not self-contained, and/or has already an xlink attribute, an exception is raised. + %feature("autodoc", "Copies the content of the label to the label . the link is registered with an xlink attribute by label. if the content of is not self-contained, and/or has already an xlink attribute, an exception is raised. Parameters ---------- diff --git a/src/SWIG_files/wrapper/TDocStd.pyi b/src/SWIG_files/wrapper/TDocStd.pyi index 82b434b17..fc6147bae 100644 --- a/src/SWIG_files/wrapper/TDocStd.pyi +++ b/src/SWIG_files/wrapper/TDocStd.pyi @@ -7,10 +7,10 @@ from OCC.Core.TDF import * from OCC.Core.CDF import * from OCC.Core.TCollection import * from OCC.Core.PCDM import * +from OCC.Core.CDM import * from OCC.Core.Message import * from OCC.Core.TColStd import * from OCC.Core.Resource import * -from OCC.Core.CDM import * TDocStd_XLinkPtr = NewType('TDocStd_XLinkPtr', TDocStd_XLink) @@ -44,6 +44,34 @@ class TDocStd_SequenceOfDocument: def Value(self, theIndex: int) -> False: ... def SetValue(self, theIndex: int, theValue: False) -> None: ... +class TDocStd_FormatVersion(IntEnum): + TDocStd_FormatVersion_VERSION_2: int = ... + TDocStd_FormatVersion_VERSION_3: int = ... + TDocStd_FormatVersion_VERSION_4: int = ... + TDocStd_FormatVersion_VERSION_5: int = ... + TDocStd_FormatVersion_VERSION_6: int = ... + TDocStd_FormatVersion_VERSION_7: int = ... + TDocStd_FormatVersion_VERSION_8: int = ... + TDocStd_FormatVersion_VERSION_9: int = ... + TDocStd_FormatVersion_VERSION_10: int = ... + TDocStd_FormatVersion_VERSION_11: int = ... + TDocStd_FormatVersion_VERSION_12: int = ... + TDocStd_FormatVersion_CURRENT: int = ... + +TDocStd_FormatVersion_VERSION_2 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_2 +TDocStd_FormatVersion_VERSION_3 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_3 +TDocStd_FormatVersion_VERSION_4 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_4 +TDocStd_FormatVersion_VERSION_5 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_5 +TDocStd_FormatVersion_VERSION_6 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_6 +TDocStd_FormatVersion_VERSION_7 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_7 +TDocStd_FormatVersion_VERSION_8 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_8 +TDocStd_FormatVersion_VERSION_9 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_9 +TDocStd_FormatVersion_VERSION_10 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_10 +TDocStd_FormatVersion_VERSION_11 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_11 +TDocStd_FormatVersion_VERSION_12 = TDocStd_FormatVersion.TDocStd_FormatVersion_VERSION_12 +TDocStd_FormatVersion_CURRENT = TDocStd_FormatVersion.TDocStd_FormatVersion_CURRENT + + class tdocstd: @staticmethod def IDList(anIDList: TDF_IDList) -> None: ... @@ -53,27 +81,32 @@ class TDocStd_Application(CDF_Application): def Close(self, aDoc: TDocStd_Document) -> None: ... def DefineFormat(self, theFormat: TCollection_AsciiString, theDescription: TCollection_AsciiString, theExtension: TCollection_AsciiString, theReader: PCDM_RetrievalDriver, theWriter: PCDM_StorageDriver) -> None: ... def GetDocument(self, index: int, aDoc: TDocStd_Document) -> None: ... - def InitDocument(self, aDoc: TDocStd_Document) -> None: ... + def InitDocument(self, aDoc: CDM_Document) -> None: ... def IsDriverLoaded(self) -> bool: ... def IsInSession(self, path: TCollection_ExtendedString) -> int: ... def NbDocuments(self) -> int: ... + @overload + def NewDocument(self, format: TCollection_ExtendedString, aDoc: CDM_Document) -> None: ... + @overload def NewDocument(self, format: TCollection_ExtendedString, aDoc: TDocStd_Document) -> None: ... def OnAbortTransaction(self, theDoc: TDocStd_Document) -> None: ... def OnCommitTransaction(self, theDoc: TDocStd_Document) -> None: ... def OnOpenTransaction(self, theDoc: TDocStd_Document) -> None: ... @overload - def Open(self, path: TCollection_ExtendedString, aDoc: TDocStd_Document, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> PCDM_ReaderStatus: ... + def Open(self, thePath: TCollection_ExtendedString, theDoc: TDocStd_Document, theFilter: PCDM_ReaderFilter, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> PCDM_ReaderStatus: ... + @overload + def Open(self, thePath: TCollection_ExtendedString, theDoc: TDocStd_Document, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> PCDM_ReaderStatus: ... def ReadingFormats(self, theFormats: TColStd_SequenceOfAsciiString) -> None: ... def Resources(self) -> Resource_Manager: ... def ResourcesName(self) -> str: ... @overload - def Save(self, aDoc: TDocStd_Document, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> PCDM_StoreStatus: ... + def Save(self, theDoc: TDocStd_Document, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> PCDM_StoreStatus: ... @overload - def Save(self, aDoc: TDocStd_Document, theStatusMessage: TCollection_ExtendedString, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> PCDM_StoreStatus: ... + def Save(self, theDoc: TDocStd_Document, theStatusMessage: TCollection_ExtendedString, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> PCDM_StoreStatus: ... @overload - def SaveAs(self, aDoc: TDocStd_Document, path: TCollection_ExtendedString, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> PCDM_StoreStatus: ... + def SaveAs(self, theDoc: TDocStd_Document, path: TCollection_ExtendedString, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> PCDM_StoreStatus: ... @overload - def SaveAs(self, aDoc: TDocStd_Document, path: TCollection_ExtendedString, theStatusMessage: TCollection_ExtendedString, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> PCDM_StoreStatus: ... + def SaveAs(self, theDoc: TDocStd_Document, path: TCollection_ExtendedString, theStatusMessage: TCollection_ExtendedString, theRange: Optional[Message_ProgressRange] = Message_ProgressRange()) -> PCDM_StoreStatus: ... def WritingFormats(self, theFormats: TColStd_SequenceOfAsciiString) -> None: ... class TDocStd_ApplicationDelta(Standard_Transient): @@ -95,9 +128,12 @@ class TDocStd_Document(CDM_Document): def AbortCommand(self) -> None: ... def BeforeClose(self) -> None: ... def ChangeStorageFormat(self, newStorageFormat: TCollection_ExtendedString) -> None: ... + def ChangeStorageFormatVersion(self, theVersion: TDocStd_FormatVersion) -> None: ... def ClearRedos(self) -> None: ... def ClearUndos(self) -> None: ... def CommitCommand(self) -> bool: ... + @staticmethod + def CurrentStorageFormatVersion() -> TDocStd_FormatVersion: ... def EmptyLabelsSavingMode(self) -> bool: ... @staticmethod def Get(L: TDF_Label) -> TDocStd_Document: ... @@ -136,6 +172,7 @@ class TDocStd_Document(CDM_Document): def SetSavedTime(self, theTime: int) -> None: ... def SetUndoLimit(self, L: int) -> None: ... def StorageFormat(self) -> TCollection_ExtendedString: ... + def StorageFormatVersion(self) -> TDocStd_FormatVersion: ... def Undo(self) -> bool: ... def Update(self, aToDocument: CDM_Document, aReferenceIdentifier: int, aModifContext: None) -> None: ... def UpdateReferences(self, aDocEntry: TCollection_AsciiString) -> None: ... @@ -297,6 +334,7 @@ class TDocStd_XLinkTool: # hsequence classes tdocstd_IDList = tdocstd.IDList +TDocStd_Document_CurrentStorageFormatVersion = TDocStd_Document.CurrentStorageFormatVersion TDocStd_Document_Get = TDocStd_Document.Get TDocStd_Modified_Add = TDocStd_Modified.Add TDocStd_Modified_Clear = TDocStd_Modified.Clear diff --git a/src/SWIG_files/wrapper/TFunction.i b/src/SWIG_files/wrapper/TFunction.i index 2b12a81c1..4ada1238e 100644 --- a/src/SWIG_files/wrapper/TFunction.i +++ b/src/SWIG_files/wrapper/TFunction.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TFUNCTIONDOCSTRING "TFunction module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tfunction.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_tfunction.html" %enddef %module (package="OCC.Core", docstring=TFUNCTIONDOCSTRING) TFunction @@ -70,7 +70,7 @@ enum TFunction_ExecutionStatus { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class TFunction_ExecutionStatus(IntEnum): @@ -417,6 +417,14 @@ None self->Dump(s); return s.str();} }; + + %feature("autodoc", "1"); + %extend{ + std::string DumpJsonToString(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return s.str();} + }; /****************** Failed ******************/ /**** md5 signature: c3da447468b921d93e6422cc08e3d1e7 ****/ %feature("compactdefaultargs") Failed; @@ -563,7 +571,7 @@ opencascade::handle /****************** SetDriverGUID ******************/ /**** md5 signature: 07186d86451e9b1ad5ad4848dd63f1dc ****/ %feature("compactdefaultargs") SetDriverGUID; - %feature("autodoc", "Sets the driver for this function as that indentified by the guid guid. + %feature("autodoc", "Sets the driver for this function as that identified by the guid guid. Parameters ---------- diff --git a/src/SWIG_files/wrapper/TNaming.i b/src/SWIG_files/wrapper/TNaming.i index 011a650c0..3075ce8fe 100644 --- a/src/SWIG_files/wrapper/TNaming.i +++ b/src/SWIG_files/wrapper/TNaming.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TNAMINGDOCSTRING "TNaming module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tnaming.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_tnaming.html" %enddef %module (package="OCC.Core", docstring=TNAMINGDOCSTRING) TNaming @@ -98,7 +98,7 @@ enum TNaming_NameType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class TNaming_Evolution(IntEnum): @@ -400,7 +400,7 @@ None /****************** SubstituteSShape ******************/ /**** md5 signature: da4f9bfab8e604d3c3824a7968ba3ba0 ****/ %feature("compactdefaultargs") SubstituteSShape; - %feature("autodoc", "Subtitutes shape in source structure. + %feature("autodoc", "Substitutes shape in source structure. Parameters ---------- @@ -3310,7 +3310,7 @@ TopoDS_Shape /****************** FindShape ******************/ /**** md5 signature: b8f0c64cfdf6508bb0b1b137412bd585 ****/ %feature("compactdefaultargs") FindShape; - %feature("autodoc", "Returns the current shape (a wire or a shell) built (in the data framework) from the the shapes of the argument named shape. it is used for identity name type computation. + %feature("autodoc", "Returns the current shape (a wire or a shell) built (in the data framework) from the shapes of the argument named shape. it is used for identity name type computation. Parameters ---------- diff --git a/src/SWIG_files/wrapper/TObj.i b/src/SWIG_files/wrapper/TObj.i index a59c640ae..7121b0a0f 100644 --- a/src/SWIG_files/wrapper/TObj.i +++ b/src/SWIG_files/wrapper/TObj.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TOBJDOCSTRING "TObj module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tobj.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_tobj.html" %enddef %module (package="OCC.Core", docstring=TOBJDOCSTRING) TObj @@ -78,7 +78,7 @@ enum TObj_DeletingMode { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class TObj_DeletingMode(IntEnum): @@ -857,6 +857,13 @@ bool ") Load; virtual Standard_Boolean Load(const TCollection_ExtendedString & theFile); + + %feature("autodoc", "1"); + %extend{ + void LoadFromString(std::string src) { + std::stringstream s(src); + self->Load(s);} + }; /****************** Messenger ******************/ /**** md5 signature: 77a43db9d3d7b7c3ed75b149057d7c93 ****/ %feature("compactdefaultargs") Messenger; @@ -950,6 +957,14 @@ bool ") SaveAs; virtual Standard_Boolean SaveAs(const TCollection_ExtendedString & theFile); + + %feature("autodoc", "1"); + %extend{ + std::string SaveAsToString() { + std::stringstream s; + self->SaveAs(s); + return s.str();} + }; /****************** SetLabel ******************/ /**** md5 signature: cc470d5ce9738c8709b266c2b6c1b90a ****/ %feature("compactdefaultargs") SetLabel; @@ -1069,7 +1084,7 @@ enum ObjectState { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class TypeFlags(IntEnum): @@ -1108,7 +1123,7 @@ None /****************** AfterRetrieval ******************/ /**** md5 signature: 9432a7bda4a565e50e735ba186488263 ****/ %feature("compactdefaultargs") AfterRetrieval; - %feature("autodoc", "Preforms updating the links and dependances of the object which are not stored in persistence. should be redefined if necessary. + %feature("autodoc", "Performs updating the links and dependances of the object which are not stored in persistence. should be redefined if necessary. Returns ------- @@ -1134,7 +1149,7 @@ None /****************** BeforeStoring ******************/ /**** md5 signature: 488bb473c5aebeae45654fc7c70f010e ****/ %feature("compactdefaultargs") BeforeStoring; - %feature("autodoc", "Preforms storing the objects transient fields in ocaf document which were outside transaction mechanism. default implementation doesnot nothing. + %feature("autodoc", "Performs storing the objects transient fields in ocaf document which were outside transaction mechanism. default implementation does nothing. Returns ------- @@ -1203,7 +1218,7 @@ None /****************** Clone ******************/ /**** md5 signature: 4d3e1f9e7709184411e95abee3db3285 ****/ %feature("compactdefaultargs") Clone; - %feature("autodoc", "Copy me to other label thetargetlabel new object will not have all the reference that has me. coping object with data and childs, but change name by adding string '_copy' as result return handle of new object (null handle is something wrong) note: backreferences not coping. after clonning all objects it is neccessary to call copy references with the same relocation table. + %feature("autodoc", "Copy me to other label thetargetlabel new object will not have all the reference that has me. coping object with data and childs, but change name by adding string '_copy' as result return handle of new object (null handle is something wrong) note: backreferences not coping. after cloning all objects it is necessary to call copy references with the same relocation table. Parameters ---------- @@ -1268,7 +1283,7 @@ bool /****************** Detach ******************/ /**** md5 signature: f0c9138d15bd2cb29790cadf9f5c972d ****/ %feature("compactdefaultargs") Detach; - %feature("autodoc", "Deletes the object from the label. checks if object can be deleted. finds object on the label and detaches it by calling previos method. returns true if there is no object on the label after detaching. + %feature("autodoc", "Deletes the object from the label. checks if object can be deleted. finds object on the label and detaches it by calling previous method. returns true if there is no object on the label after detaching. Parameters ---------- @@ -1285,7 +1300,7 @@ bool /****************** GetBackReferences ******************/ /**** md5 signature: 3e183cb7f37d2b6bff8cad6e30d26852 ****/ %feature("compactdefaultargs") GetBackReferences; - %feature("autodoc", "Returns iterator for the objects which depend on this one. these reffering objects may belong to other models. thetype narrows a variety of iterated objects. + %feature("autodoc", "Returns iterator for the objects which depend on this one. these referring objects may belong to other models. thetype narrows a variety of iterated objects. Parameters ---------- @@ -1538,7 +1553,7 @@ int /****************** HasBackReferences ******************/ /**** md5 signature: 0a45fd14f1152310725b0d9b3e69ac78 ****/ %feature("compactdefaultargs") HasBackReferences; - %feature("autodoc", "Returns true if obejct has 1 or more back references. + %feature("autodoc", "Returns true if object has 1 or more back references. Returns ------- @@ -2255,7 +2270,7 @@ None /****************** Set ******************/ /**** md5 signature: 6ba00d7004a7e14a8d556aa8bab2f70a ****/ %feature("compactdefaultargs") Set; - %feature("autodoc", "Sets the the model object. + %feature("autodoc", "Sets the model object. Parameters ---------- @@ -3147,7 +3162,7 @@ class TObj_Partition : public TObj_Object { /****************** AfterRetrieval ******************/ /**** md5 signature: 5116de267db888dbe3c4cd27cb5af96d ****/ %feature("compactdefaultargs") AfterRetrieval; - %feature("autodoc", "Preforms updating the links and dependances of the object which are not stored in persistence. does not register the partition name. + %feature("autodoc", "Performs updating the links and dependencies of the object which are not stored in persistence. does not register the partition name. Returns ------- @@ -3197,7 +3212,7 @@ opencascade::handle /****************** GetNewName ******************/ /**** md5 signature: b4e368c8f5d87830213831249f7b65f8 ****/ %feature("compactdefaultargs") GetNewName; - %feature("autodoc", "Generates and returns name for new object in partition. if theistochangecount is true partition icrease own counter to generate new name next time starting from new counter value. + %feature("autodoc", "Generates and returns name for new object in partition. if theistochangecount is true partition increase own counter to generate new name next time starting from new counter value. Parameters ---------- diff --git a/src/SWIG_files/wrapper/TObj.pyi b/src/SWIG_files/wrapper/TObj.pyi index 60b32f435..38d755503 100644 --- a/src/SWIG_files/wrapper/TObj.pyi +++ b/src/SWIG_files/wrapper/TObj.pyi @@ -62,9 +62,11 @@ class TObj_Application(TDocStd_Application): @staticmethod def GetInstance() -> TObj_Application: ... def IsVerbose(self) -> bool: ... + @overload def LoadDocument(self, theSourceFile: TCollection_ExtendedString, theTargetDoc: TDocStd_Document) -> bool: ... def Messenger(self) -> Message_Messenger: ... def ResourcesName(self) -> str: ... + @overload def SaveDocument(self, theSourceDoc: TDocStd_Document, theTargetFile: TCollection_ExtendedString) -> bool: ... def SetVerbose(self, isVerbose: bool) -> None: ... @@ -125,6 +127,7 @@ class TObj_Model(Standard_Transient): def HasOpenCommand(self) -> bool: ... def IsModified(self) -> bool: ... def IsRegisteredName(self, theName: TCollection_HExtendedString, theDictionary: TObj_TNameContainer) -> bool: ... + @overload def Load(self, theFile: TCollection_ExtendedString) -> bool: ... def Messenger(self) -> Message_Messenger: ... def NewEmpty(self) -> TObj_Model: ... @@ -132,6 +135,7 @@ class TObj_Model(Standard_Transient): def Paste(self, theModel: TObj_Model, theRelocTable: Optional[TDF_RelocationTable] = 0) -> bool: ... def RegisterName(self, theName: TCollection_HExtendedString, theLabel: TDF_Label, theDictionary: TObj_TNameContainer) -> None: ... def Save(self) -> bool: ... + @overload def SaveAs(self, theFile: TCollection_ExtendedString) -> bool: ... def SetLabel(self, theLabel: TDF_Label) -> None: ... def SetMessenger(self, theMsgr: Message_Messenger) -> None: ... diff --git a/src/SWIG_files/wrapper/TPrsStd.i b/src/SWIG_files/wrapper/TPrsStd.i index 4c3f7dfd9..c6d7aa7c2 100644 --- a/src/SWIG_files/wrapper/TPrsStd.i +++ b/src/SWIG_files/wrapper/TPrsStd.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TPRSSTDDOCSTRING "TPrsStd module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tprsstd.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_tprsstd.html" %enddef %module (package="OCC.Core", docstring=TPRSSTDDOCSTRING) TPrsStd @@ -104,7 +104,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -280,6 +280,14 @@ None ") Display; void Display(const Standard_Boolean update = Standard_False); + + %feature("autodoc", "1"); + %extend{ + std::string DumpJsonToString(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return s.str();} + }; /****************** Erase ******************/ /**** md5 signature: 78dc6861a924b64ddfaf44a115f8387a ****/ %feature("compactdefaultargs") Erase; @@ -803,6 +811,14 @@ None ") TPrsStd_AISViewer; TPrsStd_AISViewer(); + + %feature("autodoc", "1"); + %extend{ + std::string DumpJsonToString(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return s.str();} + }; /****************** Find ******************/ /**** md5 signature: 2c8b00fbc5f1685461f851faec89f5be ****/ %feature("compactdefaultargs") Find; @@ -1567,7 +1583,7 @@ None /****************** Update ******************/ /**** md5 signature: a11e01f0b3cebd7e8f78a1af4a13714a ****/ %feature("compactdefaultargs") Update; - %feature("autodoc", "Build the aisobject (if null) or update it. no compute is done. returns if informations was found and aisobject updated. + %feature("autodoc", "Build the aisobject (if null) or update it. no compute is done. returns if information was found and aisobject updated. Parameters ---------- @@ -1610,7 +1626,7 @@ None /****************** Update ******************/ /**** md5 signature: a11e01f0b3cebd7e8f78a1af4a13714a ****/ %feature("compactdefaultargs") Update; - %feature("autodoc", "Build the aisobject (if null) or update it. no compute is done. returns if informations was found and aisobject updated. + %feature("autodoc", "Build the aisobject (if null) or update it. no compute is done. returns if information was found and aisobject updated. Parameters ---------- @@ -1653,7 +1669,7 @@ None /****************** Update ******************/ /**** md5 signature: a11e01f0b3cebd7e8f78a1af4a13714a ****/ %feature("compactdefaultargs") Update; - %feature("autodoc", "Build the aisobject (if null) or update it. no compute is done. returns if informations was found and aisobject updated. + %feature("autodoc", "Build the aisobject (if null) or update it. no compute is done. returns if information was found and aisobject updated. Parameters ---------- @@ -1696,7 +1712,7 @@ None /****************** Update ******************/ /**** md5 signature: a11e01f0b3cebd7e8f78a1af4a13714a ****/ %feature("compactdefaultargs") Update; - %feature("autodoc", "Build the aisobject (if null) or update it. no compute is done. returns if informations was found and aisobject updated. + %feature("autodoc", "Build the aisobject (if null) or update it. no compute is done. returns if information was found and aisobject updated. Parameters ---------- @@ -1739,7 +1755,7 @@ None /****************** Update ******************/ /**** md5 signature: a11e01f0b3cebd7e8f78a1af4a13714a ****/ %feature("compactdefaultargs") Update; - %feature("autodoc", "Build the aisobject (if null) or update it. no compute is done. returns if informations was found and aisobject updated. + %feature("autodoc", "Build the aisobject (if null) or update it. no compute is done. returns if information was found and aisobject updated. Parameters ---------- @@ -1782,7 +1798,7 @@ None /****************** Update ******************/ /**** md5 signature: a11e01f0b3cebd7e8f78a1af4a13714a ****/ %feature("compactdefaultargs") Update; - %feature("autodoc", "Build the aisobject (if null) or update it. no compute is done. returns if informations was found and aisobject updated. + %feature("autodoc", "Build the aisobject (if null) or update it. no compute is done. returns if information was found and aisobject updated. Parameters ---------- diff --git a/src/SWIG_files/wrapper/TShort.i b/src/SWIG_files/wrapper/TShort.i index fe033b95b..3c7548d41 100644 --- a/src/SWIG_files/wrapper/TShort.i +++ b/src/SWIG_files/wrapper/TShort.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TSHORTDOCSTRING "TShort module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_tshort.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_tshort.html" %enddef %module (package="OCC.Core", docstring=TSHORTDOCSTRING) TShort @@ -59,7 +59,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/TopAbs.i b/src/SWIG_files/wrapper/TopAbs.i index 21e0f3929..714ab9fd1 100644 --- a/src/SWIG_files/wrapper/TopAbs.i +++ b/src/SWIG_files/wrapper/TopAbs.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TOPABSDOCSTRING "TopAbs module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_topabs.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_topabs.html" %enddef %module (package="OCC.Core", docstring=TOPABSDOCSTRING) TopAbs @@ -84,7 +84,7 @@ enum TopAbs_State { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class TopAbs_Orientation(IntEnum): diff --git a/src/SWIG_files/wrapper/TopBas.i b/src/SWIG_files/wrapper/TopBas.i index 158eaead9..89a81b68e 100644 --- a/src/SWIG_files/wrapper/TopBas.i +++ b/src/SWIG_files/wrapper/TopBas.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TOPBASDOCSTRING "TopBas module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_topbas.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_topbas.html" %enddef %module (package="OCC.Core", docstring=TOPBASDOCSTRING) TopBas @@ -61,7 +61,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/TopClass.i b/src/SWIG_files/wrapper/TopClass.i index ac0b975e5..0ab1abe93 100644 --- a/src/SWIG_files/wrapper/TopClass.i +++ b/src/SWIG_files/wrapper/TopClass.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TOPCLASSDOCSTRING "TopClass module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_topclass.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_topclass.html" %enddef %module (package="OCC.Core", docstring=TOPCLASSDOCSTRING) TopClass @@ -70,7 +70,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/TopCnx.i b/src/SWIG_files/wrapper/TopCnx.i index 1bafd4b67..0d54484b8 100644 --- a/src/SWIG_files/wrapper/TopCnx.i +++ b/src/SWIG_files/wrapper/TopCnx.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TOPCNXDOCSTRING "TopCnx module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_topcnx.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_topcnx.html" %enddef %module (package="OCC.Core", docstring=TOPCNXDOCSTRING) TopCnx @@ -62,7 +62,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/TopExp.i b/src/SWIG_files/wrapper/TopExp.i index eda19fd96..deb275857 100644 --- a/src/SWIG_files/wrapper/TopExp.i +++ b/src/SWIG_files/wrapper/TopExp.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TOPEXPDOCSTRING "TopExp module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_topexp.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_topexp.html" %enddef %module (package="OCC.Core", docstring=TOPEXPDOCSTRING) TopExp @@ -66,7 +66,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -156,36 +156,44 @@ None static void MapShapes(const TopoDS_Shape & S, const TopAbs_ShapeEnum T, TopTools_IndexedMapOfShape & M); /****************** MapShapes ******************/ - /**** md5 signature: 94f7d823ed41941f39e632a563df0e48 ****/ + /**** md5 signature: 8ad4c7fd7687fc41855cb624a1a10e23 ****/ %feature("compactdefaultargs") MapShapes; - %feature("autodoc", "Stores in the map all the sub-shapes of . + %feature("autodoc", "Stores in the map all the sub-shapes of . - if cumori is true, the function composes all sub-shapes with the orientation of s. - if cumloc is true, the function multiplies all sub-shapes by the location of s, i.e. it applies to each sub-shape the transformation that is associated with s. Parameters ---------- S: TopoDS_Shape M: TopTools_IndexedMapOfShape +cumOri: bool,optional + default value is Standard_True +cumLoc: bool,optional + default value is Standard_True Returns ------- None ") MapShapes; - static void MapShapes(const TopoDS_Shape & S, TopTools_IndexedMapOfShape & M); + static void MapShapes(const TopoDS_Shape & S, TopTools_IndexedMapOfShape & M, const Standard_Boolean cumOri = Standard_True, const Standard_Boolean cumLoc = Standard_True); /****************** MapShapes ******************/ - /**** md5 signature: 9dc648d2173c121ef4f4177538e54c8f ****/ + /**** md5 signature: 59a69a04bbcca596c45fa1794e17b17f ****/ %feature("compactdefaultargs") MapShapes; - %feature("autodoc", "Stores in the map all the sub-shapes of . + %feature("autodoc", "Stores in the map all the sub-shapes of . - if cumori is true, the function composes all sub-shapes with the orientation of s. - if cumloc is true, the function multiplies all sub-shapes by the location of s, i.e. it applies to each sub-shape the transformation that is associated with s. Parameters ---------- S: TopoDS_Shape M: TopTools_MapOfShape +cumOri: bool,optional + default value is Standard_True +cumLoc: bool,optional + default value is Standard_True Returns ------- None ") MapShapes; - static void MapShapes(const TopoDS_Shape & S, TopTools_MapOfShape & M); + static void MapShapes(const TopoDS_Shape & S, TopTools_MapOfShape & M, const Standard_Boolean cumOri = Standard_True, const Standard_Boolean cumLoc = Standard_True); /****************** MapShapesAndAncestors ******************/ /**** md5 signature: fc7e7494ab1de4025c967815075492e6 ****/ @@ -278,7 +286,7 @@ class TopExp_Explorer { /****************** TopExp_Explorer ******************/ /**** md5 signature: 114ebc7b26413ef0fdc8ef82c2742207 ****/ %feature("compactdefaultargs") TopExp_Explorer; - %feature("autodoc", "Creates an empty explorer, becomes usefull after init. + %feature("autodoc", "Creates an empty explorer, becomes useful after init. Returns ------- @@ -327,7 +335,7 @@ TopoDS_Shape const TopoDS_Shape Current(); /****************** Depth ******************/ - /**** md5 signature: b6eaa771d2fe709741b9c1e8ce5ec68f ****/ + /**** md5 signature: c4b1854410c3a66cc10b6255dc50b8fa ****/ %feature("compactdefaultargs") Depth; %feature("autodoc", "Returns the current depth of the exploration. 0 is the shape to explore itself. @@ -337,16 +345,16 @@ int ") Depth; Standard_Integer Depth(); - /****************** Destroy ******************/ - /**** md5 signature: 73111f72f4ab0474eb2cfbd7e4af4e1a ****/ - %feature("compactdefaultargs") Destroy; - %feature("autodoc", "No available documentation. + /****************** ExploredShape ******************/ + /**** md5 signature: c8a47d07240c1a2b5ff731be2f859ced ****/ + %feature("compactdefaultargs") ExploredShape; + %feature("autodoc", "Return explored shape. Returns ------- -None -") Destroy; - void Destroy(); +TopoDS_Shape +") ExploredShape; + const TopoDS_Shape ExploredShape(); /****************** Init ******************/ /**** md5 signature: 4f638c73ea412faa633dc32890a0e8ef ****/ @@ -367,7 +375,7 @@ None void Init(const TopoDS_Shape & S, const TopAbs_ShapeEnum ToFind, const TopAbs_ShapeEnum ToAvoid = TopAbs_SHAPE); /****************** More ******************/ - /**** md5 signature: 6f6e915c9a3dca758c059d9e8af02dff ****/ + /**** md5 signature: cff271d3b32940da94bada40648f9096 ****/ %feature("compactdefaultargs") More; %feature("autodoc", "Returns true if there are more shapes in the exploration. diff --git a/src/SWIG_files/wrapper/TopExp.pyi b/src/SWIG_files/wrapper/TopExp.pyi index 2c6591d59..00aa868d9 100644 --- a/src/SWIG_files/wrapper/TopExp.pyi +++ b/src/SWIG_files/wrapper/TopExp.pyi @@ -21,10 +21,10 @@ class topexp: def MapShapes(S: TopoDS_Shape, T: TopAbs_ShapeEnum, M: TopTools_IndexedMapOfShape) -> None: ... @overload @staticmethod - def MapShapes(S: TopoDS_Shape, M: TopTools_IndexedMapOfShape) -> None: ... + def MapShapes(S: TopoDS_Shape, M: TopTools_IndexedMapOfShape, cumOri: Optional[bool] = True, cumLoc: Optional[bool] = True) -> None: ... @overload @staticmethod - def MapShapes(S: TopoDS_Shape, M: TopTools_MapOfShape) -> None: ... + def MapShapes(S: TopoDS_Shape, M: TopTools_MapOfShape, cumOri: Optional[bool] = True, cumLoc: Optional[bool] = True) -> None: ... @staticmethod def MapShapesAndAncestors(S: TopoDS_Shape, TS: TopAbs_ShapeEnum, TA: TopAbs_ShapeEnum, M: TopTools_IndexedDataMapOfShapeListOfShape) -> None: ... @staticmethod @@ -44,7 +44,7 @@ class TopExp_Explorer: def Clear(self) -> None: ... def Current(self) -> TopoDS_Shape: ... def Depth(self) -> int: ... - def Destroy(self) -> None: ... + def ExploredShape(self) -> TopoDS_Shape: ... def Init(self, S: TopoDS_Shape, ToFind: TopAbs_ShapeEnum, ToAvoid: Optional[TopAbs_ShapeEnum] = TopAbs_SHAPE) -> None: ... def More(self) -> bool: ... def Next(self) -> None: ... diff --git a/src/SWIG_files/wrapper/TopLoc.i b/src/SWIG_files/wrapper/TopLoc.i index 3f57f3d03..b11bfa920 100644 --- a/src/SWIG_files/wrapper/TopLoc.i +++ b/src/SWIG_files/wrapper/TopLoc.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TOPLOCDOCSTRING "TopLoc module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_toploc.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_toploc.html" %enddef %module (package="OCC.Core", docstring=TOPLOCDOCSTRING) TopLoc @@ -60,7 +60,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -258,6 +258,17 @@ None ") TopLoc_Location; TopLoc_Location(const opencascade::handle & D); + /****************** Clear ******************/ + /**** md5 signature: 75abd67f132413fc11c19201aabf1126 ****/ + %feature("compactdefaultargs") Clear; + %feature("autodoc", "Clear myitems. + +Returns +------- +None +") Clear; + void Clear(); + /****************** Divided ******************/ /**** md5 signature: 571315f932ca7f258a4732378a5c6f52 ****/ %feature("compactdefaultargs") Divided; @@ -443,6 +454,17 @@ TopLoc_Location ") Predivided; TopLoc_Location Predivided(const TopLoc_Location & Other); + /****************** ScalePrec ******************/ + /**** md5 signature: dffe6ee0100207e469842f2ea00b57ac ****/ + %feature("compactdefaultargs") ScalePrec; + %feature("autodoc", "No available documentation. + +Returns +------- +float +") ScalePrec; + static Standard_Real ScalePrec(); + %feature("autodoc", "1"); %extend{ diff --git a/src/SWIG_files/wrapper/TopLoc.pyi b/src/SWIG_files/wrapper/TopLoc.pyi index 8dff9c696..abc6f5624 100644 --- a/src/SWIG_files/wrapper/TopLoc.pyi +++ b/src/SWIG_files/wrapper/TopLoc.pyi @@ -33,6 +33,7 @@ class TopLoc_Location: def __init__(self, T: gp_Trsf) -> None: ... @overload def __init__(self, D: TopLoc_Datum3D) -> None: ... + def Clear(self) -> None: ... def Divided(self, Other: TopLoc_Location) -> TopLoc_Location: ... def FirstDatum(self) -> TopLoc_Datum3D: ... def FirstPower(self) -> int: ... @@ -46,6 +47,8 @@ class TopLoc_Location: def NextLocation(self) -> TopLoc_Location: ... def Powered(self, pwr: int) -> TopLoc_Location: ... def Predivided(self, Other: TopLoc_Location) -> TopLoc_Location: ... + @staticmethod + def ScalePrec() -> float: ... def Transformation(self) -> gp_Trsf: ... class TopLoc_SListNodeOfItemLocation(Standard_Transient): @@ -76,3 +79,4 @@ class TopLoc_SListOfItemLocation: # harray2 classes # hsequence classes +TopLoc_Location_ScalePrec = TopLoc_Location.ScalePrec diff --git a/src/SWIG_files/wrapper/TopOpeBRep.i b/src/SWIG_files/wrapper/TopOpeBRep.i index de17e5c50..ac465f5fd 100644 --- a/src/SWIG_files/wrapper/TopOpeBRep.i +++ b/src/SWIG_files/wrapper/TopOpeBRep.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TOPOPEBREPDOCSTRING "TopOpeBRep module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_topopebrep.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_topopebrep.html" %enddef %module (package="OCC.Core", docstring=TOPOPEBREPDOCSTRING) TopOpeBRep @@ -125,7 +125,7 @@ enum TopOpeBRep_TypeLineCurve { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class TopOpeBRep_P2Dstatus(IntEnum): @@ -460,7 +460,7 @@ None /****************** CompleteDS ******************/ /**** md5 signature: 298ea4b1a23c2b2b60dcc61137773361 ****/ %feature("compactdefaultargs") CompleteDS; - %feature("autodoc", "Update the data structure with relevant informations deduced from the intersections. //! shells containing an intersected face. wires containing an intersected edge. + %feature("autodoc", "Update the data structure with relevant information deduced from the intersections. //! shells containing an intersected face. wires containing an intersected edge. Parameters ---------- @@ -475,7 +475,7 @@ None /****************** CompleteDS2d ******************/ /**** md5 signature: 610994e807ee28a545e1f5070174df41 ****/ %feature("compactdefaultargs") CompleteDS2d; - %feature("autodoc", "Update the data structure with relevant informations deduced from the intersections 2d. //! shells containing an intersected face. wires containing an intersected edge. //! search for interference identity using edge connexity //nyi. + %feature("autodoc", "Update the data structure with relevant information deduced from the intersections 2d. //! shells containing an intersected face. wires containing an intersected edge. //! search for interference identity using edge connexity //nyi. Parameters ---------- @@ -2176,7 +2176,7 @@ None /****************** ProcessVPR ******************/ /**** md5 signature: 78c845a2afa36d137735133e5b7c3482 ****/ %feature("compactdefaultargs") ProcessVPR; - %feature("autodoc", "Calling the followings processvpionr and processvponr. + %feature("autodoc", "Calling the following processvpionr and processvponr. Parameters ---------- @@ -2986,7 +2986,7 @@ Tol2: float void GetTolerances(Standard_Real &OutValue, Standard_Real &OutValue); /****************** HSurface ******************/ - /**** md5 signature: be69eb6e5c513c3b9ee845a84d9411f0 ****/ + /**** md5 signature: a61fd728296f7a0903ddca58e7b9f655 ****/ %feature("compactdefaultargs") HSurface; %feature("autodoc", "No available documentation. @@ -2996,9 +2996,9 @@ I: int Returns ------- -opencascade::handle +opencascade::handle ") HSurface; - opencascade::handle HSurface(const Standard_Integer I); + opencascade::handle HSurface(const Standard_Integer I); /****************** SetFaces ******************/ /**** md5 signature: 46dc023c2aed2e35da6777aafef31609 ****/ @@ -3017,20 +3017,20 @@ None void SetFaces(const TopoDS_Face & F1, const TopoDS_Face & F2); /****************** SetHSurfaces ******************/ - /**** md5 signature: 802ed6d71a195f08d95be0ca2619f6eb ****/ + /**** md5 signature: e175988e11c8c20afccabc99d977dcec ****/ %feature("compactdefaultargs") SetHSurfaces; %feature("autodoc", "No available documentation. Parameters ---------- -S1: BRepAdaptor_HSurface -S2: BRepAdaptor_HSurface +S1: BRepAdaptor_Surface +S2: BRepAdaptor_Surface Returns ------- None ") SetHSurfaces; - void SetHSurfaces(const opencascade::handle & S1, const opencascade::handle & S2); + void SetHSurfaces(const opencascade::handle & S1, const opencascade::handle & S2); /****************** SetTolerances ******************/ /**** md5 signature: 6873711acb65a77b1d3cb30885ac1fe9 ****/ diff --git a/src/SWIG_files/wrapper/TopOpeBRep.pyi b/src/SWIG_files/wrapper/TopOpeBRep.pyi index 457157df1..efd79709b 100644 --- a/src/SWIG_files/wrapper/TopOpeBRep.pyi +++ b/src/SWIG_files/wrapper/TopOpeBRep.pyi @@ -387,9 +387,9 @@ class TopOpeBRep_Hctxff2d(Standard_Transient): def FacesSameOriented(self) -> bool: ... def GetMaxTolerance(self) -> float: ... def GetTolerances(self) -> Tuple[float, float]: ... - def HSurface(self, I: int) -> BRepAdaptor_HSurface: ... + def HSurface(self, I: int) -> BRepAdaptor_Surface: ... def SetFaces(self, F1: TopoDS_Face, F2: TopoDS_Face) -> None: ... - def SetHSurfaces(self, S1: BRepAdaptor_HSurface, S2: BRepAdaptor_HSurface) -> None: ... + def SetHSurfaces(self, S1: BRepAdaptor_Surface, S2: BRepAdaptor_Surface) -> None: ... def SetTolerances(self, Tol1: float, Tol2: float) -> None: ... def SurfacesSameOriented(self) -> bool: ... diff --git a/src/SWIG_files/wrapper/TopOpeBRepBuild.i b/src/SWIG_files/wrapper/TopOpeBRepBuild.i index c54e7d834..a7442bb6b 100644 --- a/src/SWIG_files/wrapper/TopOpeBRepBuild.i +++ b/src/SWIG_files/wrapper/TopOpeBRepBuild.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TOPOPEBREPBUILDDOCSTRING "TopOpeBRepBuild module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_topopebrepbuild.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_topopebrepbuild.html" %enddef %module (package="OCC.Core", docstring=TOPOPEBREPBUILDDOCSTRING) TopOpeBRepBuild @@ -95,7 +95,7 @@ enum TopOpeBRepBuild_LoopEnum { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class TopOpeBRepBuild_LoopEnum(IntEnum): @@ -2957,7 +2957,7 @@ None /****************** MergeEdges ******************/ /**** md5 signature: 952be977f0e0dd8bdea0d200eddaf660 ****/ %feature("compactdefaultargs") MergeEdges; - %feature("autodoc", "Merges the two edges and keeping the parts in each edge of states and . booleans ona, onb, onab indicate wheter parts of edges found as state on respectively on first, second, and both shapes must be (or not) built. + %feature("autodoc", "Merges the two edges and keeping the parts in each edge of states and . booleans ona, onb, onab indicate whether parts of edges found as state on respectively on first, second, and both shapes must be (or not) built. Parameters ---------- diff --git a/src/SWIG_files/wrapper/TopOpeBRepDS.i b/src/SWIG_files/wrapper/TopOpeBRepDS.i index 3b9af5b86..cd3d8bdce 100644 --- a/src/SWIG_files/wrapper/TopOpeBRepDS.i +++ b/src/SWIG_files/wrapper/TopOpeBRepDS.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TOPOPEBREPDSDOCSTRING "TopOpeBRepDS module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_topopebrepds.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_topopebrepds.html" %enddef %module (package="OCC.Core", docstring=TOPOPEBREPDSDOCSTRING) TopOpeBRepDS @@ -117,7 +117,7 @@ enum TopOpeBRepDS_Kind { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class TopOpeBRepDS_Config(IntEnum): diff --git a/src/SWIG_files/wrapper/TopOpeBRepTool.i b/src/SWIG_files/wrapper/TopOpeBRepTool.i index 157820973..5374c45f7 100644 --- a/src/SWIG_files/wrapper/TopOpeBRepTool.i +++ b/src/SWIG_files/wrapper/TopOpeBRepTool.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TOPOPEBREPTOOLDOCSTRING "TopOpeBRepTool module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_topopebreptool.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_topopebreptool.html" %enddef %module (package="OCC.Core", docstring=TOPOPEBREPTOOLDOCSTRING) TopOpeBRepTool @@ -111,7 +111,7 @@ enum TopOpeBRepTool_OutCurveType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class TopOpeBRepTool_OutCurveType(IntEnum): @@ -209,7 +209,7 @@ bool /****************** PurgeClosingEdges ******************/ /**** md5 signature: 3f09068948e5882f4cb7f9c6684a5042 ****/ %feature("compactdefaultargs") PurgeClosingEdges; - %feature("autodoc", "Fuse edges (in a wire) of a shape where we have useless vertex. in case face is built on uv-non-connexed wires (with the two closing edges forward and reversed, in spite of one only), we find out the faulty edge, add the faulty shapes (edge,wire,face) to . is a face descendant of . (wire) = 1 if wire is wire of 0 wire results from 's wire splitted. returns false if purge fails. + %feature("autodoc", "Fuse edges (in a wire) of a shape where we have useless vertex. in case face is built on uv-non-connexed wires (with the two closing edges forward and reversed, in spite of one only), we find out the faulty edge, add the faulty shapes (edge,wire,face) to . is a face descendant of . (wire) = 1 if wire is wire of 0 wire results from 's wire split. returns false if purge fails. Parameters ---------- @@ -2788,7 +2788,7 @@ None /****************** StateShapeReference ******************/ /**** md5 signature: 21275217b285152340efe576bdf6e98b ****/ %feature("compactdefaultargs") StateShapeReference; - %feature("autodoc", "Classify shape s compared with reference shape. avoids is not used in classification; avoids may be isnull(). (usefull to avoid on or unknown state in special cases). + %feature("autodoc", "Classify shape s compared with reference shape. avoids is not used in classification; avoids may be isnull(). (useful to avoid on or unknown state in special cases). Parameters ---------- @@ -2804,7 +2804,7 @@ TopAbs_State /****************** StateShapeReference ******************/ /**** md5 signature: 539dc2bd0e65d0b7433a78853b5d0784 ****/ %feature("compactdefaultargs") StateShapeReference; - %feature("autodoc", "Classify shape s compared with reference shape. lavoids is list of s subshapes to avoid in classification (usefull to avoid on or unknown state in special cases). + %feature("autodoc", "Classify shape s compared with reference shape. lavoids is list of s subshapes to avoid in classification (useful to avoid on or unknown state in special cases). Parameters ---------- @@ -2838,7 +2838,7 @@ TopAbs_State /****************** StateShapeShape ******************/ /**** md5 signature: 18821ac5fc4ff711b33a9f2fd0875739 ****/ %feature("compactdefaultargs") StateShapeShape; - %feature("autodoc", "Classify shape s compared with shape sref. avoids is not used in classification; avoids may be isnull(). (usefull to avoid on or unknown state in special cases). + %feature("autodoc", "Classify shape s compared with shape sref. avoids is not used in classification; avoids may be isnull(). (useful to avoid on or unknown state in special cases). Parameters ---------- @@ -2855,7 +2855,7 @@ TopAbs_State /****************** StateShapeShape ******************/ /**** md5 signature: 01f8acc6bc763ab47ed4fc86c9290f60 ****/ %feature("compactdefaultargs") StateShapeShape; - %feature("autodoc", "Classify shape s compared with shape sref. lavoids is list of s subshapes to avoid in classification avoids is not used in classification; avoids may be isnull(). (usefull to avoid on or unknown state in special cases). + %feature("autodoc", "Classify shape s compared with shape sref. lavoids is list of s subshapes to avoid in classification avoids is not used in classification; avoids may be isnull(). (useful to avoid on or unknown state in special cases). Parameters ---------- @@ -2886,7 +2886,7 @@ class TopOpeBRepTool_ShapeExplorer : public TopExp_Explorer { /****************** TopOpeBRepTool_ShapeExplorer ******************/ /**** md5 signature: d28ec3a269705b3d2788cbb540c525f1 ****/ %feature("compactdefaultargs") TopOpeBRepTool_ShapeExplorer; - %feature("autodoc", "Creates an empty explorer, becomes usefull after init. + %feature("autodoc", "Creates an empty explorer, becomes useful after init. Returns ------- @@ -2977,7 +2977,7 @@ class TopOpeBRepTool_ShapeTool { /****************** AdjustOnPeriodic ******************/ /**** md5 signature: 41bcb4e57dc28b5f5437e0900ab4acb9 ****/ %feature("compactdefaultargs") AdjustOnPeriodic; - %feature("autodoc", "Ajust u,v values in uvbounds of the domain of the geometric shape , according to uperiodicity and vperiodicity of the domain. is assumed to be a face. u and/or v is/are not modified when the domain is not periodic in u and/or v . + %feature("autodoc", "Adjust u,v values in uvbounds of the domain of the geometric shape , according to uperiodicity and vperiodicity of the domain. is assumed to be a face. u and/or v is/are not modified when the domain is not periodic in u and/or v . Parameters ---------- @@ -3053,7 +3053,7 @@ opencascade::handle /****************** Closed ******************/ /**** md5 signature: 3b8ea13bf165f42e4e92ae659707a9b1 ****/ %feature("compactdefaultargs") Closed; - %feature("autodoc", "Indicates wheter shape s1 is a closing shape on s2 or not. + %feature("autodoc", "Indicates whether shape s1 is a closing shape on s2 or not. Parameters ---------- diff --git a/src/SWIG_files/wrapper/TopTools.i b/src/SWIG_files/wrapper/TopTools.i index f048063d0..592b74750 100644 --- a/src/SWIG_files/wrapper/TopTools.i +++ b/src/SWIG_files/wrapper/TopTools.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TOPTOOLSDOCSTRING "TopTools module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_toptools.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_toptools.html" %enddef %module (package="OCC.Core", docstring=TOPTOOLSDOCSTRING) TopTools @@ -65,10 +65,32 @@ from OCC.Core.Exception import * }; /* public enums */ +enum TopTools_FormatVersion { + TopTools_FormatVersion_VERSION_1 = 1, + TopTools_FormatVersion_VERSION_2 = 2, + TopTools_FormatVersion_VERSION_3 = 3, + TopTools_FormatVersion_CURRENT = TopTools_FormatVersion_VERSION_3, +}; + +enum { + TopTools_FormatVersion_LOWER = TopTools_FormatVersion_VERSION_1, + TopTools_FormatVersion_UPPER = TopTools_FormatVersion_VERSION_3, +}; + /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { + +class TopTools_FormatVersion(IntEnum): + TopTools_FormatVersion_VERSION_1 = 1 + TopTools_FormatVersion_VERSION_2 = 2 + TopTools_FormatVersion_VERSION_3 = 3 + TopTools_FormatVersion_CURRENT = TopTools_FormatVersion_VERSION_3 +TopTools_FormatVersion_VERSION_1 = TopTools_FormatVersion.TopTools_FormatVersion_VERSION_1 +TopTools_FormatVersion_VERSION_2 = TopTools_FormatVersion.TopTools_FormatVersion_VERSION_2 +TopTools_FormatVersion_VERSION_3 = TopTools_FormatVersion.TopTools_FormatVersion_VERSION_3 +TopTools_FormatVersion_CURRENT = TopTools_FormatVersion.TopTools_FormatVersion_CURRENT }; /* end python proxy for enums */ @@ -715,7 +737,7 @@ None /****************** FormatNb ******************/ /**** md5 signature: 4ba7a37f990f272738aa2003a22fc1da ****/ %feature("compactdefaultargs") FormatNb; - %feature("autodoc", "Two formats available for the moment: first: does not write curveonsurface uv points into the file on reading calls check() method. second: stores curveonsurface uv points. on reading format is recognized from version string. + %feature("autodoc", "Returns the toptools_formatversion. Returns ------- @@ -777,7 +799,7 @@ int /****************** SetFormatNb ******************/ /**** md5 signature: efa61c5f0aa586c699f53e1139cd95f9 ****/ %feature("compactdefaultargs") SetFormatNb; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Sets the toptools_formatversion. Parameters ---------- diff --git a/src/SWIG_files/wrapper/TopTools.pyi b/src/SWIG_files/wrapper/TopTools.pyi index 128b4cb8b..bf4eafead 100644 --- a/src/SWIG_files/wrapper/TopTools.pyi +++ b/src/SWIG_files/wrapper/TopTools.pyi @@ -127,6 +127,18 @@ class TopTools_SequenceOfShape: def Value(self, theIndex: int) -> TopoDS_Shape: ... def SetValue(self, theIndex: int, theValue: TopoDS_Shape) -> None: ... +class TopTools_FormatVersion(IntEnum): + TopTools_FormatVersion_VERSION_1: int = ... + TopTools_FormatVersion_VERSION_2: int = ... + TopTools_FormatVersion_VERSION_3: int = ... + TopTools_FormatVersion_CURRENT: int = ... + +TopTools_FormatVersion_VERSION_1 = TopTools_FormatVersion.TopTools_FormatVersion_VERSION_1 +TopTools_FormatVersion_VERSION_2 = TopTools_FormatVersion.TopTools_FormatVersion_VERSION_2 +TopTools_FormatVersion_VERSION_3 = TopTools_FormatVersion.TopTools_FormatVersion_VERSION_3 +TopTools_FormatVersion_CURRENT = TopTools_FormatVersion.TopTools_FormatVersion_CURRENT + + class toptools: @staticmethod def Dummy(I: int) -> None: ... diff --git a/src/SWIG_files/wrapper/TopTrans.i b/src/SWIG_files/wrapper/TopTrans.i index af37c29db..4de181c6a 100644 --- a/src/SWIG_files/wrapper/TopTrans.i +++ b/src/SWIG_files/wrapper/TopTrans.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TOPTRANSDOCSTRING "TopTrans module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_toptrans.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_toptrans.html" %enddef %module (package="OCC.Core", docstring=TOPTRANSDOCSTRING) TopTrans @@ -62,7 +62,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -134,7 +134,7 @@ None /****************** Reset ******************/ /**** md5 signature: 477dbad6632871c94ebb699631f93444 ****/ %feature("compactdefaultargs") Reset; - %feature("autodoc", "Initialize a transition with the local description of a straigth line. + %feature("autodoc", "Initialize a transition with the local description of a straight line. Parameters ---------- diff --git a/src/SWIG_files/wrapper/TopoDS.i b/src/SWIG_files/wrapper/TopoDS.i index 66147e26d..590c2e01e 100644 --- a/src/SWIG_files/wrapper/TopoDS.i +++ b/src/SWIG_files/wrapper/TopoDS.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TOPODSDOCSTRING "TopoDS module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_topods.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_topods.html" %enddef %module (package="OCC.Core", docstring=TOPODSDOCSTRING) TopoDS @@ -66,7 +66,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -709,7 +709,7 @@ TopoDS_Shape class TopoDS_Iterator { public: /****************** TopoDS_Iterator ******************/ - /**** md5 signature: ac26a9b0545000f39f1f87020b9c6d8f ****/ + /**** md5 signature: 1916010ea75419e2487f95a4e66d0acd ****/ %feature("compactdefaultargs") TopoDS_Iterator; %feature("autodoc", "Creates an empty iterator. @@ -720,7 +720,7 @@ None TopoDS_Iterator(); /****************** TopoDS_Iterator ******************/ - /**** md5 signature: 93466b331bcaf0b64fd63be7d5336b8a ****/ + /**** md5 signature: 5140035e418f481a1a1b464798561ee9 ****/ %feature("compactdefaultargs") TopoDS_Iterator; %feature("autodoc", "Creates an iterator on sub-shapes. note: - if cumori is true, the function composes all sub-shapes with the orientation of s. - if cumloc is true, the function multiplies all sub-shapes by the location of s, i.e. it applies to each sub-shape the transformation that is associated with s. @@ -758,7 +758,7 @@ None void Initialize(const TopoDS_Shape & S, const Standard_Boolean cumOri = Standard_True, const Standard_Boolean cumLoc = Standard_True); /****************** More ******************/ - /**** md5 signature: 6f6e915c9a3dca758c059d9e8af02dff ****/ + /**** md5 signature: cff271d3b32940da94bada40648f9096 ****/ %feature("compactdefaultargs") More; %feature("autodoc", "Returns true if there is another sub-shape in the shape which this iterator is scanning. @@ -780,7 +780,7 @@ None void Next(); /****************** Value ******************/ - /**** md5 signature: 9e28ce63f808ff9cca4234cb4dd1cbd0 ****/ + /**** md5 signature: ebbff234a3094c505e960926e0773ed1 ****/ %feature("compactdefaultargs") Value; %feature("autodoc", "Returns the current sub-shape in the shape which this iterator is scanning. exceptions standard_nosuchobject if there is no current sub-shape. @@ -1122,19 +1122,21 @@ bool Standard_Boolean IsSame(const TopoDS_Shape & theOther); /****************** Located ******************/ - /**** md5 signature: a25465c897f6848d7c1167dfb7b66062 ****/ + /**** md5 signature: 3f8cd1598c3eb01b43ca976d06905f6f ****/ %feature("compactdefaultargs") Located; %feature("autodoc", "Returns a shape similar to with the local coordinate system set to . Parameters ---------- theLoc: TopLoc_Location +theRaiseExc: bool,optional + default value is Standard_True Returns ------- TopoDS_Shape ") Located; - TopoDS_Shape Located(const TopLoc_Location & theLoc); + TopoDS_Shape Located(const TopLoc_Location & theLoc, const Standard_Boolean theRaiseExc = Standard_True); /****************** Location ******************/ /**** md5 signature: 57e4db9c8a7a08cffc827dc50be227c9 ****/ @@ -1148,19 +1150,21 @@ TopLoc_Location const TopLoc_Location & Location(); /****************** Location ******************/ - /**** md5 signature: 7dad156a2ecc5319358e11a9fba30480 ****/ + /**** md5 signature: 9dfc75484b9577a6acde91d32790727b ****/ %feature("compactdefaultargs") Location; %feature("autodoc", "Sets the shape local coordinate system. Parameters ---------- theLoc: TopLoc_Location +theRaiseExc: bool,optional + default value is Standard_True Returns ------- None ") Location; - void Location(const TopLoc_Location & theLoc); + void Location(const TopLoc_Location & theLoc, const Standard_Boolean theRaiseExc = Standard_True); /****************** Locked ******************/ /**** md5 signature: a47aa902e0d0df6fdbe782c3c7f2d1b5 ****/ @@ -1215,34 +1219,38 @@ None void Modified(Standard_Boolean theIsModified); /****************** Move ******************/ - /**** md5 signature: 4e6861a9800338674d407bb4a78df69f ****/ + /**** md5 signature: d7624253a8bf526c57d80a382d92f068 ****/ %feature("compactdefaultargs") Move; %feature("autodoc", "Multiplies the shape location by theposition. Parameters ---------- thePosition: TopLoc_Location +theRaiseExc: bool,optional + default value is Standard_True Returns ------- None ") Move; - void Move(const TopLoc_Location & thePosition); + void Move(const TopLoc_Location & thePosition, const Standard_Boolean theRaiseExc = Standard_True); /****************** Moved ******************/ - /**** md5 signature: 39f007d8497487ec0d169e6006debb60 ****/ + /**** md5 signature: 2c1c929bc14809beff6d7542a5f68efe ****/ %feature("compactdefaultargs") Moved; %feature("autodoc", "Returns a shape similar to with a location multiplied by theposition. Parameters ---------- thePosition: TopLoc_Location +theRaiseExc: bool,optional + default value is Standard_True Returns ------- TopoDS_Shape ") Moved; - TopoDS_Shape Moved(const TopLoc_Location & thePosition); + TopoDS_Shape Moved(const TopLoc_Location & thePosition, const Standard_Boolean theRaiseExc = Standard_True); /****************** NbChildren ******************/ /**** md5 signature: 112820d06ee986e20c4479ba5bfe3404 ****/ diff --git a/src/SWIG_files/wrapper/TopoDS.pyi b/src/SWIG_files/wrapper/TopoDS.pyi index 1db87fe34..55d6e5d83 100644 --- a/src/SWIG_files/wrapper/TopoDS.pyi +++ b/src/SWIG_files/wrapper/TopoDS.pyi @@ -127,11 +127,11 @@ class TopoDS_Shape: def IsNull(self) -> bool: ... def IsPartner(self, theOther: TopoDS_Shape) -> bool: ... def IsSame(self, theOther: TopoDS_Shape) -> bool: ... - def Located(self, theLoc: TopLoc_Location) -> TopoDS_Shape: ... + def Located(self, theLoc: TopLoc_Location, theRaiseExc: Optional[bool] = True) -> TopoDS_Shape: ... @overload def Location(self) -> TopLoc_Location: ... @overload - def Location(self, theLoc: TopLoc_Location) -> None: ... + def Location(self, theLoc: TopLoc_Location, theRaiseExc: Optional[bool] = True) -> None: ... @overload def Locked(self) -> bool: ... @overload @@ -140,8 +140,8 @@ class TopoDS_Shape: def Modified(self) -> bool: ... @overload def Modified(self, theIsModified: bool) -> None: ... - def Move(self, thePosition: TopLoc_Location) -> None: ... - def Moved(self, thePosition: TopLoc_Location) -> TopoDS_Shape: ... + def Move(self, thePosition: TopLoc_Location, theRaiseExc: Optional[bool] = True) -> None: ... + def Moved(self, thePosition: TopLoc_Location, theRaiseExc: Optional[bool] = True) -> TopoDS_Shape: ... def NbChildren(self) -> int: ... def Nullify(self) -> None: ... @overload diff --git a/src/SWIG_files/wrapper/TopoDSToStep.i b/src/SWIG_files/wrapper/TopoDSToStep.i index ce44f8f83..f60fbff8c 100644 --- a/src/SWIG_files/wrapper/TopoDSToStep.i +++ b/src/SWIG_files/wrapper/TopoDSToStep.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TOPODSTOSTEPDOCSTRING "TopoDSToStep module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_topodstostep.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_topodstostep.html" %enddef %module (package="OCC.Core", docstring=TOPODSTOSTEPDOCSTRING) TopoDSToStep @@ -118,7 +118,7 @@ enum TopoDSToStep_FacetedError { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class TopoDSToStep_MakeEdgeError(IntEnum): diff --git a/src/SWIG_files/wrapper/Transfer.i b/src/SWIG_files/wrapper/Transfer.i index a655bedbf..ed9617b41 100644 --- a/src/SWIG_files/wrapper/Transfer.i +++ b/src/SWIG_files/wrapper/Transfer.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TRANSFERDOCSTRING "Transfer module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_transfer.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_transfer.html" %enddef %module (package="OCC.Core", docstring=TRANSFERDOCSTRING) Transfer @@ -87,7 +87,7 @@ enum Transfer_StatusResult { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Transfer_StatusExec(IntEnum): @@ -273,7 +273,7 @@ None /****************** Transferring ******************/ /**** md5 signature: 4f53e5d5a83d9867599cfcf49344ee90 ****/ %feature("compactdefaultargs") Transferring; - %feature("autodoc", "Specific action of transfer. the result is stored in the returned binder, or a null handle for 'no result' (default defined as doing nothing; should be deffered) 'mutable' allows the actor to record intermediate information, in addition to those of transferprocess. + %feature("autodoc", "Specific action of transfer. the result is stored in the returned binder, or a null handle for 'no result' (default defined as doing nothing; should be deferred) 'mutable' allows the actor to record intermediate information, in addition to those of transferprocess. Parameters ---------- @@ -412,7 +412,7 @@ None /****************** Transferring ******************/ /**** md5 signature: e31455ac7db7ffccb1c6d0fa5dff964e ****/ %feature("compactdefaultargs") Transferring; - %feature("autodoc", "Specific action of transfer. the result is stored in the returned binder, or a null handle for 'no result' (default defined as doing nothing; should be deffered) 'mutable' allows the actor to record intermediate information, in addition to those of transferprocess. + %feature("autodoc", "Specific action of transfer. the result is stored in the returned binder, or a null handle for 'no result' (default defined as doing nothing; should be deferred) 'mutable' allows the actor to record intermediate information, in addition to those of transferprocess. Parameters ---------- @@ -462,7 +462,7 @@ class Transfer_Binder : public Standard_Transient { /****************** AddFail ******************/ /**** md5 signature: 4da0304d0675e0e43eeeae8a464c5cc0 ****/ %feature("compactdefaultargs") AddFail; - %feature("autodoc", "Used to declare an individual transfer as beeing erroneous (status is set to void, statusexec is set to error, is added to check's list of fails) it is possible to record several messages of error //! it has same effect for transferprocess as raising an exception during the operation of transfer, except the transfer tries to continue (as if errorhandle had been set). + %feature("autodoc", "Used to declare an individual transfer as being erroneous (status is set to void, statusexec is set to error, is added to check's list of fails) it is possible to record several messages of error //! it has same effect for transferprocess as raising an exception during the operation of transfer, except the transfer tries to continue (as if errorhandle had been set). Parameters ---------- @@ -896,7 +896,7 @@ Interface_ParamType /****************** Equates ******************/ /**** md5 signature: c23eeb6738a5a3b9c168de5c90033b61 ****/ %feature("compactdefaultargs") Equates; - %feature("autodoc", "Specific testof equallity : to be defined by each sub-class, must be false if finders have not the same true type, else their contents must be compared. + %feature("autodoc", "Specific testof equality : to be defined by each sub-class, must be false if finders have not the same true type, else their contents must be compared. Parameters ---------- @@ -1270,7 +1270,7 @@ None /****************** AbnormalResult ******************/ /**** md5 signature: 83a1f95395dc879f57c81c4d201c078d ****/ %feature("compactdefaultargs") AbnormalResult; - %feature("autodoc", "Returns binders which are neither 'done' nor 'initial', that is error,loop or run (abnormal states at end of transfer) starting objects are given in correspondance in the iterator. + %feature("autodoc", "Returns binders which are neither 'done' nor 'initial', that is error,loop or run (abnormal states at end of transfer) starting objects are given in correspondence in the iterator. Returns ------- @@ -1525,7 +1525,7 @@ None /****************** CompleteResult ******************/ /**** md5 signature: cdd116bbcf7ed573c06d1f2aa037184b ****/ %feature("compactdefaultargs") CompleteResult; - %feature("autodoc", "Returns, as an iterator, the entire log of transfer (list of created objects and binders which can bring errors) if withstart is given true, starting objets are also returned. + %feature("autodoc", "Returns, as an iterator, the entire log of transfer (list of created objects and binders which can bring errors) if withstart is given true, starting objects are also returned. Parameters ---------- @@ -1937,7 +1937,7 @@ opencascade::handle /****************** RootResult ******************/ /**** md5 signature: 0a0e61f56d5a609830fa57636a74d5b9 ****/ %feature("compactdefaultargs") RootResult; - %feature("autodoc", "Returns, as an iterator, the log of root transfer, i.e. the created objects and binders bound to starting roots if withstart is given true, starting objets are also returned. + %feature("autodoc", "Returns, as an iterator, the log of root transfer, i.e. the created objects and binders bound to starting roots if withstart is given true, starting objects are also returned. Parameters ---------- @@ -2957,7 +2957,7 @@ bool /****************** HasResult ******************/ /**** md5 signature: 345d4b0f7e88f528928167976d8256d5 ****/ %feature("compactdefaultargs") HasResult; - %feature("autodoc", "Returns true if current item brings a result, transient (handle) or not or multiple. that is to say, if it corresponds to a normally acheived transfer, transient result is read by specific transientresult below. other kind of result must be read specifically from its binder. + %feature("autodoc", "Returns true if current item brings a result, transient (handle) or not or multiple. that is to say, if it corresponds to a normally achieved transfer, transient result is read by specific transientresult below. other kind of result must be read specifically from its binder. Returns ------- @@ -3034,7 +3034,7 @@ int /****************** ResultType ******************/ /**** md5 signature: 05a6797793486e19cd94de53a53b0ad7 ****/ %feature("compactdefaultargs") ResultType; - %feature("autodoc", "Returns the type of the result of the current item, if unique. if no unique result (error transfert or multiple result), returns a null handle the type is : the dynamic type for a transient result, the type defined by the binder class else. + %feature("autodoc", "Returns the type of the result of the current item, if unique. if no unique result (error transfer or multiple result), returns a null handle the type is : the dynamic type for a transient result, the type defined by the binder class else. Returns ------- @@ -3824,7 +3824,7 @@ None /****************** IsMultiple ******************/ /**** md5 signature: 17145d71daab4028b6c7195d5ff772ce ****/ %feature("compactdefaultargs") IsMultiple; - %feature("autodoc", "Returns true if a starting object is bound with several results : here, returns allways true. + %feature("autodoc", "Returns true if a starting object is bound with several results : here, returns always true. Returns ------- @@ -3925,7 +3925,7 @@ class Transfer_SimpleBinderOfTransient : public Transfer_Binder { /****************** Transfer_SimpleBinderOfTransient ******************/ /**** md5 signature: 83ba599c048412012db5337e7fe1879c ****/ %feature("compactdefaultargs") Transfer_SimpleBinderOfTransient; - %feature("autodoc", "Creates an empty simplebinderoftransient returns true if a starting object is bound with several results : here, returns allways false see binder itself. + %feature("autodoc", "Creates an empty simplebinderoftransient returns true if a starting object is bound with several results : here, returns always false see binder itself. Returns ------- @@ -4175,7 +4175,7 @@ None /****************** Equates ******************/ /**** md5 signature: 2bde7773554342cacb5dfc4ee8d4c0f3 ****/ %feature("compactdefaultargs") Equates; - %feature("autodoc", "Specific testof equallity : defined as false if has not the same true type, else contents are compared (by c++ operator ==). + %feature("autodoc", "Specific testof equality : defined as false if has not the same true type, else contents are compared (by c++ operator ==). Parameters ---------- @@ -4414,7 +4414,7 @@ None /****************** SetModel ******************/ /**** md5 signature: 70328a97cec44e457500ce3b002efc49 ****/ %feature("compactdefaultargs") SetModel; - %feature("autodoc", "Sets an interfacemodel, used by starttrace, checklist, queries on integrity, to give informations significant for each norm. + %feature("autodoc", "Sets an interfacemodel, used by starttrace, checklist, queries on integrity, to give information significant for each norm. Parameters ---------- diff --git a/src/SWIG_files/wrapper/TransferBRep.i b/src/SWIG_files/wrapper/TransferBRep.i index 1d429931f..b037fa4b9 100644 --- a/src/SWIG_files/wrapper/TransferBRep.i +++ b/src/SWIG_files/wrapper/TransferBRep.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define TRANSFERBREPDOCSTRING "TransferBRep module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_transferbrep.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_transferbrep.html" %enddef %module (package="OCC.Core", docstring=TRANSFERBREPDOCSTRING) TransferBRep @@ -74,7 +74,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -422,7 +422,7 @@ None /****************** TransferBRep_BinderOfShape ******************/ /**** md5 signature: 5bbec8d38c7e9144c260dddea617f54e ****/ %feature("compactdefaultargs") TransferBRep_BinderOfShape; - %feature("autodoc", "Constructor which in the same time defines the result returns true if a starting object is bound with several results : here, returns allways false but it can have next results. + %feature("autodoc", "Constructor which in the same time defines the result returns true if a starting object is bound with several results : here, returns always false but it can have next results. Parameters ---------- @@ -527,7 +527,7 @@ None /****************** Equates ******************/ /**** md5 signature: 2bde7773554342cacb5dfc4ee8d4c0f3 ****/ %feature("compactdefaultargs") Equates; - %feature("autodoc", "Specific testof equallity : defined as false if has not the same true type, else contents are compared (by c++ operator ==). + %feature("autodoc", "Specific testof equality : defined as false if has not the same true type, else contents are compared (by c++ operator ==). Parameters ---------- @@ -661,7 +661,7 @@ bool /****************** CheckStatusResult ******************/ /**** md5 signature: 331854297e3a398f63c12a5f55682ab2 ****/ %feature("compactdefaultargs") CheckStatusResult; - %feature("autodoc", "Checks the result of last transfer (individual or roots, no cumulation on several transfers). returns true if no fail occured during transfer (queries the transientprocess). + %feature("autodoc", "Checks the result of last transfer (individual or roots, no cumulation on several transfers). returns true if no fail occurred during transfer (queries the transientprocess). Parameters ---------- @@ -989,7 +989,7 @@ opencascade::handle /****************** TransientProcess ******************/ /**** md5 signature: cda5aa33365159e82c6213003de44419 ****/ %feature("compactdefaultargs") TransientProcess; - %feature("autodoc", "Returns the transientprocess. it records informations about the very last transfer done. null if no transfer yet done. can be used for queries more accurate than the default ones. + %feature("autodoc", "Returns the transientprocess. it records information about the very last transfer done. null if no transfer yet done. can be used for queries more accurate than the default ones. Returns ------- @@ -1362,7 +1362,7 @@ None /****************** Equates ******************/ /**** md5 signature: 2bde7773554342cacb5dfc4ee8d4c0f3 ****/ %feature("compactdefaultargs") Equates; - %feature("autodoc", "Specific testof equallity : defined as false if has not the same true type, else contents are compared (by c++ operator ==). + %feature("autodoc", "Specific testof equality : defined as false if has not the same true type, else contents are compared (by c++ operator ==). Parameters ---------- diff --git a/src/SWIG_files/wrapper/UTL.i b/src/SWIG_files/wrapper/UTL.i index 139fba5fb..2ab0d88e6 100644 --- a/src/SWIG_files/wrapper/UTL.i +++ b/src/SWIG_files/wrapper/UTL.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define UTLDOCSTRING "UTL module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_utl.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_utl.html" %enddef %module (package="OCC.Core", docstring=UTLDOCSTRING) UTL @@ -66,7 +66,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/Units.i b/src/SWIG_files/wrapper/Units.i index aa8a9a063..e9f09a0da 100644 --- a/src/SWIG_files/wrapper/Units.i +++ b/src/SWIG_files/wrapper/Units.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define UNITSDOCSTRING "Units module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_units.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_units.html" %enddef %module (package="OCC.Core", docstring=UNITSDOCSTRING) Units @@ -62,7 +62,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -700,7 +700,7 @@ class Units_Explorer { /****************** Units_Explorer ******************/ /**** md5 signature: 8a8d095abcb8ce4f0921dd302b301d66 ****/ %feature("compactdefaultargs") Units_Explorer; - %feature("autodoc", "Empty contructor of the class. + %feature("autodoc", "Empty constructor of the class. Returns ------- @@ -1471,7 +1471,7 @@ opencascade::handle /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Return true if number of created tokens > 0 (i.e creation of sentence is succesfull). + %feature("autodoc", "Return true if number of created tokens > 0 (i.e creation of sentence is successful). Returns ------- @@ -2354,7 +2354,7 @@ None /****************** Units_UnitsSystem ******************/ /**** md5 signature: 87e13c76c018885ca60c1b0c9be77315 ****/ %feature("compactdefaultargs") Units_UnitsSystem; - %feature("autodoc", "Returns an instance of unitssystem initialized to the s.i. units system upgraded by the base system units decription file. attempts to find the four following files: $csf_`aname`defaults/.aname $csf_`aname`sitedefaults/.aname $csf_`aname`groupdefaults/.aname $csf_`aname`userdefaults/.aname see : resource_manager for the description of this file. + %feature("autodoc", "Returns an instance of unitssystem initialized to the s.i. units system upgraded by the base system units description file. attempts to find the four following files: $csf_`aname`defaults/.aname $csf_`aname`sitedefaults/.aname $csf_`aname`groupdefaults/.aname $csf_`aname`userdefaults/.aname see : resource_manager for the description of this file. Parameters ---------- @@ -2413,7 +2413,7 @@ TCollection_AsciiString /****************** ActiveUnitsSequence ******************/ /**** md5 signature: 6afbb572a41bd436215c98c3285a0dfc ****/ %feature("compactdefaultargs") ActiveUnitsSequence; - %feature("autodoc", "Returns a sequence of integer in correspondance with the sequence of quantities, which indicates, for each redefined quantity, the index into the sequence of units, of the active unit. + %feature("autodoc", "Returns a sequence of integer in correspondence with the sequence of quantities, which indicates, for each redefined quantity, the index into the sequence of units, of the active unit. Returns ------- @@ -2686,7 +2686,7 @@ class Units_ShiftedUnit : public Units_Unit { /****************** Units_ShiftedUnit ******************/ /**** md5 signature: 723c5258f6e5560ce254ce2750aab52e ****/ %feature("compactdefaultargs") Units_ShiftedUnit; - %feature("autodoc", "Creates and returns a shifted unit. is the name of the unit, is the usual abbreviation of the unit, is the value in relation to the international system of units, and is the gap in relation to another unit. //! for example celcius dregee of temperature is an instance of shiftedunit with equal to 1. and equal to 273.15. + %feature("autodoc", "Creates and returns a shifted unit. is the name of the unit, is the usual abbreviation of the unit, is the value in relation to the international system of units, and is the gap in relation to another unit. //! for example celsius degree of temperature is an instance of shiftedunit with equal to 1. and equal to 273.15. Parameters ---------- diff --git a/src/SWIG_files/wrapper/UnitsAPI.i b/src/SWIG_files/wrapper/UnitsAPI.i index a6ac85220..c19f49f97 100644 --- a/src/SWIG_files/wrapper/UnitsAPI.i +++ b/src/SWIG_files/wrapper/UnitsAPI.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define UNITSAPIDOCSTRING "UnitsAPI module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_unitsapi.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_unitsapi.html" %enddef %module (package="OCC.Core", docstring=UNITSAPIDOCSTRING) UnitsAPI @@ -66,7 +66,7 @@ enum UnitsAPI_SystemUnits { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class UnitsAPI_SystemUnits(IntEnum): diff --git a/src/SWIG_files/wrapper/V3d.i b/src/SWIG_files/wrapper/V3d.i index b7a5b5a87..8938b7329 100644 --- a/src/SWIG_files/wrapper/V3d.i +++ b/src/SWIG_files/wrapper/V3d.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define V3DDOCSTRING "V3d module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_v3d.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_v3d.html" %enddef %module (package="OCC.Core", docstring=V3DDOCSTRING) V3d @@ -46,9 +46,10 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_v3d.html" #include #include #include +#include +#include #include #include -#include #include #include #include @@ -73,9 +74,10 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_v3d.html" %import gp.i %import Quantity.i %import Aspect.i +%import Prs3d.i +%import TCollection.i %import TColStd.i %import Bnd.i -%import TCollection.i %import Image.i %pythoncode { @@ -84,15 +86,6 @@ from OCC.Core.Exception import * }; /* public enums */ -enum V3d_TypeOfPickCamera { - V3d_POSITIONCAMERA = 0, - V3d_SPACECAMERA = 1, - V3d_RADIUSTEXTCAMERA = 2, - V3d_ExtRADIUSCAMERA = 3, - V3d_IntRADIUSCAMERA = 4, - V3d_NOTHINGCAMERA = 5, -}; - enum V3d_TypeOfVisualization { V3d_WIREFRAME = 0, V3d_ZBUFFER = 1, @@ -161,47 +154,11 @@ enum V3d_TypeOfAxe { V3d_Z = 2, }; -enum V3d_TypeOfRepresentation { - V3d_SIMPLE = 0, - V3d_COMPLETE = 1, - V3d_PARTIAL = 2, - V3d_SAMELAST = 3, -}; - -enum V3d_TypeOfBackfacingModel { - V3d_TOBM_AUTOMATIC = 0, - V3d_TOBM_ALWAYS_DISPLAYED = 1, - V3d_TOBM_NEVER_DISPLAYED = 2, -}; - -enum V3d_TypeOfPickLight { - V3d_POSITIONLIGHT = 0, - V3d_SPACELIGHT = 1, - V3d_RADIUSTEXTLIGHT = 2, - V3d_ExtRADIUSLIGHT = 3, - V3d_IntRADIUSLIGHT = 4, - V3d_NOTHING = 5, -}; - /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { -class V3d_TypeOfPickCamera(IntEnum): - V3d_POSITIONCAMERA = 0 - V3d_SPACECAMERA = 1 - V3d_RADIUSTEXTCAMERA = 2 - V3d_ExtRADIUSCAMERA = 3 - V3d_IntRADIUSCAMERA = 4 - V3d_NOTHINGCAMERA = 5 -V3d_POSITIONCAMERA = V3d_TypeOfPickCamera.V3d_POSITIONCAMERA -V3d_SPACECAMERA = V3d_TypeOfPickCamera.V3d_SPACECAMERA -V3d_RADIUSTEXTCAMERA = V3d_TypeOfPickCamera.V3d_RADIUSTEXTCAMERA -V3d_ExtRADIUSCAMERA = V3d_TypeOfPickCamera.V3d_ExtRADIUSCAMERA -V3d_IntRADIUSCAMERA = V3d_TypeOfPickCamera.V3d_IntRADIUSCAMERA -V3d_NOTHINGCAMERA = V3d_TypeOfPickCamera.V3d_NOTHINGCAMERA - class V3d_TypeOfVisualization(IntEnum): V3d_WIREFRAME = 0 V3d_ZBUFFER = 1 @@ -317,38 +274,6 @@ class V3d_TypeOfAxe(IntEnum): V3d_X = V3d_TypeOfAxe.V3d_X V3d_Y = V3d_TypeOfAxe.V3d_Y V3d_Z = V3d_TypeOfAxe.V3d_Z - -class V3d_TypeOfRepresentation(IntEnum): - V3d_SIMPLE = 0 - V3d_COMPLETE = 1 - V3d_PARTIAL = 2 - V3d_SAMELAST = 3 -V3d_SIMPLE = V3d_TypeOfRepresentation.V3d_SIMPLE -V3d_COMPLETE = V3d_TypeOfRepresentation.V3d_COMPLETE -V3d_PARTIAL = V3d_TypeOfRepresentation.V3d_PARTIAL -V3d_SAMELAST = V3d_TypeOfRepresentation.V3d_SAMELAST - -class V3d_TypeOfBackfacingModel(IntEnum): - V3d_TOBM_AUTOMATIC = 0 - V3d_TOBM_ALWAYS_DISPLAYED = 1 - V3d_TOBM_NEVER_DISPLAYED = 2 -V3d_TOBM_AUTOMATIC = V3d_TypeOfBackfacingModel.V3d_TOBM_AUTOMATIC -V3d_TOBM_ALWAYS_DISPLAYED = V3d_TypeOfBackfacingModel.V3d_TOBM_ALWAYS_DISPLAYED -V3d_TOBM_NEVER_DISPLAYED = V3d_TypeOfBackfacingModel.V3d_TOBM_NEVER_DISPLAYED - -class V3d_TypeOfPickLight(IntEnum): - V3d_POSITIONLIGHT = 0 - V3d_SPACELIGHT = 1 - V3d_RADIUSTEXTLIGHT = 2 - V3d_ExtRADIUSLIGHT = 3 - V3d_IntRADIUSLIGHT = 4 - V3d_NOTHING = 5 -V3d_POSITIONLIGHT = V3d_TypeOfPickLight.V3d_POSITIONLIGHT -V3d_SPACELIGHT = V3d_TypeOfPickLight.V3d_SPACELIGHT -V3d_RADIUSTEXTLIGHT = V3d_TypeOfPickLight.V3d_RADIUSTEXTLIGHT -V3d_ExtRADIUSLIGHT = V3d_TypeOfPickLight.V3d_ExtRADIUSLIGHT -V3d_IntRADIUSLIGHT = V3d_TypeOfPickLight.V3d_IntRADIUSLIGHT -V3d_NOTHING = V3d_TypeOfPickLight.V3d_NOTHING }; /* end python proxy for enums */ @@ -387,16 +312,14 @@ V3d_NOTHING = V3d_TypeOfPickLight.V3d_NOTHING /* typedefs */ typedef Handle_Graphic3d_CLight Handle_V3d_Light; -typedef Standard_Real V3d_Coordinate; typedef Graphic3d_CLight V3d_Light; typedef NCollection_List> V3d_ListOfLight; typedef V3d_ListOfLight::Iterator V3d_ListOfLightIterator; typedef NCollection_List> V3d_ListOfView; typedef V3d_ListOfView::Iterator V3d_ListOfViewIterator; -typedef Standard_Real V3d_Parameter; +typedef Graphic3d_TypeOfBackfacingModel V3d_TypeOfBackfacingModel; typedef Graphic3d_TypeOfLightSource V3d_TypeOfLight; typedef Graphic3d_TypeOfShadingModel V3d_TypeOfShadingModel; -typedef V3d_View * V3d_ViewPointer; typedef V3d_Viewer * V3d_ViewerPointer; /* end typedefs declaration */ @@ -761,7 +684,7 @@ opencascade::handle /****************** Display ******************/ /**** md5 signature: 4dc525f17f40f087cacdd085902a90ab ****/ %feature("compactdefaultargs") Display; - %feature("autodoc", "Display the plane representation in the choosen view. + %feature("autodoc", "Display the plane representation in the chosen view. Parameters ---------- @@ -999,6 +922,47 @@ None ") V3d_Trihedron; V3d_Trihedron(); + /****************** ArrowAspect ******************/ + /**** md5 signature: 83baff8406de18ecb598939c082e7c98 ****/ + %feature("compactdefaultargs") ArrowAspect; + %feature("autodoc", "Return shading aspect for specified axis. @param theaxis [in] axis index returns shading aspect. + +Parameters +---------- +theAxis: V3d_TypeOfAxe + +Returns +------- +opencascade::handle +") ArrowAspect; + const opencascade::handle & ArrowAspect(V3d_TypeOfAxe theAxis); + + /****************** ArrowDiameter ******************/ + /**** md5 signature: 8cf626b6e8e6be25604ce22c0e17f051 ****/ + %feature("compactdefaultargs") ArrowDiameter; + %feature("autodoc", "Return arrow diameter. + +Returns +------- +float +") ArrowDiameter; + Standard_Real ArrowDiameter(); + + /****************** Display ******************/ + /**** md5 signature: 42c2ef5e51bf295103c2f258b27a2422 ****/ + %feature("compactdefaultargs") Display; + %feature("autodoc", "Display trihedron. + +Parameters +---------- +theView: V3d_View + +Returns +------- +None +") Display; + void Display(const opencascade::handle & theView); + /****************** Display ******************/ /**** md5 signature: 2bae79cabd98629a1614937c039a142a ****/ %feature("compactdefaultargs") Display; @@ -1033,6 +997,80 @@ None ") Erase; void Erase(); + /****************** IsWireframe ******************/ + /**** md5 signature: 80fcc45160f20874f67947be21756c56 ****/ + %feature("compactdefaultargs") IsWireframe; + %feature("autodoc", "Return true if wireframe presentation is set; false by default. + +Returns +------- +bool +") IsWireframe; + bool IsWireframe(); + + /****************** Label ******************/ + /**** md5 signature: 3839a51c4a82f97b7a3db502d3596fa5 ****/ + %feature("compactdefaultargs") Label; + %feature("autodoc", "Return axis text. @param theaxis [in] axis index returns text of the label. + +Parameters +---------- +theAxis: V3d_TypeOfAxe + +Returns +------- +TCollection_AsciiString +") Label; + const TCollection_AsciiString & Label(V3d_TypeOfAxe theAxis); + + /****************** LabelAspect ******************/ + /**** md5 signature: 3cebd0912ae3832d59578142c1820ac3 ****/ + %feature("compactdefaultargs") LabelAspect; + %feature("autodoc", "Return text aspect for specified axis. @param theaxis [in] axis index returns text aspect. + +Parameters +---------- +theAxis: V3d_TypeOfAxe + +Returns +------- +opencascade::handle +") LabelAspect; + const opencascade::handle & LabelAspect(V3d_TypeOfAxe theAxis); + + /****************** NbFacets ******************/ + /**** md5 signature: f0a78c1b1a92f4693779c9637ca3a493 ****/ + %feature("compactdefaultargs") NbFacets; + %feature("autodoc", "Return number of facets for tessellation. + +Returns +------- +int +") NbFacets; + Standard_Integer NbFacets(); + + /****************** OriginAspect ******************/ + /**** md5 signature: 81a6eb092b2a0e718e37986026d946c4 ****/ + %feature("compactdefaultargs") OriginAspect; + %feature("autodoc", "Return shading aspect of origin sphere. + +Returns +------- +opencascade::handle +") OriginAspect; + const opencascade::handle & OriginAspect(); + + /****************** Scale ******************/ + /**** md5 signature: fff8b387c443c3e852a1bfc198a5a373 ****/ + %feature("compactdefaultargs") Scale; + %feature("autodoc", "Return scale factor. + +Returns +------- +float +") Scale; + Standard_Real Scale(); + /****************** SetArrowDiameter ******************/ /**** md5 signature: 4c0619d2a8305d420bc1f36865af3099 ****/ %feature("compactdefaultargs") SetArrowDiameter; @@ -1065,6 +1103,40 @@ None ") SetArrowsColor; void SetArrowsColor(const Quantity_Color & theXColor, const Quantity_Color & theYColor, const Quantity_Color & theZColor); + /****************** SetLabels ******************/ + /**** md5 signature: efe544ec018c24bb6a8f78658c7dddb9 ****/ + %feature("compactdefaultargs") SetLabels; + %feature("autodoc", "Setup per-axis text. + +Parameters +---------- +theX: TCollection_AsciiString +theY: TCollection_AsciiString +theZ: TCollection_AsciiString + +Returns +------- +None +") SetLabels; + void SetLabels(const TCollection_AsciiString & theX, const TCollection_AsciiString & theY, const TCollection_AsciiString & theZ); + + /****************** SetLabelsColor ******************/ + /**** md5 signature: 2e294d0668cecdbabc01b2838203a9e2 ****/ + %feature("compactdefaultargs") SetLabelsColor; + %feature("autodoc", "Setup per-label color. + +Parameters +---------- +theXColor: Quantity_Color +theYColor: Quantity_Color +theZColor: Quantity_Color + +Returns +------- +None +") SetLabelsColor; + void SetLabelsColor(const Quantity_Color & theXColor, const Quantity_Color & theYColor, const Quantity_Color & theZColor); + /****************** SetLabelsColor ******************/ /**** md5 signature: 006a9f4a6dfc02d7949e81f4ddc4da24 ****/ %feature("compactdefaultargs") SetLabelsColor; @@ -1155,6 +1227,28 @@ None ") SetWireframe; void SetWireframe(const Standard_Boolean theAsWireframe); + /****************** SizeRatio ******************/ + /**** md5 signature: ecc16fdaec68cd0580ce5d85ea1f0908 ****/ + %feature("compactdefaultargs") SizeRatio; + %feature("autodoc", "Return size ratio factor. + +Returns +------- +float +") SizeRatio; + Standard_Real SizeRatio(); + + /****************** TransformPersistence ******************/ + /**** md5 signature: d358c515ebf5e1ead4666e4a5cd605ce ****/ + %feature("compactdefaultargs") TransformPersistence; + %feature("autodoc", "Return trihedron position. + +Returns +------- +opencascade::handle +") TransformPersistence; + const opencascade::handle TransformPersistence(); + }; @@ -1335,15 +1429,15 @@ None void AxialScale(const Standard_Integer Dx, const Standard_Integer Dy, const V3d_TypeOfAxe Axis); /****************** BackFacingModel ******************/ - /**** md5 signature: 1ec7876cad7f7c2370e67cc7b55e118f ****/ + /**** md5 signature: f3593149121845487191e085f1d8af64 ****/ %feature("compactdefaultargs") BackFacingModel; - %feature("autodoc", "Returns current state of the back faces display. + %feature("autodoc", "Returns current state of the back faces display; graphic3d_typeofbackfacingmodel_auto by default, which means that backface culling is defined by each presentation. Returns ------- -V3d_TypeOfBackfacingModel +Graphic3d_TypeOfBackfacingModel ") BackFacingModel; - V3d_TypeOfBackfacingModel BackFacingModel(); + Graphic3d_TypeOfBackfacingModel BackFacingModel(); /****************** BackgroundColor ******************/ /**** md5 signature: 496c0a03dfb1fb7b8076d2c2846a387c ****/ @@ -1396,9 +1490,9 @@ Graphic3d_RenderingParams Graphic3d_RenderingParams & ChangeRenderingParams(); /****************** ClearPBREnvironment ******************/ - /**** md5 signature: 74a6106fb34ade1ffeef0dedb8ca60c4 ****/ + /**** md5 signature: ceb898c642bc368ae8e055ac8a0fd7bd ****/ %feature("compactdefaultargs") ClearPBREnvironment; - %feature("autodoc", "Fills pbr specular probe and irradiance map with white color. so that environment indirect illumination will be constant and will be fully controlled by ambient light sources. if pbr is unavailable it does nothing. + %feature("autodoc", "Disables ibl from background cubemap; fills pbr specular probe and irradiance map with white color. Parameters ---------- @@ -1803,9 +1897,9 @@ float Standard_Real Focale(); /****************** GeneratePBREnvironment ******************/ - /**** md5 signature: 985c23f09799e743cfb844b342b6182d ****/ + /**** md5 signature: 275e4d88c4784bc5b0db60d561af11c8 ****/ %feature("compactdefaultargs") GeneratePBREnvironment; - %feature("autodoc", "Generates pbr specular probe and irradiance map in order to provide environment indirect illumination in pbr shading model (image based lighting). the source of environment data is background cubemap. if pbr is unavailable it does nothing. if pbr is available but there is no cubemap being set to background it clears all ibl maps (see 'clearpbrenvironment'). + %feature("autodoc", "Activates ibl from background cubemap. Parameters ---------- @@ -1985,6 +2079,17 @@ bool ") IsEmpty; Standard_Boolean IsEmpty(); + /****************** IsImageBasedLighting ******************/ + /**** md5 signature: 8dbfce401659fd5ec60c2f81c736a1ca ****/ + %feature("compactdefaultargs") IsImageBasedLighting; + %feature("autodoc", "Returns true if ibl (image based lighting) from background cubemap is enabled. + +Returns +------- +bool +") IsImageBasedLighting; + Standard_Boolean IsImageBasedLighting(); + /****************** IsInvalidated ******************/ /**** md5 signature: ec866d0cff19cca721935f26d32ef8c3 ****/ %feature("compactdefaultargs") IsInvalidated; @@ -2271,7 +2376,7 @@ None virtual void RedrawImmediate(); /****************** Remove ******************/ - /**** md5 signature: 68f9a7e257a5149d50e9cf0219513119 ****/ + /**** md5 signature: 0346504d7ac570fc8960fb72d5ad5f20 ****/ %feature("compactdefaultargs") Remove; %feature("autodoc", "Destroys the view. @@ -2541,20 +2646,20 @@ None void SetAxis(const Standard_Real X, const Standard_Real Y, const Standard_Real Z, const Standard_Real Vx, const Standard_Real Vy, const Standard_Real Vz); /****************** SetBackFacingModel ******************/ - /**** md5 signature: 30c0e59124d52b71521a2d2406c785bc ****/ + /**** md5 signature: 56ed000419d4071d1041855cec2bbe5f ****/ %feature("compactdefaultargs") SetBackFacingModel; - %feature("autodoc", "Manages display of the back faces when is tobm_automatic the object backfaces are displayed only for surface objects and never displayed for solid objects. this was the previous mode. is tobm_always_displayed the object backfaces are always displayed both for surfaces or solids. is tobm_never_displayed the object backfaces are never displayed. + %feature("autodoc", "Manages display of the back faces. Parameters ---------- -theModel: V3d_TypeOfBackfacingModel,optional - default value is V3d_TOBM_AUTOMATIC +theModel: Graphic3d_TypeOfBackfacingModel,optional + default value is Graphic3d_TypeOfBackfacingModel_Auto Returns ------- None ") SetBackFacingModel; - void SetBackFacingModel(const V3d_TypeOfBackfacingModel theModel = V3d_TOBM_AUTOMATIC); + void SetBackFacingModel(const Graphic3d_TypeOfBackfacingModel theModel = Graphic3d_TypeOfBackfacingModel_Auto); /****************** SetBackgroundColor ******************/ /**** md5 signature: b5a0d9f80a350764624098a365179a93 ****/ @@ -2647,7 +2752,7 @@ None void SetBackgroundImage(const opencascade::handle & theTexture, const Aspect_FillMethod theFillStyle = Aspect_FM_CENTERED, const Standard_Boolean theToUpdate = Standard_False); /****************** SetBgGradientColors ******************/ - /**** md5 signature: 70e7f0659696f72c3b6eb6ae9487a67f ****/ + /**** md5 signature: 3049343ce59ac7e41a044f16276d9ed3 ****/ %feature("compactdefaultargs") SetBgGradientColors; %feature("autodoc", "Defines the gradient background colors of the view by supplying the colors and the fill method (horizontal by default). @@ -2656,7 +2761,7 @@ Parameters theColor1: Quantity_Color theColor2: Quantity_Color theFillStyle: Aspect_GradientFillMethod,optional - default value is Aspect_GFM_HOR + default value is Aspect_GradientFillMethod_Horizontal theToUpdate: bool,optional default value is Standard_False @@ -2664,17 +2769,17 @@ Returns ------- None ") SetBgGradientColors; - void SetBgGradientColors(const Quantity_Color & theColor1, const Quantity_Color & theColor2, const Aspect_GradientFillMethod theFillStyle = Aspect_GFM_HOR, const Standard_Boolean theToUpdate = Standard_False); + void SetBgGradientColors(const Quantity_Color & theColor1, const Quantity_Color & theColor2, const Aspect_GradientFillMethod theFillStyle = Aspect_GradientFillMethod_Horizontal, const Standard_Boolean theToUpdate = Standard_False); /****************** SetBgGradientStyle ******************/ - /**** md5 signature: d6e6564ac4fa074ae7a9d23e8d722922 ****/ + /**** md5 signature: 45ec7afa0094d85e0d4e8c7f3395a8f1 ****/ %feature("compactdefaultargs") SetBgGradientStyle; %feature("autodoc", "Defines the gradient background fill method of the view. Parameters ---------- theMethod: Aspect_GradientFillMethod,optional - default value is Aspect_GFM_HOR + default value is Aspect_GradientFillMethod_Horizontal theToUpdate: bool,optional default value is Standard_False @@ -2682,7 +2787,7 @@ Returns ------- None ") SetBgGradientStyle; - void SetBgGradientStyle(const Aspect_GradientFillMethod theMethod = Aspect_GFM_HOR, const Standard_Boolean theToUpdate = Standard_False); + void SetBgGradientStyle(const Aspect_GradientFillMethod theMethod = Aspect_GradientFillMethod_Horizontal, const Standard_Boolean theToUpdate = Standard_False); /****************** SetBgImageStyle ******************/ /**** md5 signature: b2cd58264970b84f205845e49cfab5e5 ****/ @@ -2747,21 +2852,6 @@ None ") SetClipPlanes; void SetClipPlanes(const opencascade::handle & thePlanes); - /****************** SetClipPlanes ******************/ - /**** md5 signature: 07b77eb94c54463d3580213e6e88f118 ****/ - %feature("compactdefaultargs") SetClipPlanes; - %feature("autodoc", "No available documentation. - -Parameters ----------- -thePlanes: Graphic3d_SequenceOfHClipPlane - -Returns -------- -None -") SetClipPlanes; - void SetClipPlanes(const Graphic3d_SequenceOfHClipPlane & thePlanes); - /****************** SetComputedMode ******************/ /**** md5 signature: 269d3bae92efe31d98d859df0012cf4d ****/ %feature("compactdefaultargs") SetComputedMode; @@ -2881,6 +2971,23 @@ None ") SetGridActivity; void SetGridActivity(const Standard_Boolean aFlag); + /****************** SetImageBasedLighting ******************/ + /**** md5 signature: 560b4eb4d03f5ccdff44b61c15156a72 ****/ + %feature("compactdefaultargs") SetImageBasedLighting; + %feature("autodoc", "Enables or disables ibl (image based lighting) from background cubemap. has no effect if pbr is not used. @param[in] thetoenableibl enable or disable ibl from background cubemap @param[in] thetoupdate redraw the view. + +Parameters +---------- +theToEnableIBL: bool +theToUpdate: bool,optional + default value is Standard_False + +Returns +------- +None +") SetImageBasedLighting; + void SetImageBasedLighting(Standard_Boolean theToEnableIBL, Standard_Boolean theToUpdate = Standard_False); + /****************** SetImmediateUpdate ******************/ /**** md5 signature: b930e6c2cf96f1b5cd3b04092063cb66 ****/ %feature("compactdefaultargs") SetImmediateUpdate; @@ -3020,7 +3127,7 @@ None /****************** SetShadingModel ******************/ /**** md5 signature: 126435b0809b0e46e5c779eaa28d91a9 ****/ %feature("compactdefaultargs") SetShadingModel; - %feature("autodoc", "Defines the shading model for the visualization. various models are available. + %feature("autodoc", "Defines the shading model for the visualization. Parameters ---------- @@ -3035,7 +3142,7 @@ None /****************** SetSize ******************/ /**** md5 signature: 93bdf33a4c6cf5665958dc490a88ba2b ****/ %feature("compactdefaultargs") SetSize; - %feature("autodoc", "Defines the view projection size in its maximum dimension, keeping the inital height/width ratio unchanged. + %feature("autodoc", "Defines the view projection size in its maximum dimension, keeping the initial height/width ratio unchanged. Parameters ---------- @@ -3198,7 +3305,7 @@ None /****************** ShadingModel ******************/ /**** md5 signature: 79d21cf733a0311d63fb301f9c1a0521 ****/ %feature("compactdefaultargs") ShadingModel; - %feature("autodoc", "Returns the current shading model. + %feature("autodoc", "Returns the current shading model; graphic3d_typeofshadingmodel_phong by default. Returns ------- @@ -3418,6 +3525,22 @@ None ") TriedronErase; void TriedronErase(); + /****************** Trihedron ******************/ + /**** md5 signature: d2b86577fb9ee5b149ac9309e6b7a1fb ****/ + %feature("compactdefaultargs") Trihedron; + %feature("autodoc", "Returns trihedron object. + +Parameters +---------- +theToCreate: bool,optional + default value is true + +Returns +------- +opencascade::handle +") Trihedron; + const opencascade::handle & Trihedron(bool theToCreate = true); + /****************** Turn ******************/ /**** md5 signature: caf9640300c113b68ec729c85a8d5ab2 ****/ %feature("compactdefaultargs") Turn; @@ -3736,38 +3859,6 @@ None ") V3d_Viewer; V3d_Viewer(const opencascade::handle & theDriver); - /****************** V3d_Viewer ******************/ - /**** md5 signature: 4a8b671d69f357536c855bb0546e7003 ****/ - %feature("compactdefaultargs") V3d_Viewer; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theDriver: Graphic3d_GraphicDriver -theName: Standard_ExtString -theDomain: char *,optional - default value is "" -theViewSize: float,optional - default value is 1000.0 -theViewProj: V3d_TypeOfOrientation,optional - default value is V3d_XposYnegZpos -theViewBackground: Quantity_Color,optional - default value is Quantity_NOC_GRAY30 -theVisualization: V3d_TypeOfVisualization,optional - default value is V3d_ZBUFFER -theShadingModel: Graphic3d_TypeOfShadingModel,optional - default value is Graphic3d_TOSM_VERTEX -theComputedMode: bool,optional - default value is Standard_True -theDefaultComputedMode: bool,optional - default value is Standard_True - -Returns -------- -None -") V3d_Viewer; - V3d_Viewer(const opencascade::handle & theDriver, const Standard_ExtString theName, const char * theDomain = "", const Standard_Real theViewSize = 1000.0, const V3d_TypeOfOrientation theViewProj = V3d_XposYnegZpos, const Quantity_Color & theViewBackground = Quantity_NOC_GRAY30, const V3d_TypeOfVisualization theVisualization = V3d_ZBUFFER, const Graphic3d_TypeOfShadingModel theShadingModel = Graphic3d_TOSM_VERTEX, const Standard_Boolean theComputedMode = Standard_True, const Standard_Boolean theDefaultComputedMode = Standard_True); - /****************** ActivateGrid ******************/ /**** md5 signature: 00bc3f4c997ffd5dbf63fdf576318948 ****/ %feature("compactdefaultargs") ActivateGrid; @@ -3883,7 +3974,7 @@ bool Standard_Boolean AddZLayer(Standard_Integer &OutValue, const Graphic3d_ZLayerSettings & theSettings = Graphic3d_ZLayerSettings()); /****************** CircularGridGraphicValues ******************/ - /**** md5 signature: 7c300954e18ef90e055a30c0ceed3cc8 ****/ + /**** md5 signature: 3a811e27e917fb82e31d5ce9ddafdb6b ****/ %feature("compactdefaultargs") CircularGridGraphicValues; %feature("autodoc", "Returns the location and the size of the grid. @@ -3892,13 +3983,13 @@ Parameters Returns ------- -Radius: float -OffSet: float +theRadius: float +theOffSet: float ") CircularGridGraphicValues; void CircularGridGraphicValues(Standard_Real &OutValue, Standard_Real &OutValue); /****************** CircularGridValues ******************/ - /**** md5 signature: 2164f90264ca7c1420684d06c8f5a231 ****/ + /**** md5 signature: e3702606faa489726fa3c267357a58a5 ****/ %feature("compactdefaultargs") CircularGridValues; %feature("autodoc", "Returns the definition of the circular grid. @@ -3907,11 +3998,11 @@ Parameters Returns ------- -XOrigin: float -YOrigin: float -RadiusStep: float -DivisionNumber: int -RotationAngle: float +theXOrigin: float +theYOrigin: float +theRadiusStep: float +theDivisionNumber: int +theRotationAngle: float ") CircularGridValues; void CircularGridValues(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Integer &OutValue, Standard_Real &OutValue); @@ -3959,23 +4050,6 @@ Quantity_Color ") DefaultBackgroundColor; Quantity_Color DefaultBackgroundColor(); - /****************** DefaultBackgroundColor ******************/ - /**** md5 signature: cabb3b9108f07a8992885f498ac07920 ****/ - %feature("compactdefaultargs") DefaultBackgroundColor; - %feature("autodoc", "No available documentation. - -Parameters ----------- -theType: Quantity_TypeOfColor - -Returns -------- -theV1: float -theV2: float -theV3: float -") DefaultBackgroundColor; - void DefaultBackgroundColor(const Quantity_TypeOfColor theType, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); - /****************** DefaultBgGradientColors ******************/ /**** md5 signature: 7bb90d9db11de75077b503e1ad617543 ****/ %feature("compactdefaultargs") DefaultBgGradientColors; @@ -4017,7 +4091,7 @@ Graphic3d_RenderingParams /****************** DefaultShadingModel ******************/ /**** md5 signature: bc3bfac8e702deb7740234263f9351ab ****/ %feature("compactdefaultargs") DefaultShadingModel; - %feature("autodoc", "Returns the default type of shading. + %feature("autodoc", "Returns the default type of shading; graphic3d_typeofshadingmodel_phong by default. Returns ------- @@ -4224,18 +4298,40 @@ Aspect_GradientBackground const Aspect_GradientBackground & GetGradientBackground(); /****************** Grid ******************/ - /**** md5 signature: 0b328bc7e0dbb5bbec734058a8a9d7ef ****/ + /**** md5 signature: 122c44dbfe7d925c5324eccbcec035e5 ****/ + %feature("compactdefaultargs") Grid; + %feature("autodoc", "Returns the defined grid in . + +Parameters +---------- +theToCreate: bool,optional + default value is true + +Returns +------- +opencascade::handle +") Grid; + opencascade::handle Grid(bool theToCreate = true); + + /****************** Grid ******************/ + /**** md5 signature: 6ce936b8de7dac3d84408efde095017d ****/ %feature("compactdefaultargs") Grid; %feature("autodoc", "Returns the defined grid in . +Parameters +---------- +theGridType: Aspect_GridType +theToCreate: bool,optional + default value is true + Returns ------- opencascade::handle ") Grid; - opencascade::handle Grid(); + opencascade::handle Grid(Aspect_GridType theGridType, bool theToCreate = true); /****************** GridDrawMode ******************/ - /**** md5 signature: 7caebe8f5a319f1a85b12c8cf075c731 ****/ + /**** md5 signature: bff7a5c472e52220fdbe56a05764b23f ****/ %feature("compactdefaultargs") GridDrawMode; %feature("autodoc", "Returns the current grid draw mode defined in . @@ -4383,7 +4479,7 @@ None void Invalidate(); /****************** IsActive ******************/ - /**** md5 signature: 476abafc82a8bb87ac904f5a77e179a3 ****/ + /**** md5 signature: 619177a77eb0e03f8c6370d0e90fb199 ****/ %feature("compactdefaultargs") IsActive; %feature("autodoc", "Returns standard_true if a grid is activated in . @@ -4408,6 +4504,17 @@ bool ") IsGlobalLight; Standard_Boolean IsGlobalLight(const opencascade::handle & TheLight); + /****************** IsGridActive ******************/ + /**** md5 signature: f6375ecefe9307a6299a7081489055bd ****/ + %feature("compactdefaultargs") IsGridActive; + %feature("autodoc", "Returns standard_true if a grid is activated in . + +Returns +------- +bool +") IsGridActive; + Standard_Boolean IsGridActive(); + /****************** LastActiveView ******************/ /**** md5 signature: be5a39647b88665478a02d7cd3674cb7 ****/ %feature("compactdefaultargs") LastActiveView; @@ -4519,7 +4626,7 @@ gp_Ax3 const gp_Ax3 PrivilegedPlane(); /****************** RectangularGridGraphicValues ******************/ - /**** md5 signature: 4e5826fa16eec33df789f200ebe67385 ****/ + /**** md5 signature: dab8c1c46121d56f7c42d5007eda4bec ****/ %feature("compactdefaultargs") RectangularGridGraphicValues; %feature("autodoc", "Returns the location and the size of the grid. @@ -4528,14 +4635,14 @@ Parameters Returns ------- -XSize: float -YSize: float -OffSet: float +theXSize: float +theYSize: float +theOffSet: float ") RectangularGridGraphicValues; void RectangularGridGraphicValues(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); /****************** RectangularGridValues ******************/ - /**** md5 signature: 2b1ae335b7ffea8303765d8655a5b47c ****/ + /**** md5 signature: 4850ce10bfca161d0b0a538c3df788bc ****/ %feature("compactdefaultargs") RectangularGridValues; %feature("autodoc", "Returns the definition of the rectangular grid. @@ -4544,11 +4651,11 @@ Parameters Returns ------- -XOrigin: float -YOrigin: float -XStep: float -YStep: float -RotationAngle: float +theXOrigin: float +theYOrigin: float +theXStep: float +theYStep: float +theRotationAngle: float ") RectangularGridValues; void RectangularGridValues(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); @@ -4665,26 +4772,8 @@ None ") SetDefaultBackgroundColor; void SetDefaultBackgroundColor(const Quantity_Color & theColor); - /****************** SetDefaultBackgroundColor ******************/ - /**** md5 signature: 3d5447c6691b23a4e614313dff25a68b ****/ - %feature("compactdefaultargs") SetDefaultBackgroundColor; - %feature("autodoc", "Defines the default base colour of views attached to the viewer by supplying the type of colour definition and the three component values. - -Parameters ----------- -theType: Quantity_TypeOfColor -theV1: float -theV2: float -theV3: float - -Returns -------- -None -") SetDefaultBackgroundColor; - void SetDefaultBackgroundColor(const Quantity_TypeOfColor theType, const Standard_Real theV1, const Standard_Real theV2, const Standard_Real theV3); - /****************** SetDefaultBgGradientColors ******************/ - /**** md5 signature: 238fa80e1f14e34bed78f1afa04572d6 ****/ + /**** md5 signature: 4a9049f28b07f43729588e2b1cfd19f7 ****/ %feature("compactdefaultargs") SetDefaultBgGradientColors; %feature("autodoc", "Defines the default gradient background colours of views attached to the viewer by supplying the colour objects. @@ -4693,13 +4782,13 @@ Parameters theColor1: Quantity_Color theColor2: Quantity_Color theFillStyle: Aspect_GradientFillMethod,optional - default value is Aspect_GFM_HOR + default value is Aspect_GradientFillMethod_Horizontal Returns ------- None ") SetDefaultBgGradientColors; - void SetDefaultBgGradientColors(const Quantity_Color & theColor1, const Quantity_Color & theColor2, const Aspect_GradientFillMethod theFillStyle = Aspect_GFM_HOR); + void SetDefaultBgGradientColors(const Quantity_Color & theColor1, const Quantity_Color & theColor2, const Aspect_GradientFillMethod theFillStyle = Aspect_GradientFillMethod_Horizontal); /****************** SetDefaultComputedMode ******************/ /**** md5 signature: c46a840bb2514935564839772e61e616 ****/ @@ -5286,6 +5375,7 @@ None /* class aliases */ %pythoncode { V3d_Light=OCC.Core.Graphic3d.Graphic3d_CLight +V3d_TypeOfBackfacingModel=OCC.Core.Graphic3d.Graphic3d_TypeOfBackfacingModel V3d_TypeOfLight=OCC.Core.Graphic3d.Graphic3d_TypeOfLightSource V3d_TypeOfShadingModel=OCC.Core.Graphic3d.Graphic3d_TypeOfShadingModel } diff --git a/src/SWIG_files/wrapper/V3d.pyi b/src/SWIG_files/wrapper/V3d.pyi index 28581d783..e36ff6489 100644 --- a/src/SWIG_files/wrapper/V3d.pyi +++ b/src/SWIG_files/wrapper/V3d.pyi @@ -7,22 +7,21 @@ from OCC.Core.Graphic3d import * from OCC.Core.gp import * from OCC.Core.Quantity import * from OCC.Core.Aspect import * +from OCC.Core.Prs3d import * +from OCC.Core.TCollection import * from OCC.Core.TColStd import * from OCC.Core.Bnd import * -from OCC.Core.TCollection import * from OCC.Core.Image import * Handle_V3d_Light = NewType('Handle_V3d_Light', Handle_Graphic3d_CLight) -V3d_Coordinate = NewType('V3d_Coordinate', Standard_Real) V3d_Light = NewType('V3d_Light', Graphic3d_CLight) #the following typedef cannot be wrapped as is V3d_ListOfLightIterator = NewType('V3d_ListOfLightIterator', Any) #the following typedef cannot be wrapped as is V3d_ListOfViewIterator = NewType('V3d_ListOfViewIterator', Any) -V3d_Parameter = NewType('V3d_Parameter', Standard_Real) +V3d_TypeOfBackfacingModel = NewType('V3d_TypeOfBackfacingModel', Graphic3d_TypeOfBackfacingModel) V3d_TypeOfLight = NewType('V3d_TypeOfLight', Graphic3d_TypeOfLightSource) V3d_TypeOfShadingModel = NewType('V3d_TypeOfShadingModel', Graphic3d_TypeOfShadingModel) -V3d_ViewPointer = NewType('V3d_ViewPointer', V3d_View) V3d_ViewerPointer = NewType('V3d_ViewerPointer', V3d_Viewer) class V3d_ListOfLight: @@ -53,21 +52,6 @@ class V3d_ListOfView: def Value(self, theIndex: int) -> False: ... def SetValue(self, theIndex: int, theValue: False) -> None: ... -class V3d_TypeOfPickCamera(IntEnum): - V3d_POSITIONCAMERA: int = ... - V3d_SPACECAMERA: int = ... - V3d_RADIUSTEXTCAMERA: int = ... - V3d_ExtRADIUSCAMERA: int = ... - V3d_IntRADIUSCAMERA: int = ... - V3d_NOTHINGCAMERA: int = ... - -V3d_POSITIONCAMERA = V3d_TypeOfPickCamera.V3d_POSITIONCAMERA -V3d_SPACECAMERA = V3d_TypeOfPickCamera.V3d_SPACECAMERA -V3d_RADIUSTEXTCAMERA = V3d_TypeOfPickCamera.V3d_RADIUSTEXTCAMERA -V3d_ExtRADIUSCAMERA = V3d_TypeOfPickCamera.V3d_ExtRADIUSCAMERA -V3d_IntRADIUSCAMERA = V3d_TypeOfPickCamera.V3d_IntRADIUSCAMERA -V3d_NOTHINGCAMERA = V3d_TypeOfPickCamera.V3d_NOTHINGCAMERA - class V3d_TypeOfVisualization(IntEnum): V3d_WIREFRAME: int = ... V3d_ZBUFFER: int = ... @@ -189,41 +173,6 @@ V3d_X = V3d_TypeOfAxe.V3d_X V3d_Y = V3d_TypeOfAxe.V3d_Y V3d_Z = V3d_TypeOfAxe.V3d_Z -class V3d_TypeOfRepresentation(IntEnum): - V3d_SIMPLE: int = ... - V3d_COMPLETE: int = ... - V3d_PARTIAL: int = ... - V3d_SAMELAST: int = ... - -V3d_SIMPLE = V3d_TypeOfRepresentation.V3d_SIMPLE -V3d_COMPLETE = V3d_TypeOfRepresentation.V3d_COMPLETE -V3d_PARTIAL = V3d_TypeOfRepresentation.V3d_PARTIAL -V3d_SAMELAST = V3d_TypeOfRepresentation.V3d_SAMELAST - -class V3d_TypeOfBackfacingModel(IntEnum): - V3d_TOBM_AUTOMATIC: int = ... - V3d_TOBM_ALWAYS_DISPLAYED: int = ... - V3d_TOBM_NEVER_DISPLAYED: int = ... - -V3d_TOBM_AUTOMATIC = V3d_TypeOfBackfacingModel.V3d_TOBM_AUTOMATIC -V3d_TOBM_ALWAYS_DISPLAYED = V3d_TypeOfBackfacingModel.V3d_TOBM_ALWAYS_DISPLAYED -V3d_TOBM_NEVER_DISPLAYED = V3d_TypeOfBackfacingModel.V3d_TOBM_NEVER_DISPLAYED - -class V3d_TypeOfPickLight(IntEnum): - V3d_POSITIONLIGHT: int = ... - V3d_SPACELIGHT: int = ... - V3d_RADIUSTEXTLIGHT: int = ... - V3d_ExtRADIUSLIGHT: int = ... - V3d_IntRADIUSLIGHT: int = ... - V3d_NOTHING: int = ... - -V3d_POSITIONLIGHT = V3d_TypeOfPickLight.V3d_POSITIONLIGHT -V3d_SPACELIGHT = V3d_TypeOfPickLight.V3d_SPACELIGHT -V3d_RADIUSTEXTLIGHT = V3d_TypeOfPickLight.V3d_RADIUSTEXTLIGHT -V3d_ExtRADIUSLIGHT = V3d_TypeOfPickLight.V3d_ExtRADIUSLIGHT -V3d_IntRADIUSLIGHT = V3d_TypeOfPickLight.V3d_IntRADIUSLIGHT -V3d_NOTHING = V3d_TypeOfPickLight.V3d_NOTHING - class v3d: @staticmethod def ArrowOfRadius(garrow: Graphic3d_Group, X0: float, Y0: float, Z0: float, DX: float, DY: float, DZ: float, Alpha: float, Lng: float) -> None: ... @@ -280,16 +229,33 @@ class V3d_RectangularGrid(Aspect_RectangularGrid): class V3d_Trihedron(Standard_Transient): def __init__(self) -> None: ... + def ArrowAspect(self, theAxis: V3d_TypeOfAxe) -> Prs3d_ShadingAspect: ... + def ArrowDiameter(self) -> float: ... + @overload + def Display(self, theView: V3d_View) -> None: ... + @overload def Display(self, theView: V3d_View) -> None: ... def Erase(self) -> None: ... + def IsWireframe(self) -> bool: ... + def Label(self, theAxis: V3d_TypeOfAxe) -> TCollection_AsciiString: ... + def LabelAspect(self, theAxis: V3d_TypeOfAxe) -> Prs3d_TextAspect: ... + def NbFacets(self) -> int: ... + def OriginAspect(self) -> Prs3d_ShadingAspect: ... + def Scale(self) -> float: ... def SetArrowDiameter(self, theDiam: float) -> None: ... def SetArrowsColor(self, theXColor: Quantity_Color, theYColor: Quantity_Color, theZColor: Quantity_Color) -> None: ... + def SetLabels(self, theX: TCollection_AsciiString, theY: TCollection_AsciiString, theZ: TCollection_AsciiString) -> None: ... + @overload + def SetLabelsColor(self, theXColor: Quantity_Color, theYColor: Quantity_Color, theZColor: Quantity_Color) -> None: ... + @overload def SetLabelsColor(self, theColor: Quantity_Color) -> None: ... def SetNbFacets(self, theNbFacets: int) -> None: ... def SetPosition(self, thePosition: Aspect_TypeOfTriedronPosition) -> None: ... def SetScale(self, theScale: float) -> None: ... def SetSizeRatio(self, theRatio: float) -> None: ... def SetWireframe(self, theAsWireframe: bool) -> None: ... + def SizeRatio(self) -> float: ... + def TransformPersistence(self) -> Graphic3d_TransformPers: ... class V3d_View(Standard_Transient): @overload @@ -308,7 +274,7 @@ class V3d_View(Standard_Transient): def AxialScale(self) -> Tuple[float, float, float]: ... @overload def AxialScale(self, Dx: int, Dy: int, Axis: V3d_TypeOfAxe) -> None: ... - def BackFacingModel(self) -> V3d_TypeOfBackfacingModel: ... + def BackFacingModel(self) -> Graphic3d_TypeOfBackfacingModel: ... @overload def BackgroundColor(self, Type: Quantity_TypeOfColor) -> Tuple[float, float, float]: ... @overload @@ -366,6 +332,7 @@ class V3d_View(Standard_Transient): def IsActiveLight(self, theLight: V3d_Light) -> bool: ... def IsCullingEnabled(self) -> bool: ... def IsEmpty(self) -> bool: ... + def IsImageBasedLighting(self) -> bool: ... def IsInvalidated(self) -> bool: ... def IsInvalidatedImmediate(self) -> bool: ... def LightLimit(self) -> int: ... @@ -412,7 +379,7 @@ class V3d_View(Standard_Transient): def SetAutoZFitMode(self, theIsOn: bool, theScaleFactor: Optional[float] = 1.0) -> None: ... def SetAxialScale(self, Sx: float, Sy: float, Sz: float) -> None: ... def SetAxis(self, X: float, Y: float, Z: float, Vx: float, Vy: float, Vz: float) -> None: ... - def SetBackFacingModel(self, theModel: Optional[V3d_TypeOfBackfacingModel] = V3d_TOBM_AUTOMATIC) -> None: ... + def SetBackFacingModel(self, theModel: Optional[Graphic3d_TypeOfBackfacingModel] = Graphic3d_TypeOfBackfacingModel_Auto) -> None: ... @overload def SetBackgroundColor(self, theType: Quantity_TypeOfColor, theV1: float, theV2: float, theV3: float) -> None: ... @overload @@ -422,14 +389,11 @@ class V3d_View(Standard_Transient): def SetBackgroundImage(self, theFileName: str, theFillStyle: Optional[Aspect_FillMethod] = Aspect_FM_CENTERED, theToUpdate: Optional[bool] = False) -> None: ... @overload def SetBackgroundImage(self, theTexture: Graphic3d_Texture2D, theFillStyle: Optional[Aspect_FillMethod] = Aspect_FM_CENTERED, theToUpdate: Optional[bool] = False) -> None: ... - def SetBgGradientColors(self, theColor1: Quantity_Color, theColor2: Quantity_Color, theFillStyle: Optional[Aspect_GradientFillMethod] = Aspect_GFM_HOR, theToUpdate: Optional[bool] = False) -> None: ... - def SetBgGradientStyle(self, theMethod: Optional[Aspect_GradientFillMethod] = Aspect_GFM_HOR, theToUpdate: Optional[bool] = False) -> None: ... + def SetBgGradientColors(self, theColor1: Quantity_Color, theColor2: Quantity_Color, theFillStyle: Optional[Aspect_GradientFillMethod] = Aspect_GradientFillMethod_Horizontal, theToUpdate: Optional[bool] = False) -> None: ... + def SetBgGradientStyle(self, theMethod: Optional[Aspect_GradientFillMethod] = Aspect_GradientFillMethod_Horizontal, theToUpdate: Optional[bool] = False) -> None: ... def SetBgImageStyle(self, theFillStyle: Aspect_FillMethod, theToUpdate: Optional[bool] = False) -> None: ... def SetCamera(self, theCamera: Graphic3d_Camera) -> None: ... def SetCenter(self, theXp: int, theYp: int) -> None: ... - @overload - def SetClipPlanes(self, thePlanes: Graphic3d_SequenceOfHClipPlane) -> None: ... - @overload def SetClipPlanes(self, thePlanes: Graphic3d_SequenceOfHClipPlane) -> None: ... def SetComputedMode(self, theMode: bool) -> None: ... def SetDepth(self, Depth: float) -> None: ... @@ -439,6 +403,7 @@ class V3d_View(Standard_Transient): def SetFrustumCulling(self, theMode: bool) -> None: ... def SetGrid(self, aPlane: gp_Ax3, aGrid: Aspect_Grid) -> None: ... def SetGridActivity(self, aFlag: bool) -> None: ... + def SetImageBasedLighting(self, theToEnableIBL: bool, theToUpdate: Optional[bool] = False) -> None: ... def SetImmediateUpdate(self, theImmediateUpdate: bool) -> bool: ... @overload def SetLightOff(self, theLight: V3d_Light) -> None: ... @@ -489,6 +454,7 @@ class V3d_View(Standard_Transient): def Translate(self, Length: float, Start: Optional[bool] = True) -> None: ... def TriedronDisplay(self, thePosition: Optional[Aspect_TypeOfTriedronPosition] = Aspect_TOTP_CENTER, theColor: Optional[Quantity_Color] = Quantity_NOC_WHITE, theScale: Optional[float] = 0.02, theMode: Optional[V3d_TypeOfVisualization] = V3d_WIREFRAME) -> None: ... def TriedronErase(self) -> None: ... + def Trihedron(self, theToCreate: Optional[bool] = true) -> V3d_Trihedron: ... @overload def Turn(self, Ax: float, Ay: float, Az: float, Start: Optional[bool] = True) -> None: ... @overload @@ -513,10 +479,7 @@ class V3d_View(Standard_Transient): def ZoomAtPoint(self, theMouseStartX: int, theMouseStartY: int, theMouseEndX: int, theMouseEndY: int) -> None: ... class V3d_Viewer(Standard_Transient): - @overload def __init__(self, theDriver: Graphic3d_GraphicDriver) -> None: ... - @overload - def __init__(self, theDriver: Graphic3d_GraphicDriver, theName: Standard_ExtString, theDomain: Optional[str] = "", theViewSize: Optional[float] = 1000.0, theViewProj: Optional[V3d_TypeOfOrientation] = V3d_XposYnegZpos, theViewBackground: Optional[Quantity_Color] = Quantity_NOC_GRAY30, theVisualization: Optional[V3d_TypeOfVisualization] = V3d_ZBUFFER, theShadingModel: Optional[Graphic3d_TypeOfShadingModel] = Graphic3d_TOSM_VERTEX, theComputedMode: Optional[bool] = True, theDefaultComputedMode: Optional[bool] = True) -> None: ... def ActivateGrid(self, aGridType: Aspect_GridType, aGridDrawMode: Aspect_GridDrawMode) -> None: ... def ActiveLight(self) -> V3d_Light: ... def ActiveLightIterator(self) -> V3d_ListOfLightIterator: ... @@ -531,10 +494,7 @@ class V3d_Viewer(Standard_Transient): def ComputedMode(self) -> bool: ... def CreateView(self) -> V3d_View: ... def DeactivateGrid(self) -> None: ... - @overload def DefaultBackgroundColor(self) -> Quantity_Color: ... - @overload - def DefaultBackgroundColor(self, theType: Quantity_TypeOfColor) -> Tuple[float, float, float]: ... def DefaultBgGradientColors(self, theColor1: Quantity_Color, theColor2: Quantity_Color) -> None: ... def DefaultComputedMode(self) -> bool: ... def DefaultRenderingParams(self) -> Graphic3d_RenderingParams: ... @@ -555,7 +515,10 @@ class V3d_Viewer(Standard_Transient): def Erase(self) -> None: ... def GetAllZLayers(self, theLayerSeq: TColStd_SequenceOfInteger) -> None: ... def GetGradientBackground(self) -> Aspect_GradientBackground: ... - def Grid(self) -> Aspect_Grid: ... + @overload + def Grid(self, theToCreate: Optional[bool] = true) -> Aspect_Grid: ... + @overload + def Grid(self, theGridType: Aspect_GridType, theToCreate: Optional[bool] = true) -> Aspect_Grid: ... def GridDrawMode(self) -> Aspect_GridDrawMode: ... def GridEcho(self) -> bool: ... def GridType(self) -> Aspect_GridType: ... @@ -568,6 +531,7 @@ class V3d_Viewer(Standard_Transient): def Invalidate(self) -> None: ... def IsActive(self) -> bool: ... def IsGlobalLight(self, TheLight: V3d_Light) -> bool: ... + def IsGridActive(self) -> bool: ... def LastActiveView(self) -> bool: ... def MoreActiveLights(self) -> bool: ... def MoreActiveViews(self) -> bool: ... @@ -586,11 +550,8 @@ class V3d_Viewer(Standard_Transient): def SetCircularGridGraphicValues(self, Radius: float, OffSet: float) -> None: ... def SetCircularGridValues(self, XOrigin: float, YOrigin: float, RadiusStep: float, DivisionNumber: int, RotationAngle: float) -> None: ... def SetComputedMode(self, theMode: bool) -> None: ... - @overload def SetDefaultBackgroundColor(self, theColor: Quantity_Color) -> None: ... - @overload - def SetDefaultBackgroundColor(self, theType: Quantity_TypeOfColor, theV1: float, theV2: float, theV3: float) -> None: ... - def SetDefaultBgGradientColors(self, theColor1: Quantity_Color, theColor2: Quantity_Color, theFillStyle: Optional[Aspect_GradientFillMethod] = Aspect_GFM_HOR) -> None: ... + def SetDefaultBgGradientColors(self, theColor1: Quantity_Color, theColor2: Quantity_Color, theFillStyle: Optional[Aspect_GradientFillMethod] = Aspect_GradientFillMethod_Horizontal) -> None: ... def SetDefaultComputedMode(self, theMode: bool) -> None: ... def SetDefaultLights(self) -> None: ... def SetDefaultRenderingParams(self, theParams: Graphic3d_RenderingParams) -> None: ... diff --git a/src/SWIG_files/wrapper/Vrml.i b/src/SWIG_files/wrapper/Vrml.i index dd8bc2de8..005b9d3e5 100644 --- a/src/SWIG_files/wrapper/Vrml.i +++ b/src/SWIG_files/wrapper/Vrml.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define VRMLDOCSTRING "Vrml module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_vrml.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_vrml.html" %enddef %module (package="OCC.Core", docstring=VRMLDOCSTRING) Vrml @@ -150,7 +150,7 @@ enum Vrml_FontStyleStyle { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class Vrml_VertexOrdering(IntEnum): diff --git a/src/SWIG_files/wrapper/VrmlAPI.i b/src/SWIG_files/wrapper/VrmlAPI.i index b85738d49..1c42f8639 100644 --- a/src/SWIG_files/wrapper/VrmlAPI.i +++ b/src/SWIG_files/wrapper/VrmlAPI.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define VRMLAPIDOCSTRING "VrmlAPI module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_vrmlapi.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_vrmlapi.html" %enddef %module (package="OCC.Core", docstring=VRMLAPIDOCSTRING) VrmlAPI @@ -94,7 +94,7 @@ enum VrmlAPI_RepresentationOfShape { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class VrmlAPI_RepresentationOfShape(IntEnum): diff --git a/src/SWIG_files/wrapper/VrmlConverter.i b/src/SWIG_files/wrapper/VrmlConverter.i index dc07c0f3c..598b08ee5 100644 --- a/src/SWIG_files/wrapper/VrmlConverter.i +++ b/src/SWIG_files/wrapper/VrmlConverter.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define VRMLCONVERTERDOCSTRING "VrmlConverter module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_vrmlconverter.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_vrmlconverter.html" %enddef %module (package="OCC.Core", docstring=VRMLCONVERTERDOCSTRING) VrmlConverter @@ -107,7 +107,7 @@ enum VrmlConverter_TypeOfCamera { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class VrmlConverter_TypeOfLight(IntEnum): diff --git a/src/SWIG_files/wrapper/VrmlData.i b/src/SWIG_files/wrapper/VrmlData.i index c47b7f3fc..520657850 100644 --- a/src/SWIG_files/wrapper/VrmlData.i +++ b/src/SWIG_files/wrapper/VrmlData.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define VRMLDATADOCSTRING "VrmlData module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_vrmldata.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_vrmldata.html" %enddef %module (package="OCC.Core", docstring=VRMLDATADOCSTRING) VrmlData @@ -96,7 +96,7 @@ enum VrmlData_ErrorStatus { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class VrmlData_ErrorStatus(IntEnum): @@ -865,7 +865,7 @@ None /****************** Convert ******************/ /**** md5 signature: f593201deba882e1902592660879f146 ****/ %feature("compactdefaultargs") Convert; - %feature("autodoc", "/** * convert all accumulated shapes and store them in myscene. * the internal data structures are cleared in the end of convertion. * @param theextractfaces * if true, converter extracst faces from the shapes. * @param theextractedges * if true, converter extracts edges from the shapes. * @param thedeflection * deflection for tessellation of geometrical lines/surfaces. existing mesh * is used if its deflection is smaller than the one given by this * parameter. * @param thedeflangle * angular deflection for tessellation of geometrical lines. */. + %feature("autodoc", "/** * convert all accumulated shapes and store them in myscene. * the internal data structures are cleared in the end of conversion. * @param theextractfaces * if true, converter extracst faces from the shapes. * @param theextractedges * if true, converter extracts edges from the shapes. * @param thedeflection * deflection for tessellation of geometrical lines/surfaces. existing mesh * is used if its deflection is smaller than the one given by this * parameter. * @param thedeflangle * angular deflection for tessellation of geometrical lines. */. Parameters ---------- diff --git a/src/SWIG_files/wrapper/XBRepMesh.i b/src/SWIG_files/wrapper/XBRepMesh.i index f6854c920..1a35f93a5 100644 --- a/src/SWIG_files/wrapper/XBRepMesh.i +++ b/src/SWIG_files/wrapper/XBRepMesh.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define XBREPMESHDOCSTRING "XBRepMesh module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_xbrepmesh.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_xbrepmesh.html" %enddef %module (package="OCC.Core", docstring=XBREPMESHDOCSTRING) XBRepMesh @@ -76,7 +76,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ diff --git a/src/SWIG_files/wrapper/XCAFApp.i b/src/SWIG_files/wrapper/XCAFApp.i index f25039bfe..99bfa523f 100644 --- a/src/SWIG_files/wrapper/XCAFApp.i +++ b/src/SWIG_files/wrapper/XCAFApp.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define XCAFAPPDOCSTRING "XCAFApp module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_xcafapp.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_xcafapp.html" %enddef %module (package="OCC.Core", docstring=XCAFAPPDOCSTRING) XCAFApp @@ -43,6 +43,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_xcafapp.html" #include #include #include +#include #include #include #include @@ -58,6 +59,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_xcafapp.html" %import Standard.i %import NCollection.i %import TDocStd.i +%import CDM.i %pythoncode { from enum import IntEnum @@ -67,7 +69,7 @@ from OCC.Core.Exception import * /* public enums */ /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { }; /* end python proxy for enums */ @@ -108,19 +110,19 @@ opencascade::handle static opencascade::handle GetApplication(); /****************** InitDocument ******************/ - /**** md5 signature: ba05c2f32b1b5c164fe28e112cc836ce ****/ + /**** md5 signature: cb8b1250bf5bfec47bac72c3724adc69 ****/ %feature("compactdefaultargs") InitDocument; %feature("autodoc", "Set xcafdoc_documenttool attribute. Parameters ---------- -aDoc: TDocStd_Document +aDoc: CDM_Document Returns ------- None ") InitDocument; - virtual void InitDocument(const opencascade::handle & aDoc); + virtual void InitDocument(const opencascade::handle & aDoc); /****************** ResourcesName ******************/ /**** md5 signature: 96f8731792cfcab6c0cf55cdc1a09a9b ****/ diff --git a/src/SWIG_files/wrapper/XCAFApp.pyi b/src/SWIG_files/wrapper/XCAFApp.pyi index e4ae0503d..79134fd38 100644 --- a/src/SWIG_files/wrapper/XCAFApp.pyi +++ b/src/SWIG_files/wrapper/XCAFApp.pyi @@ -4,12 +4,13 @@ from typing import overload, NewType, Optional, Tuple from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.TDocStd import * +from OCC.Core.CDM import * class XCAFApp_Application(TDocStd_Application): @staticmethod def GetApplication() -> XCAFApp_Application: ... - def InitDocument(self, aDoc: TDocStd_Document) -> None: ... + def InitDocument(self, aDoc: CDM_Document) -> None: ... def ResourcesName(self) -> str: ... # harray1 classes diff --git a/src/SWIG_files/wrapper/XCAFDimTolObjects.i b/src/SWIG_files/wrapper/XCAFDimTolObjects.i index 77618252a..b5b4333ff 100644 --- a/src/SWIG_files/wrapper/XCAFDimTolObjects.i +++ b/src/SWIG_files/wrapper/XCAFDimTolObjects.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define XCAFDIMTOLOBJECTSDOCSTRING "XCAFDimTolObjects module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_xcafdimtolobjects.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_xcafdimtolobjects.html" %enddef %module (package="OCC.Core", docstring=XCAFDIMTOLOBJECTSDOCSTRING) XCAFDimTolObjects @@ -305,7 +305,7 @@ enum XCAFDimTolObjects_DimensionGrade { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class XCAFDimTolObjects_GeomToleranceType(IntEnum): @@ -826,6 +826,14 @@ None ") AddModifier; void AddModifier(const XCAFDimTolObjects_DatumSingleModif theModifier); + + %feature("autodoc", "1"); + %extend{ + std::string DumpJsonToString(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return s.str();} + }; /****************** GetDatumTarget ******************/ /**** md5 signature: 907a10d068832d0dfb763a345de9f7e3 ****/ %feature("compactdefaultargs") GetDatumTarget; @@ -1376,6 +1384,14 @@ None ") AddModifier; void AddModifier(const XCAFDimTolObjects_DimensionModif theModifier); + + %feature("autodoc", "1"); + %extend{ + std::string DumpJsonToString(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return s.str();} + }; /****************** GetClassOfTolerance ******************/ /**** md5 signature: 5c7792eec51fc027e2d5d6043f6964ff ****/ %feature("compactdefaultargs") GetClassOfTolerance; @@ -2110,6 +2126,14 @@ None ") AddModifier; void AddModifier(const XCAFDimTolObjects_GeomToleranceModif theModifier); + + %feature("autodoc", "1"); + %extend{ + std::string DumpJsonToString(int depth=-1) { + std::stringstream s; + self->DumpJson(s, depth); + return s.str();} + }; /****************** GetAffectedPlane ******************/ /**** md5 signature: a2b83a410ab5eca7c1125298d914df55 ****/ %feature("compactdefaultargs") GetAffectedPlane; diff --git a/src/SWIG_files/wrapper/XCAFDimTolObjects.pyi b/src/SWIG_files/wrapper/XCAFDimTolObjects.pyi index 62081bcc2..b24f04a78 100644 --- a/src/SWIG_files/wrapper/XCAFDimTolObjects.pyi +++ b/src/SWIG_files/wrapper/XCAFDimTolObjects.pyi @@ -645,7 +645,7 @@ class XCAFDimTolObjects_GeomToleranceObject(Standard_Transient): def GetValue(self) -> float: ... def GetValueOfZoneModifier(self) -> float: ... def GetZoneModifier(self) -> XCAFDimTolObjects_GeomToleranceZoneModif: ... - def HasAffectedPlane(self) -> False: ... + def HasAffectedPlane(self) -> bool: ... def HasAxis(self) -> bool: ... def HasPlane(self) -> bool: ... def HasPoint(self) -> bool: ... diff --git a/src/SWIG_files/wrapper/XCAFDoc.i b/src/SWIG_files/wrapper/XCAFDoc.i index d51599c7c..4becb6b8c 100644 --- a/src/SWIG_files/wrapper/XCAFDoc.i +++ b/src/SWIG_files/wrapper/XCAFDoc.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define XCAFDOCDOCSTRING "XCAFDoc module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_xcafdoc.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_xcafdoc.html" %enddef %module (package="OCC.Core", docstring=XCAFDOCDOCSTRING) XCAFDoc @@ -43,8 +43,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_xcafdoc.html" #include #include #include -#include #include +#include #include #include #include @@ -74,8 +74,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_xcafdoc.html" %import Standard.i %import NCollection.i %import TCollection.i -%import TDataStd.i %import TDF.i +%import TDataStd.i %import TColStd.i %import gp.i %import Quantity.i @@ -103,7 +103,7 @@ enum XCAFDoc_ColorType { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class XCAFDoc_ColorType(IntEnum): @@ -130,6 +130,7 @@ XCAFDoc_ColorCurv = XCAFDoc_ColorType.XCAFDoc_ColorCurv %wrap_handle(XCAFDoc_DocumentTool) %wrap_handle(XCAFDoc_GraphNode) %wrap_handle(XCAFDoc_LayerTool) +%wrap_handle(XCAFDoc_LengthUnit) %wrap_handle(XCAFDoc_Location) %wrap_handle(XCAFDoc_Material) %wrap_handle(XCAFDoc_MaterialTool) @@ -183,6 +184,21 @@ Standard_GUID ") AssemblyGUID; static const Standard_GUID & AssemblyGUID(); + /****************** AttributeInfo ******************/ + /**** md5 signature: 49484a25600c534dd484fee332280355 ****/ + %feature("compactdefaultargs") AttributeInfo; + %feature("autodoc", "Prints attribute information into a string. @param theatt an xde attribute returns the generated info value. + +Parameters +---------- +theAtt: TDF_Attribute + +Returns +------- +TCollection_AsciiString +") AttributeInfo; + static TCollection_AsciiString AttributeInfo(const opencascade::handle & theAtt); + /****************** ColorByLayerGUID ******************/ /**** md5 signature: e7c9fa808a6c556c84def8d7ccc2e9e0 ****/ %feature("compactdefaultargs") ColorByLayerGUID; @@ -495,7 +511,7 @@ float /****************** Get ******************/ /**** md5 signature: 3316de23e236385a3038e17ac1633259 ****/ %feature("compactdefaultargs") Get; - %feature("autodoc", "Returns volume of area as argument and succes status returns false if no such attribute at the

is the 'location' point of the axis placement and v is the 'direction' of the axis placement. + %feature("autodoc", "Creates an ax2d. is the 'location' point of the axis placement and thev is the 'direction' of the axis placement. Parameters ---------- -P: gp_Pnt2d -V: gp_Dir2d +theP: gp_Pnt2d +theV: gp_Dir2d Returns ------- None ") gp_Ax2d; - gp_Ax2d(const gp_Pnt2d & P, const gp_Dir2d & V); + gp_Ax2d(const gp_Pnt2d & theP, const gp_Dir2d & theV); /****************** Angle ******************/ - /**** md5 signature: 2be1ddee3e67780bff9638b8bbc37adb ****/ + /**** md5 signature: 77962814c01abc7bd67512098b6e523d ****/ %feature("compactdefaultargs") Angle; - %feature("autodoc", "Computes the angle, in radians, between this axis and the axis other. the value of the angle is between -pi and pi. + %feature("autodoc", "Computes the angle, in radians, between this axis and the axis theother. the value of the angle is between -pi and pi. Parameters ---------- -Other: gp_Ax2d +theOther: gp_Ax2d Returns ------- float ") Angle; - Standard_Real Angle(const gp_Ax2d & Other); + Standard_Real Angle(const gp_Ax2d & theOther); /****************** Direction ******************/ - /**** md5 signature: 24b32913fac63aab5fb6c5d1d7be7851 ****/ + /**** md5 signature: b48e56b9548c841e45989f4710a5ce8d ****/ %feature("compactdefaultargs") Direction; %feature("autodoc", "Returns the direction of . @@ -1883,55 +1887,55 @@ bool Standard_Boolean IsCoaxial(const gp_Ax2d & Other, const Standard_Real AngularTolerance, const Standard_Real LinearTolerance); /****************** IsNormal ******************/ - /**** md5 signature: 3dbb9d19b9580a5622aa73531b2e64e8 ****/ + /**** md5 signature: 26299667f880ffc51468f51e9adf3484 ****/ %feature("compactdefaultargs") IsNormal; - %feature("autodoc", "Returns true if this axis and the axis other are normal to each other. that is, if the angle between the two axes is equal to pi/2 or -pi/2. note: the tolerance criterion is given by angulartolerance. + %feature("autodoc", "Returns true if this axis and the axis theother are normal to each other. that is, if the angle between the two axes is equal to pi/2 or -pi/2. note: the tolerance criterion is given by theangulartolerance. Parameters ---------- -Other: gp_Ax2d -AngularTolerance: float +theOther: gp_Ax2d +theAngularTolerance: float Returns ------- bool ") IsNormal; - Standard_Boolean IsNormal(const gp_Ax2d & Other, const Standard_Real AngularTolerance); + Standard_Boolean IsNormal(const gp_Ax2d & theOther, const Standard_Real theAngularTolerance); /****************** IsOpposite ******************/ - /**** md5 signature: beda3bf96d6caea94b1408960be8cd96 ****/ + /**** md5 signature: 1faec1578a4c51cfe00ce93248f02600 ****/ %feature("compactdefaultargs") IsOpposite; - %feature("autodoc", "Returns true if this axis and the axis other are parallel, and have opposite orientations. that is, if the angle between the two axes is equal to pi or -pi. note: the tolerance criterion is given by angulartolerance. + %feature("autodoc", "Returns true if this axis and the axis theother are parallel, and have opposite orientations. that is, if the angle between the two axes is equal to pi or -pi. note: the tolerance criterion is given by theangulartolerance. Parameters ---------- -Other: gp_Ax2d -AngularTolerance: float +theOther: gp_Ax2d +theAngularTolerance: float Returns ------- bool ") IsOpposite; - Standard_Boolean IsOpposite(const gp_Ax2d & Other, const Standard_Real AngularTolerance); + Standard_Boolean IsOpposite(const gp_Ax2d & theOther, const Standard_Real theAngularTolerance); /****************** IsParallel ******************/ - /**** md5 signature: 6aebe73e34378dc657adf4529e2a27e3 ****/ + /**** md5 signature: 4128314a02b8bc06fd3a5cf1cc84505a ****/ %feature("compactdefaultargs") IsParallel; - %feature("autodoc", "Returns true if this axis and the axis other are parallel, and have either the same or opposite orientations. that is, if the angle between the two axes is equal to 0, pi or -pi. note: the tolerance criterion is given by angulartolerance. + %feature("autodoc", "Returns true if this axis and the axis theother are parallel, and have either the same or opposite orientations. that is, if the angle between the two axes is equal to 0, pi or -pi. note: the tolerance criterion is given by theangulartolerance. Parameters ---------- -Other: gp_Ax2d -AngularTolerance: float +theOther: gp_Ax2d +theAngularTolerance: float Returns ------- bool ") IsParallel; - Standard_Boolean IsParallel(const gp_Ax2d & Other, const Standard_Real AngularTolerance); + Standard_Boolean IsParallel(const gp_Ax2d & theOther, const Standard_Real theAngularTolerance); /****************** Location ******************/ - /**** md5 signature: fbf774a3a1efe16540d680c0476bcbc8 ****/ + /**** md5 signature: 0e4556028ba61472400043e40317f1e2 ****/ %feature("compactdefaultargs") Location; %feature("autodoc", "Returns the origin of . @@ -2002,7 +2006,7 @@ gp_Ax2d gp_Ax2d Mirrored(const gp_Ax2d & A); /****************** Reverse ******************/ - /**** md5 signature: b751d6874fc026e19a7a6cb37e9ac1b4 ****/ + /**** md5 signature: 51c7e0d05769dec0ec2bb70e4d25e48d ****/ %feature("compactdefaultargs") Reverse; %feature("autodoc", "Reverses the direction of and assigns the result to this axis. @@ -2013,7 +2017,7 @@ None void Reverse(); /****************** Reversed ******************/ - /**** md5 signature: be9ba02b677fc59c4188f5004997cefe ****/ + /**** md5 signature: 8db67ab424d85b2a6cf6219805ac51b5 ****/ %feature("compactdefaultargs") Reversed; %feature("autodoc", "Computes a new axis placement with a direction opposite to the direction of . @@ -2024,36 +2028,36 @@ gp_Ax2d gp_Ax2d Reversed(); /****************** Rotate ******************/ - /**** md5 signature: 795edcbb32146eb6f071bea4c90f5cfd ****/ + /**** md5 signature: 4514855f978c37f3ce31a9851c5a1153 ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d -Ang: float +theP: gp_Pnt2d +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Pnt2d & P, const Standard_Real Ang); + void Rotate(const gp_Pnt2d & theP, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: bb85376347950cf75fa6ea3ac1fe74ab ****/ + /**** md5 signature: 08e74980d551530a1fa9e78bd21edbad ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates an axis placement.

is the center of the rotation . ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates an axis placement. is the center of the rotation. theang is the angular value of the rotation in radians. Parameters ---------- -P: gp_Pnt2d -Ang: float +theP: gp_Pnt2d +theAng: float Returns ------- gp_Ax2d ") Rotated; - gp_Ax2d Rotated(const gp_Pnt2d & P, const Standard_Real Ang); + gp_Ax2d Rotated(const gp_Pnt2d & theP, const Standard_Real theAng); /****************** Scale ******************/ /**** md5 signature: 5b49a8aeffcacace07c66937f77f1e03 ****/ @@ -2072,142 +2076,142 @@ None void Scale(const gp_Pnt2d & P, const Standard_Real S); /****************** Scaled ******************/ - /**** md5 signature: 6c8d79002bf79c3b05e0863ce1d20486 ****/ + /**** md5 signature: bdf3a4cb727620ef5449f9d4594237ab ****/ %feature("compactdefaultargs") Scaled; %feature("autodoc", "Applies a scaling transformation on the axis placement. the 'location' point of the axisplacement is modified. the 'direction' is reversed if the scale is negative. Parameters ---------- -P: gp_Pnt2d -S: float +theP: gp_Pnt2d +theS: float Returns ------- gp_Ax2d ") Scaled; - gp_Ax2d Scaled(const gp_Pnt2d & P, const Standard_Real S); + gp_Ax2d Scaled(const gp_Pnt2d & theP, const Standard_Real theS); /****************** SetDirection ******************/ - /**** md5 signature: 12767d6ecad16faa02d3f67f1fb01553 ****/ + /**** md5 signature: c432d44a3a70de3dff1bf385189df5c4 ****/ %feature("compactdefaultargs") SetDirection; %feature("autodoc", "Changes the direction of . Parameters ---------- -V: gp_Dir2d +theV: gp_Dir2d Returns ------- None ") SetDirection; - void SetDirection(const gp_Dir2d & V); + void SetDirection(const gp_Dir2d & theV); /****************** SetLocation ******************/ - /**** md5 signature: 55b318bfd438b582dad2794c473529bc ****/ + /**** md5 signature: fea6486624f66c26e32103313f4d0c00 ****/ %feature("compactdefaultargs") SetLocation; %feature("autodoc", "Changes the 'location' point (origin) of . Parameters ---------- -Locat: gp_Pnt2d +theP: gp_Pnt2d Returns ------- None ") SetLocation; - void SetLocation(const gp_Pnt2d & Locat); + void SetLocation(const gp_Pnt2d & theP); /****************** Transform ******************/ - /**** md5 signature: dace16a29a39216c0dd584c6964e840b ****/ + /**** md5 signature: 730ddba08a3831e8eddc8ca7a1e1a563 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- None ") Transform; - void Transform(const gp_Trsf2d & T); + void Transform(const gp_Trsf2d & theT); /****************** Transformed ******************/ - /**** md5 signature: 4f83007b453226f942aa92b91df4b5b4 ****/ + /**** md5 signature: cf58c8d22f8204832226887d60a2abc8 ****/ %feature("compactdefaultargs") Transformed; %feature("autodoc", "Transforms an axis placement with a trsf. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- gp_Ax2d ") Transformed; - gp_Ax2d Transformed(const gp_Trsf2d & T); + gp_Ax2d Transformed(const gp_Trsf2d & theT); /****************** Translate ******************/ - /**** md5 signature: 1cd2e000b85692a9f89a6bf8e8e4782c ****/ + /**** md5 signature: f3112504d8f922313d0ee62e8d9fc9ad ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- None ") Translate; - void Translate(const gp_Vec2d & V); + void Translate(const gp_Vec2d & theV); /****************** Translate ******************/ - /**** md5 signature: c7768f1dcf9b6595f2bd4653737544f9 ****/ + /**** md5 signature: edde3614f43331c7884ace28c720ab8c ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt2d -P2: gp_Pnt2d +theP1: gp_Pnt2d +theP2: gp_Pnt2d Returns ------- None ") Translate; - void Translate(const gp_Pnt2d & P1, const gp_Pnt2d & P2); + void Translate(const gp_Pnt2d & theP1, const gp_Pnt2d & theP2); /****************** Translated ******************/ - /**** md5 signature: 97e4a767c7511b492d1d9a6226de9dd2 ****/ + /**** md5 signature: 2d6790088b94666a92b4d1f949eb9aaf ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates an axis placement in the direction of the vector . the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "Translates an axis placement in the direction of the vector thev. the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- gp_Ax2d ") Translated; - gp_Ax2d Translated(const gp_Vec2d & V); + gp_Ax2d Translated(const gp_Vec2d & theV); /****************** Translated ******************/ - /**** md5 signature: adde277cb194bb4555252485d7e6ca40 ****/ + /**** md5 signature: bdeb5bc7b2e9ed70069261614f10ddd0 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates an axis placement from the point to the point . + %feature("autodoc", "Translates an axis placement from the point thep1 to the point thep2. Parameters ---------- -P1: gp_Pnt2d -P2: gp_Pnt2d +theP1: gp_Pnt2d +theP2: gp_Pnt2d Returns ------- gp_Ax2d ") Translated; - gp_Ax2d Translated(const gp_Pnt2d & P1, const gp_Pnt2d & P2); + gp_Ax2d Translated(const gp_Pnt2d & theP1, const gp_Pnt2d & theP2); }; @@ -2224,7 +2228,7 @@ gp_Ax2d class gp_Ax3 { public: /****************** gp_Ax3 ******************/ - /**** md5 signature: 9ee5f51c9f0bc03764241213409c830c ****/ + /**** md5 signature: 50158217200ccbb9ed316457b0e989a4 ****/ %feature("compactdefaultargs") gp_Ax3; %feature("autodoc", "Creates an object corresponding to the reference coordinate system (oxyz). @@ -2235,67 +2239,67 @@ None gp_Ax3(); /****************** gp_Ax3 ******************/ - /**** md5 signature: 328d648f0a87a8644a8a4fd7514feea4 ****/ + /**** md5 signature: 9800ecb7325577d5aaff98252e57e898 ****/ %feature("compactdefaultargs") gp_Ax3; %feature("autodoc", "Creates a coordinate system from a right-handed coordinate system. Parameters ---------- -A: gp_Ax2 +theA: gp_Ax2 Returns ------- None ") gp_Ax3; - gp_Ax3(const gp_Ax2 & A); + gp_Ax3(const gp_Ax2 & theA); /****************** gp_Ax3 ******************/ - /**** md5 signature: 137a0e9cd8b8747ec023d14d6413d1d6 ****/ + /**** md5 signature: 377b87eb0622cdfcce4e27a9fafe4493 ****/ %feature("compactdefaultargs") gp_Ax3; - %feature("autodoc", "Creates a right handed axis placement with the 'location' point p and two directions, n gives the 'direction' and vx gives the 'xdirection'. raises constructionerror if n and vx are parallel (same or opposite orientation). + %feature("autodoc", "Creates a right handed axis placement with the 'location' point thep and two directions, then gives the 'direction' and thevx gives the 'xdirection'. raises constructionerror if then and thevx are parallel (same or opposite orientation). Parameters ---------- -P: gp_Pnt -N: gp_Dir -Vx: gp_Dir +theP: gp_Pnt +theN: gp_Dir +theVx: gp_Dir Returns ------- None ") gp_Ax3; - gp_Ax3(const gp_Pnt & P, const gp_Dir & N, const gp_Dir & Vx); + gp_Ax3(const gp_Pnt & theP, const gp_Dir & theN, const gp_Dir & theVx); /****************** gp_Ax3 ******************/ - /**** md5 signature: 6c9a339763daa459c3496b93087285ee ****/ + /**** md5 signature: c4f0bf6274e2b9849997b0622ec82495 ****/ %feature("compactdefaultargs") gp_Ax3; - %feature("autodoc", "Creates an axis placement with the 'location' point

and the normal direction . + %feature("autodoc", "Creates an axis placement with the 'location' point and the normal direction . Parameters ---------- -P: gp_Pnt -V: gp_Dir +theP: gp_Pnt +theV: gp_Dir Returns ------- None ") gp_Ax3; - gp_Ax3(const gp_Pnt & P, const gp_Dir & V); + gp_Ax3(const gp_Pnt & theP, const gp_Dir & theV); /****************** Angle ******************/ - /**** md5 signature: 5fd634354dc6612843229d2a000799ff ****/ + /**** md5 signature: 38e2c4a4cc50aa30351eadcd4fcb22c7 ****/ %feature("compactdefaultargs") Angle; - %feature("autodoc", "Computes the angular value between the main direction of and the main direction of . returns the angle between 0 and pi in radians. + %feature("autodoc", "Computes the angular value between the main direction of and the main direction of . returns the angle between 0 and pi in radians. Parameters ---------- -Other: gp_Ax3 +theOther: gp_Ax3 Returns ------- float ") Angle; - Standard_Real Angle(const gp_Ax3 & Other); + Standard_Real Angle(const gp_Ax3 & theOther); /****************** Ax2 ******************/ /**** md5 signature: c9b4af4169eef4b21cfe015142d7278a ****/ @@ -2309,7 +2313,7 @@ gp_Ax2 gp_Ax2 Ax2(); /****************** Axis ******************/ - /**** md5 signature: cb9b52ff887b682f8bfc1eb2f646705a ****/ + /**** md5 signature: 8e27675ecbe6e648730266788c8e255c ****/ %feature("compactdefaultargs") Axis; %feature("autodoc", "Returns the main axis of . it is the 'location' point and the main 'direction'. @@ -2320,7 +2324,7 @@ gp_Ax1 const gp_Ax1 Axis(); /****************** Direct ******************/ - /**** md5 signature: 33e4e96f61de8e23c989d6f9aec7d457 ****/ + /**** md5 signature: 2c90be540a5bf9418e7461f7f76c970a ****/ %feature("compactdefaultargs") Direct; %feature("autodoc", "Returns true if the coordinate system is right-handed. i.e. xdirection().crossed(ydirection()).dot(direction()) > 0. @@ -2331,7 +2335,7 @@ bool Standard_Boolean Direct(); /****************** Direction ******************/ - /**** md5 signature: 6107c9113155a9ae9007c5c8e526a738 ****/ + /**** md5 signature: fe17f01a1a479d7628e85d427dbda641 ****/ %feature("compactdefaultargs") Direction; %feature("autodoc", "Returns the main direction of . @@ -2365,41 +2369,41 @@ theStreamPos: int Standard_Boolean InitFromJson(const Standard_SStream & theSStream, Standard_Integer &OutValue); /****************** IsCoplanar ******************/ - /**** md5 signature: 7a81678968149480bd1087dc8a4f6d4a ****/ + /**** md5 signature: 839576f344c38c375debc9dad1060ac3 ****/ %feature("compactdefaultargs") IsCoplanar; - %feature("autodoc", "Returns true if . the distance between the 'location' point of and is lower or equal to lineartolerance and . the distance between the 'location' point of and is lower or equal to lineartolerance and . the main direction of and the main direction of are parallel (same or opposite orientation). + %feature("autodoc", "Returns true if . the distance between the 'location' point of and is lower or equal to thelineartolerance and . the distance between the 'location' point of and is lower or equal to thelineartolerance and . the main direction of and the main direction of are parallel (same or opposite orientation). Parameters ---------- -Other: gp_Ax3 -LinearTolerance: float -AngularTolerance: float +theOther: gp_Ax3 +theLinearTolerance: float +theAngularTolerance: float Returns ------- bool ") IsCoplanar; - Standard_Boolean IsCoplanar(const gp_Ax3 & Other, const Standard_Real LinearTolerance, const Standard_Real AngularTolerance); + Standard_Boolean IsCoplanar(const gp_Ax3 & theOther, const Standard_Real theLinearTolerance, const Standard_Real theAngularTolerance); /****************** IsCoplanar ******************/ - /**** md5 signature: 9d017c24775b2c198dc6fae3ec6ac7e2 ****/ + /**** md5 signature: 69116b679843481077391fbe3b5ae9bc ****/ %feature("compactdefaultargs") IsCoplanar; - %feature("autodoc", "Returns true if . the distance between and the 'location' point of a1 is lower of equal to lineartolerance and . the distance between a1 and the 'location' point of is lower or equal to lineartolerance and . the main direction of and the direction of a1 are normal. + %feature("autodoc", "Returns true if . the distance between and the 'location' point of thea1 is lower of equal to thelineartolerance and . the distance between thea1 and the 'location' point of is lower or equal to thelineartolerance and . the main direction of and the direction of thea1 are normal. Parameters ---------- -A1: gp_Ax1 -LinearTolerance: float -AngularTolerance: float +theA1: gp_Ax1 +theLinearTolerance: float +theAngularTolerance: float Returns ------- bool ") IsCoplanar; - Standard_Boolean IsCoplanar(const gp_Ax1 & A1, const Standard_Real LinearTolerance, const Standard_Real AngularTolerance); + Standard_Boolean IsCoplanar(const gp_Ax1 & theA1, const Standard_Real theLinearTolerance, const Standard_Real theAngularTolerance); /****************** Location ******************/ - /**** md5 signature: 42040ad2ed401b7e80bf90e4b6b5f418 ****/ + /**** md5 signature: becd3d5ba73b438c501a139df51b6b7f ****/ %feature("compactdefaultargs") Location; %feature("autodoc", "Returns the 'location' point (origin) of . @@ -2410,328 +2414,328 @@ gp_Pnt const gp_Pnt Location(); /****************** Mirror ******************/ - /**** md5 signature: b133f2e6e1c74f672a216a0094bdfda6 ****/ + /**** md5 signature: 095878518b088b42d55c3da09f68a84c ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") Mirror; - void Mirror(const gp_Pnt & P); + void Mirror(const gp_Pnt & theP); /****************** Mirror ******************/ - /**** md5 signature: d1a0189a98d756bd9e5b51b4ae49992a ****/ + /**** md5 signature: cfb16cae08525c5f4ab330102e0377d4 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") Mirror; - void Mirror(const gp_Ax1 & A1); + void Mirror(const gp_Ax1 & theA1); /****************** Mirror ******************/ - /**** md5 signature: 874cde0169043be133e205e960c3ca57 ****/ + /**** md5 signature: ad34943401a2334beed8ccc79094d8df ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") Mirror; - void Mirror(const gp_Ax2 & A2); + void Mirror(const gp_Ax2 & theA2); /****************** Mirrored ******************/ - /**** md5 signature: b4bba249367f343155a42ee4397d745c ****/ + /**** md5 signature: 42d94d933f559095c36e8d1a0b5dba4f ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of an axis placement with respect to the point p which is the center of the symmetry. warnings : the main direction of the axis placement is not changed. the 'xdirection' and the 'ydirection' are reversed. so the axis placement stay right handed. + %feature("autodoc", "Performs the symmetrical transformation of an axis placement with respect to the point thep which is the center of the symmetry. warnings : the main direction of the axis placement is not changed. the 'xdirection' and the 'ydirection' are reversed. so the axis placement stay right handed. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- gp_Ax3 ") Mirrored; - gp_Ax3 Mirrored(const gp_Pnt & P); + gp_Ax3 Mirrored(const gp_Pnt & theP); /****************** Mirrored ******************/ - /**** md5 signature: e99e3fc1e38815ab49b74d728dd9e02f ****/ + /**** md5 signature: 33b89fb3a2c2a0176b162cd13cb59366 ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of an axis placement with respect to an axis placement which is the axis of the symmetry. the transformation is performed on the 'location' point, on the 'xdirection' and 'ydirection'. the resulting main 'direction' is the cross product between the 'xdirection' and the 'ydirection' after transformation. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- gp_Ax3 ") Mirrored; - gp_Ax3 Mirrored(const gp_Ax1 & A1); + gp_Ax3 Mirrored(const gp_Ax1 & theA1); /****************** Mirrored ******************/ - /**** md5 signature: 3379c25f3ba398be2e89122f4f69b0f4 ****/ + /**** md5 signature: 9a9877d33697f8bf31b8222da16f0892 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of an axis placement with respect to a plane. the axis placement locates the plane of the symmetry : (location, xdirection, ydirection). the transformation is performed on the 'location' point, on the 'xdirection' and 'ydirection'. the resulting main 'direction' is the cross product between the 'xdirection' and the 'ydirection' after transformation. + %feature("autodoc", "Performs the symmetrical transformation of an axis placement with respect to a plane. the axis placement locates the plane of the symmetry : (location, xdirection, ydirection). the transformation is performed on the 'location' point, on the 'xdirection' and 'ydirection'. the resulting main 'direction' is the cross product between the 'xdirection' and the 'ydirection' after transformation. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- gp_Ax3 ") Mirrored; - gp_Ax3 Mirrored(const gp_Ax2 & A2); + gp_Ax3 Mirrored(const gp_Ax2 & theA2); /****************** Rotate ******************/ - /**** md5 signature: 12c4967f27a0900e4176252164d2f2ce ****/ + /**** md5 signature: 424ab82daf880655bff8da4ef682e64b ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Ax1 & A1, const Standard_Real Ang); + void Rotate(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: 5f86f29311549ab4117f93bc40487543 ****/ + /**** md5 signature: 27b5e8b4b2b522de69bec13851b4ca71 ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates an axis placement. is the axis of the rotation . ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates an axis placement. is the axis of the rotation . theang is the angular value of the rotation in radians. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- gp_Ax3 ") Rotated; - gp_Ax3 Rotated(const gp_Ax1 & A1, const Standard_Real Ang); + gp_Ax3 Rotated(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: e66fc526c4232f21fb4238a81292d522 ****/ + /**** md5 signature: 2e3ad744b562b37602bc0d7050246d12 ****/ %feature("compactdefaultargs") Scale; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- None ") Scale; - void Scale(const gp_Pnt & P, const Standard_Real S); + void Scale(const gp_Pnt & theP, const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: 0bd003567af5701968e49e623c3d113a ****/ + /**** md5 signature: beb24c1eccd986f33a6360ed9974d0f5 ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Applies a scaling transformation on the axis placement. the 'location' point of the axisplacement is modified. warnings : if the scale is negative : . the main direction of the axis placement is not changed. . the 'xdirection' and the 'ydirection' are reversed. so the axis placement stay right handed. + %feature("autodoc", "Applies a scaling transformation on the axis placement. the 'location' point of the axisplacement is modified. warnings : if the scale is negative : . the main direction of the axis placement is not changed. . the 'xdirection' and the 'ydirection' are reversed. so the axis placement stay right handed. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- gp_Ax3 ") Scaled; - gp_Ax3 Scaled(const gp_Pnt & P, const Standard_Real S); + gp_Ax3 Scaled(const gp_Pnt & theP, const Standard_Real theS); /****************** SetAxis ******************/ - /**** md5 signature: 4f1ae44e92ff7b1da601b2ca71a3a58a ****/ + /**** md5 signature: 43324233139e9364ed0345f04485c556 ****/ %feature("compactdefaultargs") SetAxis; - %feature("autodoc", "Assigns the origin and 'main direction' of the axis a1 to this coordinate system, then recomputes its 'x direction' and 'y direction'. note: - the new 'x direction' is computed as follows: new 'x direction' = v1 ^(previous 'x direction' ^ v) where v is the 'direction' of a1. - the orientation of this coordinate system (right-handed or left-handed) is not modified. raises constructionerror if the 'direction' of and the 'xdirection' of are parallel (same or opposite orientation) because it is impossible to calculate the new 'xdirection' and the new 'ydirection'. + %feature("autodoc", "Assigns the origin and 'main direction' of the axis thea1 to this coordinate system, then recomputes its 'x direction' and 'y direction'. note: - the new 'x direction' is computed as follows: new 'x direction' = v1 ^(previous 'x direction' ^ v) where v is the 'direction' of thea1. - the orientation of this coordinate system (right-handed or left-handed) is not modified. raises constructionerror if the 'direction' of and the 'xdirection' of are parallel (same or opposite orientation) because it is impossible to calculate the new 'xdirection' and the new 'ydirection'. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") SetAxis; - void SetAxis(const gp_Ax1 & A1); + void SetAxis(const gp_Ax1 & theA1); /****************** SetDirection ******************/ - /**** md5 signature: df8744d729e050a65ee65230eb199390 ****/ + /**** md5 signature: 8b5ca597f3afabbc57f16735908eb058 ****/ %feature("compactdefaultargs") SetDirection; - %feature("autodoc", "Changes the main direction of this coordinate system, then recomputes its 'x direction' and 'y direction'. note: - the new 'x direction' is computed as follows: new 'x direction' = v ^ (previous 'x direction' ^ v). - the orientation of this coordinate system (left- or right-handed) is not modified. raises constructionerror if and the previous 'xdirection' are parallel because it is impossible to calculate the new 'xdirection' and the new 'ydirection'. Parameters ---------- -V: gp_Dir +theV: gp_Dir Returns ------- None ") SetDirection; - void SetDirection(const gp_Dir & V); + void SetDirection(const gp_Dir & theV); /****************** SetLocation ******************/ - /**** md5 signature: c028aee785b685956e8e7d5cba7ecb46 ****/ + /**** md5 signature: c106a7d7c472c3f26d65a1d2a029717b ****/ %feature("compactdefaultargs") SetLocation; %feature("autodoc", "Changes the 'location' point (origin) of . Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") SetLocation; - void SetLocation(const gp_Pnt & P); + void SetLocation(const gp_Pnt & theP); /****************** SetXDirection ******************/ - /**** md5 signature: 7eca57e5a0ce16869c4831a889c43a11 ****/ + /**** md5 signature: 7c7709263c1f5e7e9b0cffdbb4ad187a ****/ %feature("compactdefaultargs") SetXDirection; - %feature("autodoc", "Changes the 'xdirection' of . the main direction 'direction' is not modified, the 'ydirection' is modified. if is not normal to the main direction then is computed as follows xdirection = direction ^ (vx ^ direction). raises constructionerror if is parallel (same or opposite orientation) to the main direction of . + %feature("autodoc", "Changes the 'xdirection' of . the main direction 'direction' is not modified, the 'ydirection' is modified. if is not normal to the main direction then is computed as follows xdirection = direction ^ (thevx ^ direction). raises constructionerror if is parallel (same or opposite orientation) to the main direction of . Parameters ---------- -Vx: gp_Dir +theVx: gp_Dir Returns ------- None ") SetXDirection; - void SetXDirection(const gp_Dir & Vx); + void SetXDirection(const gp_Dir & theVx); /****************** SetYDirection ******************/ - /**** md5 signature: a17e9c62e6e6ab1cb8c83307d7a48bda ****/ + /**** md5 signature: 899268beb5d91c4e317724e14fe72fd6 ****/ %feature("compactdefaultargs") SetYDirection; - %feature("autodoc", "Changes the 'ydirection' of . the main direction is not modified but the 'xdirection' is changed. if is not normal to the main direction then 'ydirection' is computed as follows ydirection = direction ^ ( ^ direction). raises constructionerror if is parallel to the main direction of . + %feature("autodoc", "Changes the 'ydirection' of . the main direction is not modified but the 'xdirection' is changed. if is not normal to the main direction then 'ydirection' is computed as follows ydirection = direction ^ ( ^ direction). raises constructionerror if is parallel to the main direction of . Parameters ---------- -Vy: gp_Dir +theVy: gp_Dir Returns ------- None ") SetYDirection; - void SetYDirection(const gp_Dir & Vy); + void SetYDirection(const gp_Dir & theVy); /****************** Transform ******************/ - /**** md5 signature: 45ee6a37cbc92ff06bd17b5653f32913 ****/ + /**** md5 signature: ad39e75f28af84e2a27f2cfbe322b0a3 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") Transform; - void Transform(const gp_Trsf & T); + void Transform(const gp_Trsf & theT); /****************** Transformed ******************/ - /**** md5 signature: f8240fcf0b6b9600b917704130d03dc9 ****/ + /**** md5 signature: a19295588196b05ec78621a6dbf05e07 ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms an axis placement with a trsf. the 'location' point, the 'xdirection' and the 'ydirection' are transformed with t. the resulting main 'direction' of is the cross product between the 'xdirection' and the 'ydirection' after transformation. + %feature("autodoc", "Transforms an axis placement with a trsf. the 'location' point, the 'xdirection' and the 'ydirection' are transformed with thet. the resulting main 'direction' of is the cross product between the 'xdirection' and the 'ydirection' after transformation. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- gp_Ax3 ") Transformed; - gp_Ax3 Transformed(const gp_Trsf & T); + gp_Ax3 Transformed(const gp_Trsf & theT); /****************** Translate ******************/ - /**** md5 signature: b3667af07c9a238180bc31cc15803f78 ****/ + /**** md5 signature: 0187bd9a09d9b334477a40e96047e03a ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- None ") Translate; - void Translate(const gp_Vec & V); + void Translate(const gp_Vec & theV); /****************** Translate ******************/ - /**** md5 signature: 5053222ade9605c7c37102310f06f2e8 ****/ + /**** md5 signature: cde9f9ebda90da2c1df1a27191e7ab81 ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- None ") Translate; - void Translate(const gp_Pnt & P1, const gp_Pnt & P2); + void Translate(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** Translated ******************/ - /**** md5 signature: ff6bc91d962e8f099a9d3eb38b271c1b ****/ + /**** md5 signature: 03f1709e137e55703b2d9c95973330eb ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates an axis plaxement in the direction of the vector . the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "Translates an axis plaxement in the direction of the vector . the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- gp_Ax3 ") Translated; - gp_Ax3 Translated(const gp_Vec & V); + gp_Ax3 Translated(const gp_Vec & theV); /****************** Translated ******************/ - /**** md5 signature: 95276330078af4c40107723481c87bb4 ****/ + /**** md5 signature: 2d594100225a70f78f910bcbae6aed7d ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates an axis placement from the point to the point . + %feature("autodoc", "Translates an axis placement from the point to the point . Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- gp_Ax3 ") Translated; - gp_Ax3 Translated(const gp_Pnt & P1, const gp_Pnt & P2); + gp_Ax3 Translated(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** XDirection ******************/ - /**** md5 signature: 961290da84516159b8901f300dd3110d ****/ + /**** md5 signature: fcbbc9d6c74ef03a8434eacc59ccc564 ****/ %feature("compactdefaultargs") XDirection; %feature("autodoc", "Returns the 'xdirection' of . @@ -2742,7 +2746,7 @@ gp_Dir const gp_Dir XDirection(); /****************** XReverse ******************/ - /**** md5 signature: a59a0d5ce809b327255e8a5583570409 ****/ + /**** md5 signature: fc535c1f8281e2db84b1e2650c881d9f ****/ %feature("compactdefaultargs") XReverse; %feature("autodoc", "Reverses the x direction of . @@ -2753,7 +2757,7 @@ None void XReverse(); /****************** YDirection ******************/ - /**** md5 signature: cc21cc9ed5abd09b9e251302c66ef4f2 ****/ + /**** md5 signature: b77f77726206b24c16f5b9c836ddd524 ****/ %feature("compactdefaultargs") YDirection; %feature("autodoc", "Returns the 'ydirection' of . @@ -2764,7 +2768,7 @@ gp_Dir const gp_Dir YDirection(); /****************** YReverse ******************/ - /**** md5 signature: 25ff312ffbe13c5be8bd85f4c2e7817f ****/ + /**** md5 signature: cd584437f5849bcfad54a3e35179c992 ****/ %feature("compactdefaultargs") YReverse; %feature("autodoc", "Reverses the y direction of . @@ -2775,7 +2779,7 @@ None void YReverse(); /****************** ZReverse ******************/ - /**** md5 signature: 9915b1a450300177dd75f9fae2dc2f75 ****/ + /**** md5 signature: f545c0bd2a06cbf06f30ff2918446c43 ****/ %feature("compactdefaultargs") ZReverse; %feature("autodoc", "Reverses the z direction of . @@ -2800,7 +2804,7 @@ None class gp_Circ { public: /****************** gp_Circ ******************/ - /**** md5 signature: 6efafd0c8f6f99ecc53e37140d53b7ca ****/ + /**** md5 signature: 5f10d6909b85753006e6ebe03abc11d5 ****/ %feature("compactdefaultargs") gp_Circ; %feature("autodoc", "Creates an indefinite circle. @@ -2811,23 +2815,23 @@ None gp_Circ(); /****************** gp_Circ ******************/ - /**** md5 signature: b560c3375982e5d3aae0d5f8918ec935 ****/ + /**** md5 signature: 739b08382fa8319dc2d01e46b8d831b7 ****/ %feature("compactdefaultargs") gp_Circ; - %feature("autodoc", "A2 locates the circle and gives its orientation in 3d space. warnings : it is not forbidden to create a circle with radius = 0.0 raises constructionerror if radius < 0.0. + %feature("autodoc", "A2 locates the circle and gives its orientation in 3d space. warnings : it is not forbidden to create a circle with theradius = 0.0 raises constructionerror if theradius < 0.0. Parameters ---------- -A2: gp_Ax2 -Radius: float +theA2: gp_Ax2 +theRadius: float Returns ------- None ") gp_Circ; - gp_Circ(const gp_Ax2 & A2, const Standard_Real Radius); + gp_Circ(const gp_Ax2 & theA2, const Standard_Real theRadius); /****************** Area ******************/ - /**** md5 signature: a514cbcf0bd2f53e9374f58dcecded92 ****/ + /**** md5 signature: c02bdde385c5c793a22800891df9b9cd ****/ %feature("compactdefaultargs") Area; %feature("autodoc", "Computes the area of the circle. @@ -2838,7 +2842,7 @@ float Standard_Real Area(); /****************** Axis ******************/ - /**** md5 signature: cb9b52ff887b682f8bfc1eb2f646705a ****/ + /**** md5 signature: 8e27675ecbe6e648730266788c8e255c ****/ %feature("compactdefaultargs") Axis; %feature("autodoc", "Returns the main axis of the circle. it is the axis perpendicular to the plane of the circle, passing through the 'location' point (center) of the circle. @@ -2849,38 +2853,38 @@ gp_Ax1 const gp_Ax1 Axis(); /****************** Contains ******************/ - /**** md5 signature: 4617c578d595c204f331df6213e3ae4a ****/ + /**** md5 signature: 505c74c81a15c8244323a9eb031db0f3 ****/ %feature("compactdefaultargs") Contains; - %feature("autodoc", "Returns true if the point p is on the circumference. the distance between and

must be lower or equal to lineartolerance. + %feature("autodoc", "Returns true if the point thep is on the circumference. the distance between and must be lower or equal to thelineartolerance. Parameters ---------- -P: gp_Pnt -LinearTolerance: float +theP: gp_Pnt +theLinearTolerance: float Returns ------- bool ") Contains; - Standard_Boolean Contains(const gp_Pnt & P, const Standard_Real LinearTolerance); + Standard_Boolean Contains(const gp_Pnt & theP, const Standard_Real theLinearTolerance); /****************** Distance ******************/ - /**** md5 signature: d9ba17ce87a8f8e1c8805850d4d732ba ****/ + /**** md5 signature: 2fc4b43cfa77ad16173f47474ea6d043 ****/ %feature("compactdefaultargs") Distance; - %feature("autodoc", "Computes the minimum of distance between the point p and any point on the circumference of the circle. + %feature("autodoc", "Computes the minimum of distance between the point thep and any point on the circumference of the circle. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- float ") Distance; - Standard_Real Distance(const gp_Pnt & P); + Standard_Real Distance(const gp_Pnt & theP); /****************** Length ******************/ - /**** md5 signature: 7a11021be5ff74a321b964da373ca8bd ****/ + /**** md5 signature: 1d863a710d06afea5559458878200357 ****/ %feature("compactdefaultargs") Length; %feature("autodoc", "Computes the circumference of the circle. @@ -2891,7 +2895,7 @@ float Standard_Real Length(); /****************** Location ******************/ - /**** md5 signature: 42040ad2ed401b7e80bf90e4b6b5f418 ****/ + /**** md5 signature: becd3d5ba73b438c501a139df51b6b7f ****/ %feature("compactdefaultargs") Location; %feature("autodoc", "Returns the center of the circle. it is the 'location' point of the local coordinate system of the circle. @@ -2902,97 +2906,97 @@ gp_Pnt const gp_Pnt Location(); /****************** Mirror ******************/ - /**** md5 signature: b133f2e6e1c74f672a216a0094bdfda6 ****/ + /**** md5 signature: 095878518b088b42d55c3da09f68a84c ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") Mirror; - void Mirror(const gp_Pnt & P); + void Mirror(const gp_Pnt & theP); /****************** Mirror ******************/ - /**** md5 signature: d1a0189a98d756bd9e5b51b4ae49992a ****/ + /**** md5 signature: cfb16cae08525c5f4ab330102e0377d4 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") Mirror; - void Mirror(const gp_Ax1 & A1); + void Mirror(const gp_Ax1 & theA1); /****************** Mirror ******************/ - /**** md5 signature: 874cde0169043be133e205e960c3ca57 ****/ + /**** md5 signature: ad34943401a2334beed8ccc79094d8df ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") Mirror; - void Mirror(const gp_Ax2 & A2); + void Mirror(const gp_Ax2 & theA2); /****************** Mirrored ******************/ - /**** md5 signature: 32916670d972b0097467f6f81875ef01 ****/ + /**** md5 signature: 0160e60b3524fb2280e9550ebe93648f ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a circle with respect to the point p which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of a circle with respect to the point thep which is the center of the symmetry. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- gp_Circ ") Mirrored; - gp_Circ Mirrored(const gp_Pnt & P); + gp_Circ Mirrored(const gp_Pnt & theP); /****************** Mirrored ******************/ - /**** md5 signature: c0652096ea5891063833f57104a91d53 ****/ + /**** md5 signature: dca03722aa867dbbda201002c87da479 ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a circle with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- gp_Circ ") Mirrored; - gp_Circ Mirrored(const gp_Ax1 & A1); + gp_Circ Mirrored(const gp_Ax1 & theA1); /****************** Mirrored ******************/ - /**** md5 signature: 94b9ea424d4b06fa18648a7f13c852c7 ****/ + /**** md5 signature: a328233c47d4c15b36f2b1518877c9fb ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a circle with respect to a plane. the axis placement a2 locates the plane of the of the symmetry : (location, xdirection, ydirection). + %feature("autodoc", "Performs the symmetrical transformation of a circle with respect to a plane. the axis placement thea2 locates the plane of the of the symmetry : (location, xdirection, ydirection). Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- gp_Circ ") Mirrored; - gp_Circ Mirrored(const gp_Ax2 & A2); + gp_Circ Mirrored(const gp_Ax2 & theA2); /****************** Position ******************/ - /**** md5 signature: 4998eb006d0dfaf45366e64da028e2d8 ****/ + /**** md5 signature: 0919c787263d4f8ff9c1e18688f5d16c ****/ %feature("compactdefaultargs") Position; %feature("autodoc", "Returns the position of the circle. it is the local coordinate system of the circle. @@ -3003,7 +3007,7 @@ gp_Ax2 const gp_Ax2 Position(); /****************** Radius ******************/ - /**** md5 signature: 506a8dc1140a54bd4146c24bb5357fbf ****/ + /**** md5 signature: e995997e31f334f223fb359fc7382a66 ****/ %feature("compactdefaultargs") Radius; %feature("autodoc", "Returns the radius of this circle. @@ -3014,238 +3018,238 @@ float Standard_Real Radius(); /****************** Rotate ******************/ - /**** md5 signature: 12c4967f27a0900e4176252164d2f2ce ****/ + /**** md5 signature: 424ab82daf880655bff8da4ef682e64b ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Ax1 & A1, const Standard_Real Ang); + void Rotate(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: d29198aa8896dda042847c5a54cfcf85 ****/ + /**** md5 signature: 0d1e53633a3ccb637477f608fa7c771d ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates a circle. a1 is the axis of the rotation. ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates a circle. thea1 is the axis of the rotation. theang is the angular value of the rotation in radians. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- gp_Circ ") Rotated; - gp_Circ Rotated(const gp_Ax1 & A1, const Standard_Real Ang); + gp_Circ Rotated(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: e66fc526c4232f21fb4238a81292d522 ****/ + /**** md5 signature: a931b3c1f3cc70761b0f4bcbe2fc2ef0 ****/ %feature("compactdefaultargs") Scale; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- None ") Scale; - void Scale(const gp_Pnt & P, const Standard_Real S); + void Scale(const gp_Pnt & theP, const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: a7543226b13402b6a4209acf795db108 ****/ + /**** md5 signature: 77e0a32946b6e54a126e51c621f3e989 ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Scales a circle. s is the scaling value. warnings : if s is negative the radius stay positive but the 'xaxis' and the 'yaxis' are reversed as for an ellipse. + %feature("autodoc", "Scales a circle. thes is the scaling value. warnings : if thes is negative the radius stay positive but the 'xaxis' and the 'yaxis' are reversed as for an ellipse. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- gp_Circ ") Scaled; - gp_Circ Scaled(const gp_Pnt & P, const Standard_Real S); + gp_Circ Scaled(const gp_Pnt & theP, const Standard_Real theS); /****************** SetAxis ******************/ - /**** md5 signature: 4f1ae44e92ff7b1da601b2ca71a3a58a ****/ + /**** md5 signature: 23e0b01de6336ec5c57ea6909e327d35 ****/ %feature("compactdefaultargs") SetAxis; - %feature("autodoc", "Changes the main axis of the circle. it is the axis perpendicular to the plane of the circle. raises constructionerror if the direction of a1 is parallel to the 'xaxis' of the circle. + %feature("autodoc", "Changes the main axis of the circle. it is the axis perpendicular to the plane of the circle. raises constructionerror if the direction of thea1 is parallel to the 'xaxis' of the circle. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") SetAxis; - void SetAxis(const gp_Ax1 & A1); + void SetAxis(const gp_Ax1 & theA1); /****************** SetLocation ******************/ - /**** md5 signature: c028aee785b685956e8e7d5cba7ecb46 ****/ + /**** md5 signature: c106a7d7c472c3f26d65a1d2a029717b ****/ %feature("compactdefaultargs") SetLocation; %feature("autodoc", "Changes the 'location' point (center) of the circle. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") SetLocation; - void SetLocation(const gp_Pnt & P); + void SetLocation(const gp_Pnt & theP); /****************** SetPosition ******************/ - /**** md5 signature: 370491d423dd18be72ddbe9a7e5a5d72 ****/ + /**** md5 signature: ebc7dd35ccc08a819f6ac865a49dfe89 ****/ %feature("compactdefaultargs") SetPosition; %feature("autodoc", "Changes the position of the circle. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") SetPosition; - void SetPosition(const gp_Ax2 & A2); + void SetPosition(const gp_Ax2 & theA2); /****************** SetRadius ******************/ - /**** md5 signature: 021f3150e83db7a660562352251b37b0 ****/ + /**** md5 signature: ec1ecbc6b8d5250d29d2812fb870ef3b ****/ %feature("compactdefaultargs") SetRadius; - %feature("autodoc", "Modifies the radius of this circle. warning. this class does not prevent the creation of a circle where radius is null. exceptions standard_constructionerror if radius is negative. + %feature("autodoc", "Modifies the radius of this circle. warning. this class does not prevent the creation of a circle where theradius is null. exceptions standard_constructionerror if theradius is negative. Parameters ---------- -Radius: float +theRadius: float Returns ------- None ") SetRadius; - void SetRadius(const Standard_Real Radius); + void SetRadius(const Standard_Real theRadius); /****************** SquareDistance ******************/ - /**** md5 signature: 382f20ab66f794f70a8fbaad3ecad14c ****/ + /**** md5 signature: 7fbe88c31283387e08156a089bc874fa ****/ %feature("compactdefaultargs") SquareDistance; - %feature("autodoc", "Computes the square distance between and the point p. + %feature("autodoc", "Computes the square distance between and the point thep. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- float ") SquareDistance; - Standard_Real SquareDistance(const gp_Pnt & P); + Standard_Real SquareDistance(const gp_Pnt & theP); /****************** Transform ******************/ - /**** md5 signature: 45ee6a37cbc92ff06bd17b5653f32913 ****/ + /**** md5 signature: 0737a7286be728220e1a55ba0d6eafc3 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") Transform; - void Transform(const gp_Trsf & T); + void Transform(const gp_Trsf & theT); /****************** Transformed ******************/ - /**** md5 signature: c01d3f0f7d69b81caf3492954db9dc94 ****/ + /**** md5 signature: e1c6143ec0b0351694a5fc9bdee53f59 ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms a circle with the transformation t from class trsf. + %feature("autodoc", "Transforms a circle with the transformation thet from class trsf. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- gp_Circ ") Transformed; - gp_Circ Transformed(const gp_Trsf & T); + gp_Circ Transformed(const gp_Trsf & theT); /****************** Translate ******************/ - /**** md5 signature: b3667af07c9a238180bc31cc15803f78 ****/ + /**** md5 signature: 0187bd9a09d9b334477a40e96047e03a ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- None ") Translate; - void Translate(const gp_Vec & V); + void Translate(const gp_Vec & theV); /****************** Translate ******************/ - /**** md5 signature: 5053222ade9605c7c37102310f06f2e8 ****/ + /**** md5 signature: cde9f9ebda90da2c1df1a27191e7ab81 ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- None ") Translate; - void Translate(const gp_Pnt & P1, const gp_Pnt & P2); + void Translate(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** Translated ******************/ - /**** md5 signature: 5da4aba8d1300ccfbd2887afab3b9b94 ****/ + /**** md5 signature: 0b0dfc34e7d72c0aa19e557fa861bce9 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a circle in the direction of the vector v. the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "Translates a circle in the direction of the vector thev. the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- gp_Circ ") Translated; - gp_Circ Translated(const gp_Vec & V); + gp_Circ Translated(const gp_Vec & theV); /****************** Translated ******************/ - /**** md5 signature: 718667671355fb3f099fffc7a9400f5c ****/ + /**** md5 signature: 659e796883409e73c22027093eec1349 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a circle from the point p1 to the point p2. + %feature("autodoc", "Translates a circle from the point thep1 to the point thep2. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- gp_Circ ") Translated; - gp_Circ Translated(const gp_Pnt & P1, const gp_Pnt & P2); + gp_Circ Translated(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** XAxis ******************/ - /**** md5 signature: 33f98d138ae3ce92d202330aa4ae814d ****/ + /**** md5 signature: 900acbd3949b81ee383c3b457e95c597 ****/ %feature("compactdefaultargs") XAxis; %feature("autodoc", "Returns the 'xaxis' of the circle. this axis is perpendicular to the axis of the conic. this axis and the 'yaxis' define the plane of the conic. @@ -3256,7 +3260,7 @@ gp_Ax1 gp_Ax1 XAxis(); /****************** YAxis ******************/ - /**** md5 signature: b471d966aca0b452073c5d55f8f5e027 ****/ + /**** md5 signature: 8db99d563f8cc2fa33e80ece09869c5c ****/ %feature("compactdefaultargs") YAxis; %feature("autodoc", "Returns the 'yaxis' of the circle. this axis and the 'xaxis' define the plane of the conic. the 'yaxis' is perpendicular to the 'xaxis'. @@ -3281,7 +3285,7 @@ gp_Ax1 class gp_Circ2d { public: /****************** gp_Circ2d ******************/ - /**** md5 signature: 6ca5dd11332453e12292665a231cb5ef ****/ + /**** md5 signature: 9abe96e635d4d5d4883afa39f2cc864d ****/ %feature("compactdefaultargs") gp_Circ2d; %feature("autodoc", "Creates an indefinite circle. @@ -3292,41 +3296,41 @@ None gp_Circ2d(); /****************** gp_Circ2d ******************/ - /**** md5 signature: fee8a57273837a8f1f6e4d96ebf47ebd ****/ + /**** md5 signature: 157b4c77138fe2dd66aa66d0e802a45a ****/ %feature("compactdefaultargs") gp_Circ2d; - %feature("autodoc", "The location point of xaxis is the center of the circle. warnings : it is not forbidden to create a circle with radius = 0.0 raises constructionerror if radius < 0.0. raised if radius < 0.0. + %feature("autodoc", "The location point of thexaxis is the center of the circle. warnings : it is not forbidden to create a circle with theradius = 0.0 raises constructionerror if theradius < 0.0. raised if theradius < 0.0. Parameters ---------- -XAxis: gp_Ax2d -Radius: float -Sense: bool,optional +theXAxis: gp_Ax2d +theRadius: float +theIsSense: bool,optional default value is Standard_True Returns ------- None ") gp_Circ2d; - gp_Circ2d(const gp_Ax2d & XAxis, const Standard_Real Radius, const Standard_Boolean Sense = Standard_True); + gp_Circ2d(const gp_Ax2d & theXAxis, const Standard_Real theRadius, const Standard_Boolean theIsSense = Standard_True); /****************** gp_Circ2d ******************/ - /**** md5 signature: 8d25db8c89bcbc1ee0bba323421c113e ****/ + /**** md5 signature: 3b0c3e71e00672bbab9e12940ef92b09 ****/ %feature("compactdefaultargs") gp_Circ2d; - %feature("autodoc", "Axis defines the xaxis and yaxis of the circle which defines the origin and the sense of parametrization. the location point of axis is the center of the circle. warnings : it is not forbidden to create a circle with radius = 0.0 raises constructionerror if radius < 0.0. raised if radius < 0.0. + %feature("autodoc", "Theaxis defines the xaxis and yaxis of the circle which defines the origin and the sense of parametrization. the location point of theaxis is the center of the circle. warnings : it is not forbidden to create a circle with theradius = 0.0 raises constructionerror if theradius < 0.0. raised if theradius < 0.0. Parameters ---------- -Axis: gp_Ax22d -Radius: float +theAxis: gp_Ax22d +theRadius: float Returns ------- None ") gp_Circ2d; - gp_Circ2d(const gp_Ax22d & Axis, const Standard_Real Radius); + gp_Circ2d(const gp_Ax22d & theAxis, const Standard_Real theRadius); /****************** Area ******************/ - /**** md5 signature: a514cbcf0bd2f53e9374f58dcecded92 ****/ + /**** md5 signature: c02bdde385c5c793a22800891df9b9cd ****/ %feature("compactdefaultargs") Area; %feature("autodoc", "Computes the area of the circle. @@ -3337,7 +3341,7 @@ float Standard_Real Area(); /****************** Axis ******************/ - /**** md5 signature: 56ba1d39cb5b229cbbc254dbe68307ea ****/ + /**** md5 signature: 094e5176aca7cccfc018310a1bba741f ****/ %feature("compactdefaultargs") Axis; %feature("autodoc", "Returns the position of the circle. @@ -3348,57 +3352,57 @@ gp_Ax22d const gp_Ax22d Axis(); /****************** Coefficients ******************/ - /**** md5 signature: 2252ad010357f4e043a3c6dac4c3923c ****/ + /**** md5 signature: cc309b22e72d7a2fa63d9f3b74f48eaa ****/ %feature("compactdefaultargs") Coefficients; - %feature("autodoc", "Returns the normalized coefficients from the implicit equation of the circle : a * (x**2) + b * (y**2) + 2*c*(x*y) + 2*d*x + 2*e*y + f = 0.0. + %feature("autodoc", "Returns the normalized coefficients from the implicit equation of the circle : thea * (x**2) + theb * (y**2) + 2*thec*(x*y) + 2*thed*x + 2*thee*y + thef = 0.0. Parameters ---------- Returns ------- -A: float -B: float -C: float -D: float -E: float -F: float +theA: float +theB: float +theC: float +theD: float +theE: float +theF: float ") Coefficients; void Coefficients(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); /****************** Contains ******************/ - /**** md5 signature: b5f4c6607c2df5e4dff0bd5cfe532775 ****/ + /**** md5 signature: 48572605f35f0836d249aaf0f0a6926c ****/ %feature("compactdefaultargs") Contains; - %feature("autodoc", "Does contain p ? returns true if the distance between p and any point on the circumference of the circle is lower of equal to . + %feature("autodoc", "Does contain thep ? returns true if the distance between thep and any point on the circumference of the circle is lower of equal to . Parameters ---------- -P: gp_Pnt2d -LinearTolerance: float +theP: gp_Pnt2d +theLinearTolerance: float Returns ------- bool ") Contains; - Standard_Boolean Contains(const gp_Pnt2d & P, const Standard_Real LinearTolerance); + Standard_Boolean Contains(const gp_Pnt2d & theP, const Standard_Real theLinearTolerance); /****************** Distance ******************/ - /**** md5 signature: eafbc4fbb17061433dcb80a2bf868650 ****/ + /**** md5 signature: fb4d5768ba7911e98e8d6818bd11e896 ****/ %feature("compactdefaultargs") Distance; - %feature("autodoc", "Computes the minimum of distance between the point p and any point on the circumference of the circle. + %feature("autodoc", "Computes the minimum of distance between the point thep and any point on the circumference of the circle. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- float ") Distance; - Standard_Real Distance(const gp_Pnt2d & P); + Standard_Real Distance(const gp_Pnt2d & theP); /****************** IsDirect ******************/ - /**** md5 signature: e230b64eefbb898397296c5ca615d396 ****/ + /**** md5 signature: 218f7b7b68e34847c5868fa318c903a4 ****/ %feature("compactdefaultargs") IsDirect; %feature("autodoc", "Returns true if the local coordinate system is direct and false in the other case. @@ -3409,7 +3413,7 @@ bool Standard_Boolean IsDirect(); /****************** Length ******************/ - /**** md5 signature: 7a11021be5ff74a321b964da373ca8bd ****/ + /**** md5 signature: 1d863a710d06afea5559458878200357 ****/ %feature("compactdefaultargs") Length; %feature("autodoc", "Computes the circumference of the circle. @@ -3420,7 +3424,7 @@ float Standard_Real Length(); /****************** Location ******************/ - /**** md5 signature: fbf774a3a1efe16540d680c0476bcbc8 ****/ + /**** md5 signature: 0e4556028ba61472400043e40317f1e2 ****/ %feature("compactdefaultargs") Location; %feature("autodoc", "Returns the location point (center) of the circle. @@ -3431,67 +3435,67 @@ gp_Pnt2d const gp_Pnt2d Location(); /****************** Mirror ******************/ - /**** md5 signature: 5a90a3ec4faf7909390bb0bfb4d9be0f ****/ + /**** md5 signature: 5f85e7eebe220829e022319813e0b5b1 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- None ") Mirror; - void Mirror(const gp_Pnt2d & P); + void Mirror(const gp_Pnt2d & theP); /****************** Mirror ******************/ - /**** md5 signature: 8b8d921c1e87f73e8278c4d42ae298f7 ****/ + /**** md5 signature: ec42c083971941a78ed6667e3ee849d3 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- None ") Mirror; - void Mirror(const gp_Ax2d & A); + void Mirror(const gp_Ax2d & theA); /****************** Mirrored ******************/ - /**** md5 signature: 56e4695edcea39bd6e606e1779f45d7a ****/ + /**** md5 signature: a8d9794b3dccce07942f165690ff1699 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a circle with respect to the point p which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of a circle with respect to the point thep which is the center of the symmetry. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- gp_Circ2d ") Mirrored; - gp_Circ2d Mirrored(const gp_Pnt2d & P); + gp_Circ2d Mirrored(const gp_Pnt2d & theP); /****************** Mirrored ******************/ - /**** md5 signature: f80d1ed612f77a66a7007f2972d11676 ****/ + /**** md5 signature: 0e4e4066a4d70fa4e5b011b98d4536e8 ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a circle with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- gp_Circ2d ") Mirrored; - gp_Circ2d Mirrored(const gp_Ax2d & A); + gp_Circ2d Mirrored(const gp_Ax2d & theA); /****************** Position ******************/ - /**** md5 signature: 345d379c8378049c9b2912713f5142d1 ****/ + /**** md5 signature: 8247b1efb09dc461f7d1cce90ebd0c14 ****/ %feature("compactdefaultargs") Position; %feature("autodoc", "Returns the position of the circle. idem axis(me). @@ -3502,7 +3506,7 @@ gp_Ax22d const gp_Ax22d Position(); /****************** Radius ******************/ - /**** md5 signature: 506a8dc1140a54bd4146c24bb5357fbf ****/ + /**** md5 signature: e995997e31f334f223fb359fc7382a66 ****/ %feature("compactdefaultargs") Radius; %feature("autodoc", "Returns the radius value of the circle. @@ -3513,7 +3517,7 @@ float Standard_Real Radius(); /****************** Reverse ******************/ - /**** md5 signature: b751d6874fc026e19a7a6cb37e9ac1b4 ****/ + /**** md5 signature: 51c7e0d05769dec0ec2bb70e4d25e48d ****/ %feature("compactdefaultargs") Reverse; %feature("autodoc", "Reverses the orientation of the local coordinate system of this circle (the 'y direction' is reversed) and therefore changes the implicit orientation of this circle. reverse assigns the result to this circle,. @@ -3535,253 +3539,253 @@ gp_Circ2d gp_Circ2d Reversed(); /****************** Rotate ******************/ - /**** md5 signature: 795edcbb32146eb6f071bea4c90f5cfd ****/ + /**** md5 signature: 4514855f978c37f3ce31a9851c5a1153 ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d -Ang: float +theP: gp_Pnt2d +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Pnt2d & P, const Standard_Real Ang); + void Rotate(const gp_Pnt2d & theP, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: 34510d74cbb6a3e85ab97c6d5bebea35 ****/ + /**** md5 signature: 143fa49312130d3153ab0e4e904866b3 ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates a circle. p is the center of the rotation. ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates a circle. thep is the center of the rotation. ang is the angular value of the rotation in radians. Parameters ---------- -P: gp_Pnt2d -Ang: float +theP: gp_Pnt2d +theAng: float Returns ------- gp_Circ2d ") Rotated; - gp_Circ2d Rotated(const gp_Pnt2d & P, const Standard_Real Ang); + gp_Circ2d Rotated(const gp_Pnt2d & theP, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: 5b49a8aeffcacace07c66937f77f1e03 ****/ + /**** md5 signature: c464bf78519bd3beeec5dd2bb7f74ab0 ****/ %feature("compactdefaultargs") Scale; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d -S: float +theP: gp_Pnt2d +theS: float Returns ------- None ") Scale; - void Scale(const gp_Pnt2d & P, const Standard_Real S); + void Scale(const gp_Pnt2d & theP, const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: 3d681fd57b139c6aee38aee25bd23eb1 ****/ + /**** md5 signature: 138b9e4fb0971602c5b23217bb9b2e6b ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Scales a circle. s is the scaling value. warnings : if s is negative the radius stay positive but the 'xaxis' and the 'yaxis' are reversed as for an ellipse. + %feature("autodoc", "Scales a circle. thes is the scaling value. warnings : if thes is negative the radius stay positive but the 'xaxis' and the 'yaxis' are reversed as for an ellipse. Parameters ---------- -P: gp_Pnt2d -S: float +theP: gp_Pnt2d +theS: float Returns ------- gp_Circ2d ") Scaled; - gp_Circ2d Scaled(const gp_Pnt2d & P, const Standard_Real S); + gp_Circ2d Scaled(const gp_Pnt2d & theP, const Standard_Real theS); /****************** SetAxis ******************/ - /**** md5 signature: 016f6d0b52d2d85d5711abca672ca103 ****/ + /**** md5 signature: fba67a5039095eddccca14c1039ad8be ****/ %feature("compactdefaultargs") SetAxis; %feature("autodoc", "Changes the x axis of the circle. Parameters ---------- -A: gp_Ax22d +theA: gp_Ax22d Returns ------- None ") SetAxis; - void SetAxis(const gp_Ax22d & A); + void SetAxis(const gp_Ax22d & theA); /****************** SetLocation ******************/ - /**** md5 signature: 368c9b8c039b553e22ee650e75e4d404 ****/ + /**** md5 signature: fea6486624f66c26e32103313f4d0c00 ****/ %feature("compactdefaultargs") SetLocation; %feature("autodoc", "Changes the location point (center) of the circle. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- None ") SetLocation; - void SetLocation(const gp_Pnt2d & P); + void SetLocation(const gp_Pnt2d & theP); /****************** SetRadius ******************/ - /**** md5 signature: 021f3150e83db7a660562352251b37b0 ****/ + /**** md5 signature: ec1ecbc6b8d5250d29d2812fb870ef3b ****/ %feature("compactdefaultargs") SetRadius; - %feature("autodoc", "Modifies the radius of this circle. this class does not prevent the creation of a circle where radius is null. exceptions standard_constructionerror if radius is negative. + %feature("autodoc", "Modifies the radius of this circle. this class does not prevent the creation of a circle where theradius is null. exceptions standard_constructionerror if theradius is negative. Parameters ---------- -Radius: float +theRadius: float Returns ------- None ") SetRadius; - void SetRadius(const Standard_Real Radius); + void SetRadius(const Standard_Real theRadius); /****************** SetXAxis ******************/ - /**** md5 signature: ec66b4bfc97a7a2706907f916a07745f ****/ + /**** md5 signature: 8cea815a914afe135b1603dc856a8a22 ****/ %feature("compactdefaultargs") SetXAxis; %feature("autodoc", "Changes the x axis of the circle. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- None ") SetXAxis; - void SetXAxis(const gp_Ax2d & A); + void SetXAxis(const gp_Ax2d & theA); /****************** SetYAxis ******************/ - /**** md5 signature: f0f5b973b3cd13921764c845a5c4cc95 ****/ + /**** md5 signature: f60887b297962c8ebfb061925ba2853e ****/ %feature("compactdefaultargs") SetYAxis; %feature("autodoc", "Changes the y axis of the circle. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- None ") SetYAxis; - void SetYAxis(const gp_Ax2d & A); + void SetYAxis(const gp_Ax2d & theA); /****************** SquareDistance ******************/ - /**** md5 signature: 235c49cb5ac12c3b838afde8f85743f4 ****/ + /**** md5 signature: 341b637f68b11ca63b87173eee241ab6 ****/ %feature("compactdefaultargs") SquareDistance; - %feature("autodoc", "Computes the square distance between and the point p. + %feature("autodoc", "Computes the square distance between and the point thep. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- float ") SquareDistance; - Standard_Real SquareDistance(const gp_Pnt2d & P); + Standard_Real SquareDistance(const gp_Pnt2d & theP); /****************** Transform ******************/ - /**** md5 signature: dace16a29a39216c0dd584c6964e840b ****/ + /**** md5 signature: 94f8045e6a4465708e872ec10cb3f4d1 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- None ") Transform; - void Transform(const gp_Trsf2d & T); + void Transform(const gp_Trsf2d & theT); /****************** Transformed ******************/ - /**** md5 signature: bbc7f3de544690652001e620d3f9058b ****/ + /**** md5 signature: 4ffec46b19544c4bcb8cdb29687ed3e7 ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms a circle with the transformation t from class trsf2d. + %feature("autodoc", "Transforms a circle with the transformation thet from class trsf2d. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- gp_Circ2d ") Transformed; - gp_Circ2d Transformed(const gp_Trsf2d & T); + gp_Circ2d Transformed(const gp_Trsf2d & theT); /****************** Translate ******************/ - /**** md5 signature: 1cd2e000b85692a9f89a6bf8e8e4782c ****/ + /**** md5 signature: f3112504d8f922313d0ee62e8d9fc9ad ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- None ") Translate; - void Translate(const gp_Vec2d & V); + void Translate(const gp_Vec2d & theV); /****************** Translate ******************/ - /**** md5 signature: c7768f1dcf9b6595f2bd4653737544f9 ****/ + /**** md5 signature: edde3614f43331c7884ace28c720ab8c ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt2d -P2: gp_Pnt2d +theP1: gp_Pnt2d +theP2: gp_Pnt2d Returns ------- None ") Translate; - void Translate(const gp_Pnt2d & P1, const gp_Pnt2d & P2); + void Translate(const gp_Pnt2d & theP1, const gp_Pnt2d & theP2); /****************** Translated ******************/ - /**** md5 signature: d835450a57f2c2b8f88c217fa166e9e7 ****/ + /**** md5 signature: b5317eef8c5eb533a9d7cdf7ad125b30 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a circle in the direction of the vector v. the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "Translates a circle in the direction of the vector thev. the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- gp_Circ2d ") Translated; - gp_Circ2d Translated(const gp_Vec2d & V); + gp_Circ2d Translated(const gp_Vec2d & theV); /****************** Translated ******************/ - /**** md5 signature: 1046d1e58ad9f959d0d7922e750000d5 ****/ + /**** md5 signature: b4de9d59960a4e23f6ea867b8b322e72 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a circle from the point p1 to the point p2. + %feature("autodoc", "Translates a circle from the point thep1 to the point thep2. Parameters ---------- -P1: gp_Pnt2d -P2: gp_Pnt2d +theP1: gp_Pnt2d +theP2: gp_Pnt2d Returns ------- gp_Circ2d ") Translated; - gp_Circ2d Translated(const gp_Pnt2d & P1, const gp_Pnt2d & P2); + gp_Circ2d Translated(const gp_Pnt2d & theP1, const gp_Pnt2d & theP2); /****************** XAxis ******************/ - /**** md5 signature: 5bcd651b87069885e2b5ecad2bd89992 ****/ + /**** md5 signature: 6a005542df14e10d67ac38644cf8c7ae ****/ %feature("compactdefaultargs") XAxis; %feature("autodoc", "Returns the x axis of the circle. @@ -3792,7 +3796,7 @@ gp_Ax2d gp_Ax2d XAxis(); /****************** YAxis ******************/ - /**** md5 signature: 1e80565ed75c7e231792089b80d7c873 ****/ + /**** md5 signature: d49975ff0e9ed400148a36ac6e990919 ****/ %feature("compactdefaultargs") YAxis; %feature("autodoc", "Returns the y axis of the circle. reverses the direction of the circle. @@ -3817,7 +3821,7 @@ gp_Ax2d class gp_Cone { public: /****************** gp_Cone ******************/ - /**** md5 signature: 12b92dfe4f1239cf38f08e253288ed43 ****/ + /**** md5 signature: b6d070bebbb32c502a61aa7801e0630c ****/ %feature("compactdefaultargs") gp_Cone; %feature("autodoc", "Creates an indefinite cone. @@ -3828,24 +3832,24 @@ None gp_Cone(); /****************** gp_Cone ******************/ - /**** md5 signature: 526badaac893b57eb9504e32ff1a4b37 ****/ + /**** md5 signature: e700abf14ef2e84cdcce0763e3581c75 ****/ %feature("compactdefaultargs") gp_Cone; - %feature("autodoc", "Creates an infinite conical surface. a3 locates the cone in the space and defines the reference plane of the surface. ang is the conical surface semi-angle. its absolute value is in range ]0, pi/2[. radius is the radius of the circle in the reference plane of the cone. raises constructionerror * if radius is lower than 0.0 * abs(ang) < resolution from gp or abs(ang) >= (pi/2) - resolution. + %feature("autodoc", "Creates an infinite conical surface. thea3 locates the cone in the space and defines the reference plane of the surface. ang is the conical surface semi-angle. its absolute value is in range ]0, pi/2[. theradius is the radius of the circle in the reference plane of the cone. theraises constructionerror * if theradius is lower than 0.0 * abs(theang) < resolution from gp or abs(theang) >= (pi/2) - resolution. Parameters ---------- -A3: gp_Ax3 -Ang: float -Radius: float +theA3: gp_Ax3 +theAng: float +theRadius: float Returns ------- None ") gp_Cone; - gp_Cone(const gp_Ax3 & A3, const Standard_Real Ang, const Standard_Real Radius); + gp_Cone(const gp_Ax3 & theA3, const Standard_Real theAng, const Standard_Real theRadius); /****************** Apex ******************/ - /**** md5 signature: 4b3f8494dd9ac086de8c6d241abd07f8 ****/ + /**** md5 signature: d7b0902898975a89c9e2f9cefaec36ca ****/ %feature("compactdefaultargs") Apex; %feature("autodoc", "Computes the cone's top. the apex of the cone is on the negative side of the symmetry axis of the cone. @@ -3856,7 +3860,7 @@ gp_Pnt gp_Pnt Apex(); /****************** Axis ******************/ - /**** md5 signature: cb9b52ff887b682f8bfc1eb2f646705a ****/ + /**** md5 signature: 8e27675ecbe6e648730266788c8e255c ****/ %feature("compactdefaultargs") Axis; %feature("autodoc", "Returns the symmetry axis of the cone. @@ -3867,30 +3871,30 @@ gp_Ax1 const gp_Ax1 Axis(); /****************** Coefficients ******************/ - /**** md5 signature: 922ffb066c913dfb924eafd175a6358f ****/ + /**** md5 signature: d2a72c55029fd5590f0555c1570db109 ****/ %feature("compactdefaultargs") Coefficients; - %feature("autodoc", "Computes the coefficients of the implicit equation of the quadric in the absolute cartesian coordinates system : a1.x**2 + a2.y**2 + a3.z**2 + 2.(b1.x.y + b2.x.z + b3.y.z) + 2.(c1.x + c2.y + c3.z) + d = 0.0. + %feature("autodoc", "Computes the coefficients of the implicit equation of the quadric in the absolute cartesian coordinates system : thea1.x**2 + thea2.y**2 + thea3.z**2 + 2.(theb1.x.y + theb2.x.z + theb3.y.z) + 2.(thec1.x + thec2.y + thec3.z) + thed = 0.0. Parameters ---------- Returns ------- -A1: float -A2: float -A3: float -B1: float -B2: float -B3: float -C1: float -C2: float -C3: float -D: float +theA1: float +theA2: float +theA3: float +theB1: float +theB2: float +theB3: float +theC1: float +theC2: float +theC3: float +theD: float ") Coefficients; void Coefficients(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); /****************** Direct ******************/ - /**** md5 signature: 33e4e96f61de8e23c989d6f9aec7d457 ****/ + /**** md5 signature: 2c90be540a5bf9418e7461f7f76c970a ****/ %feature("compactdefaultargs") Direct; %feature("autodoc", "Returns true if the local coordinate system of this cone is right-handed. @@ -3901,7 +3905,7 @@ bool Standard_Boolean Direct(); /****************** Location ******************/ - /**** md5 signature: 42040ad2ed401b7e80bf90e4b6b5f418 ****/ + /**** md5 signature: becd3d5ba73b438c501a139df51b6b7f ****/ %feature("compactdefaultargs") Location; %feature("autodoc", "Returns the 'location' point of the cone. @@ -3912,97 +3916,97 @@ gp_Pnt const gp_Pnt Location(); /****************** Mirror ******************/ - /**** md5 signature: b133f2e6e1c74f672a216a0094bdfda6 ****/ + /**** md5 signature: 095878518b088b42d55c3da09f68a84c ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") Mirror; - void Mirror(const gp_Pnt & P); + void Mirror(const gp_Pnt & theP); /****************** Mirror ******************/ - /**** md5 signature: d1a0189a98d756bd9e5b51b4ae49992a ****/ + /**** md5 signature: cfb16cae08525c5f4ab330102e0377d4 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") Mirror; - void Mirror(const gp_Ax1 & A1); + void Mirror(const gp_Ax1 & theA1); /****************** Mirror ******************/ - /**** md5 signature: 874cde0169043be133e205e960c3ca57 ****/ + /**** md5 signature: ad34943401a2334beed8ccc79094d8df ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") Mirror; - void Mirror(const gp_Ax2 & A2); + void Mirror(const gp_Ax2 & theA2); /****************** Mirrored ******************/ - /**** md5 signature: 798080970ed2c16220271096fbb45659 ****/ + /**** md5 signature: cbe5109203fad1d4c7807df720ae3510 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a cone with respect to the point p which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of a cone with respect to the point thep which is the center of the symmetry. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- gp_Cone ") Mirrored; - gp_Cone Mirrored(const gp_Pnt & P); + gp_Cone Mirrored(const gp_Pnt & theP); /****************** Mirrored ******************/ - /**** md5 signature: d7124ba2a5e40edda27d7388cbf77348 ****/ + /**** md5 signature: 9551461ab09657ac426ef14abbd8117b ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a cone with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- gp_Cone ") Mirrored; - gp_Cone Mirrored(const gp_Ax1 & A1); + gp_Cone Mirrored(const gp_Ax1 & theA1); /****************** Mirrored ******************/ - /**** md5 signature: 1f25101b9654e27dc01e12ba7c875ad8 ****/ + /**** md5 signature: 31a71e6d703a6fb53a2efbdb704cfc97 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a cone with respect to a plane. the axis placement a2 locates the plane of the of the symmetry : (location, xdirection, ydirection). + %feature("autodoc", "Performs the symmetrical transformation of a cone with respect to a plane. the axis placement thea2 locates the plane of the of the symmetry : (location, xdirection, ydirection). Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- gp_Cone ") Mirrored; - gp_Cone Mirrored(const gp_Ax2 & A2); + gp_Cone Mirrored(const gp_Ax2 & theA2); /****************** Position ******************/ - /**** md5 signature: 68613464f15b3681020927244b13614a ****/ + /**** md5 signature: c702d3a208cf0124b56544ef1f5c6ae7 ****/ %feature("compactdefaultargs") Position; %feature("autodoc", "Returns the local coordinates system of the cone. @@ -4013,7 +4017,7 @@ gp_Ax3 const gp_Ax3 Position(); /****************** RefRadius ******************/ - /**** md5 signature: c2dd1bdf66e360705fa187fafdaf00a1 ****/ + /**** md5 signature: 7c760bbba04ecba04bee3f9befd3d472 ****/ %feature("compactdefaultargs") RefRadius; %feature("autodoc", "Returns the radius of the cone in the reference plane. @@ -4024,71 +4028,71 @@ float Standard_Real RefRadius(); /****************** Rotate ******************/ - /**** md5 signature: 12c4967f27a0900e4176252164d2f2ce ****/ + /**** md5 signature: 424ab82daf880655bff8da4ef682e64b ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Ax1 & A1, const Standard_Real Ang); + void Rotate(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: a48230d8440101f7bfabc3a76c343089 ****/ + /**** md5 signature: 18c02f2c6bb85f857eb307865ca7a3d4 ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates a cone. a1 is the axis of the rotation. ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates a cone. thea1 is the axis of the rotation. ang is the angular value of the rotation in radians. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- gp_Cone ") Rotated; - gp_Cone Rotated(const gp_Ax1 & A1, const Standard_Real Ang); + gp_Cone Rotated(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: e66fc526c4232f21fb4238a81292d522 ****/ + /**** md5 signature: a931b3c1f3cc70761b0f4bcbe2fc2ef0 ****/ %feature("compactdefaultargs") Scale; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- None ") Scale; - void Scale(const gp_Pnt & P, const Standard_Real S); + void Scale(const gp_Pnt & theP, const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: 7aa4fe42661bd5c1029f2e4f76595017 ****/ + /**** md5 signature: ded95bf35e2eb0d348dd042d271e0482 ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Scales a cone. s is the scaling value. the absolute value of s is used to scale the cone. + %feature("autodoc", "Scales a cone. thes is the scaling value. the absolute value of thes is used to scale the cone. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- gp_Cone ") Scaled; - gp_Cone Scaled(const gp_Pnt & P, const Standard_Real S); + gp_Cone Scaled(const gp_Pnt & theP, const Standard_Real theS); /****************** SemiAngle ******************/ - /**** md5 signature: a49ed9cc6318be7aa50219450c80bb02 ****/ + /**** md5 signature: b90df3237e3eb63a39e33c25e40f20e9 ****/ %feature("compactdefaultargs") SemiAngle; %feature("autodoc", "Returns the half-angle at the apex of this cone. attention! semi-angle can be negative. @@ -4099,174 +4103,174 @@ float Standard_Real SemiAngle(); /****************** SetAxis ******************/ - /**** md5 signature: 4f1ae44e92ff7b1da601b2ca71a3a58a ****/ + /**** md5 signature: 23e0b01de6336ec5c57ea6909e327d35 ****/ %feature("compactdefaultargs") SetAxis; - %feature("autodoc", "Changes the symmetry axis of the cone. raises constructionerror the direction of a1 is parallel to the 'xdirection' of the coordinate system of the cone. + %feature("autodoc", "Changes the symmetry axis of the cone. raises constructionerror the direction of thea1 is parallel to the 'xdirection' of the coordinate system of the cone. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") SetAxis; - void SetAxis(const gp_Ax1 & A1); + void SetAxis(const gp_Ax1 & theA1); /****************** SetLocation ******************/ - /**** md5 signature: e697bd81202b5a89ce79ee03acd13d7c ****/ + /**** md5 signature: 549208ae587d601427fb98d16d4de1b7 ****/ %feature("compactdefaultargs") SetLocation; %feature("autodoc", "Changes the location of the cone. Parameters ---------- -Loc: gp_Pnt +theLoc: gp_Pnt Returns ------- None ") SetLocation; - void SetLocation(const gp_Pnt & Loc); + void SetLocation(const gp_Pnt & theLoc); /****************** SetPosition ******************/ - /**** md5 signature: a135fc8d2ccb75941a304eed1c57e31d ****/ + /**** md5 signature: c788767c1fc0ca73bdf3541037626780 ****/ %feature("compactdefaultargs") SetPosition; %feature("autodoc", "Changes the local coordinate system of the cone. this coordinate system defines the reference plane of the cone. Parameters ---------- -A3: gp_Ax3 +theA3: gp_Ax3 Returns ------- None ") SetPosition; - void SetPosition(const gp_Ax3 & A3); + void SetPosition(const gp_Ax3 & theA3); /****************** SetRadius ******************/ - /**** md5 signature: 452d48523583bd00e647880614077dd6 ****/ + /**** md5 signature: be4d106826d464b8bee7d31497e6c4fa ****/ %feature("compactdefaultargs") SetRadius; - %feature("autodoc", "Changes the radius of the cone in the reference plane of the cone. raised if r < 0.0. + %feature("autodoc", "Changes the radius of the cone in the reference plane of the cone. raised if ther < 0.0. Parameters ---------- -R: float +theR: float Returns ------- None ") SetRadius; - void SetRadius(const Standard_Real R); + void SetRadius(const Standard_Real theR); /****************** SetSemiAngle ******************/ - /**** md5 signature: 36b463d2613106dd0747eaeb6783e4fc ****/ + /**** md5 signature: 7e6b2e1ab39586e091cc91fcaa278add ****/ %feature("compactdefaultargs") SetSemiAngle; - %feature("autodoc", "Changes the semi-angle of the cone. semi-angle can be negative. its absolute value abs(ang) is in range ]0,pi/2[. raises constructionerror if abs(ang) < resolution from gp or abs(ang) >= pi/2 - resolution. + %feature("autodoc", "Changes the semi-angle of the cone. semi-angle can be negative. its absolute value abs(theang) is in range ]0,pi/2[. raises constructionerror if abs(theang) < resolution from gp or abs(theang) >= pi/2 - resolution. Parameters ---------- -Ang: float +theAng: float Returns ------- None ") SetSemiAngle; - void SetSemiAngle(const Standard_Real Ang); + void SetSemiAngle(const Standard_Real theAng); /****************** Transform ******************/ - /**** md5 signature: 45ee6a37cbc92ff06bd17b5653f32913 ****/ + /**** md5 signature: 0737a7286be728220e1a55ba0d6eafc3 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") Transform; - void Transform(const gp_Trsf & T); + void Transform(const gp_Trsf & theT); /****************** Transformed ******************/ - /**** md5 signature: 8863d292c7762d4a369a01450dcad0a0 ****/ + /**** md5 signature: a28c96c0fbd26a3345e156db03a9a7d2 ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms a cone with the transformation t from class trsf. + %feature("autodoc", "Transforms a cone with the transformation thet from class trsf. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- gp_Cone ") Transformed; - gp_Cone Transformed(const gp_Trsf & T); + gp_Cone Transformed(const gp_Trsf & theT); /****************** Translate ******************/ - /**** md5 signature: b3667af07c9a238180bc31cc15803f78 ****/ + /**** md5 signature: 0187bd9a09d9b334477a40e96047e03a ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- None ") Translate; - void Translate(const gp_Vec & V); + void Translate(const gp_Vec & theV); /****************** Translate ******************/ - /**** md5 signature: 5053222ade9605c7c37102310f06f2e8 ****/ + /**** md5 signature: cde9f9ebda90da2c1df1a27191e7ab81 ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- None ") Translate; - void Translate(const gp_Pnt & P1, const gp_Pnt & P2); + void Translate(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** Translated ******************/ - /**** md5 signature: fc1abd3ea5f4af39706968892a3f41c1 ****/ + /**** md5 signature: b640628e0df004294e8da330dd44eb12 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a cone in the direction of the vector v. the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "Translates a cone in the direction of the vector thev. the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- gp_Cone ") Translated; - gp_Cone Translated(const gp_Vec & V); + gp_Cone Translated(const gp_Vec & theV); /****************** Translated ******************/ - /**** md5 signature: 245cf94df35a0cdd5764393862fc57a7 ****/ + /**** md5 signature: e24f6e660c03450062ef9dd35bfdaea5 ****/ %feature("compactdefaultargs") Translated; %feature("autodoc", "Translates a cone from the point p1 to the point p2. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- gp_Cone ") Translated; - gp_Cone Translated(const gp_Pnt & P1, const gp_Pnt & P2); + gp_Cone Translated(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** UReverse ******************/ - /**** md5 signature: abf35d5ee439e7b6d5054caae87282cf ****/ + /**** md5 signature: b0197b2ee987c6cd2138becb024e1db6 ****/ %feature("compactdefaultargs") UReverse; %feature("autodoc", "Reverses the u parametrization of the cone reversing the yaxis. @@ -4277,7 +4281,7 @@ None void UReverse(); /****************** VReverse ******************/ - /**** md5 signature: 01a05d129bc344a1e2870352e479923d ****/ + /**** md5 signature: 4d0389515240266be0c86e204c81b7a9 ****/ %feature("compactdefaultargs") VReverse; %feature("autodoc", "Reverses the v parametrization of the cone reversing the zaxis. @@ -4288,7 +4292,7 @@ None void VReverse(); /****************** XAxis ******************/ - /**** md5 signature: 33f98d138ae3ce92d202330aa4ae814d ****/ + /**** md5 signature: 900acbd3949b81ee383c3b457e95c597 ****/ %feature("compactdefaultargs") XAxis; %feature("autodoc", "Returns the xaxis of the reference plane. @@ -4299,7 +4303,7 @@ gp_Ax1 gp_Ax1 XAxis(); /****************** YAxis ******************/ - /**** md5 signature: b471d966aca0b452073c5d55f8f5e027 ****/ + /**** md5 signature: 8db99d563f8cc2fa33e80ece09869c5c ****/ %feature("compactdefaultargs") YAxis; %feature("autodoc", "Returns the yaxis of the reference plane. @@ -4324,7 +4328,7 @@ gp_Ax1 class gp_Cylinder { public: /****************** gp_Cylinder ******************/ - /**** md5 signature: 406430509bd2ac08dfd8c6361beeda1e ****/ + /**** md5 signature: 8f1b607b62f4244dcadf7da8ee8a2e7b ****/ %feature("compactdefaultargs") gp_Cylinder; %feature("autodoc", "Creates a indefinite cylinder. @@ -4335,23 +4339,23 @@ None gp_Cylinder(); /****************** gp_Cylinder ******************/ - /**** md5 signature: 053d36b95d2130f39b7829af0fa80cb6 ****/ + /**** md5 signature: 3f1d461b918ce280d6f9acdf73d030ac ****/ %feature("compactdefaultargs") gp_Cylinder; - %feature("autodoc", "Creates a cylinder of radius radius, whose axis is the 'main axis' of a3. a3 is the local coordinate system of the cylinder. raises constructionerrord if r < 0.0. + %feature("autodoc", "Creates a cylinder of radius radius, whose axis is the 'main axis' of thea3. thea3 is the local coordinate system of the cylinder. raises constructionerrord if theradius < 0.0. Parameters ---------- -A3: gp_Ax3 -Radius: float +theA3: gp_Ax3 +theRadius: float Returns ------- None ") gp_Cylinder; - gp_Cylinder(const gp_Ax3 & A3, const Standard_Real Radius); + gp_Cylinder(const gp_Ax3 & theA3, const Standard_Real theRadius); /****************** Axis ******************/ - /**** md5 signature: cb9b52ff887b682f8bfc1eb2f646705a ****/ + /**** md5 signature: 8e27675ecbe6e648730266788c8e255c ****/ %feature("compactdefaultargs") Axis; %feature("autodoc", "Returns the symmetry axis of the cylinder. @@ -4362,30 +4366,30 @@ gp_Ax1 const gp_Ax1 Axis(); /****************** Coefficients ******************/ - /**** md5 signature: 922ffb066c913dfb924eafd175a6358f ****/ + /**** md5 signature: d2a72c55029fd5590f0555c1570db109 ****/ %feature("compactdefaultargs") Coefficients; - %feature("autodoc", "Computes the coefficients of the implicit equation of the quadric in the absolute cartesian coordinate system : a1.x**2 + a2.y**2 + a3.z**2 + 2.(b1.x.y + b2.x.z + b3.y.z) + 2.(c1.x + c2.y + c3.z) + d = 0.0. + %feature("autodoc", "Computes the coefficients of the implicit equation of the quadric in the absolute cartesian coordinate system : thea1.x**2 + thea2.y**2 + thea3.z**2 + 2.(theb1.x.y + theb2.x.z + theb3.y.z) + 2.(thec1.x + thec2.y + thec3.z) + thed = 0.0. Parameters ---------- Returns ------- -A1: float -A2: float -A3: float -B1: float -B2: float -B3: float -C1: float -C2: float -C3: float -D: float +theA1: float +theA2: float +theA3: float +theB1: float +theB2: float +theB3: float +theC1: float +theC2: float +theC3: float +theD: float ") Coefficients; void Coefficients(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); /****************** Direct ******************/ - /**** md5 signature: 33e4e96f61de8e23c989d6f9aec7d457 ****/ + /**** md5 signature: 2c90be540a5bf9418e7461f7f76c970a ****/ %feature("compactdefaultargs") Direct; %feature("autodoc", "Returns true if the local coordinate system of this cylinder is right-handed. @@ -4396,7 +4400,7 @@ bool Standard_Boolean Direct(); /****************** Location ******************/ - /**** md5 signature: 42040ad2ed401b7e80bf90e4b6b5f418 ****/ + /**** md5 signature: becd3d5ba73b438c501a139df51b6b7f ****/ %feature("compactdefaultargs") Location; %feature("autodoc", "Returns the 'location' point of the cylinder. @@ -4407,97 +4411,97 @@ gp_Pnt const gp_Pnt Location(); /****************** Mirror ******************/ - /**** md5 signature: b133f2e6e1c74f672a216a0094bdfda6 ****/ + /**** md5 signature: 095878518b088b42d55c3da09f68a84c ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") Mirror; - void Mirror(const gp_Pnt & P); + void Mirror(const gp_Pnt & theP); /****************** Mirror ******************/ - /**** md5 signature: d1a0189a98d756bd9e5b51b4ae49992a ****/ + /**** md5 signature: cfb16cae08525c5f4ab330102e0377d4 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") Mirror; - void Mirror(const gp_Ax1 & A1); + void Mirror(const gp_Ax1 & theA1); /****************** Mirror ******************/ - /**** md5 signature: 874cde0169043be133e205e960c3ca57 ****/ + /**** md5 signature: ad34943401a2334beed8ccc79094d8df ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") Mirror; - void Mirror(const gp_Ax2 & A2); + void Mirror(const gp_Ax2 & theA2); /****************** Mirrored ******************/ - /**** md5 signature: de3a6dbb82960a2d9ca50f4922c94a9e ****/ + /**** md5 signature: b3b8bcc8e52427f3840236aeb22c44d9 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a cylinder with respect to the point p which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of a cylinder with respect to the point thep which is the center of the symmetry. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- gp_Cylinder ") Mirrored; - gp_Cylinder Mirrored(const gp_Pnt & P); + gp_Cylinder Mirrored(const gp_Pnt & theP); /****************** Mirrored ******************/ - /**** md5 signature: d363f488a293489f62fd6b6a17c627a7 ****/ + /**** md5 signature: aa220f6db82262db8dbcaf4ed3251d82 ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a cylinder with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- gp_Cylinder ") Mirrored; - gp_Cylinder Mirrored(const gp_Ax1 & A1); + gp_Cylinder Mirrored(const gp_Ax1 & theA1); /****************** Mirrored ******************/ - /**** md5 signature: 90381b8362fef1a6c62e7c2314d42d90 ****/ + /**** md5 signature: 772db048eb0ab1d9aa42de45967d7865 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a cylinder with respect to a plane. the axis placement a2 locates the plane of the of the symmetry : (location, xdirection, ydirection). + %feature("autodoc", "Performs the symmetrical transformation of a cylinder with respect to a plane. the axis placement thea2 locates the plane of the of the symmetry : (location, xdirection, ydirection). Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- gp_Cylinder ") Mirrored; - gp_Cylinder Mirrored(const gp_Ax2 & A2); + gp_Cylinder Mirrored(const gp_Ax2 & theA2); /****************** Position ******************/ - /**** md5 signature: 68613464f15b3681020927244b13614a ****/ + /**** md5 signature: c702d3a208cf0124b56544ef1f5c6ae7 ****/ %feature("compactdefaultargs") Position; %feature("autodoc", "Returns the local coordinate system of the cylinder. @@ -4508,7 +4512,7 @@ gp_Ax3 const gp_Ax3 Position(); /****************** Radius ******************/ - /**** md5 signature: 506a8dc1140a54bd4146c24bb5357fbf ****/ + /**** md5 signature: e995997e31f334f223fb359fc7382a66 ****/ %feature("compactdefaultargs") Radius; %feature("autodoc", "Returns the radius of the cylinder. @@ -4519,223 +4523,223 @@ float Standard_Real Radius(); /****************** Rotate ******************/ - /**** md5 signature: 12c4967f27a0900e4176252164d2f2ce ****/ + /**** md5 signature: 424ab82daf880655bff8da4ef682e64b ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Ax1 & A1, const Standard_Real Ang); + void Rotate(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: 67c373e30b51f6ff2ca307d0f140d00c ****/ + /**** md5 signature: 77a62e39043ccbf7a6eaf6f0a1d67a2d ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates a cylinder. a1 is the axis of the rotation. ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates a cylinder. thea1 is the axis of the rotation. theang is the angular value of the rotation in radians. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- gp_Cylinder ") Rotated; - gp_Cylinder Rotated(const gp_Ax1 & A1, const Standard_Real Ang); + gp_Cylinder Rotated(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: e66fc526c4232f21fb4238a81292d522 ****/ + /**** md5 signature: a931b3c1f3cc70761b0f4bcbe2fc2ef0 ****/ %feature("compactdefaultargs") Scale; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- None ") Scale; - void Scale(const gp_Pnt & P, const Standard_Real S); + void Scale(const gp_Pnt & theP, const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: 8883de195f1ad83a4a1952204f4d10b7 ****/ + /**** md5 signature: 60e4667e42fa586095855a01ec38e3a4 ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Scales a cylinder. s is the scaling value. the absolute value of s is used to scale the cylinder. + %feature("autodoc", "Scales a cylinder. thes is the scaling value. the absolute value of thes is used to scale the cylinder. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- gp_Cylinder ") Scaled; - gp_Cylinder Scaled(const gp_Pnt & P, const Standard_Real S); + gp_Cylinder Scaled(const gp_Pnt & theP, const Standard_Real theS); /****************** SetAxis ******************/ - /**** md5 signature: 4f1ae44e92ff7b1da601b2ca71a3a58a ****/ + /**** md5 signature: 23e0b01de6336ec5c57ea6909e327d35 ****/ %feature("compactdefaultargs") SetAxis; - %feature("autodoc", "Changes the symmetry axis of the cylinder. raises constructionerror if the direction of a1 is parallel to the 'xdirection' of the coordinate system of the cylinder. + %feature("autodoc", "Changes the symmetry axis of the cylinder. raises constructionerror if the direction of thea1 is parallel to the 'xdirection' of the coordinate system of the cylinder. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") SetAxis; - void SetAxis(const gp_Ax1 & A1); + void SetAxis(const gp_Ax1 & theA1); /****************** SetLocation ******************/ - /**** md5 signature: e697bd81202b5a89ce79ee03acd13d7c ****/ + /**** md5 signature: 549208ae587d601427fb98d16d4de1b7 ****/ %feature("compactdefaultargs") SetLocation; %feature("autodoc", "Changes the location of the surface. Parameters ---------- -Loc: gp_Pnt +theLoc: gp_Pnt Returns ------- None ") SetLocation; - void SetLocation(const gp_Pnt & Loc); + void SetLocation(const gp_Pnt & theLoc); /****************** SetPosition ******************/ - /**** md5 signature: a135fc8d2ccb75941a304eed1c57e31d ****/ + /**** md5 signature: c788767c1fc0ca73bdf3541037626780 ****/ %feature("compactdefaultargs") SetPosition; %feature("autodoc", "Change the local coordinate system of the surface. Parameters ---------- -A3: gp_Ax3 +theA3: gp_Ax3 Returns ------- None ") SetPosition; - void SetPosition(const gp_Ax3 & A3); + void SetPosition(const gp_Ax3 & theA3); /****************** SetRadius ******************/ - /**** md5 signature: 452d48523583bd00e647880614077dd6 ****/ + /**** md5 signature: be4d106826d464b8bee7d31497e6c4fa ****/ %feature("compactdefaultargs") SetRadius; - %feature("autodoc", "Modifies the radius of this cylinder. exceptions standard_constructionerror if r is negative. + %feature("autodoc", "Modifies the radius of this cylinder. exceptions standard_constructionerror if ther is negative. Parameters ---------- -R: float +theR: float Returns ------- None ") SetRadius; - void SetRadius(const Standard_Real R); + void SetRadius(const Standard_Real theR); /****************** Transform ******************/ - /**** md5 signature: 45ee6a37cbc92ff06bd17b5653f32913 ****/ + /**** md5 signature: 0737a7286be728220e1a55ba0d6eafc3 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") Transform; - void Transform(const gp_Trsf & T); + void Transform(const gp_Trsf & theT); /****************** Transformed ******************/ - /**** md5 signature: af4587d9cbf6fe0bbd45826d0d926adf ****/ + /**** md5 signature: ce75d4fe0235f160e5dd4ce49f738d90 ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms a cylinder with the transformation t from class trsf. + %feature("autodoc", "Transforms a cylinder with the transformation thet from class trsf. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- gp_Cylinder ") Transformed; - gp_Cylinder Transformed(const gp_Trsf & T); + gp_Cylinder Transformed(const gp_Trsf & theT); /****************** Translate ******************/ - /**** md5 signature: b3667af07c9a238180bc31cc15803f78 ****/ + /**** md5 signature: 0187bd9a09d9b334477a40e96047e03a ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- None ") Translate; - void Translate(const gp_Vec & V); + void Translate(const gp_Vec & theV); /****************** Translate ******************/ - /**** md5 signature: 5053222ade9605c7c37102310f06f2e8 ****/ + /**** md5 signature: cde9f9ebda90da2c1df1a27191e7ab81 ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- None ") Translate; - void Translate(const gp_Pnt & P1, const gp_Pnt & P2); + void Translate(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** Translated ******************/ - /**** md5 signature: b959c170b2d47bada51d1679cb9e9fec ****/ + /**** md5 signature: 585dd25d02ec5ab603fd709d73f1a7e3 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a cylinder in the direction of the vector v. the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "Translates a cylinder in the direction of the vector thev. the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- gp_Cylinder ") Translated; - gp_Cylinder Translated(const gp_Vec & V); + gp_Cylinder Translated(const gp_Vec & theV); /****************** Translated ******************/ - /**** md5 signature: 7fbc18ac7e9734baa3ea12f54b9b2a34 ****/ + /**** md5 signature: af59955cb26a3edcf60dd5d7c873cd2f ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a cylinder from the point p1 to the point p2. + %feature("autodoc", "Translates a cylinder from the point thep1 to the point thep2. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- gp_Cylinder ") Translated; - gp_Cylinder Translated(const gp_Pnt & P1, const gp_Pnt & P2); + gp_Cylinder Translated(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** UReverse ******************/ - /**** md5 signature: abf35d5ee439e7b6d5054caae87282cf ****/ + /**** md5 signature: b0197b2ee987c6cd2138becb024e1db6 ****/ %feature("compactdefaultargs") UReverse; %feature("autodoc", "Reverses the u parametrization of the cylinder reversing the yaxis. @@ -4746,7 +4750,7 @@ None void UReverse(); /****************** VReverse ******************/ - /**** md5 signature: 01a05d129bc344a1e2870352e479923d ****/ + /**** md5 signature: 4d0389515240266be0c86e204c81b7a9 ****/ %feature("compactdefaultargs") VReverse; %feature("autodoc", "Reverses the v parametrization of the plane reversing the axis. @@ -4757,7 +4761,7 @@ None void VReverse(); /****************** XAxis ******************/ - /**** md5 signature: 33f98d138ae3ce92d202330aa4ae814d ****/ + /**** md5 signature: 900acbd3949b81ee383c3b457e95c597 ****/ %feature("compactdefaultargs") XAxis; %feature("autodoc", "Returns the axis x of the cylinder. @@ -4768,7 +4772,7 @@ gp_Ax1 gp_Ax1 XAxis(); /****************** YAxis ******************/ - /**** md5 signature: b471d966aca0b452073c5d55f8f5e027 ****/ + /**** md5 signature: 8db99d563f8cc2fa33e80ece09869c5c ****/ %feature("compactdefaultargs") YAxis; %feature("autodoc", "Returns the axis y of the cylinder. @@ -4793,7 +4797,7 @@ gp_Ax1 class gp_Dir { public: /****************** gp_Dir ******************/ - /**** md5 signature: d0e68d6b98abb3008f385f57f7ddadba ****/ + /**** md5 signature: 1edbf324978bb50abc26edeb4b49cdba ****/ %feature("compactdefaultargs") gp_Dir; %feature("autodoc", "Creates a direction corresponding to x axis. @@ -4804,206 +4808,206 @@ None gp_Dir(); /****************** gp_Dir ******************/ - /**** md5 signature: 5c1d59ab1447d0abe495931655ab99e9 ****/ + /**** md5 signature: 21a714861e74ba99163abb85e249cce5 ****/ %feature("compactdefaultargs") gp_Dir; - %feature("autodoc", "Normalizes the vector v and creates a direction. raises constructionerror if v.magnitude() <= resolution. + %feature("autodoc", "Normalizes the vector thev and creates a direction. raises constructionerror if thev.magnitude() <= resolution. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- None ") gp_Dir; - gp_Dir(const gp_Vec & V); + gp_Dir(const gp_Vec & theV); /****************** gp_Dir ******************/ - /**** md5 signature: 5abc88f8173aab8316c9a76958048160 ****/ + /**** md5 signature: 56ce350128f2f593f7d9a56b5a2e9b43 ****/ %feature("compactdefaultargs") gp_Dir; - %feature("autodoc", "Creates a direction from a triplet of coordinates. raises constructionerror if coord.modulus() <= resolution from gp. + %feature("autodoc", "Creates a direction from a triplet of coordinates. raises constructionerror if thecoord.modulus() <= resolution from gp. Parameters ---------- -Coord: gp_XYZ +theCoord: gp_XYZ Returns ------- None ") gp_Dir; - gp_Dir(const gp_XYZ & Coord); + gp_Dir(const gp_XYZ & theCoord); /****************** gp_Dir ******************/ - /**** md5 signature: c4d3d086c0c3ebe59e0febe0eabb5e89 ****/ + /**** md5 signature: 202c475186ed9c8701fb5dc0fd25df4c ****/ %feature("compactdefaultargs") gp_Dir; - %feature("autodoc", "Creates a direction with its 3 cartesian coordinates. raises constructionerror if sqrt(xv*xv + yv*yv + zv*zv) <= resolution modification of the direction's coordinates if sqrt (x*x + y*y + z*z) <= resolution from gp where x, y ,z are the new coordinates it is not possible to construct the direction and the method raises the exception constructionerror. + %feature("autodoc", "Creates a direction with its 3 cartesian coordinates. raises constructionerror if sqrt(thexv*thexv + theyv*theyv + thezv*thezv) <= resolution modification of the direction's coordinates if sqrt (thexv*thexv + theyv*theyv + thezv*thezv) <= resolution from gp where thexv, theyv ,thezv are the new coordinates it is not possible to construct the direction and the method raises the exception constructionerror. Parameters ---------- -Xv: float -Yv: float -Zv: float +theXv: float +theYv: float +theZv: float Returns ------- None ") gp_Dir; - gp_Dir(const Standard_Real Xv, const Standard_Real Yv, const Standard_Real Zv); + gp_Dir(const Standard_Real theXv, const Standard_Real theYv, const Standard_Real theZv); /****************** Angle ******************/ - /**** md5 signature: 6ed05f0efdf7135200b38e7a7495867a ****/ + /**** md5 signature: 3dfd4b61ad4ff6bee13db5f96bd876fa ****/ %feature("compactdefaultargs") Angle; - %feature("autodoc", "Computes the angular value in radians between and . this value is always positive in 3d space. returns the angle in the range [0, pi]. + %feature("autodoc", "Computes the angular value in radians between and . this value is always positive in 3d space. returns the angle in the range [0, pi]. Parameters ---------- -Other: gp_Dir +theOther: gp_Dir Returns ------- float ") Angle; - Standard_Real Angle(const gp_Dir & Other); + Standard_Real Angle(const gp_Dir & theOther); /****************** AngleWithRef ******************/ - /**** md5 signature: 6149e19647e569ca678d4f40c4fc45d9 ****/ + /**** md5 signature: 896d291c18b5687fde595bb723dd4f8c ****/ %feature("compactdefaultargs") AngleWithRef; - %feature("autodoc", "Computes the angular value between and . is the direction of reference normal to and and its orientation gives the positive sense of rotation. if the cross product ^ has the same orientation as the angular value is positive else negative. returns the angular value in the range -pi and pi (in radians). raises domainerror if and are not parallel this exception is raised when is in the same plane as and the tolerance criterion is resolution from package gp. + %feature("autodoc", "Computes the angular value between and . is the direction of reference normal to and and its orientation gives the positive sense of rotation. if the cross product ^ has the same orientation as the angular value is positive else negative. returns the angular value in the range -pi and pi (in radians). raises domainerror if and are not parallel this exception is raised when is in the same plane as and the tolerance criterion is resolution from package gp. Parameters ---------- -Other: gp_Dir -VRef: gp_Dir +theOther: gp_Dir +theVRef: gp_Dir Returns ------- float ") AngleWithRef; - Standard_Real AngleWithRef(const gp_Dir & Other, const gp_Dir & VRef); + Standard_Real AngleWithRef(const gp_Dir & theOther, const gp_Dir & theVRef); /****************** Coord ******************/ - /**** md5 signature: 615686a863135af4177d92a1b696f909 ****/ + /**** md5 signature: 8be7c51c8cc2bc59521f97740b0be5d2 ****/ %feature("compactdefaultargs") Coord; - %feature("autodoc", "Returns the coordinate of range index : index = 1 => x is returned index = 2 => y is returned index = 3 => z is returned exceptions standard_outofrange if index is not 1, 2, or 3. + %feature("autodoc", "Returns the coordinate of range theindex : theindex = 1 => x is returned ithendex = 2 => y is returned theindex = 3 => z is returned exceptions standard_outofrange if theindex is not 1, 2, or 3. Parameters ---------- -Index: int +theIndex: int Returns ------- float ") Coord; - Standard_Real Coord(const Standard_Integer Index); + Standard_Real Coord(const Standard_Integer theIndex); /****************** Coord ******************/ - /**** md5 signature: c21dee938f2596ca1071e28c84295612 ****/ + /**** md5 signature: 8826aee800a33929cf4796869323f263 ****/ %feature("compactdefaultargs") Coord; - %feature("autodoc", "Returns for the unit vector its three coordinates xv, yv, and zv. + %feature("autodoc", "Returns for the unit vector its three coordinates thexv, theyv, and thezv. Parameters ---------- Returns ------- -Xv: float -Yv: float -Zv: float +theXv: float +theYv: float +theZv: float ") Coord; void Coord(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); /****************** Cross ******************/ - /**** md5 signature: a12b2ab97fcf5b89f967f68126efa9d5 ****/ + /**** md5 signature: 2b8aefee587854039c24451b2abf8fa4 ****/ %feature("compactdefaultargs") Cross; %feature("autodoc", "Computes the cross product between two directions raises the exception constructionerror if the two directions are parallel because the computed vector cannot be normalized to create a direction. Parameters ---------- -Right: gp_Dir +theRight: gp_Dir Returns ------- None ") Cross; - void Cross(const gp_Dir & Right); + void Cross(const gp_Dir & theRight); /****************** CrossCross ******************/ - /**** md5 signature: 54d74dc624fb3d754a9e98dea0b915e7 ****/ + /**** md5 signature: f6b6a9d2311fc43840795c9682393185 ****/ %feature("compactdefaultargs") CrossCross; %feature("autodoc", "No available documentation. Parameters ---------- -V1: gp_Dir -V2: gp_Dir +theV1: gp_Dir +theV2: gp_Dir Returns ------- None ") CrossCross; - void CrossCross(const gp_Dir & V1, const gp_Dir & V2); + void CrossCross(const gp_Dir & theV1, const gp_Dir & theV2); /****************** CrossCrossed ******************/ - /**** md5 signature: 57b300d66eb8301cfdbba326bdf8e188 ****/ + /**** md5 signature: 88aa8ae5ddc2c28e4915705a64f79263 ****/ %feature("compactdefaultargs") CrossCrossed; - %feature("autodoc", "Computes the double vector product this ^ (v1 ^ v2). - crosscrossed creates a new unit vector. exceptions standard_constructionerror if: - v1 and v2 are parallel, or - this unit vector and (v1 ^ v2) are parallel. this is because, in these conditions, the computed vector is null and cannot be normalized. + %feature("autodoc", "Computes the double vector product this ^ (thev1 ^ thev2). - crosscrossed creates a new unit vector. exceptions standard_constructionerror if: - thev1 and thev2 are parallel, or - this unit vector and (thev1 ^ thev2) are parallel. this is because, in these conditions, the computed vector is null and cannot be normalized. Parameters ---------- -V1: gp_Dir -V2: gp_Dir +theV1: gp_Dir +theV2: gp_Dir Returns ------- gp_Dir ") CrossCrossed; - gp_Dir CrossCrossed(const gp_Dir & V1, const gp_Dir & V2); + gp_Dir CrossCrossed(const gp_Dir & theV1, const gp_Dir & theV2); /****************** Crossed ******************/ - /**** md5 signature: eb1b18256522e0fdbea2d977184c73a8 ****/ + /**** md5 signature: 710977198ee7ef82dc6f345ad770e0b3 ****/ %feature("compactdefaultargs") Crossed; %feature("autodoc", "Computes the triple vector product. ^ (v1 ^ v2) raises the exception constructionerror if v1 and v2 are parallel or and (v1^v2) are parallel because the computed vector can't be normalized to create a direction. Parameters ---------- -Right: gp_Dir +theRight: gp_Dir Returns ------- gp_Dir ") Crossed; - gp_Dir Crossed(const gp_Dir & Right); + gp_Dir Crossed(const gp_Dir & theRight); /****************** Dot ******************/ - /**** md5 signature: 949cea512e7eb7015cff944f885ef39e ****/ + /**** md5 signature: a9634ba44292ef8c97d6b4f09f82b7c8 ****/ %feature("compactdefaultargs") Dot; %feature("autodoc", "Computes the scalar product. Parameters ---------- -Other: gp_Dir +theOther: gp_Dir Returns ------- float ") Dot; - Standard_Real Dot(const gp_Dir & Other); + Standard_Real Dot(const gp_Dir & theOther); /****************** DotCross ******************/ - /**** md5 signature: 4ea8ae53d7223d1ccc1a2f694009a306 ****/ + /**** md5 signature: 0f679ac2a7ff5b2252b6fa4ae496b723 ****/ %feature("compactdefaultargs") DotCross; - %feature("autodoc", "Computes the triple scalar product * (v1 ^ v2). warnings : the computed vector v1' = v1 ^ v2 is not normalized to create a unitary vector. so this method never raises an exception even if v1 and v2 are parallel. + %feature("autodoc", "Computes the triple scalar product * (thev1 ^ thev2). warnings : the computed vector thev1' = thev1 ^ thev2 is not normalized to create a unitary vector. so this method never raises an exception even if thev1 and thev2 are parallel. Parameters ---------- -V1: gp_Dir -V2: gp_Dir +theV1: gp_Dir +theV2: gp_Dir Returns ------- float ") DotCross; - Standard_Real DotCross(const gp_Dir & V1, const gp_Dir & V2); + Standard_Real DotCross(const gp_Dir & theV1, const gp_Dir & theV2); %feature("autodoc", "1"); @@ -5029,161 +5033,161 @@ theStreamPos: int Standard_Boolean InitFromJson(const Standard_SStream & theSStream, Standard_Integer &OutValue); /****************** IsEqual ******************/ - /**** md5 signature: 9bd10523f960cee618dbe142c29feac0 ****/ + /**** md5 signature: 53cc72d7d7a896d7782050052620e1b5 ****/ %feature("compactdefaultargs") IsEqual; - %feature("autodoc", "Returns true if the angle between the two directions is lower or equal to angulartolerance. + %feature("autodoc", "Returns true if the angle between the two directions is lower or equal to theangulartolerance. Parameters ---------- -Other: gp_Dir -AngularTolerance: float +theOther: gp_Dir +theAngularTolerance: float Returns ------- bool ") IsEqual; - Standard_Boolean IsEqual(const gp_Dir & Other, const Standard_Real AngularTolerance); + Standard_Boolean IsEqual(const gp_Dir & theOther, const Standard_Real theAngularTolerance); /****************** IsNormal ******************/ - /**** md5 signature: 7bd7f951751c87cc7d3cb0a585ee2d01 ****/ + /**** md5 signature: 80f33349d6b58dd4c8e5bcbc811ebab0 ****/ %feature("compactdefaultargs") IsNormal; - %feature("autodoc", "Returns true if the angle between this unit vector and the unit vector other is equal to pi/2 (normal). + %feature("autodoc", "Returns true if the angle between this unit vector and the unit vector theother is equal to pi/2 (normal). Parameters ---------- -Other: gp_Dir -AngularTolerance: float +theOther: gp_Dir +theAngularTolerance: float Returns ------- bool ") IsNormal; - Standard_Boolean IsNormal(const gp_Dir & Other, const Standard_Real AngularTolerance); + Standard_Boolean IsNormal(const gp_Dir & theOther, const Standard_Real theAngularTolerance); /****************** IsOpposite ******************/ - /**** md5 signature: ea2cc39f7205d0c8581d915c4fb32056 ****/ + /**** md5 signature: 755bfacd29e561350dc3c5bef35e03c2 ****/ %feature("compactdefaultargs") IsOpposite; - %feature("autodoc", "Returns true if the angle between this unit vector and the unit vector other is equal to pi (opposite). + %feature("autodoc", "Returns true if the angle between this unit vector and the unit vector theother is equal to pi (opposite). Parameters ---------- -Other: gp_Dir -AngularTolerance: float +theOther: gp_Dir +theAngularTolerance: float Returns ------- bool ") IsOpposite; - Standard_Boolean IsOpposite(const gp_Dir & Other, const Standard_Real AngularTolerance); + Standard_Boolean IsOpposite(const gp_Dir & theOther, const Standard_Real theAngularTolerance); /****************** IsParallel ******************/ - /**** md5 signature: 067e7e6f5aa5f47ec960ca5bd0432cda ****/ + /**** md5 signature: 62de0b2d68bf3207fc745e91ead9c912 ****/ %feature("compactdefaultargs") IsParallel; - %feature("autodoc", "Returns true if the angle between this unit vector and the unit vector other is equal to 0 or to pi. note: the tolerance criterion is given by angulartolerance. + %feature("autodoc", "Returns true if the angle between this unit vector and the unit vector theother is equal to 0 or to pi. note: the tolerance criterion is given by theangulartolerance. Parameters ---------- -Other: gp_Dir -AngularTolerance: float +theOther: gp_Dir +theAngularTolerance: float Returns ------- bool ") IsParallel; - Standard_Boolean IsParallel(const gp_Dir & Other, const Standard_Real AngularTolerance); + Standard_Boolean IsParallel(const gp_Dir & theOther, const Standard_Real theAngularTolerance); /****************** Mirror ******************/ - /**** md5 signature: ae7c0411fdd0377438bcccd31fef2186 ****/ + /**** md5 signature: 6db0d30dcf5c1699a49bac7b1cb31b2f ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Dir +theV: gp_Dir Returns ------- None ") Mirror; - void Mirror(const gp_Dir & V); + void Mirror(const gp_Dir & theV); /****************** Mirror ******************/ - /**** md5 signature: d1a0189a98d756bd9e5b51b4ae49992a ****/ + /**** md5 signature: cfb16cae08525c5f4ab330102e0377d4 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") Mirror; - void Mirror(const gp_Ax1 & A1); + void Mirror(const gp_Ax1 & theA1); /****************** Mirror ******************/ - /**** md5 signature: 874cde0169043be133e205e960c3ca57 ****/ + /**** md5 signature: ad34943401a2334beed8ccc79094d8df ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") Mirror; - void Mirror(const gp_Ax2 & A2); + void Mirror(const gp_Ax2 & theA2); /****************** Mirrored ******************/ - /**** md5 signature: 02c73be4aabfee2d794566cbfa37b007 ****/ + /**** md5 signature: af3aaed52fea7233ccac5f0e53b2d534 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a direction with respect to the direction v which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of a direction with respect to the direction thev which is the center of the symmetry. Parameters ---------- -V: gp_Dir +theV: gp_Dir Returns ------- gp_Dir ") Mirrored; - gp_Dir Mirrored(const gp_Dir & V); + gp_Dir Mirrored(const gp_Dir & theV); /****************** Mirrored ******************/ - /**** md5 signature: b3b209caacaaa4009ff77d7f85a5d508 ****/ + /**** md5 signature: b1dd77a457e84ff0204e984a466c1b36 ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a direction with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- gp_Dir ") Mirrored; - gp_Dir Mirrored(const gp_Ax1 & A1); + gp_Dir Mirrored(const gp_Ax1 & theA1); /****************** Mirrored ******************/ - /**** md5 signature: fa0555cb7b8a07e042043accf1bfa8c4 ****/ + /**** md5 signature: e23940a2e9d428486047147084df4419 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a direction with respect to a plane. the axis placement a2 locates the plane of the symmetry : (location, xdirection, ydirection). + %feature("autodoc", "Performs the symmetrical transformation of a direction with respect to a plane. the axis placement thea2 locates the plane of the symmetry : (location, xdirection, ydirection). Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- gp_Dir ") Mirrored; - gp_Dir Mirrored(const gp_Ax2 & A2); + gp_Dir Mirrored(const gp_Ax2 & theA2); /****************** Reverse ******************/ - /**** md5 signature: b751d6874fc026e19a7a6cb37e9ac1b4 ****/ + /**** md5 signature: 51c7e0d05769dec0ec2bb70e4d25e48d ****/ %feature("compactdefaultargs") Reverse; %feature("autodoc", "No available documentation. @@ -5194,7 +5198,7 @@ None void Reverse(); /****************** Reversed ******************/ - /**** md5 signature: 1ba812456f0b4eaab476fe1d0cf29322 ****/ + /**** md5 signature: 72546023e7c290588aa10d84513cf041 ****/ %feature("compactdefaultargs") Reversed; %feature("autodoc", "Reverses the orientation of a direction geometric transformations performs the symmetrical transformation of a direction with respect to the direction v which is the center of the symmetry.]. @@ -5205,162 +5209,162 @@ gp_Dir gp_Dir Reversed(); /****************** Rotate ******************/ - /**** md5 signature: 12c4967f27a0900e4176252164d2f2ce ****/ + /**** md5 signature: c26ecb0fe9ed773c4bd2ec6af298bfe8 ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Ax1 & A1, const Standard_Real Ang); + void Rotate(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: 937d66eff6ed1208f993c0e6a4deb1ed ****/ + /**** md5 signature: c7021f15b6e1b7e84dc728c5e9691937 ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates a direction. a1 is the axis of the rotation. ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates a direction. thea1 is the axis of the rotation. theang is the angular value of the rotation in radians. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- gp_Dir ") Rotated; - gp_Dir Rotated(const gp_Ax1 & A1, const Standard_Real Ang); + gp_Dir Rotated(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** SetCoord ******************/ - /**** md5 signature: 6a7aba643afced1a67b8420fce55034e ****/ + /**** md5 signature: 51dfb5414e684d5e3fb64936cddfe52a ****/ %feature("compactdefaultargs") SetCoord; - %feature("autodoc", "For this unit vector, assigns the value xi to: - the x coordinate if index is 1, or - the y coordinate if index is 2, or - the z coordinate if index is 3, and then normalizes it. warning remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly. exceptions standard_outofrange if index is not 1, 2, or 3. standard_constructionerror if either of the following is less than or equal to gp::resolution(): - sqrt(xv*xv + yv*yv + zv*zv), or - the modulus of the number triple formed by the new value xi and the two other coordinates of this vector that were not directly modified. + %feature("autodoc", "For this unit vector, assigns the value xi to: - the x coordinate if theindex is 1, or - the y coordinate if theindex is 2, or - the z coordinate if theindex is 3, and then normalizes it. warning remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly. exceptions standard_outofrange if theindex is not 1, 2, or 3. standard_constructionerror if either of the following is less than or equal to gp::resolution(): - sqrt(xv*xv + yv*yv + zv*zv), or - the modulus of the number triple formed by the new value thexi and the two other coordinates of this vector that were not directly modified. Parameters ---------- -Index: int -Xi: float +theIndex: int +theXi: float Returns ------- None ") SetCoord; - void SetCoord(const Standard_Integer Index, const Standard_Real Xi); + void SetCoord(const Standard_Integer theIndex, const Standard_Real theXi); /****************** SetCoord ******************/ - /**** md5 signature: 535398862a18988c21af008f70ee6ea3 ****/ + /**** md5 signature: d8c01d5f045eb0ea7e7f7929aff413e1 ****/ %feature("compactdefaultargs") SetCoord; - %feature("autodoc", "For this unit vector, assigns the values xv, yv and zv to its three coordinates. remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly. + %feature("autodoc", "For this unit vector, assigns the values thexv, theyv and thezv to its three coordinates. remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly. Parameters ---------- -Xv: float -Yv: float -Zv: float +theXv: float +theYv: float +theZv: float Returns ------- None ") SetCoord; - void SetCoord(const Standard_Real Xv, const Standard_Real Yv, const Standard_Real Zv); + void SetCoord(const Standard_Real theXv, const Standard_Real theYv, const Standard_Real theZv); /****************** SetX ******************/ - /**** md5 signature: 30fe204d4c67d94370133e1d40dc6787 ****/ + /**** md5 signature: f3cd97f87d5040161e63868de7881e51 ****/ %feature("compactdefaultargs") SetX; %feature("autodoc", "Assigns the given value to the x coordinate of this unit vector. Parameters ---------- -X: float +theX: float Returns ------- None ") SetX; - void SetX(const Standard_Real X); + void SetX(const Standard_Real theX); /****************** SetXYZ ******************/ - /**** md5 signature: 970583a1db197d138846d12b1374d359 ****/ + /**** md5 signature: c58ce5cf8961f1f4c1e0692fca105757 ****/ %feature("compactdefaultargs") SetXYZ; - %feature("autodoc", "Assigns the three coordinates of coord to this unit vector. + %feature("autodoc", "Assigns the three coordinates of thecoord to this unit vector. Parameters ---------- -Coord: gp_XYZ +theCoord: gp_XYZ Returns ------- None ") SetXYZ; - void SetXYZ(const gp_XYZ & Coord); + void SetXYZ(const gp_XYZ & theCoord); /****************** SetY ******************/ - /**** md5 signature: 8f42f770a3959dece2671d90f60e35e2 ****/ + /**** md5 signature: 1b17264cab404d1d30abbb3bb23a94d1 ****/ %feature("compactdefaultargs") SetY; %feature("autodoc", "Assigns the given value to the y coordinate of this unit vector. Parameters ---------- -Y: float +theY: float Returns ------- None ") SetY; - void SetY(const Standard_Real Y); + void SetY(const Standard_Real theY); /****************** SetZ ******************/ - /**** md5 signature: d96a64d9a788ed7bdd745a3dcbb831ea ****/ + /**** md5 signature: 439e9c9ff63136667248c6e20f0c8ab4 ****/ %feature("compactdefaultargs") SetZ; %feature("autodoc", "Assigns the given value to the z coordinate of this unit vector. Parameters ---------- -Z: float +theZ: float Returns ------- None ") SetZ; - void SetZ(const Standard_Real Z); + void SetZ(const Standard_Real theZ); /****************** Transform ******************/ - /**** md5 signature: 45ee6a37cbc92ff06bd17b5653f32913 ****/ + /**** md5 signature: 0737a7286be728220e1a55ba0d6eafc3 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") Transform; - void Transform(const gp_Trsf & T); + void Transform(const gp_Trsf & theT); /****************** Transformed ******************/ - /**** md5 signature: 1056bea1a5bada84ef2b22911d48cfb9 ****/ + /**** md5 signature: d92ccaf5eb2d8f610be5c41a259fbbdd ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms a direction with a 'trsf' from gp. warnings : if the scale factor of the 'trsf' t is negative then the direction is reversed. + %feature("autodoc", "Transforms a direction with a 'trsf' from gp. warnings : if the scale factor of the 'trsf' thet is negative then the direction is reversed. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- gp_Dir ") Transformed; - gp_Dir Transformed(const gp_Trsf & T); + gp_Dir Transformed(const gp_Trsf & theT); /****************** X ******************/ - /**** md5 signature: 2dbf42f7dc56303f104fb0fa585dc6e6 ****/ + /**** md5 signature: 05c2850f49d76f9d0f9da9e2fdb99a8b ****/ %feature("compactdefaultargs") X; %feature("autodoc", "Returns the x coordinate for a unit vector. @@ -5371,7 +5375,7 @@ float Standard_Real X(); /****************** XYZ ******************/ - /**** md5 signature: ad2670b5502d8f29f92f756fdb200090 ****/ + /**** md5 signature: 0648fd358f9622b8fa775d64dec0d0a4 ****/ %feature("compactdefaultargs") XYZ; %feature("autodoc", "For this unit vector, returns its three coordinates as a number triplea. @@ -5382,7 +5386,7 @@ gp_XYZ const gp_XYZ XYZ(); /****************** Y ******************/ - /**** md5 signature: 7fd17991f11a9702e525c7070ce7cec6 ****/ + /**** md5 signature: 0142f6b6b08f82a328de2fb00d13afbf ****/ %feature("compactdefaultargs") Y; %feature("autodoc", "Returns the y coordinate for a unit vector. @@ -5393,7 +5397,7 @@ float Standard_Real Y(); /****************** Z ******************/ - /**** md5 signature: 87b89b9e016f37b0146cf52868684676 ****/ + /**** md5 signature: 786e228d2eeaf64f99dd51d3ab338f77 ****/ %feature("compactdefaultargs") Z; %feature("autodoc", "Returns the z coordinate for a unit vector. @@ -5404,19 +5408,19 @@ float Standard_Real Z(); /****************** operator * ******************/ - /**** md5 signature: 84dcbab84ad34d366bc9d60517fc2a5e ****/ + /**** md5 signature: 5ed4c3cb5e90efe09abe02b91b30339e ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_Dir +theOther: gp_Dir Returns ------- float ") operator *; - Standard_Real operator *(const gp_Dir & Other); + Standard_Real operator *(const gp_Dir & theOther); /****************** operator - ******************/ /**** md5 signature: edcd14a5e53746d4bdebf14f5cb01e64 ****/ @@ -5444,7 +5448,7 @@ gp_Dir class gp_Dir2d { public: /****************** gp_Dir2d ******************/ - /**** md5 signature: d95d61fe5b1b7a3e24d176f773dd1a15 ****/ + /**** md5 signature: 73646d5f15e04074cb632864bc85c116 ****/ %feature("compactdefaultargs") gp_Dir2d; %feature("autodoc", "Creates a direction corresponding to x axis. @@ -5455,125 +5459,125 @@ None gp_Dir2d(); /****************** gp_Dir2d ******************/ - /**** md5 signature: 51772ddc6398f55bd5cbabca760a96ef ****/ + /**** md5 signature: 5d55d48c93f0c807eb2060d98865cef1 ****/ %feature("compactdefaultargs") gp_Dir2d; - %feature("autodoc", "Normalizes the vector v and creates a direction. raises constructionerror if v.magnitude() <= resolution from gp. + %feature("autodoc", "Normalizes the vector thev and creates a direction. raises constructionerror if thev.magnitude() <= resolution from gp. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- None ") gp_Dir2d; - gp_Dir2d(const gp_Vec2d & V); + gp_Dir2d(const gp_Vec2d & theV); /****************** gp_Dir2d ******************/ - /**** md5 signature: d869d4dbfcf007e1aa2f76bfc2d58ebf ****/ + /**** md5 signature: 184d1480ee5b1f25817ed4519e0d0b88 ****/ %feature("compactdefaultargs") gp_Dir2d; - %feature("autodoc", "Creates a direction from a doublet of coordinates. raises constructionerror if coord.modulus() <= resolution from gp. + %feature("autodoc", "Creates a direction from a doublet of coordinates. raises constructionerror if thecoord.modulus() <= resolution from gp. Parameters ---------- -Coord: gp_XY +theCoord: gp_XY Returns ------- None ") gp_Dir2d; - gp_Dir2d(const gp_XY & Coord); + gp_Dir2d(const gp_XY & theCoord); /****************** gp_Dir2d ******************/ - /**** md5 signature: d6be9452b4b59fc53227a2b841950eaa ****/ + /**** md5 signature: 175a9846209616dab97fe0a527452c57 ****/ %feature("compactdefaultargs") gp_Dir2d; - %feature("autodoc", "Creates a direction with its 2 cartesian coordinates. raises constructionerror if sqrt(xv*xv + yv*yv) <= resolution from gp. + %feature("autodoc", "Creates a direction with its 2 cartesian coordinates. raises constructionerror if sqrt(thexv*thexv + theyv*theyv) <= resolution from gp. Parameters ---------- -Xv: float -Yv: float +theXv: float +theYv: float Returns ------- None ") gp_Dir2d; - gp_Dir2d(const Standard_Real Xv, const Standard_Real Yv); + gp_Dir2d(const Standard_Real theXv, const Standard_Real theYv); /****************** Angle ******************/ - /**** md5 signature: 4d5e7bcb23d4735b41ba3996fe5902d5 ****/ + /**** md5 signature: 4d52d0c2519d785e1d839acb07eafefc ****/ %feature("compactdefaultargs") Angle; - %feature("autodoc", "Computes the angular value in radians between and . returns the angle in the range [-pi, pi]. + %feature("autodoc", "Computes the angular value in radians between and . returns the angle in the range [-pi, pi]. Parameters ---------- -Other: gp_Dir2d +theOther: gp_Dir2d Returns ------- float ") Angle; - Standard_Real Angle(const gp_Dir2d & Other); + Standard_Real Angle(const gp_Dir2d & theOther); /****************** Coord ******************/ - /**** md5 signature: 615686a863135af4177d92a1b696f909 ****/ + /**** md5 signature: 8be7c51c8cc2bc59521f97740b0be5d2 ****/ %feature("compactdefaultargs") Coord; - %feature("autodoc", "For this unit vector returns the coordinate of range index : index = 1 => x is returned index = 2 => y is returned raises outofrange if index != {1, 2}. + %feature("autodoc", "For this unit vector returns the coordinate of range theindex : theindex = 1 => x is returned theindex = 2 => y is returned raises outofrange if theindex != {1, 2}. Parameters ---------- -Index: int +theIndex: int Returns ------- float ") Coord; - Standard_Real Coord(const Standard_Integer Index); + Standard_Real Coord(const Standard_Integer theIndex); /****************** Coord ******************/ - /**** md5 signature: b8a284c811b6527ab91769eb2ef6424d ****/ + /**** md5 signature: cd6b81aa323a641be1b7710b8f29c3b9 ****/ %feature("compactdefaultargs") Coord; - %feature("autodoc", "For this unit vector returns its two coordinates xv and yv. raises outofrange if index != {1, 2}. + %feature("autodoc", "For this unit vector returns its two coordinates thexv and theyv. raises outofrange if theindex != {1, 2}. Parameters ---------- Returns ------- -Xv: float -Yv: float +theXv: float +theYv: float ") Coord; void Coord(Standard_Real &OutValue, Standard_Real &OutValue); /****************** Crossed ******************/ - /**** md5 signature: 6cadfb48997ffa3207b7a07f13d00d49 ****/ + /**** md5 signature: f5c73aa81b0c0ca65d5a3bd21c7e3ff8 ****/ %feature("compactdefaultargs") Crossed; %feature("autodoc", "Computes the cross product between two directions. Parameters ---------- -Right: gp_Dir2d +theRight: gp_Dir2d Returns ------- float ") Crossed; - Standard_Real Crossed(const gp_Dir2d & Right); + Standard_Real Crossed(const gp_Dir2d & theRight); /****************** Dot ******************/ - /**** md5 signature: e5f049f0fd4208377741c120c7894b80 ****/ + /**** md5 signature: 40ac0213b71165dabcd2d3d5e8ebc34c ****/ %feature("compactdefaultargs") Dot; %feature("autodoc", "Computes the scalar product. Parameters ---------- -Other: gp_Dir2d +theOther: gp_Dir2d Returns ------- float ") Dot; - Standard_Real Dot(const gp_Dir2d & Other); + Standard_Real Dot(const gp_Dir2d & theOther); %feature("autodoc", "1"); @@ -5584,131 +5588,131 @@ float return s.str();} }; /****************** IsEqual ******************/ - /**** md5 signature: c2d8852909e1955d337b5fbac80c68ce ****/ + /**** md5 signature: b5427191c2417e466f0abc9501d51e95 ****/ %feature("compactdefaultargs") IsEqual; - %feature("autodoc", "Returns true if the two vectors have the same direction i.e. the angle between this unit vector and the unit vector other is less than or equal to angulartolerance. + %feature("autodoc", "Returns true if the two vectors have the same direction i.e. the angle between this unit vector and the unit vector theother is less than or equal to theangulartolerance. Parameters ---------- -Other: gp_Dir2d -AngularTolerance: float +theOther: gp_Dir2d +theAngularTolerance: float Returns ------- bool ") IsEqual; - Standard_Boolean IsEqual(const gp_Dir2d & Other, const Standard_Real AngularTolerance); + Standard_Boolean IsEqual(const gp_Dir2d & theOther, const Standard_Real theAngularTolerance); /****************** IsNormal ******************/ - /**** md5 signature: 707d70a1ad927fee333f826f0c6af34e ****/ + /**** md5 signature: e01a0943735b085e40fa045a2516caec ****/ %feature("compactdefaultargs") IsNormal; - %feature("autodoc", "Returns true if the angle between this unit vector and the unit vector other is equal to pi/2 or -pi/2 (normal) i.e. abs(abs(.angle(other)) - pi/2.) <= angulartolerance. + %feature("autodoc", "Returns true if the angle between this unit vector and the unit vector theother is equal to pi/2 or -pi/2 (normal) i.e. abs(abs(.angle(theother)) - pi/2.) <= theangulartolerance. Parameters ---------- -Other: gp_Dir2d -AngularTolerance: float +theOther: gp_Dir2d +theAngularTolerance: float Returns ------- bool ") IsNormal; - Standard_Boolean IsNormal(const gp_Dir2d & Other, const Standard_Real AngularTolerance); + Standard_Boolean IsNormal(const gp_Dir2d & theOther, const Standard_Real theAngularTolerance); /****************** IsOpposite ******************/ - /**** md5 signature: 3633109ee23b9badc52069f87a88f5d3 ****/ + /**** md5 signature: 23005c101f62e36293198b630fd624ea ****/ %feature("compactdefaultargs") IsOpposite; - %feature("autodoc", "Returns true if the angle between this unit vector and the unit vector other is equal to pi or -pi (opposite). i.e. pi - abs(.angle(other)) <= angulartolerance. + %feature("autodoc", "Returns true if the angle between this unit vector and the unit vector theother is equal to pi or -pi (opposite). i.e. pi - abs(.angle(theother)) <= theangulartolerance. Parameters ---------- -Other: gp_Dir2d -AngularTolerance: float +theOther: gp_Dir2d +theAngularTolerance: float Returns ------- bool ") IsOpposite; - Standard_Boolean IsOpposite(const gp_Dir2d & Other, const Standard_Real AngularTolerance); + Standard_Boolean IsOpposite(const gp_Dir2d & theOther, const Standard_Real theAngularTolerance); /****************** IsParallel ******************/ - /**** md5 signature: 9bc9a4a8ed05787ed107a6745d9f299e ****/ + /**** md5 signature: 16e25d3a526d69046f65c2f97eb925e3 ****/ %feature("compactdefaultargs") IsParallel; - %feature("autodoc", "Returns true if if the angle between this unit vector and unit vector other is equal to 0, pi or -pi. i.e. abs(angle(, other)) <= angulartolerance or pi - abs(angle(, other)) <= angulartolerance. + %feature("autodoc", "Returns true if the angle between this unit vector and unit vector theother is equal to 0, pi or -pi. i.e. abs(angle(, theother)) <= theangulartolerance or pi - abs(angle(, theother)) <= theangulartolerance. Parameters ---------- -Other: gp_Dir2d -AngularTolerance: float +theOther: gp_Dir2d +theAngularTolerance: float Returns ------- bool ") IsParallel; - Standard_Boolean IsParallel(const gp_Dir2d & Other, const Standard_Real AngularTolerance); + Standard_Boolean IsParallel(const gp_Dir2d & theOther, const Standard_Real theAngularTolerance); /****************** Mirror ******************/ - /**** md5 signature: b8208fe0cfdd808a6b726408c89c6dd2 ****/ + /**** md5 signature: 0de8d4517fd94a07dc6631a1a9f3fb0b ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Dir2d +theV: gp_Dir2d Returns ------- None ") Mirror; - void Mirror(const gp_Dir2d & V); + void Mirror(const gp_Dir2d & theV); /****************** Mirror ******************/ - /**** md5 signature: 8b8d921c1e87f73e8278c4d42ae298f7 ****/ + /**** md5 signature: ec42c083971941a78ed6667e3ee849d3 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- None ") Mirror; - void Mirror(const gp_Ax2d & A); + void Mirror(const gp_Ax2d & theA); /****************** Mirrored ******************/ - /**** md5 signature: 8f721721ff275b5891e8678a176a017e ****/ + /**** md5 signature: fc4b7047afb1c26df81e5bfda8d338ec ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a direction with respect to the direction v which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of a direction with respect to the direction thev which is the center of the symmetry. Parameters ---------- -V: gp_Dir2d +theV: gp_Dir2d Returns ------- gp_Dir2d ") Mirrored; - gp_Dir2d Mirrored(const gp_Dir2d & V); + gp_Dir2d Mirrored(const gp_Dir2d & theV); /****************** Mirrored ******************/ - /**** md5 signature: 9a74e8fc078ab5b6ad543b185b380f72 ****/ + /**** md5 signature: cb8a6d4edeb1a778592299e887fc6808 ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a direction with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- gp_Dir2d ") Mirrored; - gp_Dir2d Mirrored(const gp_Ax2d & A); + gp_Dir2d Mirrored(const gp_Ax2d & theA); /****************** Reverse ******************/ - /**** md5 signature: b751d6874fc026e19a7a6cb37e9ac1b4 ****/ + /**** md5 signature: 51c7e0d05769dec0ec2bb70e4d25e48d ****/ %feature("compactdefaultargs") Reverse; %feature("autodoc", "No available documentation. @@ -5719,7 +5723,7 @@ None void Reverse(); /****************** Reversed ******************/ - /**** md5 signature: b2216175e6c33d80742cc89e6a46baaa ****/ + /**** md5 signature: fccb82eb4718486351f38df82a035390 ****/ %feature("compactdefaultargs") Reversed; %feature("autodoc", "Reverses the orientation of a direction. @@ -5745,129 +5749,129 @@ None void Rotate(const Standard_Real Ang); /****************** Rotated ******************/ - /**** md5 signature: 3b44d4c94288262e05c5e47e14539158 ****/ + /**** md5 signature: 7dee3a6ed00152a0822a84c53542ff87 ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates a direction. ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates a direction. theang is the angular value of the rotation in radians. Parameters ---------- -Ang: float +theAng: float Returns ------- gp_Dir2d ") Rotated; - gp_Dir2d Rotated(const Standard_Real Ang); + gp_Dir2d Rotated(const Standard_Real theAng); /****************** SetCoord ******************/ - /**** md5 signature: 6a7aba643afced1a67b8420fce55034e ****/ + /**** md5 signature: 51dfb5414e684d5e3fb64936cddfe52a ****/ %feature("compactdefaultargs") SetCoord; - %feature("autodoc", "For this unit vector, assigns: the value xi to: - the x coordinate if index is 1, or - the y coordinate if index is 2, and then normalizes it. warning remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly. exceptions standard_outofrange if index is not 1 or 2. standard_constructionerror if either of the following is less than or equal to gp::resolution(): - sqrt(xv*xv + yv*yv), or - the modulus of the number pair formed by the new value xi and the other coordinate of this vector that was not directly modified. raises outofrange if index != {1, 2}. + %feature("autodoc", "For this unit vector, assigns: the value thexi to: - the x coordinate if theindex is 1, or - the y coordinate if theindex is 2, and then normalizes it. warning remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly. exceptions standard_outofrange if theindex is not 1 or 2. standard_constructionerror if either of the following is less than or equal to gp::resolution(): - sqrt(thexv*thexv + theyv*theyv), or - the modulus of the number pair formed by the new value thexi and the other coordinate of this vector that was not directly modified. raises outofrange if theindex != {1, 2}. Parameters ---------- -Index: int -Xi: float +theIndex: int +theXi: float Returns ------- None ") SetCoord; - void SetCoord(const Standard_Integer Index, const Standard_Real Xi); + void SetCoord(const Standard_Integer theIndex, const Standard_Real theXi); /****************** SetCoord ******************/ - /**** md5 signature: 89ebec90371b06b65c615274fc32dbb5 ****/ + /**** md5 signature: 5576a88d2236652db8a311240e872c92 ****/ %feature("compactdefaultargs") SetCoord; - %feature("autodoc", "For this unit vector, assigns: - the values xv and yv to its two coordinates, warning remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly. exceptions standard_outofrange if index is not 1 or 2. standard_constructionerror if either of the following is less than or equal to gp::resolution(): - sqrt(xv*xv + yv*yv), or - the modulus of the number pair formed by the new value xi and the other coordinate of this vector that was not directly modified. raises outofrange if index != {1, 2}. + %feature("autodoc", "For this unit vector, assigns: - the values thexv and theyv to its two coordinates, warning remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly. exceptions standard_outofrange if theindex is not 1 or 2. standard_constructionerror if either of the following is less than or equal to gp::resolution(): - sqrt(thexv*thexv + theyv*theyv), or - the modulus of the number pair formed by the new value xi and the other coordinate of this vector that was not directly modified. raises outofrange if theindex != {1, 2}. Parameters ---------- -Xv: float -Yv: float +theXv: float +theYv: float Returns ------- None ") SetCoord; - void SetCoord(const Standard_Real Xv, const Standard_Real Yv); + void SetCoord(const Standard_Real theXv, const Standard_Real theYv); /****************** SetX ******************/ - /**** md5 signature: 30fe204d4c67d94370133e1d40dc6787 ****/ + /**** md5 signature: f3cd97f87d5040161e63868de7881e51 ****/ %feature("compactdefaultargs") SetX; %feature("autodoc", "Assigns the given value to the x coordinate of this unit vector, and then normalizes it. warning remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly. exceptions standard_constructionerror if either of the following is less than or equal to gp::resolution(): - the modulus of coord, or - the modulus of the number pair formed from the new x or y coordinate and the other coordinate of this vector that was not directly modified. Parameters ---------- -X: float +theX: float Returns ------- None ") SetX; - void SetX(const Standard_Real X); + void SetX(const Standard_Real theX); /****************** SetXY ******************/ - /**** md5 signature: 6c2893a57a740cb14668b2ad98f8f8f8 ****/ + /**** md5 signature: c3c2b54c737958a90a247fc8e9c50dc2 ****/ %feature("compactdefaultargs") SetXY; - %feature("autodoc", "Assigns: - the two coordinates of coord to this unit vector, and then normalizes it. warning remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly. exceptions standard_constructionerror if either of the following is less than or equal to gp::resolution(): - the modulus of coord, or - the modulus of the number pair formed from the new x or y coordinate and the other coordinate of this vector that was not directly modified. + %feature("autodoc", "Assigns: - the two coordinates of thecoord to this unit vector, and then normalizes it. warning remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly. exceptions standard_constructionerror if either of the following is less than or equal to gp::resolution(): - the modulus of thecoord, or - the modulus of the number pair formed from the new x or y coordinate and the other coordinate of this vector that was not directly modified. Parameters ---------- -Coord: gp_XY +theCoord: gp_XY Returns ------- None ") SetXY; - void SetXY(const gp_XY & Coord); + void SetXY(const gp_XY & theCoord); /****************** SetY ******************/ - /**** md5 signature: 8f42f770a3959dece2671d90f60e35e2 ****/ + /**** md5 signature: 1b17264cab404d1d30abbb3bb23a94d1 ****/ %feature("compactdefaultargs") SetY; %feature("autodoc", "Assigns the given value to the y coordinate of this unit vector, and then normalizes it. warning remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly. exceptions standard_constructionerror if either of the following is less than or equal to gp::resolution(): - the modulus of coord, or - the modulus of the number pair formed from the new x or y coordinate and the other coordinate of this vector that was not directly modified. Parameters ---------- -Y: float +theY: float Returns ------- None ") SetY; - void SetY(const Standard_Real Y); + void SetY(const Standard_Real theY); /****************** Transform ******************/ - /**** md5 signature: dace16a29a39216c0dd584c6964e840b ****/ + /**** md5 signature: 94f8045e6a4465708e872ec10cb3f4d1 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- None ") Transform; - void Transform(const gp_Trsf2d & T); + void Transform(const gp_Trsf2d & theT); /****************** Transformed ******************/ - /**** md5 signature: bf915e60faf86f092b7a51bac08f9e45 ****/ + /**** md5 signature: b7935945b3d8e1941fdf3aa2d19c19fd ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms a direction with the 'trsf' t. warnings : if the scale factor of the 'trsf' t is negative then the direction is reversed. + %feature("autodoc", "Transforms a direction with the 'trsf' thet. warnings : if the scale factor of the 'trsf' thet is negative then the direction is reversed. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- gp_Dir2d ") Transformed; - gp_Dir2d Transformed(const gp_Trsf2d & T); + gp_Dir2d Transformed(const gp_Trsf2d & theT); /****************** X ******************/ - /**** md5 signature: 2dbf42f7dc56303f104fb0fa585dc6e6 ****/ + /**** md5 signature: 05c2850f49d76f9d0f9da9e2fdb99a8b ****/ %feature("compactdefaultargs") X; %feature("autodoc", "For this unit vector, returns its x coordinate. @@ -5878,7 +5882,7 @@ float Standard_Real X(); /****************** XY ******************/ - /**** md5 signature: 0572c9669063bef343b6bffa656e7e3a ****/ + /**** md5 signature: 8129e296b053b8847fa5f009e7848507 ****/ %feature("compactdefaultargs") XY; %feature("autodoc", "For this unit vector, returns its two coordinates as a number pair. comparison between directions the precision value is an input data. @@ -5889,7 +5893,7 @@ gp_XY const gp_XY XY(); /****************** Y ******************/ - /**** md5 signature: 7fd17991f11a9702e525c7070ce7cec6 ****/ + /**** md5 signature: 0142f6b6b08f82a328de2fb00d13afbf ****/ %feature("compactdefaultargs") Y; %feature("autodoc", "For this unit vector, returns its y coordinate. @@ -5900,19 +5904,19 @@ float Standard_Real Y(); /****************** operator * ******************/ - /**** md5 signature: 0207b56c87d0d37308d11b7183f16352 ****/ + /**** md5 signature: 3adae3bbe9646320cbc1362f863f1031 ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_Dir2d +theOther: gp_Dir2d Returns ------- float ") operator *; - Standard_Real operator *(const gp_Dir2d & Other); + Standard_Real operator *(const gp_Dir2d & theOther); /****************** operator - ******************/ /**** md5 signature: d02d0251cfab53caf477f39aaaf94353 ****/ @@ -5940,7 +5944,7 @@ gp_Dir2d class gp_Elips { public: /****************** gp_Elips ******************/ - /**** md5 signature: 70a91ec0800e7cd9534e43f95e9bbf2c ****/ + /**** md5 signature: 4380d7ccbc733459a106a4ac839ca157 ****/ %feature("compactdefaultargs") gp_Elips; %feature("autodoc", "Creates an indefinite ellipse. @@ -5951,24 +5955,24 @@ None gp_Elips(); /****************** gp_Elips ******************/ - /**** md5 signature: f810b5d227c35f14437acbea3845b817 ****/ + /**** md5 signature: 7e0836115d9e0289c6f68a1e03b7539b ****/ %feature("compactdefaultargs") gp_Elips; - %feature("autodoc", "The major radius of the ellipse is on the 'xaxis' and the minor radius is on the 'yaxis' of the ellipse. the 'xaxis' is defined with the 'xdirection' of a2 and the 'yaxis' is defined with the 'ydirection' of a2. warnings : it is not forbidden to create an ellipse with majorradius = minorradius. raises constructionerror if majorradius < minorradius or minorradius < 0. + %feature("autodoc", "The major radius of the ellipse is on the 'xaxis' and the minor radius is on the 'yaxis' of the ellipse. the 'xaxis' is defined with the 'xdirection' of thea2 and the 'yaxis' is defined with the 'ydirection' of thea2. warnings : it is not forbidden to create an ellipse with themajorradius = theminorradius. raises constructionerror if themajorradius < theminorradius or theminorradius < 0. Parameters ---------- -A2: gp_Ax2 -MajorRadius: float -MinorRadius: float +theA2: gp_Ax2 +theMajorRadius: float +theMinorRadius: float Returns ------- None ") gp_Elips; - gp_Elips(const gp_Ax2 & A2, const Standard_Real MajorRadius, const Standard_Real MinorRadius); + gp_Elips(const gp_Ax2 & theA2, const Standard_Real theMajorRadius, const Standard_Real theMinorRadius); /****************** Area ******************/ - /**** md5 signature: a514cbcf0bd2f53e9374f58dcecded92 ****/ + /**** md5 signature: c02bdde385c5c793a22800891df9b9cd ****/ %feature("compactdefaultargs") Area; %feature("autodoc", "Computes the area of the ellipse. @@ -5979,7 +5983,7 @@ float Standard_Real Area(); /****************** Axis ******************/ - /**** md5 signature: cb9b52ff887b682f8bfc1eb2f646705a ****/ + /**** md5 signature: 8e27675ecbe6e648730266788c8e255c ****/ %feature("compactdefaultargs") Axis; %feature("autodoc", "Computes the axis normal to the plane of the ellipse. @@ -6023,7 +6027,7 @@ float Standard_Real Eccentricity(); /****************** Focal ******************/ - /**** md5 signature: 36c97a85b2e31ded83d59428f0f74c3c ****/ + /**** md5 signature: aeac7f567b991e94a3e75e9ed626f41a ****/ %feature("compactdefaultargs") Focal; %feature("autodoc", "Computes the focal distance. it is the distance between the two focus focus1 and focus2 of the ellipse. @@ -6056,7 +6060,7 @@ gp_Pnt gp_Pnt Focus2(); /****************** Location ******************/ - /**** md5 signature: 42040ad2ed401b7e80bf90e4b6b5f418 ****/ + /**** md5 signature: becd3d5ba73b438c501a139df51b6b7f ****/ %feature("compactdefaultargs") Location; %feature("autodoc", "Returns the center of the ellipse. it is the 'location' point of the coordinate system of the ellipse. @@ -6067,7 +6071,7 @@ gp_Pnt const gp_Pnt Location(); /****************** MajorRadius ******************/ - /**** md5 signature: e961bb81456f4d0a6154d0e9401e1ce8 ****/ + /**** md5 signature: 128082d838650d89e5451fc2ec2cdd95 ****/ %feature("compactdefaultargs") MajorRadius; %feature("autodoc", "Returns the major radius of the ellipse. @@ -6078,7 +6082,7 @@ float Standard_Real MajorRadius(); /****************** MinorRadius ******************/ - /**** md5 signature: e1383e2287a25901af1e2b42cc95af4d ****/ + /**** md5 signature: 5a903e1e296cb85037297fddc27e2870 ****/ %feature("compactdefaultargs") MinorRadius; %feature("autodoc", "Returns the minor radius of the ellipse. @@ -6089,94 +6093,94 @@ float Standard_Real MinorRadius(); /****************** Mirror ******************/ - /**** md5 signature: b133f2e6e1c74f672a216a0094bdfda6 ****/ + /**** md5 signature: 095878518b088b42d55c3da09f68a84c ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") Mirror; - void Mirror(const gp_Pnt & P); + void Mirror(const gp_Pnt & theP); /****************** Mirror ******************/ - /**** md5 signature: d1a0189a98d756bd9e5b51b4ae49992a ****/ + /**** md5 signature: cfb16cae08525c5f4ab330102e0377d4 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") Mirror; - void Mirror(const gp_Ax1 & A1); + void Mirror(const gp_Ax1 & theA1); /****************** Mirror ******************/ - /**** md5 signature: 874cde0169043be133e205e960c3ca57 ****/ + /**** md5 signature: ad34943401a2334beed8ccc79094d8df ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") Mirror; - void Mirror(const gp_Ax2 & A2); + void Mirror(const gp_Ax2 & theA2); /****************** Mirrored ******************/ - /**** md5 signature: 42ed037d62d13064fe73a2782115a301 ****/ + /**** md5 signature: 8b24c40e2792cb5f3615b7b9c92093b0 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of an ellipse with respect to the point p which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of an ellipse with respect to the point thep which is the center of the symmetry. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- gp_Elips ") Mirrored; - gp_Elips Mirrored(const gp_Pnt & P); + gp_Elips Mirrored(const gp_Pnt & theP); /****************** Mirrored ******************/ - /**** md5 signature: 9ba2ffb65754e8bc7158eaf27c63df92 ****/ + /**** md5 signature: 7836cabf078d820a4b5e8716338e620d ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of an ellipse with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- gp_Elips ") Mirrored; - gp_Elips Mirrored(const gp_Ax1 & A1); + gp_Elips Mirrored(const gp_Ax1 & theA1); /****************** Mirrored ******************/ - /**** md5 signature: c46e748d1b01d0c1f47d0723b22125bc ****/ + /**** md5 signature: 70283daeaf7c826589fd28e3e212fd26 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of an ellipse with respect to a plane. the axis placement a2 locates the plane of the symmetry (location, xdirection, ydirection). + %feature("autodoc", "Performs the symmetrical transformation of an ellipse with respect to a plane. the axis placement thea2 locates the plane of the symmetry (location, xdirection, ydirection). Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- gp_Elips ") Mirrored; - gp_Elips Mirrored(const gp_Ax2 & A2); + gp_Elips Mirrored(const gp_Ax2 & theA2); /****************** Parameter ******************/ /**** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ****/ @@ -6190,7 +6194,7 @@ float Standard_Real Parameter(); /****************** Position ******************/ - /**** md5 signature: 4998eb006d0dfaf45366e64da028e2d8 ****/ + /**** md5 signature: 0919c787263d4f8ff9c1e18688f5d16c ****/ %feature("compactdefaultargs") Position; %feature("autodoc", "Returns the coordinate system of the ellipse. @@ -6201,238 +6205,238 @@ gp_Ax2 const gp_Ax2 Position(); /****************** Rotate ******************/ - /**** md5 signature: 12c4967f27a0900e4176252164d2f2ce ****/ + /**** md5 signature: 424ab82daf880655bff8da4ef682e64b ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Ax1 & A1, const Standard_Real Ang); + void Rotate(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: aa10e38e09f4bd0f180e0223861fe10c ****/ + /**** md5 signature: 0792359391f0755fefa2c1e576305ded ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates an ellipse. a1 is the axis of the rotation. ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates an ellipse. thea1 is the axis of the rotation. theang is the angular value of the rotation in radians. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- gp_Elips ") Rotated; - gp_Elips Rotated(const gp_Ax1 & A1, const Standard_Real Ang); + gp_Elips Rotated(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: e66fc526c4232f21fb4238a81292d522 ****/ + /**** md5 signature: a931b3c1f3cc70761b0f4bcbe2fc2ef0 ****/ %feature("compactdefaultargs") Scale; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- None ") Scale; - void Scale(const gp_Pnt & P, const Standard_Real S); + void Scale(const gp_Pnt & theP, const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: 31a094bddec3e24dbed1653e7f93622c ****/ + /**** md5 signature: 236c98b0aac35efb67ced9e87538e03e ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Scales an ellipse. s is the scaling value. + %feature("autodoc", "Scales an ellipse. thes is the scaling value. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- gp_Elips ") Scaled; - gp_Elips Scaled(const gp_Pnt & P, const Standard_Real S); + gp_Elips Scaled(const gp_Pnt & theP, const Standard_Real theS); /****************** SetAxis ******************/ - /**** md5 signature: 4f1ae44e92ff7b1da601b2ca71a3a58a ****/ + /**** md5 signature: 23e0b01de6336ec5c57ea6909e327d35 ****/ %feature("compactdefaultargs") SetAxis; - %feature("autodoc", "Changes the axis normal to the plane of the ellipse. it modifies the definition of this plane. the 'xaxis' and the 'yaxis' are recomputed. the local coordinate system is redefined so that: - its origin and 'main direction' become those of the axis a1 (the 'x direction' and 'y direction' are then recomputed in the same way as for any gp_ax2), or raises constructionerror if the direction of a1 is parallel to the direction of the 'xaxis' of the ellipse. + %feature("autodoc", "Changes the axis normal to the plane of the ellipse. it modifies the definition of this plane. the 'xaxis' and the 'yaxis' are recomputed. the local coordinate system is redefined so that: - its origin and 'main direction' become those of the axis thea1 (the 'x direction' and 'y direction' are then recomputed in the same way as for any gp_ax2), or raises constructionerror if the direction of thea1 is parallel to the direction of the 'xaxis' of the ellipse. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") SetAxis; - void SetAxis(const gp_Ax1 & A1); + void SetAxis(const gp_Ax1 & theA1); /****************** SetLocation ******************/ - /**** md5 signature: c028aee785b685956e8e7d5cba7ecb46 ****/ + /**** md5 signature: c106a7d7c472c3f26d65a1d2a029717b ****/ %feature("compactdefaultargs") SetLocation; - %feature("autodoc", "Modifies this ellipse, by redefining its local coordinate so that its origin becomes p. + %feature("autodoc", "Modifies this ellipse, by redefining its local coordinate so that its origin becomes thep. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") SetLocation; - void SetLocation(const gp_Pnt & P); + void SetLocation(const gp_Pnt & theP); /****************** SetMajorRadius ******************/ - /**** md5 signature: 5b6d39118ca624402ca904f240869d93 ****/ + /**** md5 signature: 847f370a77fa02a8bf45fa2b00b28b74 ****/ %feature("compactdefaultargs") SetMajorRadius; - %feature("autodoc", "The major radius of the ellipse is on the 'xaxis' (major axis) of the ellipse. raises constructionerror if majorradius < minorradius. + %feature("autodoc", "The major radius of the ellipse is on the 'xaxis' (major axis) of the ellipse. raises constructionerror if themajorradius < minorradius. Parameters ---------- -MajorRadius: float +theMajorRadius: float Returns ------- None ") SetMajorRadius; - void SetMajorRadius(const Standard_Real MajorRadius); + void SetMajorRadius(const Standard_Real theMajorRadius); /****************** SetMinorRadius ******************/ - /**** md5 signature: 55b33932324c77b3c1e82a433bb9350f ****/ + /**** md5 signature: 2bb295e6e4f7e9ad627ec256d511ddce ****/ %feature("compactdefaultargs") SetMinorRadius; - %feature("autodoc", "The minor radius of the ellipse is on the 'yaxis' (minor axis) of the ellipse. raises constructionerror if minorradius > majorradius or minorradius < 0. + %feature("autodoc", "The minor radius of the ellipse is on the 'yaxis' (minor axis) of the ellipse. raises constructionerror if theminorradius > majorradius or minorradius < 0. Parameters ---------- -MinorRadius: float +theMinorRadius: float Returns ------- None ") SetMinorRadius; - void SetMinorRadius(const Standard_Real MinorRadius); + void SetMinorRadius(const Standard_Real theMinorRadius); /****************** SetPosition ******************/ - /**** md5 signature: 370491d423dd18be72ddbe9a7e5a5d72 ****/ + /**** md5 signature: ebc7dd35ccc08a819f6ac865a49dfe89 ****/ %feature("compactdefaultargs") SetPosition; - %feature("autodoc", "Modifies this ellipse, by redefining its local coordinate so that it becomes a2e. + %feature("autodoc", "Modifies this ellipse, by redefining its local coordinate so that it becomes thea2. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") SetPosition; - void SetPosition(const gp_Ax2 & A2); + void SetPosition(const gp_Ax2 & theA2); /****************** Transform ******************/ - /**** md5 signature: 45ee6a37cbc92ff06bd17b5653f32913 ****/ + /**** md5 signature: 0737a7286be728220e1a55ba0d6eafc3 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") Transform; - void Transform(const gp_Trsf & T); + void Transform(const gp_Trsf & theT); /****************** Transformed ******************/ - /**** md5 signature: 0aff90d868de1e28e04db58cb917f057 ****/ + /**** md5 signature: 7ef491940db1b91e1d267dca992ce77e ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms an ellipse with the transformation t from class trsf. + %feature("autodoc", "Transforms an ellipse with the transformation thet from class trsf. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- gp_Elips ") Transformed; - gp_Elips Transformed(const gp_Trsf & T); + gp_Elips Transformed(const gp_Trsf & theT); /****************** Translate ******************/ - /**** md5 signature: b3667af07c9a238180bc31cc15803f78 ****/ + /**** md5 signature: 0187bd9a09d9b334477a40e96047e03a ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- None ") Translate; - void Translate(const gp_Vec & V); + void Translate(const gp_Vec & theV); /****************** Translate ******************/ - /**** md5 signature: 5053222ade9605c7c37102310f06f2e8 ****/ + /**** md5 signature: cde9f9ebda90da2c1df1a27191e7ab81 ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- None ") Translate; - void Translate(const gp_Pnt & P1, const gp_Pnt & P2); + void Translate(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** Translated ******************/ - /**** md5 signature: 828523c632360a3b03ffc95e9a81e631 ****/ + /**** md5 signature: 184afdc0a24b28efeda1945db1bfcf9a ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates an ellipse in the direction of the vector v. the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "Translates an ellipse in the direction of the vector thev. the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- gp_Elips ") Translated; - gp_Elips Translated(const gp_Vec & V); + gp_Elips Translated(const gp_Vec & theV); /****************** Translated ******************/ - /**** md5 signature: c03cc9a88dbb937a2849467a3bb9c03f ****/ + /**** md5 signature: a1c61fb631c7ccd675b602a1bb41ba88 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates an ellipse from the point p1 to the point p2. + %feature("autodoc", "Translates an ellipse from the point thep1 to the point thep2. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- gp_Elips ") Translated; - gp_Elips Translated(const gp_Pnt & P1, const gp_Pnt & P2); + gp_Elips Translated(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** XAxis ******************/ - /**** md5 signature: 33f98d138ae3ce92d202330aa4ae814d ****/ + /**** md5 signature: 900acbd3949b81ee383c3b457e95c597 ****/ %feature("compactdefaultargs") XAxis; %feature("autodoc", "Returns the 'xaxis' of the ellipse whose origin is the center of this ellipse. it is the major axis of the ellipse. @@ -6443,7 +6447,7 @@ gp_Ax1 gp_Ax1 XAxis(); /****************** YAxis ******************/ - /**** md5 signature: b471d966aca0b452073c5d55f8f5e027 ****/ + /**** md5 signature: 8db99d563f8cc2fa33e80ece09869c5c ****/ %feature("compactdefaultargs") YAxis; %feature("autodoc", "Returns the 'yaxis' of the ellipse whose unit vector is the 'x direction' or the 'y direction' of the local coordinate system of this ellipse. this is the minor axis of the ellipse. @@ -6468,7 +6472,7 @@ gp_Ax1 class gp_Elips2d { public: /****************** gp_Elips2d ******************/ - /**** md5 signature: 0cd695dc67863c68d90da95dd5d4db3c ****/ + /**** md5 signature: 155a4b0babb698b6ce195f260509b0cf ****/ %feature("compactdefaultargs") gp_Elips2d; %feature("autodoc", "Creates an indefinite ellipse. @@ -6479,43 +6483,43 @@ None gp_Elips2d(); /****************** gp_Elips2d ******************/ - /**** md5 signature: 5d90c5d5e98ed2e94f1cb596748fe02c ****/ + /**** md5 signature: 104a95751748857ca6a90d8ee44b6ed6 ****/ %feature("compactdefaultargs") gp_Elips2d; - %feature("autodoc", "Creates an ellipse with the major axis, the major and the minor radius. the location of the majoraxis is the center of the ellipse. the sense of parametrization is given by sense. warnings : it is possible to create an ellipse with majorradius = minorradius. raises constructionerror if majorradius < minorradius or minorradius < 0.0. + %feature("autodoc", "Creates an ellipse with the major axis, the major and the minor radius. the location of the themajoraxis is the center of the ellipse. the sense of parametrization is given by theissense. warnings : it is possible to create an ellipse with themajorradius = theminorradius. raises constructionerror if themajorradius < theminorradius or theminorradius < 0.0. Parameters ---------- -MajorAxis: gp_Ax2d -MajorRadius: float -MinorRadius: float -Sense: bool,optional +theMajorAxis: gp_Ax2d +theMajorRadius: float +theMinorRadius: float +theIsSense: bool,optional default value is Standard_True Returns ------- None ") gp_Elips2d; - gp_Elips2d(const gp_Ax2d & MajorAxis, const Standard_Real MajorRadius, const Standard_Real MinorRadius, const Standard_Boolean Sense = Standard_True); + gp_Elips2d(const gp_Ax2d & theMajorAxis, const Standard_Real theMajorRadius, const Standard_Real theMinorRadius, const Standard_Boolean theIsSense = Standard_True); /****************** gp_Elips2d ******************/ - /**** md5 signature: b27df7243fa0ca1797aba859e57cb553 ****/ + /**** md5 signature: 4733a3ea1ba6f34c3dbc9d79a612c381 ****/ %feature("compactdefaultargs") gp_Elips2d; - %feature("autodoc", "Creates an ellipse with radii majorradius and minorradius, positioned in the plane by coordinate system a where: - the origin of a is the center of the ellipse, - the 'x direction' of a defines the major axis of the ellipse, that is, the major radius majorradius is measured along this axis, and - the 'y direction' of a defines the minor axis of the ellipse, that is, the minor radius minorradius is measured along this axis, and - the orientation (direct or indirect sense) of a gives the orientation of the ellipse. warnings : it is possible to create an ellipse with majorradius = minorradius. raises constructionerror if majorradius < minorradius or minorradius < 0.0. + %feature("autodoc", "Creates an ellipse with radii majorradius and minorradius, positioned in the plane by coordinate system thea where: - the origin of thea is the center of the ellipse, - the 'x direction' of thea defines the major axis of the ellipse, that is, the major radius majorradius is measured along this axis, and - the 'y direction' of thea defines the minor axis of the ellipse, that is, the minor radius theminorradius is measured along this axis, and - the orientation (direct or indirect sense) of thea gives the orientation of the ellipse. warnings : it is possible to create an ellipse with themajorradius = theminorradius. raises constructionerror if themajorradius < theminorradius or theminorradius < 0.0. Parameters ---------- -A: gp_Ax22d -MajorRadius: float -MinorRadius: float +theA: gp_Ax22d +theMajorRadius: float +theMinorRadius: float Returns ------- None ") gp_Elips2d; - gp_Elips2d(const gp_Ax22d & A, const Standard_Real MajorRadius, const Standard_Real MinorRadius); + gp_Elips2d(const gp_Ax22d & theA, const Standard_Real theMajorRadius, const Standard_Real theMinorRadius); /****************** Area ******************/ - /**** md5 signature: a514cbcf0bd2f53e9374f58dcecded92 ****/ + /**** md5 signature: c02bdde385c5c793a22800891df9b9cd ****/ %feature("compactdefaultargs") Area; %feature("autodoc", "Computes the area of the ellipse. @@ -6526,7 +6530,7 @@ float Standard_Real Area(); /****************** Axis ******************/ - /**** md5 signature: 56ba1d39cb5b229cbbc254dbe68307ea ****/ + /**** md5 signature: 094e5176aca7cccfc018310a1bba741f ****/ %feature("compactdefaultargs") Axis; %feature("autodoc", "Returns the major axis of the ellipse. @@ -6537,21 +6541,21 @@ gp_Ax22d const gp_Ax22d Axis(); /****************** Coefficients ******************/ - /**** md5 signature: 2252ad010357f4e043a3c6dac4c3923c ****/ + /**** md5 signature: cc309b22e72d7a2fa63d9f3b74f48eaa ****/ %feature("compactdefaultargs") Coefficients; - %feature("autodoc", "Returns the coefficients of the implicit equation of the ellipse. a * (x**2) + b * (y**2) + 2*c*(x*y) + 2*d*x + 2*e*y + f = 0. + %feature("autodoc", "Returns the coefficients of the implicit equation of the ellipse. thea * (x**2) + theb * (y**2) + 2*thec*(x*y) + 2*thed*x + 2*thee*y + thef = 0. Parameters ---------- Returns ------- -A: float -B: float -C: float -D: float -E: float -F: float +theA: float +theB: float +theC: float +theD: float +theE: float +theF: float ") Coefficients; void Coefficients(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); @@ -6589,7 +6593,7 @@ float Standard_Real Eccentricity(); /****************** Focal ******************/ - /**** md5 signature: 36c97a85b2e31ded83d59428f0f74c3c ****/ + /**** md5 signature: aeac7f567b991e94a3e75e9ed626f41a ****/ %feature("compactdefaultargs") Focal; %feature("autodoc", "Returns the distance between the center of the ellipse and focus1 or focus2. @@ -6622,7 +6626,7 @@ gp_Pnt2d gp_Pnt2d Focus2(); /****************** IsDirect ******************/ - /**** md5 signature: e230b64eefbb898397296c5ca615d396 ****/ + /**** md5 signature: 218f7b7b68e34847c5868fa318c903a4 ****/ %feature("compactdefaultargs") IsDirect; %feature("autodoc", "Returns true if the local coordinate system is direct and false in the other case. @@ -6633,7 +6637,7 @@ bool Standard_Boolean IsDirect(); /****************** Location ******************/ - /**** md5 signature: fbf774a3a1efe16540d680c0476bcbc8 ****/ + /**** md5 signature: 0e4556028ba61472400043e40317f1e2 ****/ %feature("compactdefaultargs") Location; %feature("autodoc", "Returns the center of the ellipse. @@ -6644,7 +6648,7 @@ gp_Pnt2d const gp_Pnt2d Location(); /****************** MajorRadius ******************/ - /**** md5 signature: e961bb81456f4d0a6154d0e9401e1ce8 ****/ + /**** md5 signature: 128082d838650d89e5451fc2ec2cdd95 ****/ %feature("compactdefaultargs") MajorRadius; %feature("autodoc", "Returns the major radius of the ellipse. @@ -6655,7 +6659,7 @@ float Standard_Real MajorRadius(); /****************** MinorRadius ******************/ - /**** md5 signature: e1383e2287a25901af1e2b42cc95af4d ****/ + /**** md5 signature: 5a903e1e296cb85037297fddc27e2870 ****/ %feature("compactdefaultargs") MinorRadius; %feature("autodoc", "Returns the minor radius of the ellipse. @@ -6666,64 +6670,64 @@ float Standard_Real MinorRadius(); /****************** Mirror ******************/ - /**** md5 signature: 5a90a3ec4faf7909390bb0bfb4d9be0f ****/ + /**** md5 signature: 5f85e7eebe220829e022319813e0b5b1 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- None ") Mirror; - void Mirror(const gp_Pnt2d & P); + void Mirror(const gp_Pnt2d & theP); /****************** Mirror ******************/ - /**** md5 signature: 8b8d921c1e87f73e8278c4d42ae298f7 ****/ + /**** md5 signature: ec42c083971941a78ed6667e3ee849d3 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- None ") Mirror; - void Mirror(const gp_Ax2d & A); + void Mirror(const gp_Ax2d & theA); /****************** Mirrored ******************/ - /**** md5 signature: d7c47f72461c1e23774db49e84e61c21 ****/ + /**** md5 signature: 60527efe18dbad27e008dbff9d91fc0e ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a ellipse with respect to the point p which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of a ellipse with respect to the point thep which is the center of the symmetry. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- gp_Elips2d ") Mirrored; - gp_Elips2d Mirrored(const gp_Pnt2d & P); + gp_Elips2d Mirrored(const gp_Pnt2d & theP); /****************** Mirrored ******************/ - /**** md5 signature: 57c7eb740b22de6e0e1429058269890f ****/ + /**** md5 signature: 8c54a1113521347fa4aaedb21c91a4b1 ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a ellipse with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- gp_Elips2d ") Mirrored; - gp_Elips2d Mirrored(const gp_Ax2d & A); + gp_Elips2d Mirrored(const gp_Ax2d & theA); /****************** Parameter ******************/ /**** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ****/ @@ -6737,7 +6741,7 @@ float Standard_Real Parameter(); /****************** Reverse ******************/ - /**** md5 signature: b751d6874fc026e19a7a6cb37e9ac1b4 ****/ + /**** md5 signature: 51c7e0d05769dec0ec2bb70e4d25e48d ****/ %feature("compactdefaultargs") Reverse; %feature("autodoc", "No available documentation. @@ -6759,253 +6763,253 @@ gp_Elips2d gp_Elips2d Reversed(); /****************** Rotate ******************/ - /**** md5 signature: 795edcbb32146eb6f071bea4c90f5cfd ****/ + /**** md5 signature: 4514855f978c37f3ce31a9851c5a1153 ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d -Ang: float +theP: gp_Pnt2d +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Pnt2d & P, const Standard_Real Ang); + void Rotate(const gp_Pnt2d & theP, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: 3c9ea3e3c86084cbb9cad95e5f7b6f5d ****/ + /**** md5 signature: 50cc3159fd8184ef67fb8bb98c7f123d ****/ %feature("compactdefaultargs") Rotated; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d -Ang: float +theP: gp_Pnt2d +theAng: float Returns ------- gp_Elips2d ") Rotated; - gp_Elips2d Rotated(const gp_Pnt2d & P, const Standard_Real Ang); + gp_Elips2d Rotated(const gp_Pnt2d & theP, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: 5b49a8aeffcacace07c66937f77f1e03 ****/ + /**** md5 signature: c464bf78519bd3beeec5dd2bb7f74ab0 ****/ %feature("compactdefaultargs") Scale; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d -S: float +theP: gp_Pnt2d +theS: float Returns ------- None ") Scale; - void Scale(const gp_Pnt2d & P, const Standard_Real S); + void Scale(const gp_Pnt2d & theP, const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: 7168271c1fe1a01b68d1848d7a0a4271 ****/ + /**** md5 signature: 07ecda9fdba85d9ffde32019882c9e71 ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Scales a ellipse. s is the scaling value. + %feature("autodoc", "Scales a ellipse. thes is the scaling value. Parameters ---------- -P: gp_Pnt2d -S: float +theP: gp_Pnt2d +theS: float Returns ------- gp_Elips2d ") Scaled; - gp_Elips2d Scaled(const gp_Pnt2d & P, const Standard_Real S); + gp_Elips2d Scaled(const gp_Pnt2d & theP, const Standard_Real theS); /****************** SetAxis ******************/ - /**** md5 signature: 016f6d0b52d2d85d5711abca672ca103 ****/ + /**** md5 signature: fba67a5039095eddccca14c1039ad8be ****/ %feature("compactdefaultargs") SetAxis; - %feature("autodoc", "Modifies this ellipse, by redefining its local coordinate system so that it becomes a. + %feature("autodoc", "Modifies this ellipse, by redefining its local coordinate system so that it becomes thea. Parameters ---------- -A: gp_Ax22d +theA: gp_Ax22d Returns ------- None ") SetAxis; - void SetAxis(const gp_Ax22d & A); + void SetAxis(const gp_Ax22d & theA); /****************** SetLocation ******************/ - /**** md5 signature: 368c9b8c039b553e22ee650e75e4d404 ****/ + /**** md5 signature: fea6486624f66c26e32103313f4d0c00 ****/ %feature("compactdefaultargs") SetLocation; - %feature("autodoc", "Modifies this ellipse, by redefining its local coordinate system so that - its origin becomes p. + %feature("autodoc", "Modifies this ellipse, by redefining its local coordinate system so that - its origin becomes thep. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- None ") SetLocation; - void SetLocation(const gp_Pnt2d & P); + void SetLocation(const gp_Pnt2d & theP); /****************** SetMajorRadius ******************/ - /**** md5 signature: 5b6d39118ca624402ca904f240869d93 ****/ + /**** md5 signature: 847f370a77fa02a8bf45fa2b00b28b74 ****/ %feature("compactdefaultargs") SetMajorRadius; - %feature("autodoc", "Changes the value of the major radius. raises constructionerror if majorradius < minorradius. + %feature("autodoc", "Changes the value of the major radius. raises constructionerror if themajorradius < minorradius. Parameters ---------- -MajorRadius: float +theMajorRadius: float Returns ------- None ") SetMajorRadius; - void SetMajorRadius(const Standard_Real MajorRadius); + void SetMajorRadius(const Standard_Real theMajorRadius); /****************** SetMinorRadius ******************/ - /**** md5 signature: 55b33932324c77b3c1e82a433bb9350f ****/ + /**** md5 signature: 2bb295e6e4f7e9ad627ec256d511ddce ****/ %feature("compactdefaultargs") SetMinorRadius; - %feature("autodoc", "Changes the value of the minor radius. raises constructionerror if majorradius < minorradius or minorradius < 0.0. + %feature("autodoc", "Changes the value of the minor radius. raises constructionerror if majorradius < theminorradius or minorradius < 0.0. Parameters ---------- -MinorRadius: float +theMinorRadius: float Returns ------- None ") SetMinorRadius; - void SetMinorRadius(const Standard_Real MinorRadius); + void SetMinorRadius(const Standard_Real theMinorRadius); /****************** SetXAxis ******************/ - /**** md5 signature: ec66b4bfc97a7a2706907f916a07745f ****/ + /**** md5 signature: 8cea815a914afe135b1603dc856a8a22 ****/ %feature("compactdefaultargs") SetXAxis; - %feature("autodoc", "Modifies this ellipse, by redefining its local coordinate system so that its origin and its 'x direction' become those of the axis a. the 'y direction' is then recomputed. the orientation of the local coordinate system is not modified. + %feature("autodoc", "Modifies this ellipse, by redefining its local coordinate system so that its origin and its 'x direction' become those of the axis thea. the 'y direction' is then recomputed. the orientation of the local coordinate system is not modified. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- None ") SetXAxis; - void SetXAxis(const gp_Ax2d & A); + void SetXAxis(const gp_Ax2d & theA); /****************** SetYAxis ******************/ - /**** md5 signature: f0f5b973b3cd13921764c845a5c4cc95 ****/ + /**** md5 signature: f60887b297962c8ebfb061925ba2853e ****/ %feature("compactdefaultargs") SetYAxis; - %feature("autodoc", "Modifies this ellipse, by redefining its local coordinate system so that its origin and its 'y direction' become those of the axis a. the 'x direction' is then recomputed. the orientation of the local coordinate system is not modified. + %feature("autodoc", "Modifies this ellipse, by redefining its local coordinate system so that its origin and its 'y direction' become those of the axis thea. the 'x direction' is then recomputed. the orientation of the local coordinate system is not modified. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- None ") SetYAxis; - void SetYAxis(const gp_Ax2d & A); + void SetYAxis(const gp_Ax2d & theA); /****************** Transform ******************/ - /**** md5 signature: dace16a29a39216c0dd584c6964e840b ****/ + /**** md5 signature: 94f8045e6a4465708e872ec10cb3f4d1 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- None ") Transform; - void Transform(const gp_Trsf2d & T); + void Transform(const gp_Trsf2d & theT); /****************** Transformed ******************/ - /**** md5 signature: f83dc56c7ba1efe3e4858dad480a8f4f ****/ + /**** md5 signature: df82bc60f4eb101b33cd2eeff2197ace ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms an ellipse with the transformation t from class trsf2d. + %feature("autodoc", "Transforms an ellipse with the transformation thet from class trsf2d. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- gp_Elips2d ") Transformed; - gp_Elips2d Transformed(const gp_Trsf2d & T); + gp_Elips2d Transformed(const gp_Trsf2d & theT); /****************** Translate ******************/ - /**** md5 signature: 1cd2e000b85692a9f89a6bf8e8e4782c ****/ + /**** md5 signature: f3112504d8f922313d0ee62e8d9fc9ad ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- None ") Translate; - void Translate(const gp_Vec2d & V); + void Translate(const gp_Vec2d & theV); /****************** Translate ******************/ - /**** md5 signature: c7768f1dcf9b6595f2bd4653737544f9 ****/ + /**** md5 signature: edde3614f43331c7884ace28c720ab8c ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt2d -P2: gp_Pnt2d +theP1: gp_Pnt2d +theP2: gp_Pnt2d Returns ------- None ") Translate; - void Translate(const gp_Pnt2d & P1, const gp_Pnt2d & P2); + void Translate(const gp_Pnt2d & theP1, const gp_Pnt2d & theP2); /****************** Translated ******************/ - /**** md5 signature: 6d2dcf44ec33fadd05110f5d8f458817 ****/ + /**** md5 signature: 74f028e64963dcfec3021383f873b0dd ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a ellipse in the direction of the vector v. the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "Translates a ellipse in the direction of the vector thev. the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- gp_Elips2d ") Translated; - gp_Elips2d Translated(const gp_Vec2d & V); + gp_Elips2d Translated(const gp_Vec2d & theV); /****************** Translated ******************/ - /**** md5 signature: 81f1dae966bde17156111d8cede730fb ****/ + /**** md5 signature: 399c975e74ebf2699ade64b57c9f3507 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a ellipse from the point p1 to the point p2. + %feature("autodoc", "Translates a ellipse from the point thep1 to the point thep2. Parameters ---------- -P1: gp_Pnt2d -P2: gp_Pnt2d +theP1: gp_Pnt2d +theP2: gp_Pnt2d Returns ------- gp_Elips2d ") Translated; - gp_Elips2d Translated(const gp_Pnt2d & P1, const gp_Pnt2d & P2); + gp_Elips2d Translated(const gp_Pnt2d & theP1, const gp_Pnt2d & theP2); /****************** XAxis ******************/ - /**** md5 signature: 5bcd651b87069885e2b5ecad2bd89992 ****/ + /**** md5 signature: 6a005542df14e10d67ac38644cf8c7ae ****/ %feature("compactdefaultargs") XAxis; %feature("autodoc", "Returns the major axis of the ellipse. @@ -7016,7 +7020,7 @@ gp_Ax2d gp_Ax2d XAxis(); /****************** YAxis ******************/ - /**** md5 signature: 1e80565ed75c7e231792089b80d7c873 ****/ + /**** md5 signature: d49975ff0e9ed400148a36ac6e990919 ****/ %feature("compactdefaultargs") YAxis; %feature("autodoc", "Returns the minor axis of the ellipse. reverses the direction of the circle. @@ -7041,7 +7045,7 @@ gp_Ax2d class gp_GTrsf { public: /****************** gp_GTrsf ******************/ - /**** md5 signature: 5af682ea331c9109fd55e315f9e59a91 ****/ + /**** md5 signature: 95c0c38b9f03c9859a223bcf21fb9a43 ****/ %feature("compactdefaultargs") gp_GTrsf; %feature("autodoc", "Returns the identity transformation. @@ -7052,35 +7056,35 @@ None gp_GTrsf(); /****************** gp_GTrsf ******************/ - /**** md5 signature: 195e8767eecf1e27947aab019ff8315c ****/ + /**** md5 signature: ae237a5e098c311e31a76c1158b07cf5 ****/ %feature("compactdefaultargs") gp_GTrsf; - %feature("autodoc", "Converts the gp_trsf transformation t into a general transformation, i.e. returns a gtrsf with the same matrix of coefficients as the trsf t. + %feature("autodoc", "Converts the gp_trsf transformation thet into a general transformation, i.e. returns a gtrsf with the same matrix of coefficients as the trsf thet. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") gp_GTrsf; - gp_GTrsf(const gp_Trsf & T); + gp_GTrsf(const gp_Trsf & theT); /****************** gp_GTrsf ******************/ - /**** md5 signature: 973ae2615659d7b3049fc21bf8f215b2 ****/ + /**** md5 signature: b996e6f23aebecad739973d50a34c7e1 ****/ %feature("compactdefaultargs") gp_GTrsf; - %feature("autodoc", "Creates a transformation based on the matrix m and the vector v where m defines the vectorial part of the transformation, and v the translation part, or. + %feature("autodoc", "Creates a transformation based on the matrix them and the vector thev where them defines the vectorial part of the transformation, and v the translation part, or. Parameters ---------- -M: gp_Mat -V: gp_XYZ +theM: gp_Mat +theV: gp_XYZ Returns ------- None ") gp_GTrsf; - gp_GTrsf(const gp_Mat & M, const gp_XYZ & V); + gp_GTrsf(const gp_Mat & theM, const gp_XYZ & theV); %feature("autodoc", "1"); @@ -7091,7 +7095,7 @@ None return s.str();} }; /****************** Form ******************/ - /**** md5 signature: 9bfbf058eebcd895fd3b29a4bba4ff05 ****/ + /**** md5 signature: f29bb1eb1523b456c279366338ab9947 ****/ %feature("compactdefaultargs") Form; %feature("autodoc", "Returns the nature of the transformation. it can be an identity transformation, a rotation, a translation, a mirror transformation (relative to a point, an axis or a plane), a scaling transformation, a compound transformation or some other type of transformation. @@ -7113,7 +7117,7 @@ None void Invert(); /****************** Inverted ******************/ - /**** md5 signature: 6aecd1a624ed775c847887380509f2fa ****/ + /**** md5 signature: 20e104c1b972c0dc0ea5c50b20cfe6a4 ****/ %feature("compactdefaultargs") Inverted; %feature("autodoc", "Computes the reverse transformation. raises an exception if the matrix of the transformation is not inversible. @@ -7124,7 +7128,7 @@ gp_GTrsf gp_GTrsf Inverted(); /****************** IsNegative ******************/ - /**** md5 signature: 526e6184e7b7162d8ef698149b1c8ce5 ****/ + /**** md5 signature: 4a3d241c868ecfc4b59898855c5acee1 ****/ %feature("compactdefaultargs") IsNegative; %feature("autodoc", "Returns true if the determinant of the vectorial part of this transformation is negative. @@ -7135,7 +7139,7 @@ bool Standard_Boolean IsNegative(); /****************** IsSingular ******************/ - /**** md5 signature: a0f47fe8c8ec8cb2abeeacefc1391dcc ****/ + /**** md5 signature: 03390e58a75dab9eea1f879d1c62f432 ****/ %feature("compactdefaultargs") IsSingular; %feature("autodoc", "Returns true if this transformation is singular (and therefore, cannot be inverted). note: the gauss lu decomposition is used to invert the transformation matrix. consequently, the transformation is considered as singular if the largest pivot found is less than or equal to gp::resolution(). warning if this transformation is singular, it cannot be inverted. @@ -7146,116 +7150,116 @@ bool Standard_Boolean IsSingular(); /****************** Multiplied ******************/ - /**** md5 signature: d41d18f939ba5f7f9e50c821aff5f145 ****/ + /**** md5 signature: 0412af175c722164d2eec0421acb3f6a ****/ %feature("compactdefaultargs") Multiplied; - %feature("autodoc", "Computes the transformation composed from t and . in a c++ implementation you can also write tcomposed = * t. example : gtrsf t1, t2, tcomp; ............... //composition : tcomp = t2.multiplied(t1); // or (tcomp = t2 * t1) // transformation of a point xyz p(10.,3.,4.); xyz p1(p); tcomp.transforms(p1); //using tcomp xyz p2(p); t1.transforms(p2); //using t1 then t2 t2.transforms(p2); // p1 = p2 !!!. + %feature("autodoc", "Computes the transformation composed from thet and . in a c++ implementation you can also write tcomposed = * thet. example : @code gp_gtrsf t1, t2, tcomp; ............... //composition : tcomp = t2.multiplied(t1); // or (tcomp = t2 * t1) // transformation of a point gp_xyz p(10.,3.,4.); gp_xyz p1(p); tcomp.transforms(p1); //using tcomp gp_xyz p2(p); t1.transforms(p2); //using t1 then t2 t2.transforms(p2); // p1 = p2 !!! @endcode. Parameters ---------- -T: gp_GTrsf +theT: gp_GTrsf Returns ------- gp_GTrsf ") Multiplied; - gp_GTrsf Multiplied(const gp_GTrsf & T); + gp_GTrsf Multiplied(const gp_GTrsf & theT); /****************** Multiply ******************/ - /**** md5 signature: 85029720187f37aa9dfca742737a5c8b ****/ + /**** md5 signature: a247a1bee447b3badb823f0105999e27 ****/ %feature("compactdefaultargs") Multiply; - %feature("autodoc", "Computes the transformation composed with and t. = * t. + %feature("autodoc", "Computes the transformation composed with and thet. = * thet. Parameters ---------- -T: gp_GTrsf +theT: gp_GTrsf Returns ------- None ") Multiply; - void Multiply(const gp_GTrsf & T); + void Multiply(const gp_GTrsf & theT); /****************** Power ******************/ - /**** md5 signature: 269b25031ee3626d57e26795a85486bb ****/ + /**** md5 signature: fe226a66f073d604b8a0d81d41f1ca71 ****/ %feature("compactdefaultargs") Power; %feature("autodoc", "No available documentation. Parameters ---------- -N: int +theN: int Returns ------- None ") Power; - void Power(const Standard_Integer N); + void Power(const Standard_Integer theN); /****************** Powered ******************/ - /**** md5 signature: ff038eeaf4d48357e7237483a03e3ba2 ****/ + /**** md5 signature: ef7ab5f78abe60a41c73c5f3c0373675 ****/ %feature("compactdefaultargs") Powered; - %feature("autodoc", "Computes: - the product of this transformation multiplied by itself n times, if n is positive, or - the product of the inverse of this transformation multiplied by itself |n| times, if n is negative. if n equals zero, the result is equal to the identity transformation. i.e.: * * .......* , n time. if n =0 = identity if n < 0 = .inverse() *...........* .inverse(). //! raises an exception if n < 0 and if the matrix of the transformation not inversible. + %feature("autodoc", "Computes: - the product of this transformation multiplied by itself then times, if then is positive, or - the product of the inverse of this transformation multiplied by itself |then| times, if then is negative. if then equals zero, the result is equal to the identity transformation. i.e.: * * .......* , then time. if then =0 = identity if then < 0 = .inverse() *...........* .inverse(). //! raises an exception if n < 0 and if the matrix of the transformation not inversible. Parameters ---------- -N: int +theN: int Returns ------- gp_GTrsf ") Powered; - gp_GTrsf Powered(const Standard_Integer N); + gp_GTrsf Powered(const Standard_Integer theN); /****************** PreMultiply ******************/ - /**** md5 signature: 0b369b9eba09e73bc4b733ba86312183 ****/ + /**** md5 signature: 520cdca00681b657332883d57c2939cb ****/ %feature("compactdefaultargs") PreMultiply; - %feature("autodoc", "Computes the product of the transformation t and this transformation and assigns the result to this transformation. this = t * this. + %feature("autodoc", "Computes the product of the transformation thet and this transformation and assigns the result to this transformation. this = thet * this. Parameters ---------- -T: gp_GTrsf +theT: gp_GTrsf Returns ------- None ") PreMultiply; - void PreMultiply(const gp_GTrsf & T); + void PreMultiply(const gp_GTrsf & theT); /****************** SetAffinity ******************/ - /**** md5 signature: ab05a862807b8b5bd8dfb271e68d8495 ****/ + /**** md5 signature: 6915b232e91b960064122c1963417a26 ****/ %feature("compactdefaultargs") SetAffinity; - %feature("autodoc", "Changes this transformation into an affinity of ratio ratio with respect to the axis a1. note: an affinity is a point-by-point transformation that transforms any point p into a point p' such that if h is the orthogonal projection of p on the axis a1 or the plane a2, the vectors hp and hp' satisfy: hp' = ratio * hp. + %feature("autodoc", "Changes this transformation into an affinity of ratio theratio with respect to the axis thea1. note: an affinity is a point-by-point transformation that transforms any point p into a point p' such that if h is the orthogonal projection of p on the axis thea1 or the plane a2, the vectors hp and hp' satisfy: hp' = theratio * hp. Parameters ---------- -A1: gp_Ax1 -Ratio: float +theA1: gp_Ax1 +theRatio: float Returns ------- None ") SetAffinity; - void SetAffinity(const gp_Ax1 & A1, const Standard_Real Ratio); + void SetAffinity(const gp_Ax1 & theA1, const Standard_Real theRatio); /****************** SetAffinity ******************/ - /**** md5 signature: 8cc29710c9e0faa6eac83d4f7710a30a ****/ + /**** md5 signature: c5a4fef9ce6c40c20a012d24f4a2fd07 ****/ %feature("compactdefaultargs") SetAffinity; - %feature("autodoc", "Changes this transformation into an affinity of ratio ratio with respect to the plane defined by the origin, the 'x direction' and the 'y direction' of coordinate system a2. note: an affinity is a point-by-point transformation that transforms any point p into a point p' such that if h is the orthogonal projection of p on the axis a1 or the plane a2, the vectors hp and hp' satisfy: hp' = ratio * hp. + %feature("autodoc", "Changes this transformation into an affinity of ratio theratio with respect to the plane defined by the origin, the 'x direction' and the 'y direction' of coordinate system thea2. note: an affinity is a point-by-point transformation that transforms any point p into a point p' such that if h is the orthogonal projection of p on the axis a1 or the plane thea2, the vectors hp and hp' satisfy: hp' = theratio * hp. Parameters ---------- -A2: gp_Ax2 -Ratio: float +theA2: gp_Ax2 +theRatio: float Returns ------- None ") SetAffinity; - void SetAffinity(const gp_Ax2 & A2, const Standard_Real Ratio); + void SetAffinity(const gp_Ax2 & theA2, const Standard_Real theRatio); /****************** SetForm ******************/ /**** md5 signature: 24aaa37eae60e1c6ddc89cc5799d3e54 ****/ %feature("compactdefaultargs") SetForm; - %feature("autodoc", "Verify and set the shape of the gtrsf other or compoundtrsf ex : mygtrsf.setvalue(row1,col1,val1); mygtrsf.setvalue(row2,col2,val2); ... mygtrsf.setform();. + %feature("autodoc", "Verify and set the shape of the gtrsf other or compoundtrsf ex : @code mygtrsf.setvalue(row1,col1,val1); mygtrsf.setvalue(row2,col2,val2); ... mygtrsf.setform(); @endcode. Returns ------- @@ -7264,84 +7268,84 @@ None void SetForm(); /****************** SetTranslationPart ******************/ - /**** md5 signature: 43b89d3c3e7bdfc500909689d30e042f ****/ + /**** md5 signature: 9e742c7bbc3e725da5b9b0aea1596118 ****/ %feature("compactdefaultargs") SetTranslationPart; - %feature("autodoc", "Replaces the translation part of this transformation by the coordinates of the number triple coord. + %feature("autodoc", "Replaces the translation part of this transformation by the coordinates of the number triple thecoord. Parameters ---------- -Coord: gp_XYZ +theCoord: gp_XYZ Returns ------- None ") SetTranslationPart; - void SetTranslationPart(const gp_XYZ & Coord); + void SetTranslationPart(const gp_XYZ & theCoord); /****************** SetTrsf ******************/ - /**** md5 signature: 40ab44b5c18d6292c5bc589b3cc5f286 ****/ + /**** md5 signature: 7b3bb649abbe2903c4caa00865e50f22 ****/ %feature("compactdefaultargs") SetTrsf; - %feature("autodoc", "Assigns the vectorial and translation parts of t to this transformation. + %feature("autodoc", "Assigns the vectorial and translation parts of thet to this transformation. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") SetTrsf; - void SetTrsf(const gp_Trsf & T); + void SetTrsf(const gp_Trsf & theT); /****************** SetValue ******************/ - /**** md5 signature: db365e16a78bd3bf72b91ac00f7ecbe0 ****/ + /**** md5 signature: 9b25ecd3fcd3222f2c456a9603298770 ****/ %feature("compactdefaultargs") SetValue; - %feature("autodoc", "Replaces the coefficient (row, col) of the matrix representing this transformation by value. raises outofrange if row < 1 or row > 3 or col < 1 or col > 4. + %feature("autodoc", "Replaces the coefficient (therow, thecol) of the matrix representing this transformation by thevalue. raises outofrange if therow < 1 or therow > 3 or thecol < 1 or thecol > 4. Parameters ---------- -Row: int -Col: int -Value: float +theRow: int +theCol: int +theValue: float Returns ------- None ") SetValue; - void SetValue(const Standard_Integer Row, const Standard_Integer Col, const Standard_Real Value); + void SetValue(const Standard_Integer theRow, const Standard_Integer theCol, const Standard_Real theValue); /****************** SetVectorialPart ******************/ - /**** md5 signature: 132c951a8b5720f2ff9c1f3bbef5f86b ****/ + /**** md5 signature: 68420e3dad92d19aecfa05791e26c65b ****/ %feature("compactdefaultargs") SetVectorialPart; - %feature("autodoc", "Replaces the vectorial part of this transformation by matrix. + %feature("autodoc", "Replaces the vectorial part of this transformation by thematrix. Parameters ---------- -Matrix: gp_Mat +theMatrix: gp_Mat Returns ------- None ") SetVectorialPart; - void SetVectorialPart(const gp_Mat & Matrix); + void SetVectorialPart(const gp_Mat & theMatrix); /****************** Transforms ******************/ - /**** md5 signature: 7c9a74fca6704e5441fbd1b45b0d2603 ****/ + /**** md5 signature: 8f9dd5cceda35c2463cf3d74007d1cb1 ****/ %feature("compactdefaultargs") Transforms; %feature("autodoc", "No available documentation. Parameters ---------- -Coord: gp_XYZ +theCoord: gp_XYZ Returns ------- None ") Transforms; - void Transforms(gp_XYZ & Coord); + void Transforms(gp_XYZ & theCoord); /****************** Transforms ******************/ - /**** md5 signature: e55c1b0b3132b0094009ac78081a704b ****/ + /**** md5 signature: ba26ab7aff72ff32856094b1e250c94f ****/ %feature("compactdefaultargs") Transforms; %feature("autodoc", "Transforms a triplet xyz with a gtrsf. @@ -7350,14 +7354,14 @@ Parameters Returns ------- -X: float -Y: float -Z: float +theX: float +theY: float +theZ: float ") Transforms; void Transforms(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); /****************** TranslationPart ******************/ - /**** md5 signature: 522a640cf54bd3f09fb41e692c8c176d ****/ + /**** md5 signature: 6e19b500ee29d7f16325476cae8b6aaf ****/ %feature("compactdefaultargs") TranslationPart; %feature("autodoc", "Returns the translation part of the gtrsf. @@ -7379,23 +7383,23 @@ gp_Trsf gp_Trsf Trsf(); /****************** Value ******************/ - /**** md5 signature: 1f17b21423db514e298b820a9dd11211 ****/ + /**** md5 signature: de381dc023424482347f7e2b0c3a6975 ****/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the coefficients of the global matrix of transformation. raises outofrange if row < 1 or row > 3 or col < 1 or col > 4. + %feature("autodoc", "Returns the coefficients of the global matrix of transformation. raises outofrange if therow < 1 or therow > 3 or thecol < 1 or thecol > 4. Parameters ---------- -Row: int -Col: int +theRow: int +theCol: int Returns ------- float ") Value; - Standard_Real Value(const Standard_Integer Row, const Standard_Integer Col); + Standard_Real Value(const Standard_Integer theRow, const Standard_Integer theCol); /****************** VectorialPart ******************/ - /**** md5 signature: e6dedadc26d46b9b0e3810ac5e30d248 ****/ + /**** md5 signature: f8ab7f59550c0a8d789cf5be1062d9b5 ****/ %feature("compactdefaultargs") VectorialPart; %feature("autodoc", "Computes the vectorial part of the gtrsf. the returned matrix is a 3*3 matrix. @@ -7406,19 +7410,19 @@ gp_Mat const gp_Mat VectorialPart(); /****************** operator * ******************/ - /**** md5 signature: 842fcc6d1b6f5f41820093dea2e894d9 ****/ + /**** md5 signature: 10e76ac91d674cb7708c2608bca82889 ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_GTrsf +theT: gp_GTrsf Returns ------- gp_GTrsf ") operator *; - gp_GTrsf operator *(const gp_GTrsf & T); + gp_GTrsf operator *(const gp_GTrsf & theT); %extend{ @@ -7446,7 +7450,7 @@ gp_GTrsf class gp_GTrsf2d { public: /****************** gp_GTrsf2d ******************/ - /**** md5 signature: 933166f71fcf47cabfb96ea8ec45021c ****/ + /**** md5 signature: ef0c3ea857f0f9588cf44388e702f751 ****/ %feature("compactdefaultargs") gp_GTrsf2d; %feature("autodoc", "Returns identity transformation. @@ -7457,38 +7461,38 @@ None gp_GTrsf2d(); /****************** gp_GTrsf2d ******************/ - /**** md5 signature: 3042ccd7b3cfac4e0854e1e134227c79 ****/ + /**** md5 signature: 620ab410ff57eed20fe9970b6e41008a ****/ %feature("compactdefaultargs") gp_GTrsf2d; - %feature("autodoc", "Converts the gp_trsf2d transformation t into a general transformation. + %feature("autodoc", "Converts the gp_trsf2d transformation thet into a general transformation. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- None ") gp_GTrsf2d; - gp_GTrsf2d(const gp_Trsf2d & T); + gp_GTrsf2d(const gp_Trsf2d & theT); /****************** gp_GTrsf2d ******************/ - /**** md5 signature: 84147eddf8a3266721c2f37402e5f312 ****/ + /**** md5 signature: 7dad38427f6203b577e15fc404abca18 ****/ %feature("compactdefaultargs") gp_GTrsf2d; - %feature("autodoc", "Creates a transformation based on the matrix m and the vector v where m defines the vectorial part of the transformation, and v the translation part. + %feature("autodoc", "Creates a transformation based on the matrix them and the vector thev where them defines the vectorial part of the transformation, and thev the translation part. Parameters ---------- -M: gp_Mat2d -V: gp_XY +theM: gp_Mat2d +theV: gp_XY Returns ------- None ") gp_GTrsf2d; - gp_GTrsf2d(const gp_Mat2d & M, const gp_XY & V); + gp_GTrsf2d(const gp_Mat2d & theM, const gp_XY & theV); /****************** Form ******************/ - /**** md5 signature: 9bfbf058eebcd895fd3b29a4bba4ff05 ****/ + /**** md5 signature: f29bb1eb1523b456c279366338ab9947 ****/ %feature("compactdefaultargs") Form; %feature("autodoc", "Returns the nature of the transformation. it can be an identity transformation, a rotation, a translation, a mirror transformation (relative to a point or axis), a scaling transformation, a compound transformation or some other type of transformation. @@ -7510,7 +7514,7 @@ None void Invert(); /****************** Inverted ******************/ - /**** md5 signature: 7622d698ffe490d460567150b0afa0b2 ****/ + /**** md5 signature: f60f0491416a0a0fd4ec062a70fe0cec ****/ %feature("compactdefaultargs") Inverted; %feature("autodoc", "Computes the reverse transformation. raised an exception if the matrix of the transformation is not inversible. @@ -7521,7 +7525,7 @@ gp_GTrsf2d gp_GTrsf2d Inverted(); /****************** IsNegative ******************/ - /**** md5 signature: 526e6184e7b7162d8ef698149b1c8ce5 ****/ + /**** md5 signature: 4a3d241c868ecfc4b59898855c5acee1 ****/ %feature("compactdefaultargs") IsNegative; %feature("autodoc", "Returns true if the determinant of the vectorial part of this transformation is negative. @@ -7532,7 +7536,7 @@ bool Standard_Boolean IsNegative(); /****************** IsSingular ******************/ - /**** md5 signature: a0f47fe8c8ec8cb2abeeacefc1391dcc ****/ + /**** md5 signature: 03390e58a75dab9eea1f879d1c62f432 ****/ %feature("compactdefaultargs") IsSingular; %feature("autodoc", "Returns true if this transformation is singular (and therefore, cannot be inverted). note: the gauss lu decomposition is used to invert the transformation matrix. consequently, the transformation is considered as singular if the largest pivot found is less than or equal to gp::resolution(). warning if this transformation is singular, it cannot be inverted. @@ -7543,205 +7547,205 @@ bool Standard_Boolean IsSingular(); /****************** Multiplied ******************/ - /**** md5 signature: 835593b1b1ce9ca62aa023f2a568b781 ****/ + /**** md5 signature: e158daa87c6102719ad9ab942df8617c ****/ %feature("compactdefaultargs") Multiplied; - %feature("autodoc", "Computes the transformation composed with t and . in a c++ implementation you can also write tcomposed = * t. example : gtrsf2d t1, t2, tcomp; ............... //composition : tcomp = t2.multiplied(t1); // or (tcomp = t2 * t1) // transformation of a point xy p(10.,3.); xy p1(p); tcomp.transforms(p1); //using tcomp xy p2(p); t1.transforms(p2); //using t1 then t2 t2.transforms(p2); // p1 = p2 !!!. + %feature("autodoc", "Computes the transformation composed with thet and . in a c++ implementation you can also write tcomposed = * thet. example : @code gp_gtrsf2d t1, t2, tcomp; ............... //composition : tcomp = t2.multiplied(t1); // or (tcomp = t2 * t1) // transformation of a point gp_xy p(10.,3.); gp_xy p1(p); tcomp.transforms(p1); //using tcomp gp_xy p2(p); t1.transforms(p2); //using t1 then t2 t2.transforms(p2); // p1 = p2 !!! @endcode. Parameters ---------- -T: gp_GTrsf2d +theT: gp_GTrsf2d Returns ------- gp_GTrsf2d ") Multiplied; - gp_GTrsf2d Multiplied(const gp_GTrsf2d & T); + gp_GTrsf2d Multiplied(const gp_GTrsf2d & theT); /****************** Multiply ******************/ - /**** md5 signature: 1950c83dc572ea26a054daa4065e7cc1 ****/ + /**** md5 signature: 5070b8932341dd47405b05e8e355859b ****/ %feature("compactdefaultargs") Multiply; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_GTrsf2d +theT: gp_GTrsf2d Returns ------- None ") Multiply; - void Multiply(const gp_GTrsf2d & T); + void Multiply(const gp_GTrsf2d & theT); /****************** Power ******************/ - /**** md5 signature: 269b25031ee3626d57e26795a85486bb ****/ + /**** md5 signature: fe226a66f073d604b8a0d81d41f1ca71 ****/ %feature("compactdefaultargs") Power; %feature("autodoc", "No available documentation. Parameters ---------- -N: int +theN: int Returns ------- None ") Power; - void Power(const Standard_Integer N); + void Power(const Standard_Integer theN); /****************** Powered ******************/ - /**** md5 signature: ae752b1a029dc64311a9a3c8673d67c3 ****/ + /**** md5 signature: 22cfce75a781b5bb74f3cee7a6e592a3 ****/ %feature("compactdefaultargs") Powered; - %feature("autodoc", "Computes the following composition of transformations * * .......* , n time. if n = 0 = identity if n < 0 = .inverse() *...........* .inverse(). //! raises an exception if n < 0 and if the matrix of the transformation is not inversible. + %feature("autodoc", "Computes the following composition of transformations * * .......* , then time. if then = 0 = identity if then < 0 = .inverse() *...........* .inverse(). //! raises an exception if then < 0 and if the matrix of the transformation is not inversible. Parameters ---------- -N: int +theN: int Returns ------- gp_GTrsf2d ") Powered; - gp_GTrsf2d Powered(const Standard_Integer N); + gp_GTrsf2d Powered(const Standard_Integer theN); /****************** PreMultiply ******************/ - /**** md5 signature: 4bee70e61b224e4d6f5d578d78a62697 ****/ + /**** md5 signature: 8be694d4d9a5049f2c986fa0b9cee8dd ****/ %feature("compactdefaultargs") PreMultiply; - %feature("autodoc", "Computes the product of the transformation t and this transformation, and assigns the result to this transformation: this = t * this. + %feature("autodoc", "Computes the product of the transformation thet and this transformation, and assigns the result to this transformation: this = thet * this. Parameters ---------- -T: gp_GTrsf2d +theT: gp_GTrsf2d Returns ------- None ") PreMultiply; - void PreMultiply(const gp_GTrsf2d & T); + void PreMultiply(const gp_GTrsf2d & theT); /****************** SetAffinity ******************/ - /**** md5 signature: 781d2d9f55277b9b34a59751097d34e9 ****/ + /**** md5 signature: af4fa6ac41053560a1bc11131fea98f6 ****/ %feature("compactdefaultargs") SetAffinity; - %feature("autodoc", "Changes this transformation into an affinity of ratio ratio with respect to the axis a. note: an affinity is a point-by-point transformation that transforms any point p into a point p' such that if h is the orthogonal projection of p on the axis a, the vectors hp and hp' satisfy: hp' = ratio * hp. + %feature("autodoc", "Changes this transformation into an affinity of ratio theratio with respect to the axis thea. note: an affinity is a point-by-point transformation that transforms any point p into a point p' such that if h is the orthogonal projection of p on the axis thea, the vectors hp and hp' satisfy: hp' = theratio * hp. Parameters ---------- -A: gp_Ax2d -Ratio: float +theA: gp_Ax2d +theRatio: float Returns ------- None ") SetAffinity; - void SetAffinity(const gp_Ax2d & A, const Standard_Real Ratio); + void SetAffinity(const gp_Ax2d & theA, const Standard_Real theRatio); /****************** SetTranslationPart ******************/ - /**** md5 signature: 7449568a86af8d6301df24780815ad7e ****/ + /**** md5 signature: a41985f432639c55f93c33e4be3a3501 ****/ %feature("compactdefaultargs") SetTranslationPart; - %feature("autodoc", "Replacesthe translation part of this transformation by the coordinates of the number pair coord. + %feature("autodoc", "Replaces the translation part of this transformation by the coordinates of the number pair thecoord. Parameters ---------- -Coord: gp_XY +theCoord: gp_XY Returns ------- None ") SetTranslationPart; - void SetTranslationPart(const gp_XY & Coord); + void SetTranslationPart(const gp_XY & theCoord); /****************** SetTrsf2d ******************/ - /**** md5 signature: 941daf470871f4c0229dd5afe5a83fae ****/ + /**** md5 signature: 57bc6355283dbf478188695a15c97581 ****/ %feature("compactdefaultargs") SetTrsf2d; - %feature("autodoc", "Assigns the vectorial and translation parts of t to this transformation. + %feature("autodoc", "Assigns the vectorial and translation parts of thet to this transformation. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- None ") SetTrsf2d; - void SetTrsf2d(const gp_Trsf2d & T); + void SetTrsf2d(const gp_Trsf2d & theT); /****************** SetValue ******************/ - /**** md5 signature: db365e16a78bd3bf72b91ac00f7ecbe0 ****/ + /**** md5 signature: 9b25ecd3fcd3222f2c456a9603298770 ****/ %feature("compactdefaultargs") SetValue; - %feature("autodoc", "Replaces the coefficient (row, col) of the matrix representing this transformation by value, raises outofrange if row < 1 or row > 2 or col < 1 or col > 3. + %feature("autodoc", "Replaces the coefficient (therow, thecol) of the matrix representing this transformation by thevalue, raises outofrange if therow < 1 or therow > 2 or thecol < 1 or thecol > 3. Parameters ---------- -Row: int -Col: int -Value: float +theRow: int +theCol: int +theValue: float Returns ------- None ") SetValue; - void SetValue(const Standard_Integer Row, const Standard_Integer Col, const Standard_Real Value); + void SetValue(const Standard_Integer theRow, const Standard_Integer theCol, const Standard_Real theValue); /****************** SetVectorialPart ******************/ - /**** md5 signature: 00debb9f9e8828af00639c6ce379b021 ****/ + /**** md5 signature: bf8108eee66cc8e3ec56080a0691ec07 ****/ %feature("compactdefaultargs") SetVectorialPart; - %feature("autodoc", "Replaces the vectorial part of this transformation by matrix. + %feature("autodoc", "Replaces the vectorial part of this transformation by thematrix. Parameters ---------- -Matrix: gp_Mat2d +theMatrix: gp_Mat2d Returns ------- None ") SetVectorialPart; - void SetVectorialPart(const gp_Mat2d & Matrix); + void SetVectorialPart(const gp_Mat2d & theMatrix); /****************** Transformed ******************/ - /**** md5 signature: ec59db2b70ecf4d57a92ec9c29786bcb ****/ + /**** md5 signature: cb46257f4e36242646ce6f48908a47e0 ****/ %feature("compactdefaultargs") Transformed; %feature("autodoc", "No available documentation. Parameters ---------- -Coord: gp_XY +theCoord: gp_XY Returns ------- gp_XY ") Transformed; - gp_XY Transformed(const gp_XY & Coord); + gp_XY Transformed(const gp_XY & theCoord); /****************** Transforms ******************/ - /**** md5 signature: 42fcc5a0a1f5720bc6e9d9621687e72b ****/ + /**** md5 signature: 4dc62941ec30f61dd6f0de5964b8fff6 ****/ %feature("compactdefaultargs") Transforms; %feature("autodoc", "No available documentation. Parameters ---------- -Coord: gp_XY +theCoord: gp_XY Returns ------- None ") Transforms; - void Transforms(gp_XY & Coord); + void Transforms(gp_XY & theCoord); /****************** Transforms ******************/ - /**** md5 signature: 7a2a4d09be3965069a02b1ab2fe75da0 ****/ + /**** md5 signature: fa7acb5c2b81cd7673049034fcddc957 ****/ %feature("compactdefaultargs") Transforms; - %feature("autodoc", "Applies this transformation to the coordinates: - of the number pair coord, or - x and y. //! note: - transforms modifies x, y, or the coordinate pair coord, while - transformed creates a new coordinate pair. + %feature("autodoc", "Applies this transformation to the coordinates: - of the number pair coord, or - x and y. //! note: - transforms modifies thex, they, or the coordinate pair coord, while - transformed creates a new coordinate pair. Parameters ---------- Returns ------- -X: float -Y: float +theX: float +theY: float ") Transforms; void Transforms(Standard_Real &OutValue, Standard_Real &OutValue); /****************** TranslationPart ******************/ - /**** md5 signature: 2ba6f5175540b0ed3cbb670f3c8ff5d3 ****/ + /**** md5 signature: 6f19325c1730ba0fd4b588033c32e399 ****/ %feature("compactdefaultargs") TranslationPart; %feature("autodoc", "Returns the translation part of the gtrsf2d. @@ -7763,23 +7767,23 @@ gp_Trsf2d gp_Trsf2d Trsf2d(); /****************** Value ******************/ - /**** md5 signature: 1f17b21423db514e298b820a9dd11211 ****/ + /**** md5 signature: de381dc023424482347f7e2b0c3a6975 ****/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the coefficients of the global matrix of transformation. raised outofrange if row < 1 or row > 2 or col < 1 or col > 3. + %feature("autodoc", "Returns the coefficients of the global matrix of transformation. raised outofrange if therow < 1 or therow > 2 or thecol < 1 or thecol > 3. Parameters ---------- -Row: int -Col: int +theRow: int +theCol: int Returns ------- float ") Value; - Standard_Real Value(const Standard_Integer Row, const Standard_Integer Col); + Standard_Real Value(const Standard_Integer theRow, const Standard_Integer theCol); /****************** VectorialPart ******************/ - /**** md5 signature: c70b55607bc5601a60c7027d02caca4b ****/ + /**** md5 signature: e1b5fba87049094128662b7d5a9a7b59 ****/ %feature("compactdefaultargs") VectorialPart; %feature("autodoc", "Computes the vectorial part of the gtrsf2d. the returned matrix is a 2*2 matrix. @@ -7790,19 +7794,19 @@ gp_Mat2d const gp_Mat2d VectorialPart(); /****************** operator * ******************/ - /**** md5 signature: c19807404020983d43601cdd08933d4a ****/ + /**** md5 signature: 64120fcb548b9133abe602a79f862b0c ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_GTrsf2d +theT: gp_GTrsf2d Returns ------- gp_GTrsf2d ") operator *; - gp_GTrsf2d operator *(const gp_GTrsf2d & T); + gp_GTrsf2d operator *(const gp_GTrsf2d & theT); %extend{ @@ -7830,7 +7834,7 @@ gp_GTrsf2d class gp_Hypr { public: /****************** gp_Hypr ******************/ - /**** md5 signature: 2c9fe37efbc49d4f9cfad9cb4de642fd ****/ + /**** md5 signature: 094707d36c81c9ad4dd1b143111db4d9 ****/ %feature("compactdefaultargs") gp_Hypr; %feature("autodoc", "Creates of an indefinite hyperbola. @@ -7841,21 +7845,21 @@ None gp_Hypr(); /****************** gp_Hypr ******************/ - /**** md5 signature: 67caa21841cdcc515ee7e4712ff02258 ****/ + /**** md5 signature: a314918ce7be912306e8f820877a7ec0 ****/ %feature("compactdefaultargs") gp_Hypr; - %feature("autodoc", "Creates a hyperbola with radii majorradius and minorradius, positioned in the space by the coordinate system a2 such that: - the origin of a2 is the center of the hyperbola, - the 'x direction' of a2 defines the major axis of the hyperbola, that is, the major radius majorradius is measured along this axis, and - the 'y direction' of a2 defines the minor axis of the hyperbola, that is, the minor radius minorradius is measured along this axis. note: this class does not prevent the creation of a hyperbola where: - majoraxis is equal to minoraxis, or - majoraxis is less than minoraxis. exceptions standard_constructionerror if majoraxis or minoraxis is negative. raises constructionerror if majorradius < 0.0 or minorradius < 0.0 raised if majorradius < 0.0 or minorradius < 0.0. + %feature("autodoc", "Creates a hyperbola with radius themajorradius and theminorradius, positioned in the space by the coordinate system thea2 such that: - the origin of thea2 is the center of the hyperbola, - the 'x direction' of thea2 defines the major axis of the hyperbola, that is, the major radius themajorradius is measured along this axis, and - the 'y direction' of thea2 defines the minor axis of the hyperbola, that is, the minor radius theminorradius is measured along this axis. note: this class does not prevent the creation of a hyperbola where: - themajoraxis is equal to theminoraxis, or - themajoraxis is less than theminoraxis. exceptions standard_constructionerror if themajoraxis or theminoraxis is negative. raises constructionerror if themajorradius < 0.0 or theminorradius < 0.0 raised if themajorradius < 0.0 or theminorradius < 0.0. Parameters ---------- -A2: gp_Ax2 -MajorRadius: float -MinorRadius: float +theA2: gp_Ax2 +theMajorRadius: float +theMinorRadius: float Returns ------- None ") gp_Hypr; - gp_Hypr(const gp_Ax2 & A2, const Standard_Real MajorRadius, const Standard_Real MinorRadius); + gp_Hypr(const gp_Ax2 & theA2, const Standard_Real theMajorRadius, const Standard_Real theMinorRadius); /****************** Asymptote1 ******************/ /**** md5 signature: de14135c1ce647b5a9f90af716eea7a8 ****/ @@ -7880,7 +7884,7 @@ gp_Ax1 gp_Ax1 Asymptote2(); /****************** Axis ******************/ - /**** md5 signature: cb9b52ff887b682f8bfc1eb2f646705a ****/ + /**** md5 signature: 8e27675ecbe6e648730266788c8e255c ****/ %feature("compactdefaultargs") Axis; %feature("autodoc", "Returns the axis passing through the center, and normal to the plane of this hyperbola. @@ -7891,7 +7895,7 @@ gp_Ax1 const gp_Ax1 Axis(); /****************** ConjugateBranch1 ******************/ - /**** md5 signature: 056e2135e75007339e6abcd54be7d73e ****/ + /**** md5 signature: 8d402ac72b793f2be179c15291ced8b3 ****/ %feature("compactdefaultargs") ConjugateBranch1; %feature("autodoc", "Computes the branch of hyperbola which is on the positive side of the 'yaxis' of . @@ -7902,7 +7906,7 @@ gp_Hypr gp_Hypr ConjugateBranch1(); /****************** ConjugateBranch2 ******************/ - /**** md5 signature: e361e496e4cb0dd5e52876d78f726b91 ****/ + /**** md5 signature: 95bbcdc59f58d488edbf1e4fbe248577 ****/ %feature("compactdefaultargs") ConjugateBranch2; %feature("autodoc", "Computes the branch of hyperbola which is on the negative side of the 'yaxis' of . @@ -7935,9 +7939,9 @@ gp_Ax1 gp_Ax1 Directrix2(); /****************** Eccentricity ******************/ - /**** md5 signature: 78de488c9cbac7c761a28f28e3d39522 ****/ + /**** md5 signature: f8ebdf3bb4cc750ce595707c9b56f4a6 ****/ %feature("compactdefaultargs") Eccentricity; - %feature("autodoc", "Returns the excentricity of the hyperbola (e > 1). if f is the distance between the location of the hyperbola and the focus1 then the eccentricity e = f / majorradius. raises domainerror if majorradius = 0.0. + %feature("autodoc", "Returns the eccentricity of the hyperbola (e > 1). if f is the distance between the location of the hyperbola and the focus1 then the eccentricity e = f / majorradius. raises domainerror if majorradius = 0.0. Returns ------- @@ -7946,7 +7950,7 @@ float Standard_Real Eccentricity(); /****************** Focal ******************/ - /**** md5 signature: 36c97a85b2e31ded83d59428f0f74c3c ****/ + /**** md5 signature: aeac7f567b991e94a3e75e9ed626f41a ****/ %feature("compactdefaultargs") Focal; %feature("autodoc", "Computes the focal distance. it is the distance between the the two focus of the hyperbola. @@ -7979,7 +7983,7 @@ gp_Pnt gp_Pnt Focus2(); /****************** Location ******************/ - /**** md5 signature: 42040ad2ed401b7e80bf90e4b6b5f418 ****/ + /**** md5 signature: becd3d5ba73b438c501a139df51b6b7f ****/ %feature("compactdefaultargs") Location; %feature("autodoc", "Returns the location point of the hyperbola. it is the intersection point between the 'xaxis' and the 'yaxis'. @@ -7990,7 +7994,7 @@ gp_Pnt const gp_Pnt Location(); /****************** MajorRadius ******************/ - /**** md5 signature: e961bb81456f4d0a6154d0e9401e1ce8 ****/ + /**** md5 signature: 128082d838650d89e5451fc2ec2cdd95 ****/ %feature("compactdefaultargs") MajorRadius; %feature("autodoc", "Returns the major radius of the hyperbola. it is the radius on the 'xaxis' of the hyperbola. @@ -8001,7 +8005,7 @@ float Standard_Real MajorRadius(); /****************** MinorRadius ******************/ - /**** md5 signature: e1383e2287a25901af1e2b42cc95af4d ****/ + /**** md5 signature: 5a903e1e296cb85037297fddc27e2870 ****/ %feature("compactdefaultargs") MinorRadius; %feature("autodoc", "Returns the minor radius of the hyperbola. it is the radius on the 'yaxis' of the hyperbola. @@ -8012,97 +8016,97 @@ float Standard_Real MinorRadius(); /****************** Mirror ******************/ - /**** md5 signature: b133f2e6e1c74f672a216a0094bdfda6 ****/ + /**** md5 signature: 095878518b088b42d55c3da09f68a84c ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") Mirror; - void Mirror(const gp_Pnt & P); + void Mirror(const gp_Pnt & theP); /****************** Mirror ******************/ - /**** md5 signature: d1a0189a98d756bd9e5b51b4ae49992a ****/ + /**** md5 signature: cfb16cae08525c5f4ab330102e0377d4 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") Mirror; - void Mirror(const gp_Ax1 & A1); + void Mirror(const gp_Ax1 & theA1); /****************** Mirror ******************/ - /**** md5 signature: 874cde0169043be133e205e960c3ca57 ****/ + /**** md5 signature: ad34943401a2334beed8ccc79094d8df ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") Mirror; - void Mirror(const gp_Ax2 & A2); + void Mirror(const gp_Ax2 & theA2); /****************** Mirrored ******************/ - /**** md5 signature: 1ef2297d7b19e5dd2b271fc9c446501e ****/ + /**** md5 signature: 975191201aa43315433880f1149271a4 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of an hyperbola with respect to the point p which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of an hyperbola with respect to the point thep which is the center of the symmetry. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- gp_Hypr ") Mirrored; - gp_Hypr Mirrored(const gp_Pnt & P); + gp_Hypr Mirrored(const gp_Pnt & theP); /****************** Mirrored ******************/ - /**** md5 signature: 2af9e1543bda3616c6d14d1ac1c4aa45 ****/ + /**** md5 signature: 5f3340cf49a65e5b62bd724427f653e0 ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of an hyperbola with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- gp_Hypr ") Mirrored; - gp_Hypr Mirrored(const gp_Ax1 & A1); + gp_Hypr Mirrored(const gp_Ax1 & theA1); /****************** Mirrored ******************/ - /**** md5 signature: 5f2c39f43d8e92ec08d28a7eb86225dc ****/ + /**** md5 signature: 4a71d42fda88802f3c62180283d07b33 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of an hyperbola with respect to a plane. the axis placement a2 locates the plane of the symmetry (location, xdirection, ydirection). + %feature("autodoc", "Performs the symmetrical transformation of an hyperbola with respect to a plane. the axis placement thea2 locates the plane of the symmetry (location, xdirection, ydirection). Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- gp_Hypr ") Mirrored; - gp_Hypr Mirrored(const gp_Ax2 & A2); + gp_Hypr Mirrored(const gp_Ax2 & theA2); /****************** OtherBranch ******************/ - /**** md5 signature: e3f08eb290c33f5759deca11d2e4aa65 ****/ + /**** md5 signature: 627cb5f0a034c43843be9b8252852ca6 ****/ %feature("compactdefaultargs") OtherBranch; %feature("autodoc", "Returns the branch of hyperbola obtained by doing the symmetrical transformation of with respect to the 'yaxis' of . @@ -8113,7 +8117,7 @@ gp_Hypr gp_Hypr OtherBranch(); /****************** Parameter ******************/ - /**** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ****/ + /**** md5 signature: a1c30d1196ee452cd8e422f1e25a0fbc ****/ %feature("compactdefaultargs") Parameter; %feature("autodoc", "Returns p = (e * e - 1) * majorradius where e is the eccentricity of the hyperbola. raises domainerror if majorradius = 0.0. @@ -8124,7 +8128,7 @@ float Standard_Real Parameter(); /****************** Position ******************/ - /**** md5 signature: 4998eb006d0dfaf45366e64da028e2d8 ****/ + /**** md5 signature: 0919c787263d4f8ff9c1e18688f5d16c ****/ %feature("compactdefaultargs") Position; %feature("autodoc", "Returns the coordinate system of the hyperbola. @@ -8135,238 +8139,238 @@ gp_Ax2 const gp_Ax2 Position(); /****************** Rotate ******************/ - /**** md5 signature: 12c4967f27a0900e4176252164d2f2ce ****/ + /**** md5 signature: 424ab82daf880655bff8da4ef682e64b ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Ax1 & A1, const Standard_Real Ang); + void Rotate(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: 6880474f6486cb5543c659f227d03fa6 ****/ + /**** md5 signature: 7b96ba1218ca86e533e4ec301fb77f88 ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates an hyperbola. a1 is the axis of the rotation. ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates an hyperbola. thea1 is the axis of the rotation. theang is the angular value of the rotation in radians. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- gp_Hypr ") Rotated; - gp_Hypr Rotated(const gp_Ax1 & A1, const Standard_Real Ang); + gp_Hypr Rotated(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: e66fc526c4232f21fb4238a81292d522 ****/ + /**** md5 signature: a931b3c1f3cc70761b0f4bcbe2fc2ef0 ****/ %feature("compactdefaultargs") Scale; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- None ") Scale; - void Scale(const gp_Pnt & P, const Standard_Real S); + void Scale(const gp_Pnt & theP, const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: d2cc9f48b1f0f9f58342b70f6ba3da0d ****/ + /**** md5 signature: 3ec88ff8f706b08a62f4ff1cb400db89 ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Scales an hyperbola. s is the scaling value. + %feature("autodoc", "Scales an hyperbola. thes is the scaling value. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- gp_Hypr ") Scaled; - gp_Hypr Scaled(const gp_Pnt & P, const Standard_Real S); + gp_Hypr Scaled(const gp_Pnt & theP, const Standard_Real theS); /****************** SetAxis ******************/ - /**** md5 signature: 4f1ae44e92ff7b1da601b2ca71a3a58a ****/ + /**** md5 signature: 23e0b01de6336ec5c57ea6909e327d35 ****/ %feature("compactdefaultargs") SetAxis; - %feature("autodoc", "Modifies this hyperbola, by redefining its local coordinate system so that: - its origin and 'main direction' become those of the axis a1 (the 'x direction' and 'y direction' are then recomputed in the same way as for any gp_ax2). raises constructionerror if the direction of a1 is parallel to the direction of the 'xaxis' of the hyperbola. + %feature("autodoc", "Modifies this hyperbola, by redefining its local coordinate system so that: - its origin and 'main direction' become those of the axis thea1 (the 'x direction' and 'y direction' are then recomputed in the same way as for any gp_ax2). raises constructionerror if the direction of thea1 is parallel to the direction of the 'xaxis' of the hyperbola. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") SetAxis; - void SetAxis(const gp_Ax1 & A1); + void SetAxis(const gp_Ax1 & theA1); /****************** SetLocation ******************/ - /**** md5 signature: c028aee785b685956e8e7d5cba7ecb46 ****/ + /**** md5 signature: c106a7d7c472c3f26d65a1d2a029717b ****/ %feature("compactdefaultargs") SetLocation; - %feature("autodoc", "Modifies this hyperbola, by redefining its local coordinate system so that its origin becomes p. + %feature("autodoc", "Modifies this hyperbola, by redefining its local coordinate system so that its origin becomes thep. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") SetLocation; - void SetLocation(const gp_Pnt & P); + void SetLocation(const gp_Pnt & theP); /****************** SetMajorRadius ******************/ - /**** md5 signature: 5b6d39118ca624402ca904f240869d93 ****/ + /**** md5 signature: 847f370a77fa02a8bf45fa2b00b28b74 ****/ %feature("compactdefaultargs") SetMajorRadius; - %feature("autodoc", "Modifies the major radius of this hyperbola. exceptions standard_constructionerror if majorradius is negative. + %feature("autodoc", "Modifies the major radius of this hyperbola. exceptions standard_constructionerror if themajorradius is negative. Parameters ---------- -MajorRadius: float +theMajorRadius: float Returns ------- None ") SetMajorRadius; - void SetMajorRadius(const Standard_Real MajorRadius); + void SetMajorRadius(const Standard_Real theMajorRadius); /****************** SetMinorRadius ******************/ - /**** md5 signature: 55b33932324c77b3c1e82a433bb9350f ****/ + /**** md5 signature: 2bb295e6e4f7e9ad627ec256d511ddce ****/ %feature("compactdefaultargs") SetMinorRadius; - %feature("autodoc", "Modifies the minor radius of this hyperbola. exceptions standard_constructionerror if minorradius is negative. + %feature("autodoc", "Modifies the minor radius of this hyperbola. exceptions standard_constructionerror if theminorradius is negative. Parameters ---------- -MinorRadius: float +theMinorRadius: float Returns ------- None ") SetMinorRadius; - void SetMinorRadius(const Standard_Real MinorRadius); + void SetMinorRadius(const Standard_Real theMinorRadius); /****************** SetPosition ******************/ - /**** md5 signature: 370491d423dd18be72ddbe9a7e5a5d72 ****/ + /**** md5 signature: ebc7dd35ccc08a819f6ac865a49dfe89 ****/ %feature("compactdefaultargs") SetPosition; %feature("autodoc", "Modifies this hyperbola, by redefining its local coordinate system so that it becomes a2. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") SetPosition; - void SetPosition(const gp_Ax2 & A2); + void SetPosition(const gp_Ax2 & theA2); /****************** Transform ******************/ - /**** md5 signature: 45ee6a37cbc92ff06bd17b5653f32913 ****/ + /**** md5 signature: 0737a7286be728220e1a55ba0d6eafc3 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") Transform; - void Transform(const gp_Trsf & T); + void Transform(const gp_Trsf & theT); /****************** Transformed ******************/ - /**** md5 signature: c305b9f758bea790f5cd89131e6a5340 ****/ + /**** md5 signature: 181db1af3d44e2dfa5decfaf031c0297 ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms an hyperbola with the transformation t from class trsf. + %feature("autodoc", "Transforms an hyperbola with the transformation thet from class trsf. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- gp_Hypr ") Transformed; - gp_Hypr Transformed(const gp_Trsf & T); + gp_Hypr Transformed(const gp_Trsf & theT); /****************** Translate ******************/ - /**** md5 signature: b3667af07c9a238180bc31cc15803f78 ****/ + /**** md5 signature: 0187bd9a09d9b334477a40e96047e03a ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- None ") Translate; - void Translate(const gp_Vec & V); + void Translate(const gp_Vec & theV); /****************** Translate ******************/ - /**** md5 signature: 5053222ade9605c7c37102310f06f2e8 ****/ + /**** md5 signature: cde9f9ebda90da2c1df1a27191e7ab81 ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- None ") Translate; - void Translate(const gp_Pnt & P1, const gp_Pnt & P2); + void Translate(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** Translated ******************/ - /**** md5 signature: 28d768c150925337f911dd9148265045 ****/ + /**** md5 signature: 3cdb567a6c8d70ba991d859dcb00ab33 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates an hyperbola in the direction of the vector v. the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "Translates an hyperbola in the direction of the vector thev. the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- gp_Hypr ") Translated; - gp_Hypr Translated(const gp_Vec & V); + gp_Hypr Translated(const gp_Vec & theV); /****************** Translated ******************/ - /**** md5 signature: 65c344088e2e9704db8f46dad230247c ****/ + /**** md5 signature: 5cff536ccef6a15b49fec3f7c871aca6 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates an hyperbola from the point p1 to the point p2. + %feature("autodoc", "Translates an hyperbola from the point thep1 to the point thep2. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- gp_Hypr ") Translated; - gp_Hypr Translated(const gp_Pnt & P1, const gp_Pnt & P2); + gp_Hypr Translated(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** XAxis ******************/ - /**** md5 signature: 33f98d138ae3ce92d202330aa4ae814d ****/ + /**** md5 signature: 900acbd3949b81ee383c3b457e95c597 ****/ %feature("compactdefaultargs") XAxis; %feature("autodoc", "Computes an axis, whose - the origin is the center of this hyperbola, and - the unit vector is the 'x direction' of the local coordinate system of this hyperbola. these axes are, the major axis (the 'x axis') and of this hyperboreturns the 'xaxis' of the hyperbola. @@ -8377,7 +8381,7 @@ gp_Ax1 gp_Ax1 XAxis(); /****************** YAxis ******************/ - /**** md5 signature: b471d966aca0b452073c5d55f8f5e027 ****/ + /**** md5 signature: 8db99d563f8cc2fa33e80ece09869c5c ****/ %feature("compactdefaultargs") YAxis; %feature("autodoc", "Computes an axis, whose - the origin is the center of this hyperbola, and - the unit vector is the 'y direction' of the local coordinate system of this hyperbola. these axes are the minor axis (the 'y axis') of this hyperbola. @@ -8402,7 +8406,7 @@ gp_Ax1 class gp_Hypr2d { public: /****************** gp_Hypr2d ******************/ - /**** md5 signature: 6bfe1e84b557c9b0a91b4a7b46652423 ****/ + /**** md5 signature: 79d79ae8ae2e362c68baae138de54ef3 ****/ %feature("compactdefaultargs") gp_Hypr2d; %feature("autodoc", "Creates of an indefinite hyperbola. @@ -8413,40 +8417,40 @@ None gp_Hypr2d(); /****************** gp_Hypr2d ******************/ - /**** md5 signature: 23102346a8349855cda0d4a51f1bc834 ****/ + /**** md5 signature: 70edb425043f3488283d6bbb4e19fb1a ****/ %feature("compactdefaultargs") gp_Hypr2d; - %feature("autodoc", "Creates a hyperbola with radii majorradius and minorradius, centered on the origin of majoraxis and where the unit vector of majoraxis is the 'x direction' of the local coordinate system of the hyperbola. this coordinate system is direct if sense is true (the default value), and indirect if sense is false. warnings : it is yet possible to create an hyperbola with majorradius <= minorradius. raises constructionerror if majorradius < 0.0 or minorradius < 0.0. + %feature("autodoc", "Creates a hyperbola with radii themajorradius and theminorradius, centered on the origin of themajoraxis and where the unit vector of themajoraxis is the 'x direction' of the local coordinate system of the hyperbola. this coordinate system is direct if theissense is true (the default value), and indirect if theissense is false. warnings : it is yet possible to create an hyperbola with themajorradius <= theminorradius. raises constructionerror if themajorradius < 0.0 or theminorradius < 0.0. Parameters ---------- -MajorAxis: gp_Ax2d -MajorRadius: float -MinorRadius: float -Sense: bool,optional +theMajorAxis: gp_Ax2d +theMajorRadius: float +theMinorRadius: float +theIsSense: bool,optional default value is Standard_True Returns ------- None ") gp_Hypr2d; - gp_Hypr2d(const gp_Ax2d & MajorAxis, const Standard_Real MajorRadius, const Standard_Real MinorRadius, const Standard_Boolean Sense = Standard_True); + gp_Hypr2d(const gp_Ax2d & theMajorAxis, const Standard_Real theMajorRadius, const Standard_Real theMinorRadius, const Standard_Boolean theIsSense = Standard_True); /****************** gp_Hypr2d ******************/ - /**** md5 signature: b04d00e277dd82089f539301cf08b55a ****/ + /**** md5 signature: 32331a653843a478c5b03450edf97a43 ****/ %feature("compactdefaultargs") gp_Hypr2d; - %feature("autodoc", "A hyperbola with radii majorradius and minorradius, positioned in the plane by coordinate system a where: - the origin of a is the center of the hyperbola, - the 'x direction' of a defines the major axis of the hyperbola, that is, the major radius majorradius is measured along this axis, and - the 'y direction' of a defines the minor axis of the hyperbola, that is, the minor radius minorradius is measured along this axis, and - the orientation (direct or indirect sense) of a gives the implicit orientation of the hyperbola. warnings : it is yet possible to create an hyperbola with majorradius <= minorradius. raises constructionerror if majorradius < 0.0 or minorradius < 0.0. + %feature("autodoc", "A hyperbola with radii themajorradius and theminorradius, positioned in the plane by coordinate system thea where: - the origin of thea is the center of the hyperbola, - the 'x direction' of thea defines the major axis of the hyperbola, that is, the major radius themajorradius is measured along this axis, and - the 'y direction' of thea defines the minor axis of the hyperbola, that is, the minor radius theminorradius is measured along this axis, and - the orientation (direct or indirect sense) of thea gives the implicit orientation of the hyperbola. warnings : it is yet possible to create an hyperbola with themajorradius <= theminorradius. raises constructionerror if themajorradius < 0.0 or theminorradius < 0.0. Parameters ---------- -A: gp_Ax22d -MajorRadius: float -MinorRadius: float +theA: gp_Ax22d +theMajorRadius: float +theMinorRadius: float Returns ------- None ") gp_Hypr2d; - gp_Hypr2d(const gp_Ax22d & A, const Standard_Real MajorRadius, const Standard_Real MinorRadius); + gp_Hypr2d(const gp_Ax22d & theA, const Standard_Real theMajorRadius, const Standard_Real theMinorRadius); /****************** Asymptote1 ******************/ /**** md5 signature: f7602d62af48fa687b9c94102a074f0b ****/ @@ -8471,7 +8475,7 @@ gp_Ax2d gp_Ax2d Asymptote2(); /****************** Axis ******************/ - /**** md5 signature: 56ba1d39cb5b229cbbc254dbe68307ea ****/ + /**** md5 signature: 094e5176aca7cccfc018310a1bba741f ****/ %feature("compactdefaultargs") Axis; %feature("autodoc", "Returns the axisplacement of the hyperbola. @@ -8482,26 +8486,26 @@ gp_Ax22d const gp_Ax22d Axis(); /****************** Coefficients ******************/ - /**** md5 signature: 2252ad010357f4e043a3c6dac4c3923c ****/ + /**** md5 signature: cc309b22e72d7a2fa63d9f3b74f48eaa ****/ %feature("compactdefaultargs") Coefficients; - %feature("autodoc", "Computes the coefficients of the implicit equation of the hyperbola : a * (x**2) + b * (y**2) + 2*c*(x*y) + 2*d*x + 2*e*y + f = 0. + %feature("autodoc", "Computes the coefficients of the implicit equation of the hyperbola : thea * (x**2) + theb * (y**2) + 2*thec*(x*y) + 2*thed*x + 2*thee*y + thef = 0. Parameters ---------- Returns ------- -A: float -B: float -C: float -D: float -E: float -F: float +theA: float +theB: float +theC: float +theD: float +theE: float +theF: float ") Coefficients; void Coefficients(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); /****************** ConjugateBranch1 ******************/ - /**** md5 signature: 64c762dbacf1b9b583f85bbe39250178 ****/ + /**** md5 signature: dded82d6eed44f39c634df0f7b8b767b ****/ %feature("compactdefaultargs") ConjugateBranch1; %feature("autodoc", "Computes the branch of hyperbola which is on the positive side of the 'yaxis' of . @@ -8512,7 +8516,7 @@ gp_Hypr2d gp_Hypr2d ConjugateBranch1(); /****************** ConjugateBranch2 ******************/ - /**** md5 signature: b4fca477a92cf56be479876d60440a0d ****/ + /**** md5 signature: c6a9b57d6a1f8fa77a809e10141ec59c ****/ %feature("compactdefaultargs") ConjugateBranch2; %feature("autodoc", "Computes the branch of hyperbola which is on the negative side of the 'yaxis' of . @@ -8545,9 +8549,9 @@ gp_Ax2d gp_Ax2d Directrix2(); /****************** Eccentricity ******************/ - /**** md5 signature: 78de488c9cbac7c761a28f28e3d39522 ****/ + /**** md5 signature: f8ebdf3bb4cc750ce595707c9b56f4a6 ****/ %feature("compactdefaultargs") Eccentricity; - %feature("autodoc", "Returns the excentricity of the hyperbola (e > 1). if f is the distance between the location of the hyperbola and the focus1 then the eccentricity e = f / majorradius. raises domainerror if majorradius = 0.0. + %feature("autodoc", "Returns the eccentricity of the hyperbola (e > 1). if f is the distance between the location of the hyperbola and the focus1 then the eccentricity e = f / majorradius. raises domainerror if majorradius = 0.0. Returns ------- @@ -8556,7 +8560,7 @@ float Standard_Real Eccentricity(); /****************** Focal ******************/ - /**** md5 signature: 36c97a85b2e31ded83d59428f0f74c3c ****/ + /**** md5 signature: aeac7f567b991e94a3e75e9ed626f41a ****/ %feature("compactdefaultargs") Focal; %feature("autodoc", "Computes the focal distance. it is the distance between the 'location' of the hyperbola and 'focus1' or 'focus2'. @@ -8567,7 +8571,7 @@ float Standard_Real Focal(); /****************** Focus1 ******************/ - /**** md5 signature: dccbe483b29092eb91431c64e1c5bcd9 ****/ + /**** md5 signature: 099d1f04a11af323d2f8c631c0058139 ****/ %feature("compactdefaultargs") Focus1; %feature("autodoc", "Returns the first focus of the hyperbola. this focus is on the positive side of the 'xaxis' of the hyperbola. @@ -8578,7 +8582,7 @@ gp_Pnt2d gp_Pnt2d Focus1(); /****************** Focus2 ******************/ - /**** md5 signature: ca24694273a9069fddac1db8a37c6c68 ****/ + /**** md5 signature: aa5da921f715322c56108c33462a667c ****/ %feature("compactdefaultargs") Focus2; %feature("autodoc", "Returns the second focus of the hyperbola. this focus is on the negative side of the 'xaxis' of the hyperbola. @@ -8589,7 +8593,7 @@ gp_Pnt2d gp_Pnt2d Focus2(); /****************** IsDirect ******************/ - /**** md5 signature: e230b64eefbb898397296c5ca615d396 ****/ + /**** md5 signature: 218f7b7b68e34847c5868fa318c903a4 ****/ %feature("compactdefaultargs") IsDirect; %feature("autodoc", "Returns true if the local coordinate system is direct and false in the other case. @@ -8600,7 +8604,7 @@ bool Standard_Boolean IsDirect(); /****************** Location ******************/ - /**** md5 signature: fbf774a3a1efe16540d680c0476bcbc8 ****/ + /**** md5 signature: 0e4556028ba61472400043e40317f1e2 ****/ %feature("compactdefaultargs") Location; %feature("autodoc", "Returns the location point of the hyperbola. it is the intersection point between the 'xaxis' and the 'yaxis'. @@ -8611,7 +8615,7 @@ gp_Pnt2d const gp_Pnt2d Location(); /****************** MajorRadius ******************/ - /**** md5 signature: e961bb81456f4d0a6154d0e9401e1ce8 ****/ + /**** md5 signature: 128082d838650d89e5451fc2ec2cdd95 ****/ %feature("compactdefaultargs") MajorRadius; %feature("autodoc", "Returns the major radius of the hyperbola (it is the radius corresponding to the 'xaxis' of the hyperbola). @@ -8622,7 +8626,7 @@ float Standard_Real MajorRadius(); /****************** MinorRadius ******************/ - /**** md5 signature: e1383e2287a25901af1e2b42cc95af4d ****/ + /**** md5 signature: 5a903e1e296cb85037297fddc27e2870 ****/ %feature("compactdefaultargs") MinorRadius; %feature("autodoc", "Returns the minor radius of the hyperbola (it is the radius corresponding to the 'yaxis' of the hyperbola). @@ -8633,67 +8637,67 @@ float Standard_Real MinorRadius(); /****************** Mirror ******************/ - /**** md5 signature: 5a90a3ec4faf7909390bb0bfb4d9be0f ****/ + /**** md5 signature: 5f85e7eebe220829e022319813e0b5b1 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- None ") Mirror; - void Mirror(const gp_Pnt2d & P); + void Mirror(const gp_Pnt2d & theP); /****************** Mirror ******************/ - /**** md5 signature: 8b8d921c1e87f73e8278c4d42ae298f7 ****/ + /**** md5 signature: ec42c083971941a78ed6667e3ee849d3 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- None ") Mirror; - void Mirror(const gp_Ax2d & A); + void Mirror(const gp_Ax2d & theA); /****************** Mirrored ******************/ - /**** md5 signature: b1639c7ae355e12d641bbbae087dd419 ****/ + /**** md5 signature: 47945f09bb7a44995bb779c12929564e ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of an hyperbola with respect to the point p which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of an hyperbola with respect to the point thep which is the center of the symmetry. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- gp_Hypr2d ") Mirrored; - gp_Hypr2d Mirrored(const gp_Pnt2d & P); + gp_Hypr2d Mirrored(const gp_Pnt2d & theP); /****************** Mirrored ******************/ - /**** md5 signature: fa10de32c39936308c9de0392f0a31ab ****/ + /**** md5 signature: 34ad5317881177ff7e2944ed99a2d04e ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of an hyperbola with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- gp_Hypr2d ") Mirrored; - gp_Hypr2d Mirrored(const gp_Ax2d & A); + gp_Hypr2d Mirrored(const gp_Ax2d & theA); /****************** OtherBranch ******************/ - /**** md5 signature: f232cd4a55a16558916bb20e24dddcc5 ****/ + /**** md5 signature: f1af22c66e798fd4572b0caa735b1f01 ****/ %feature("compactdefaultargs") OtherBranch; %feature("autodoc", "Returns the branch of hyperbola obtained by doing the symmetrical transformation of with respect to the 'yaxis' of . @@ -8704,7 +8708,7 @@ gp_Hypr2d gp_Hypr2d OtherBranch(); /****************** Parameter ******************/ - /**** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ****/ + /**** md5 signature: a1c30d1196ee452cd8e422f1e25a0fbc ****/ %feature("compactdefaultargs") Parameter; %feature("autodoc", "Returns p = (e * e - 1) * majorradius where e is the eccentricity of the hyperbola. raises domainerror if majorradius = 0.0. @@ -8715,7 +8719,7 @@ float Standard_Real Parameter(); /****************** Reverse ******************/ - /**** md5 signature: b751d6874fc026e19a7a6cb37e9ac1b4 ****/ + /**** md5 signature: 51c7e0d05769dec0ec2bb70e4d25e48d ****/ %feature("compactdefaultargs") Reverse; %feature("autodoc", "No available documentation. @@ -8737,253 +8741,253 @@ gp_Hypr2d gp_Hypr2d Reversed(); /****************** Rotate ******************/ - /**** md5 signature: 795edcbb32146eb6f071bea4c90f5cfd ****/ + /**** md5 signature: 4514855f978c37f3ce31a9851c5a1153 ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d -Ang: float +theP: gp_Pnt2d +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Pnt2d & P, const Standard_Real Ang); + void Rotate(const gp_Pnt2d & theP, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: 20b9603d2101ca24b846a9ac4f12ed50 ****/ + /**** md5 signature: 0e5a16956fda3847e218f61819484089 ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates an hyperbola. p is the center of the rotation. ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates an hyperbola. thep is the center of the rotation. theang is the angular value of the rotation in radians. Parameters ---------- -P: gp_Pnt2d -Ang: float +theP: gp_Pnt2d +theAng: float Returns ------- gp_Hypr2d ") Rotated; - gp_Hypr2d Rotated(const gp_Pnt2d & P, const Standard_Real Ang); + gp_Hypr2d Rotated(const gp_Pnt2d & theP, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: 5b49a8aeffcacace07c66937f77f1e03 ****/ + /**** md5 signature: c464bf78519bd3beeec5dd2bb7f74ab0 ****/ %feature("compactdefaultargs") Scale; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d -S: float +theP: gp_Pnt2d +theS: float Returns ------- None ") Scale; - void Scale(const gp_Pnt2d & P, const Standard_Real S); + void Scale(const gp_Pnt2d & theP, const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: 081d4964611f0779d2913b167e981f05 ****/ + /**** md5 signature: bf7e855f6a03eeba2ebc190052d7759f ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Scales an hyperbola. is the scaling value. if is positive only the location point is modified. but if is negative the 'xaxis' is reversed and the 'yaxis' too. + %feature("autodoc", "Scales an hyperbola. is the scaling value. if is positive only the location point is modified. but if is negative the 'xaxis' is reversed and the 'yaxis' too. Parameters ---------- -P: gp_Pnt2d -S: float +theP: gp_Pnt2d +theS: float Returns ------- gp_Hypr2d ") Scaled; - gp_Hypr2d Scaled(const gp_Pnt2d & P, const Standard_Real S); + gp_Hypr2d Scaled(const gp_Pnt2d & theP, const Standard_Real theS); /****************** SetAxis ******************/ - /**** md5 signature: 016f6d0b52d2d85d5711abca672ca103 ****/ + /**** md5 signature: fba67a5039095eddccca14c1039ad8be ****/ %feature("compactdefaultargs") SetAxis; - %feature("autodoc", "Modifies this hyperbola, by redefining its local coordinate system so that it becomes a. + %feature("autodoc", "Modifies this hyperbola, by redefining its local coordinate system so that it becomes thea. Parameters ---------- -A: gp_Ax22d +theA: gp_Ax22d Returns ------- None ") SetAxis; - void SetAxis(const gp_Ax22d & A); + void SetAxis(const gp_Ax22d & theA); /****************** SetLocation ******************/ - /**** md5 signature: 368c9b8c039b553e22ee650e75e4d404 ****/ + /**** md5 signature: fea6486624f66c26e32103313f4d0c00 ****/ %feature("compactdefaultargs") SetLocation; - %feature("autodoc", "Modifies this hyperbola, by redefining its local coordinate system so that its origin becomes p. + %feature("autodoc", "Modifies this hyperbola, by redefining its local coordinate system so that its origin becomes thep. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- None ") SetLocation; - void SetLocation(const gp_Pnt2d & P); + void SetLocation(const gp_Pnt2d & theP); /****************** SetMajorRadius ******************/ - /**** md5 signature: 5b6d39118ca624402ca904f240869d93 ****/ + /**** md5 signature: 847f370a77fa02a8bf45fa2b00b28b74 ****/ %feature("compactdefaultargs") SetMajorRadius; - %feature("autodoc", "Modifies the major or minor radius of this hyperbola. exceptions standard_constructionerror if majorradius or minorradius is negative. + %feature("autodoc", "Modifies the major or minor radius of this hyperbola. exceptions standard_constructionerror if themajorradius or minorradius is negative. Parameters ---------- -MajorRadius: float +theMajorRadius: float Returns ------- None ") SetMajorRadius; - void SetMajorRadius(const Standard_Real MajorRadius); + void SetMajorRadius(const Standard_Real theMajorRadius); /****************** SetMinorRadius ******************/ - /**** md5 signature: 55b33932324c77b3c1e82a433bb9350f ****/ + /**** md5 signature: 2bb295e6e4f7e9ad627ec256d511ddce ****/ %feature("compactdefaultargs") SetMinorRadius; - %feature("autodoc", "Modifies the major or minor radius of this hyperbola. exceptions standard_constructionerror if majorradius or minorradius is negative. + %feature("autodoc", "Modifies the major or minor radius of this hyperbola. exceptions standard_constructionerror if majorradius or theminorradius is negative. Parameters ---------- -MinorRadius: float +theMinorRadius: float Returns ------- None ") SetMinorRadius; - void SetMinorRadius(const Standard_Real MinorRadius); + void SetMinorRadius(const Standard_Real theMinorRadius); /****************** SetXAxis ******************/ - /**** md5 signature: ec66b4bfc97a7a2706907f916a07745f ****/ + /**** md5 signature: 8cea815a914afe135b1603dc856a8a22 ****/ %feature("compactdefaultargs") SetXAxis; %feature("autodoc", "Changes the major axis of the hyperbola. the minor axis is recomputed and the location of the hyperbola too. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- None ") SetXAxis; - void SetXAxis(const gp_Ax2d & A); + void SetXAxis(const gp_Ax2d & theA); /****************** SetYAxis ******************/ - /**** md5 signature: f0f5b973b3cd13921764c845a5c4cc95 ****/ + /**** md5 signature: f60887b297962c8ebfb061925ba2853e ****/ %feature("compactdefaultargs") SetYAxis; %feature("autodoc", "Changes the minor axis of the hyperbola.the minor axis is recomputed and the location of the hyperbola too. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- None ") SetYAxis; - void SetYAxis(const gp_Ax2d & A); + void SetYAxis(const gp_Ax2d & theA); /****************** Transform ******************/ - /**** md5 signature: dace16a29a39216c0dd584c6964e840b ****/ + /**** md5 signature: 94f8045e6a4465708e872ec10cb3f4d1 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- None ") Transform; - void Transform(const gp_Trsf2d & T); + void Transform(const gp_Trsf2d & theT); /****************** Transformed ******************/ - /**** md5 signature: 7e22380d089c3da8d4a2116bf6c03e44 ****/ + /**** md5 signature: 878c2d6501db9a557516565338c992f7 ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms an hyperbola with the transformation t from class trsf2d. + %feature("autodoc", "Transforms an hyperbola with the transformation thet from class trsf2d. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- gp_Hypr2d ") Transformed; - gp_Hypr2d Transformed(const gp_Trsf2d & T); + gp_Hypr2d Transformed(const gp_Trsf2d & theT); /****************** Translate ******************/ - /**** md5 signature: 1cd2e000b85692a9f89a6bf8e8e4782c ****/ + /**** md5 signature: f3112504d8f922313d0ee62e8d9fc9ad ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- None ") Translate; - void Translate(const gp_Vec2d & V); + void Translate(const gp_Vec2d & theV); /****************** Translate ******************/ - /**** md5 signature: c7768f1dcf9b6595f2bd4653737544f9 ****/ + /**** md5 signature: edde3614f43331c7884ace28c720ab8c ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt2d -P2: gp_Pnt2d +theP1: gp_Pnt2d +theP2: gp_Pnt2d Returns ------- None ") Translate; - void Translate(const gp_Pnt2d & P1, const gp_Pnt2d & P2); + void Translate(const gp_Pnt2d & theP1, const gp_Pnt2d & theP2); /****************** Translated ******************/ - /**** md5 signature: 09b6bd829fd0ca0e96a0cea39ca00a14 ****/ + /**** md5 signature: e9a104e37a9109c8547796017216b658 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates an hyperbola in the direction of the vector v. the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "Translates an hyperbola in the direction of the vector thev. the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- gp_Hypr2d ") Translated; - gp_Hypr2d Translated(const gp_Vec2d & V); + gp_Hypr2d Translated(const gp_Vec2d & theV); /****************** Translated ******************/ - /**** md5 signature: 979b6471664373ae8cca254a233fcc98 ****/ + /**** md5 signature: 0a1311a22ff172013bef1655c691dc07 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates an hyperbola from the point p1 to the point p2. + %feature("autodoc", "Translates an hyperbola from the point thep1 to the point thep2. Parameters ---------- -P1: gp_Pnt2d -P2: gp_Pnt2d +theP1: gp_Pnt2d +theP2: gp_Pnt2d Returns ------- gp_Hypr2d ") Translated; - gp_Hypr2d Translated(const gp_Pnt2d & P1, const gp_Pnt2d & P2); + gp_Hypr2d Translated(const gp_Pnt2d & theP1, const gp_Pnt2d & theP2); /****************** XAxis ******************/ - /**** md5 signature: 5bcd651b87069885e2b5ecad2bd89992 ****/ + /**** md5 signature: 6a005542df14e10d67ac38644cf8c7ae ****/ %feature("compactdefaultargs") XAxis; %feature("autodoc", "Computes an axis whose - the origin is the center of this hyperbola, and - the unit vector is the 'x direction' or 'y direction' respectively of the local coordinate system of this hyperbola returns the major axis of the hyperbola. @@ -8994,7 +8998,7 @@ gp_Ax2d gp_Ax2d XAxis(); /****************** YAxis ******************/ - /**** md5 signature: 1e80565ed75c7e231792089b80d7c873 ****/ + /**** md5 signature: d49975ff0e9ed400148a36ac6e990919 ****/ %feature("compactdefaultargs") YAxis; %feature("autodoc", "Computes an axis whose - the origin is the center of this hyperbola, and - the unit vector is the 'x direction' or 'y direction' respectively of the local coordinate system of this hyperbola returns the minor axis of the hyperbola. @@ -9019,7 +9023,7 @@ gp_Ax2d class gp_Lin { public: /****************** gp_Lin ******************/ - /**** md5 signature: 89c33a3734f757cab3d8d2c6b75e369e ****/ + /**** md5 signature: 42a5f7ab2b458cb7be77a15faf7d8c5c ****/ %feature("compactdefaultargs") gp_Lin; %feature("autodoc", "Creates a line corresponding to z axis of the reference coordinate system. @@ -9030,69 +9034,69 @@ None gp_Lin(); /****************** gp_Lin ******************/ - /**** md5 signature: 27c788d49a0d5f8fe46e8c0baeeac5c8 ****/ + /**** md5 signature: dbccb350c307fd13d73d5eff540a1b3e ****/ %feature("compactdefaultargs") gp_Lin; - %feature("autodoc", "Creates a line defined by axis a1. + %feature("autodoc", "Creates a line defined by axis thea1. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") gp_Lin; - gp_Lin(const gp_Ax1 & A1); + gp_Lin(const gp_Ax1 & theA1); /****************** gp_Lin ******************/ - /**** md5 signature: 2b22e32969aa959133cce2da5e386b80 ****/ + /**** md5 signature: a6c9131e9c0e9811cb6b48eb9cafc2ee ****/ %feature("compactdefaultargs") gp_Lin; - %feature("autodoc", "Creates a line passing through point p and parallel to vector v (p and v are, respectively, the origin and the unit vector of the positioning axis of the line). + %feature("autodoc", "Creates a line passing through point thep and parallel to vector thev (thep and thev are, respectively, the origin and the unit vector of the positioning axis of the line). Parameters ---------- -P: gp_Pnt -V: gp_Dir +theP: gp_Pnt +theV: gp_Dir Returns ------- None ") gp_Lin; - gp_Lin(const gp_Pnt & P, const gp_Dir & V); + gp_Lin(const gp_Pnt & theP, const gp_Dir & theV); /****************** Angle ******************/ - /**** md5 signature: 40cf84de3724c0f26adae3136cc60ef0 ****/ + /**** md5 signature: ada09c41fa404a04de8dc4a6f7563b58 ****/ %feature("compactdefaultargs") Angle; %feature("autodoc", "Computes the angle between two lines in radians. Parameters ---------- -Other: gp_Lin +theOther: gp_Lin Returns ------- float ") Angle; - Standard_Real Angle(const gp_Lin & Other); + Standard_Real Angle(const gp_Lin & theOther); /****************** Contains ******************/ - /**** md5 signature: 4617c578d595c204f331df6213e3ae4a ****/ + /**** md5 signature: 505c74c81a15c8244323a9eb031db0f3 ****/ %feature("compactdefaultargs") Contains; - %feature("autodoc", "Returns true if this line contains the point p, that is, if the distance between point p and this line is less than or equal to lineartolerance.. + %feature("autodoc", "Returns true if this line contains the point thep, that is, if the distance between point thep and this line is less than or equal to thelineartolerance.. Parameters ---------- -P: gp_Pnt -LinearTolerance: float +theP: gp_Pnt +theLinearTolerance: float Returns ------- bool ") Contains; - Standard_Boolean Contains(const gp_Pnt & P, const Standard_Real LinearTolerance); + Standard_Boolean Contains(const gp_Pnt & theP, const Standard_Real theLinearTolerance); /****************** Direction ******************/ - /**** md5 signature: 6107c9113155a9ae9007c5c8e526a738 ****/ + /**** md5 signature: fe17f01a1a479d7628e85d427dbda641 ****/ %feature("compactdefaultargs") Direction; %feature("autodoc", "Returns the direction of the line. @@ -9103,37 +9107,37 @@ gp_Dir const gp_Dir Direction(); /****************** Distance ******************/ - /**** md5 signature: d9ba17ce87a8f8e1c8805850d4d732ba ****/ + /**** md5 signature: 24964ab9dd1f6799bfd0455d7b81296d ****/ %feature("compactdefaultargs") Distance; - %feature("autodoc", "Computes the distance between and the point p. + %feature("autodoc", "Computes the distance between and the point thep. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- float ") Distance; - Standard_Real Distance(const gp_Pnt & P); + Standard_Real Distance(const gp_Pnt & theP); /****************** Distance ******************/ - /**** md5 signature: 9b60fdf4b3c0bb17849fad38ec737c70 ****/ + /**** md5 signature: 8262aac13896fd202d6e97d29a3ddc8e ****/ %feature("compactdefaultargs") Distance; %feature("autodoc", "Computes the distance between two lines. Parameters ---------- -Other: gp_Lin +theOther: gp_Lin Returns ------- float ") Distance; - Standard_Real Distance(const gp_Lin & Other); + Standard_Real Distance(const gp_Lin & theOther); /****************** Location ******************/ - /**** md5 signature: 42040ad2ed401b7e80bf90e4b6b5f418 ****/ + /**** md5 signature: becd3d5ba73b438c501a139df51b6b7f ****/ %feature("compactdefaultargs") Location; %feature("autodoc", "Returns the location point (origin) of the line. @@ -9144,114 +9148,114 @@ gp_Pnt const gp_Pnt Location(); /****************** Mirror ******************/ - /**** md5 signature: b133f2e6e1c74f672a216a0094bdfda6 ****/ + /**** md5 signature: 095878518b088b42d55c3da09f68a84c ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") Mirror; - void Mirror(const gp_Pnt & P); + void Mirror(const gp_Pnt & theP); /****************** Mirror ******************/ - /**** md5 signature: d1a0189a98d756bd9e5b51b4ae49992a ****/ + /**** md5 signature: cfb16cae08525c5f4ab330102e0377d4 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") Mirror; - void Mirror(const gp_Ax1 & A1); + void Mirror(const gp_Ax1 & theA1); /****************** Mirror ******************/ - /**** md5 signature: 874cde0169043be133e205e960c3ca57 ****/ + /**** md5 signature: ad34943401a2334beed8ccc79094d8df ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") Mirror; - void Mirror(const gp_Ax2 & A2); + void Mirror(const gp_Ax2 & theA2); /****************** Mirrored ******************/ - /**** md5 signature: c36fa38985c193de5ce5f10a43e7c5ad ****/ + /**** md5 signature: 46991878575c5e88649d922cf1bc88e5 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a line with respect to the point p which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of a line with respect to the point thep which is the center of the symmetry. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- gp_Lin ") Mirrored; - gp_Lin Mirrored(const gp_Pnt & P); + gp_Lin Mirrored(const gp_Pnt & theP); /****************** Mirrored ******************/ - /**** md5 signature: 875f23317162473bee6950445f7d942d ****/ + /**** md5 signature: 2901bdf0dbbbeafb6eac90761e126ac5 ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a line with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- gp_Lin ") Mirrored; - gp_Lin Mirrored(const gp_Ax1 & A1); + gp_Lin Mirrored(const gp_Ax1 & theA1); /****************** Mirrored ******************/ - /**** md5 signature: 0737537a3ea30aeb31e526bc2a28a67a ****/ + /**** md5 signature: 903eb1322f5b0aa5d2707a8b5ba44d76 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a line with respect to a plane. the axis placement locates the plane of the symmetry : (location, xdirection, ydirection). + %feature("autodoc", "Performs the symmetrical transformation of a line with respect to a plane. the axis placement locates the plane of the symmetry : (location, xdirection, ydirection). Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- gp_Lin ") Mirrored; - gp_Lin Mirrored(const gp_Ax2 & A2); + gp_Lin Mirrored(const gp_Ax2 & theA2); /****************** Normal ******************/ - /**** md5 signature: 04c11d6852469b1efe293367e801d4e0 ****/ + /**** md5 signature: 818fa3f581256ddc238570a0b3a2759c ****/ %feature("compactdefaultargs") Normal; - %feature("autodoc", "Computes the line normal to the direction of , passing through the point p. raises constructionerror if the distance between and the point p is lower or equal to resolution from gp because there is an infinity of solutions in 3d space. + %feature("autodoc", "Computes the line normal to the direction of , passing through the point thep. raises constructionerror if the distance between and the point thep is lower or equal to resolution from gp because there is an infinity of solutions in 3d space. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- gp_Lin ") Normal; - gp_Lin Normal(const gp_Pnt & P); + gp_Lin Normal(const gp_Pnt & theP); /****************** Position ******************/ - /**** md5 signature: af37a1ddce8f862eeb41e9689b597340 ****/ + /**** md5 signature: d26ac37297a553a63a101d752429410b ****/ %feature("compactdefaultargs") Position; - %feature("autodoc", "Returns the axis placement one axis whith the same location and direction as . + %feature("autodoc", "Returns the axis placement one axis with the same location and direction as . Returns ------- @@ -9260,7 +9264,7 @@ gp_Ax1 const gp_Ax1 Position(); /****************** Reverse ******************/ - /**** md5 signature: b751d6874fc026e19a7a6cb37e9ac1b4 ****/ + /**** md5 signature: 51c7e0d05769dec0ec2bb70e4d25e48d ****/ %feature("compactdefaultargs") Reverse; %feature("autodoc", "No available documentation. @@ -9271,7 +9275,7 @@ None void Reverse(); /****************** Reversed ******************/ - /**** md5 signature: dd92b366c404d10581f0822053753c60 ****/ + /**** md5 signature: f4a9a6173ca942394b0c72757e8cc8aa ****/ %feature("compactdefaultargs") Reversed; %feature("autodoc", "Reverses the direction of the line. note: - reverse assigns the result to this line, while - reversed creates a new one. @@ -9282,235 +9286,235 @@ gp_Lin gp_Lin Reversed(); /****************** Rotate ******************/ - /**** md5 signature: 12c4967f27a0900e4176252164d2f2ce ****/ + /**** md5 signature: 424ab82daf880655bff8da4ef682e64b ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Ax1 & A1, const Standard_Real Ang); + void Rotate(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: 0c7e9ce6ffcdf89ba8539f33c9836123 ****/ + /**** md5 signature: dc025401ecec9d4f2839602781b4ba94 ****/ %feature("compactdefaultargs") Rotated; %feature("autodoc", "Rotates a line. a1 is the axis of the rotation. ang is the angular value of the rotation in radians. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- gp_Lin ") Rotated; - gp_Lin Rotated(const gp_Ax1 & A1, const Standard_Real Ang); + gp_Lin Rotated(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: e66fc526c4232f21fb4238a81292d522 ****/ + /**** md5 signature: 2e3ad744b562b37602bc0d7050246d12 ****/ %feature("compactdefaultargs") Scale; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- None ") Scale; - void Scale(const gp_Pnt & P, const Standard_Real S); + void Scale(const gp_Pnt & theP, const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: 942bc945113dac22034172a99bc7dd96 ****/ + /**** md5 signature: 5422c52c22b4894f519ff3e2cc09ceb8 ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Scales a line. s is the scaling value. the 'location' point (origin) of the line is modified. the 'direction' is reversed if the scale is negative. + %feature("autodoc", "Scales a line. thes is the scaling value. the 'location' point (origin) of the line is modified. the 'direction' is reversed if the scale is negative. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- gp_Lin ") Scaled; - gp_Lin Scaled(const gp_Pnt & P, const Standard_Real S); + gp_Lin Scaled(const gp_Pnt & theP, const Standard_Real theS); /****************** SetDirection ******************/ - /**** md5 signature: df8744d729e050a65ee65230eb199390 ****/ + /**** md5 signature: 7bb25675dd4f12080d7759ff4dd0acc2 ****/ %feature("compactdefaultargs") SetDirection; %feature("autodoc", "Changes the direction of the line. Parameters ---------- -V: gp_Dir +theV: gp_Dir Returns ------- None ") SetDirection; - void SetDirection(const gp_Dir & V); + void SetDirection(const gp_Dir & theV); /****************** SetLocation ******************/ - /**** md5 signature: c028aee785b685956e8e7d5cba7ecb46 ****/ + /**** md5 signature: c106a7d7c472c3f26d65a1d2a029717b ****/ %feature("compactdefaultargs") SetLocation; %feature("autodoc", "Changes the location point (origin) of the line. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") SetLocation; - void SetLocation(const gp_Pnt & P); + void SetLocation(const gp_Pnt & theP); /****************** SetPosition ******************/ - /**** md5 signature: ca1bae47b8ae90618ff03190da8061a3 ****/ + /**** md5 signature: ea075dda815d39e8ce82603048447ddf ****/ %feature("compactdefaultargs") SetPosition; - %feature("autodoc", "Complete redefinition of the line. the 'location' point of is the origin of the line. the 'direction' of is the direction of the line. + %feature("autodoc", "Complete redefinition of the line. the 'location' point of is the origin of the line. the 'direction' of is the direction of the line. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") SetPosition; - void SetPosition(const gp_Ax1 & A1); + void SetPosition(const gp_Ax1 & theA1); /****************** SquareDistance ******************/ - /**** md5 signature: 382f20ab66f794f70a8fbaad3ecad14c ****/ + /**** md5 signature: 64c8ffd3adb8396952be0195df56781e ****/ %feature("compactdefaultargs") SquareDistance; - %feature("autodoc", "Computes the square distance between and the point p. + %feature("autodoc", "Computes the square distance between and the point thep. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- float ") SquareDistance; - Standard_Real SquareDistance(const gp_Pnt & P); + Standard_Real SquareDistance(const gp_Pnt & theP); /****************** SquareDistance ******************/ - /**** md5 signature: d59d1cc67cac376a6685d4fa27a5d2c9 ****/ + /**** md5 signature: 5ff0e420c73b356f3acbf07eed6c1525 ****/ %feature("compactdefaultargs") SquareDistance; %feature("autodoc", "Computes the square distance between two lines. Parameters ---------- -Other: gp_Lin +theOther: gp_Lin Returns ------- float ") SquareDistance; - Standard_Real SquareDistance(const gp_Lin & Other); + Standard_Real SquareDistance(const gp_Lin & theOther); /****************** Transform ******************/ - /**** md5 signature: 45ee6a37cbc92ff06bd17b5653f32913 ****/ + /**** md5 signature: ad39e75f28af84e2a27f2cfbe322b0a3 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") Transform; - void Transform(const gp_Trsf & T); + void Transform(const gp_Trsf & theT); /****************** Transformed ******************/ - /**** md5 signature: 0ed88089f376e4bf3e5b2599770e2977 ****/ + /**** md5 signature: 486f47c62db9cc58376c1983e5450c71 ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms a line with the transformation t from class trsf. + %feature("autodoc", "Transforms a line with the transformation thet from class trsf. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- gp_Lin ") Transformed; - gp_Lin Transformed(const gp_Trsf & T); + gp_Lin Transformed(const gp_Trsf & theT); /****************** Translate ******************/ - /**** md5 signature: b3667af07c9a238180bc31cc15803f78 ****/ + /**** md5 signature: 0187bd9a09d9b334477a40e96047e03a ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- None ") Translate; - void Translate(const gp_Vec & V); + void Translate(const gp_Vec & theV); /****************** Translate ******************/ - /**** md5 signature: 5053222ade9605c7c37102310f06f2e8 ****/ + /**** md5 signature: cde9f9ebda90da2c1df1a27191e7ab81 ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- None ") Translate; - void Translate(const gp_Pnt & P1, const gp_Pnt & P2); + void Translate(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** Translated ******************/ - /**** md5 signature: eb58b70d78479ed67464106a877ec711 ****/ + /**** md5 signature: 9b4c089f05435398e6a7f622c805e458 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a line in the direction of the vector v. the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "Translates a line in the direction of the vector thev. the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- gp_Lin ") Translated; - gp_Lin Translated(const gp_Vec & V); + gp_Lin Translated(const gp_Vec & theV); /****************** Translated ******************/ - /**** md5 signature: 37f378560e2be6fe99ebaca8103ddde7 ****/ + /**** md5 signature: f154c122c00bb01ee8ab1ea942918911 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a line from the point p1 to the point p2. + %feature("autodoc", "Translates a line from the point thep1 to the point thep2. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- gp_Lin ") Translated; - gp_Lin Translated(const gp_Pnt & P1, const gp_Pnt & P2); + gp_Lin Translated(const gp_Pnt & theP1, const gp_Pnt & theP2); }; @@ -9527,7 +9531,7 @@ gp_Lin class gp_Lin2d { public: /****************** gp_Lin2d ******************/ - /**** md5 signature: a9a83f5440a691b65180354883bd2b9d ****/ + /**** md5 signature: 5e262dd8514e7dd33c5d207059f57e2b ****/ %feature("compactdefaultargs") gp_Lin2d; %feature("autodoc", "Creates a line corresponding to x axis of the reference coordinate system. @@ -9538,102 +9542,102 @@ None gp_Lin2d(); /****************** gp_Lin2d ******************/ - /**** md5 signature: 80f21b08773368652622e743bd1f1fc6 ****/ + /**** md5 signature: 51fad62c104e390fa7065fae9f719aed ****/ %feature("compactdefaultargs") gp_Lin2d; - %feature("autodoc", "Creates a line located with a. + %feature("autodoc", "Creates a line located with thea. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- None ") gp_Lin2d; - gp_Lin2d(const gp_Ax2d & A); + gp_Lin2d(const gp_Ax2d & theA); /****************** gp_Lin2d ******************/ - /**** md5 signature: 72ef8201a42040f0b10ecb53945e4bcf ****/ + /**** md5 signature: 8c2bed35e809defd254acbb0f32bf4c7 ****/ %feature("compactdefaultargs") gp_Lin2d; - %feature("autodoc", "

is the location point (origin) of the line and is the direction of the line. + %feature("autodoc", " is the location point (origin) of the line and is the direction of the line. Parameters ---------- -P: gp_Pnt2d -V: gp_Dir2d +theP: gp_Pnt2d +theV: gp_Dir2d Returns ------- None ") gp_Lin2d; - gp_Lin2d(const gp_Pnt2d & P, const gp_Dir2d & V); + gp_Lin2d(const gp_Pnt2d & theP, const gp_Dir2d & theV); /****************** gp_Lin2d ******************/ - /**** md5 signature: 5587b65bfec74198b05785bf5420f9ed ****/ + /**** md5 signature: 8dadd994833d54baa062ac1e776b3d7a ****/ %feature("compactdefaultargs") gp_Lin2d; - %feature("autodoc", "Creates the line from the equation a*x + b*y + c = 0.0 raises constructionerror if sqrt(a*a + b*b) <= resolution from gp. raised if sqrt(a*a + b*b) <= resolution from gp. + %feature("autodoc", "Creates the line from the equation thea*x + theb*y + thec = 0.0 raises constructionerror if sqrt(thea*thea + theb*theb) <= resolution from gp. raised if sqrt(thea*thea + theb*theb) <= resolution from gp. Parameters ---------- -A: float -B: float -C: float +theA: float +theB: float +theC: float Returns ------- None ") gp_Lin2d; - gp_Lin2d(const Standard_Real A, const Standard_Real B, const Standard_Real C); + gp_Lin2d(const Standard_Real theA, const Standard_Real theB, const Standard_Real theC); /****************** Angle ******************/ - /**** md5 signature: aa64f8683e9538f51f7fc9afbc7814bd ****/ + /**** md5 signature: c0f50b5fcefdc66776b1ae809970c46d ****/ %feature("compactdefaultargs") Angle; %feature("autodoc", "Computes the angle between two lines in radians. Parameters ---------- -Other: gp_Lin2d +theOther: gp_Lin2d Returns ------- float ") Angle; - Standard_Real Angle(const gp_Lin2d & Other); + Standard_Real Angle(const gp_Lin2d & theOther); /****************** Coefficients ******************/ - /**** md5 signature: 9d3c2cc4c296328289eebaf4bc880928 ****/ + /**** md5 signature: 6e07266307e9ef486d002965f70f8a92 ****/ %feature("compactdefaultargs") Coefficients; - %feature("autodoc", "Returns the normalized coefficients of the line : a * x + b * y + c = 0. + %feature("autodoc", "Returns the normalized coefficients of the line : thea * x + theb * y + thec = 0. Parameters ---------- Returns ------- -A: float -B: float -C: float +theA: float +theB: float +theC: float ") Coefficients; void Coefficients(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); /****************** Contains ******************/ - /**** md5 signature: b5f4c6607c2df5e4dff0bd5cfe532775 ****/ + /**** md5 signature: 48572605f35f0836d249aaf0f0a6926c ****/ %feature("compactdefaultargs") Contains; - %feature("autodoc", "Returns true if this line contains the point p, that is, if the distance between point p and this line is less than or equal to lineartolerance. + %feature("autodoc", "Returns true if this line contains the point thep, that is, if the distance between point thep and this line is less than or equal to thelineartolerance. Parameters ---------- -P: gp_Pnt2d -LinearTolerance: float +theP: gp_Pnt2d +theLinearTolerance: float Returns ------- bool ") Contains; - Standard_Boolean Contains(const gp_Pnt2d & P, const Standard_Real LinearTolerance); + Standard_Boolean Contains(const gp_Pnt2d & theP, const Standard_Real theLinearTolerance); /****************** Direction ******************/ - /**** md5 signature: 24b32913fac63aab5fb6c5d1d7be7851 ****/ + /**** md5 signature: b48e56b9548c841e45989f4710a5ce8d ****/ %feature("compactdefaultargs") Direction; %feature("autodoc", "Returns the direction of the line. @@ -9644,37 +9648,37 @@ gp_Dir2d const gp_Dir2d Direction(); /****************** Distance ******************/ - /**** md5 signature: eafbc4fbb17061433dcb80a2bf868650 ****/ + /**** md5 signature: fb4d5768ba7911e98e8d6818bd11e896 ****/ %feature("compactdefaultargs") Distance; - %feature("autodoc", "Computes the distance between and the point

. + %feature("autodoc", "Computes the distance between and the point . Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- float ") Distance; - Standard_Real Distance(const gp_Pnt2d & P); + Standard_Real Distance(const gp_Pnt2d & theP); /****************** Distance ******************/ - /**** md5 signature: b7d391f99d5e516a9fee9b846e29b6e1 ****/ + /**** md5 signature: b9e74ac2acffe54bb414fccbc61f5b77 ****/ %feature("compactdefaultargs") Distance; %feature("autodoc", "Computes the distance between two lines. Parameters ---------- -Other: gp_Lin2d +theOther: gp_Lin2d Returns ------- float ") Distance; - Standard_Real Distance(const gp_Lin2d & Other); + Standard_Real Distance(const gp_Lin2d & theOther); /****************** Location ******************/ - /**** md5 signature: fbf774a3a1efe16540d680c0476bcbc8 ****/ + /**** md5 signature: 0e4556028ba61472400043e40317f1e2 ****/ %feature("compactdefaultargs") Location; %feature("autodoc", "Returns the location point (origin) of the line. @@ -9685,84 +9689,84 @@ gp_Pnt2d const gp_Pnt2d Location(); /****************** Mirror ******************/ - /**** md5 signature: 5a90a3ec4faf7909390bb0bfb4d9be0f ****/ + /**** md5 signature: 5f85e7eebe220829e022319813e0b5b1 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- None ") Mirror; - void Mirror(const gp_Pnt2d & P); + void Mirror(const gp_Pnt2d & theP); /****************** Mirror ******************/ - /**** md5 signature: 8b8d921c1e87f73e8278c4d42ae298f7 ****/ + /**** md5 signature: ec42c083971941a78ed6667e3ee849d3 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- None ") Mirror; - void Mirror(const gp_Ax2d & A); + void Mirror(const gp_Ax2d & theA); /****************** Mirrored ******************/ - /**** md5 signature: d97e28c6ba0109add109dc0a5ecf93ab ****/ + /**** md5 signature: e0a80ae94a5bcd2d5ea3dba770ecc3c5 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a line with respect to the point

which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of a line with respect to the point which is the center of the symmetry. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- gp_Lin2d ") Mirrored; - gp_Lin2d Mirrored(const gp_Pnt2d & P); + gp_Lin2d Mirrored(const gp_Pnt2d & theP); /****************** Mirrored ******************/ - /**** md5 signature: 436657c7fe1471b6065f225da7e006eb ****/ + /**** md5 signature: 818441c62388be301f97e98886d122b5 ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a line with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- gp_Lin2d ") Mirrored; - gp_Lin2d Mirrored(const gp_Ax2d & A); + gp_Lin2d Mirrored(const gp_Ax2d & theA); /****************** Normal ******************/ - /**** md5 signature: a0f525e061e0c40920eb6c7c6bdb1a92 ****/ + /**** md5 signature: ca1e11647f957f08e8f27d07a3ea7a85 ****/ %feature("compactdefaultargs") Normal; - %feature("autodoc", "Computes the line normal to the direction of , passing through the point

. + %feature("autodoc", "Computes the line normal to the direction of , passing through the point . Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- gp_Lin2d ") Normal; - gp_Lin2d Normal(const gp_Pnt2d & P); + gp_Lin2d Normal(const gp_Pnt2d & theP); /****************** Position ******************/ - /**** md5 signature: 918ef7d5550c41cbbd9512dcf1888fbe ****/ + /**** md5 signature: 9c7381c3f255206fecf99e9de164cf02 ****/ %feature("compactdefaultargs") Position; - %feature("autodoc", "Returns the axis placement one axis whith the same location and direction as . + %feature("autodoc", "Returns the axis placement one axis with the same location and direction as . Returns ------- @@ -9771,7 +9775,7 @@ gp_Ax2d const gp_Ax2d Position(); /****************** Reverse ******************/ - /**** md5 signature: b751d6874fc026e19a7a6cb37e9ac1b4 ****/ + /**** md5 signature: 51c7e0d05769dec0ec2bb70e4d25e48d ****/ %feature("compactdefaultargs") Reverse; %feature("autodoc", "No available documentation. @@ -9782,7 +9786,7 @@ None void Reverse(); /****************** Reversed ******************/ - /**** md5 signature: 75fa59a4d07e3ae924b141b9a38511c7 ****/ + /**** md5 signature: f8bb9efd5c24fc9dde0126d9b0570b78 ****/ %feature("compactdefaultargs") Reversed; %feature("autodoc", "Reverses the positioning axis of this line. note: - reverse assigns the result to this line, while - reversed creates a new one. @@ -9793,235 +9797,235 @@ gp_Lin2d gp_Lin2d Reversed(); /****************** Rotate ******************/ - /**** md5 signature: 795edcbb32146eb6f071bea4c90f5cfd ****/ + /**** md5 signature: 4514855f978c37f3ce31a9851c5a1153 ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d -Ang: float +theP: gp_Pnt2d +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Pnt2d & P, const Standard_Real Ang); + void Rotate(const gp_Pnt2d & theP, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: ce0d8ab3cb060a7887f18a75e16a416c ****/ + /**** md5 signature: d326eb9b280930e8ba8f60dff05be935 ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates a line. p is the center of the rotation. ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates a line. thep is the center of the rotation. theang is the angular value of the rotation in radians. Parameters ---------- -P: gp_Pnt2d -Ang: float +theP: gp_Pnt2d +theAng: float Returns ------- gp_Lin2d ") Rotated; - gp_Lin2d Rotated(const gp_Pnt2d & P, const Standard_Real Ang); + gp_Lin2d Rotated(const gp_Pnt2d & theP, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: 5b49a8aeffcacace07c66937f77f1e03 ****/ + /**** md5 signature: f26515fb9209d4c6218b02703fde6a26 ****/ %feature("compactdefaultargs") Scale; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d -S: float +theP: gp_Pnt2d +theS: float Returns ------- None ") Scale; - void Scale(const gp_Pnt2d & P, const Standard_Real S); + void Scale(const gp_Pnt2d & theP, const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: d48b78d01a9018de0c4e51a0b586ad15 ****/ + /**** md5 signature: 24600c6aa1e997141b31be9de98ac666 ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Scales a line. s is the scaling value. only the origin of the line is modified. + %feature("autodoc", "Scales a line. thes is the scaling value. only the origin of the line is modified. Parameters ---------- -P: gp_Pnt2d -S: float +theP: gp_Pnt2d +theS: float Returns ------- gp_Lin2d ") Scaled; - gp_Lin2d Scaled(const gp_Pnt2d & P, const Standard_Real S); + gp_Lin2d Scaled(const gp_Pnt2d & theP, const Standard_Real theS); /****************** SetDirection ******************/ - /**** md5 signature: 12767d6ecad16faa02d3f67f1fb01553 ****/ + /**** md5 signature: c432d44a3a70de3dff1bf385189df5c4 ****/ %feature("compactdefaultargs") SetDirection; %feature("autodoc", "Changes the direction of the line. Parameters ---------- -V: gp_Dir2d +theV: gp_Dir2d Returns ------- None ") SetDirection; - void SetDirection(const gp_Dir2d & V); + void SetDirection(const gp_Dir2d & theV); /****************** SetLocation ******************/ - /**** md5 signature: 368c9b8c039b553e22ee650e75e4d404 ****/ + /**** md5 signature: fea6486624f66c26e32103313f4d0c00 ****/ %feature("compactdefaultargs") SetLocation; %feature("autodoc", "Changes the origin of the line. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- None ") SetLocation; - void SetLocation(const gp_Pnt2d & P); + void SetLocation(const gp_Pnt2d & theP); /****************** SetPosition ******************/ - /**** md5 signature: ea9b5278e5665b3886ffa693a4fe03fb ****/ + /**** md5 signature: 1208b115b2aae8dfc2fb67ecae5d5265 ****/ %feature("compactdefaultargs") SetPosition; - %feature("autodoc", "Complete redefinition of the line. the 'location' point of is the origin of the line. the 'direction' of is the direction of the line. + %feature("autodoc", "Complete redefinition of the line. the 'location' point of is the origin of the line. the 'direction' of is the direction of the line. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- None ") SetPosition; - void SetPosition(const gp_Ax2d & A); + void SetPosition(const gp_Ax2d & theA); /****************** SquareDistance ******************/ - /**** md5 signature: 235c49cb5ac12c3b838afde8f85743f4 ****/ + /**** md5 signature: 341b637f68b11ca63b87173eee241ab6 ****/ %feature("compactdefaultargs") SquareDistance; - %feature("autodoc", "Computes the square distance between and the point

. + %feature("autodoc", "Computes the square distance between and the point . Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- float ") SquareDistance; - Standard_Real SquareDistance(const gp_Pnt2d & P); + Standard_Real SquareDistance(const gp_Pnt2d & theP); /****************** SquareDistance ******************/ - /**** md5 signature: aebd149dbac33e5185a65ef719d6cb42 ****/ + /**** md5 signature: 31b79afe7c51e68a4dfbffbd870cc2f7 ****/ %feature("compactdefaultargs") SquareDistance; %feature("autodoc", "Computes the square distance between two lines. Parameters ---------- -Other: gp_Lin2d +theOther: gp_Lin2d Returns ------- float ") SquareDistance; - Standard_Real SquareDistance(const gp_Lin2d & Other); + Standard_Real SquareDistance(const gp_Lin2d & theOther); /****************** Transform ******************/ - /**** md5 signature: dace16a29a39216c0dd584c6964e840b ****/ + /**** md5 signature: 730ddba08a3831e8eddc8ca7a1e1a563 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- None ") Transform; - void Transform(const gp_Trsf2d & T); + void Transform(const gp_Trsf2d & theT); /****************** Transformed ******************/ - /**** md5 signature: 8b2533c8870ac814cf9ba2dd0626d6cc ****/ + /**** md5 signature: 1adbde1812a39997c3d948ec41c0c4ee ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms a line with the transformation t from class trsf2d. + %feature("autodoc", "Transforms a line with the transformation thet from class trsf2d. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- gp_Lin2d ") Transformed; - gp_Lin2d Transformed(const gp_Trsf2d & T); + gp_Lin2d Transformed(const gp_Trsf2d & theT); /****************** Translate ******************/ - /**** md5 signature: 1cd2e000b85692a9f89a6bf8e8e4782c ****/ + /**** md5 signature: f3112504d8f922313d0ee62e8d9fc9ad ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- None ") Translate; - void Translate(const gp_Vec2d & V); + void Translate(const gp_Vec2d & theV); /****************** Translate ******************/ - /**** md5 signature: c7768f1dcf9b6595f2bd4653737544f9 ****/ + /**** md5 signature: edde3614f43331c7884ace28c720ab8c ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt2d -P2: gp_Pnt2d +theP1: gp_Pnt2d +theP2: gp_Pnt2d Returns ------- None ") Translate; - void Translate(const gp_Pnt2d & P1, const gp_Pnt2d & P2); + void Translate(const gp_Pnt2d & theP1, const gp_Pnt2d & theP2); /****************** Translated ******************/ - /**** md5 signature: f1ba6ef1f911cdbec1ee2aafdebd8194 ****/ + /**** md5 signature: 416e67bfb72bca41a352891efad72e9a ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a line in the direction of the vector v. the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "Translates a line in the direction of the vector thev. the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- gp_Lin2d ") Translated; - gp_Lin2d Translated(const gp_Vec2d & V); + gp_Lin2d Translated(const gp_Vec2d & theV); /****************** Translated ******************/ - /**** md5 signature: ae584da98a44629917c3b4e276793577 ****/ + /**** md5 signature: 0c0fb43b2e1fc3a1eb84a7330c2325f8 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a line from the point p1 to the point p2. + %feature("autodoc", "Translates a line from the point thep1 to the point thep2. Parameters ---------- -P1: gp_Pnt2d -P2: gp_Pnt2d +theP1: gp_Pnt2d +theP2: gp_Pnt2d Returns ------- gp_Lin2d ") Translated; - gp_Lin2d Translated(const gp_Pnt2d & P1, const gp_Pnt2d & P2); + gp_Lin2d Translated(const gp_Pnt2d & theP1, const gp_Pnt2d & theP2); }; @@ -10038,7 +10042,7 @@ gp_Lin2d class gp_Mat { public: /****************** gp_Mat ******************/ - /**** md5 signature: 1e2480d8563054dcbcc9daa398b48ecc ****/ + /**** md5 signature: a2d974607c58dd22db3c04191450e07e ****/ %feature("compactdefaultargs") gp_Mat; %feature("autodoc", "Creates a matrix with null coefficients. @@ -10049,105 +10053,105 @@ None gp_Mat(); /****************** gp_Mat ******************/ - /**** md5 signature: cb46433aac7d6afb82c8743d13aef3b5 ****/ + /**** md5 signature: 81abd7a0b36752ce0ea46916f4b51334 ****/ %feature("compactdefaultargs") gp_Mat; %feature("autodoc", "No available documentation. Parameters ---------- -a11: float -a12: float -a13: float -a21: float -a22: float -a23: float -a31: float -a32: float -a33: float +theA11: float +theA12: float +theA13: float +theA21: float +theA22: float +theA23: float +theA31: float +theA32: float +theA33: float Returns ------- None ") gp_Mat; - gp_Mat(const Standard_Real a11, const Standard_Real a12, const Standard_Real a13, const Standard_Real a21, const Standard_Real a22, const Standard_Real a23, const Standard_Real a31, const Standard_Real a32, const Standard_Real a33); + gp_Mat(const Standard_Real theA11, const Standard_Real theA12, const Standard_Real theA13, const Standard_Real theA21, const Standard_Real theA22, const Standard_Real theA23, const Standard_Real theA31, const Standard_Real theA32, const Standard_Real theA33); /****************** gp_Mat ******************/ - /**** md5 signature: a175935b88fd1042aacd85b286fedf9d ****/ + /**** md5 signature: c70f7990345cd055920aa4ae17b89c18 ****/ %feature("compactdefaultargs") gp_Mat; - %feature("autodoc", "Creates a matrix. col1, col2, col3 are the 3 columns of the matrix. + %feature("autodoc", "Creates a matrix. thecol1, thecol2, thecol3 are the 3 columns of the matrix. Parameters ---------- -Col1: gp_XYZ -Col2: gp_XYZ -Col3: gp_XYZ +theCol1: gp_XYZ +theCol2: gp_XYZ +theCol3: gp_XYZ Returns ------- None ") gp_Mat; - gp_Mat(const gp_XYZ & Col1, const gp_XYZ & Col2, const gp_XYZ & Col3); + gp_Mat(const gp_XYZ & theCol1, const gp_XYZ & theCol2, const gp_XYZ & theCol3); /****************** Add ******************/ - /**** md5 signature: 7a8cd0364af21c8844991cc0ab763b51 ****/ + /**** md5 signature: 22de55156ca51c3313218220d0799795 ****/ %feature("compactdefaultargs") Add; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_Mat +theOther: gp_Mat Returns ------- None ") Add; - void Add(const gp_Mat & Other); + void Add(const gp_Mat & theOther); /****************** Added ******************/ - /**** md5 signature: b9474d4fae99c7d06dd7dad51295a423 ****/ + /**** md5 signature: aa750d8235f83bef51f8d0f73bf43071 ****/ %feature("compactdefaultargs") Added; - %feature("autodoc", "Computes the sum of this matrix and the matrix other for each coefficient of the matrix : .coef(i,j) + .coef(i,j). + %feature("autodoc", "Computes the sum of this matrix and the matrix theother for each coefficient of the matrix : .coef(i,j) + .coef(i,j). Parameters ---------- -Other: gp_Mat +theOther: gp_Mat Returns ------- gp_Mat ") Added; - gp_Mat Added(const gp_Mat & Other); + gp_Mat Added(const gp_Mat & theOther); %feature("autodoc","1"); %extend { - Standard_Real GetChangeValue(const Standard_Integer Row,const Standard_Integer Col) { - return (Standard_Real) $self->ChangeValue(Row,Col); + Standard_Real GetChangeValue(const Standard_Integer theRow,const Standard_Integer theCol) { + return (Standard_Real) $self->ChangeValue(theRow,theCol); } }; %feature("autodoc","1"); %extend { - void SetChangeValue(const Standard_Integer Row,const Standard_Integer Col,Standard_Real value) { - $self->ChangeValue(Row,Col)=value; + void SetChangeValue(const Standard_Integer theRow,const Standard_Integer theCol,Standard_Real value) { + $self->ChangeValue(theRow,theCol)=value; } }; /****************** Column ******************/ - /**** md5 signature: 0d8612416c7d04e05de6206f48c27c7a ****/ + /**** md5 signature: 5395083624fdcd486fc1f447084ce762 ****/ %feature("compactdefaultargs") Column; - %feature("autodoc", "Returns the column of col index. raises outofrange if col < 1 or col > 3. + %feature("autodoc", "Returns the column of thecol index. raises outofrange if thecol < 1 or thecol > 3. Parameters ---------- -Col: int +theCol: int Returns ------- gp_XYZ ") Column; - gp_XYZ Column(const Standard_Integer Col); + gp_XYZ Column(const Standard_Integer theCol); /****************** Determinant ******************/ - /**** md5 signature: 5ac8cd01bd8c7b44a3e7395b4e2f6518 ****/ + /**** md5 signature: 2c651d1f91d91ef21c0622ab6d3444d4 ****/ %feature("compactdefaultargs") Determinant; %feature("autodoc", "Computes the determinant of the matrix. @@ -10169,34 +10173,34 @@ gp_XYZ gp_XYZ Diagonal(); /****************** Divide ******************/ - /**** md5 signature: 7bc46cf38daaa2229b322d9add0408e3 ****/ + /**** md5 signature: a8e3d56303725be34900c9165505e38a ****/ %feature("compactdefaultargs") Divide; %feature("autodoc", "No available documentation. Parameters ---------- -Scalar: float +theScalar: float Returns ------- None ") Divide; - void Divide(const Standard_Real Scalar); + void Divide(const Standard_Real theScalar); /****************** Divided ******************/ - /**** md5 signature: 648aed422bff520e6354a05820a077ba ****/ + /**** md5 signature: 080d1ae1a93e0803489c20e0ffb85754 ****/ %feature("compactdefaultargs") Divided; %feature("autodoc", "Divides all the coefficients of the matrix by scalar. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_Mat ") Divided; - gp_Mat Divided(const Standard_Real Scalar); + gp_Mat Divided(const Standard_Real theScalar); %feature("autodoc", "1"); @@ -10229,7 +10233,7 @@ gp_Mat gp_Mat Inverted(); /****************** IsSingular ******************/ - /**** md5 signature: a0f47fe8c8ec8cb2abeeacefc1391dcc ****/ + /**** md5 signature: 03390e58a75dab9eea1f879d1c62f432 ****/ %feature("compactdefaultargs") IsSingular; %feature("autodoc", "The gauss lu decomposition is used to invert the matrix (see math package) so the matrix is considered as singular if the largest pivot found is lower or equal to resolution from gp. @@ -10240,64 +10244,64 @@ bool Standard_Boolean IsSingular(); /****************** Multiplied ******************/ - /**** md5 signature: e8c71823a2fdf477d5d701747740c290 ****/ + /**** md5 signature: abe747ed0d5d72378006c6255a1777ac ****/ %feature("compactdefaultargs") Multiplied; %feature("autodoc", "Computes the product of two matrices * . Parameters ---------- -Other: gp_Mat +theOther: gp_Mat Returns ------- gp_Mat ") Multiplied; - gp_Mat Multiplied(const gp_Mat & Other); + gp_Mat Multiplied(const gp_Mat & theOther); /****************** Multiplied ******************/ - /**** md5 signature: 35c3aa5b6714574d2774a86ff1e41bc7 ****/ + /**** md5 signature: 4eb2a79421f42e3ebac319b7e6bad41d ****/ %feature("compactdefaultargs") Multiplied; %feature("autodoc", "No available documentation. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_Mat ") Multiplied; - gp_Mat Multiplied(const Standard_Real Scalar); + gp_Mat Multiplied(const Standard_Real theScalar); /****************** Multiply ******************/ - /**** md5 signature: 287b909082db8aa7498856cdc8899cb5 ****/ + /**** md5 signature: c2593545a2e5484de62a7cc15838404c ****/ %feature("compactdefaultargs") Multiply; %feature("autodoc", "Computes the product of two matrices = * . Parameters ---------- -Other: gp_Mat +theOther: gp_Mat Returns ------- None ") Multiply; - void Multiply(const gp_Mat & Other); + void Multiply(const gp_Mat & theOther); /****************** Multiply ******************/ - /**** md5 signature: c6d925fe0833ff6abc2c1aab20682246 ****/ + /**** md5 signature: 5ec6e322b1914d47759b5051335ce8b1 ****/ %feature("compactdefaultargs") Multiply; %feature("autodoc", "Multiplies all the coefficients of the matrix by scalar. Parameters ---------- -Scalar: float +theScalar: float Returns ------- None ") Multiply; - void Multiply(const Standard_Real Scalar); + void Multiply(const Standard_Real theScalar); /****************** Power ******************/ /**** md5 signature: 269b25031ee3626d57e26795a85486bb ****/ @@ -10315,132 +10319,132 @@ None void Power(const Standard_Integer N); /****************** Powered ******************/ - /**** md5 signature: 22ad2f3780f48c2e055a8a2925492a2c ****/ + /**** md5 signature: afe9dfb507d129cea71a1fd111786f82 ****/ %feature("compactdefaultargs") Powered; - %feature("autodoc", "Computes = * * .......* , n time. if n = 0 = identity if n < 0 = .invert() *...........* .invert(). if n < 0 an exception will be raised if the matrix is not inversible. + %feature("autodoc", "Computes = * * .......* , then time. if then = 0 = identity if then < 0 = .invert() *...........* .invert(). if then < 0 an exception will be raised if the matrix is not inversible. Parameters ---------- -N: int +theN: int Returns ------- gp_Mat ") Powered; - gp_Mat Powered(const Standard_Integer N); + gp_Mat Powered(const Standard_Integer theN); /****************** PreMultiply ******************/ - /**** md5 signature: 6f91145de3a840221732dcfcc0743578 ****/ + /**** md5 signature: 5928cf9374dbcddeb936035beace2886 ****/ %feature("compactdefaultargs") PreMultiply; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_Mat +theOther: gp_Mat Returns ------- None ") PreMultiply; - void PreMultiply(const gp_Mat & Other); + void PreMultiply(const gp_Mat & theOther); /****************** Row ******************/ - /**** md5 signature: 87e95203634e9da82bbb0e09bff5797f ****/ + /**** md5 signature: 7ef120d3c543f78ba32791672a05971c ****/ %feature("compactdefaultargs") Row; - %feature("autodoc", "Returns the row of row index. raises outofrange if row < 1 or row > 3. + %feature("autodoc", "Returns the row of therow index. raises outofrange if therow < 1 or therow > 3. Parameters ---------- -Row: int +theRow: int Returns ------- gp_XYZ ") Row; - gp_XYZ Row(const Standard_Integer Row); + gp_XYZ Row(const Standard_Integer theRow); /****************** SetCol ******************/ - /**** md5 signature: 81be148009105008a74c82524218b997 ****/ + /**** md5 signature: 635888cb9f79cffcaaf54019cfe3bfad ****/ %feature("compactdefaultargs") SetCol; - %feature("autodoc", "Assigns the three coordinates of value to the column of index col of this matrix. raises outofrange if col < 1 or col > 3. + %feature("autodoc", "Assigns the three coordinates of thevalue to the column of index thecol of this matrix. raises outofrange if thecol < 1 or thecol > 3. Parameters ---------- -Col: int -Value: gp_XYZ +theCol: int +theValue: gp_XYZ Returns ------- None ") SetCol; - void SetCol(const Standard_Integer Col, const gp_XYZ & Value); + void SetCol(const Standard_Integer theCol, const gp_XYZ & theValue); /****************** SetCols ******************/ - /**** md5 signature: f7f14e4da8d3fbaf7a42ebcf8a1984e9 ****/ + /**** md5 signature: 0bb5fe2880a0b326d0ee4be9a050e1fb ****/ %feature("compactdefaultargs") SetCols; - %feature("autodoc", "Assigns the number triples col1, col2, col3 to the three columns of this matrix. + %feature("autodoc", "Assigns the number triples thecol1, thecol2, thecol3 to the three columns of this matrix. Parameters ---------- -Col1: gp_XYZ -Col2: gp_XYZ -Col3: gp_XYZ +theCol1: gp_XYZ +theCol2: gp_XYZ +theCol3: gp_XYZ Returns ------- None ") SetCols; - void SetCols(const gp_XYZ & Col1, const gp_XYZ & Col2, const gp_XYZ & Col3); + void SetCols(const gp_XYZ & theCol1, const gp_XYZ & theCol2, const gp_XYZ & theCol3); /****************** SetCross ******************/ - /**** md5 signature: 6e97d41fdcf18f4921caca2d7473eb96 ****/ + /**** md5 signature: 3b20c4391761c99e63da723474bf4093 ****/ %feature("compactdefaultargs") SetCross; - %feature("autodoc", "Modifies the matrix m so that applying it to any number triple (x, y, z) produces the same result as the cross product of ref and the number triple (x, y, z): i.e.: m * {x,y,z}t = ref.cross({x, y ,z}) this matrix is anti symmetric. to apply this matrix to the triplet {xyz} is the same as to do the cross product between the triplet ref and the triplet {xyz}. note: this matrix is anti-symmetric. + %feature("autodoc", "Modifies the matrix m so that applying it to any number triple (x, y, z) produces the same result as the cross product of theref and the number triple (x, y, z): i.e.: m * {x,y,z}t = theref.cross({x, y ,z}) this matrix is anti symmetric. to apply this matrix to the triplet {xyz} is the same as to do the cross product between the triplet theref and the triplet {xyz}. note: this matrix is anti-symmetric. Parameters ---------- -Ref: gp_XYZ +theRef: gp_XYZ Returns ------- None ") SetCross; - void SetCross(const gp_XYZ & Ref); + void SetCross(const gp_XYZ & theRef); /****************** SetDiagonal ******************/ - /**** md5 signature: 846927f6a3d9643c74d65a1037181328 ****/ + /**** md5 signature: b62138e3a32c5c1661e2dd1f586acf04 ****/ %feature("compactdefaultargs") SetDiagonal; - %feature("autodoc", "Modifies the main diagonal of the matrix. .value (1, 1) = x1 .value (2, 2) = x2 .value (3, 3) = x3 the other coefficients of the matrix are not modified. + %feature("autodoc", "Modifies the main diagonal of the matrix. @code .value (1, 1) = thex1 .value (2, 2) = thex2 .value (3, 3) = thex3 @endcode the other coefficients of the matrix are not modified. Parameters ---------- -X1: float -X2: float -X3: float +theX1: float +theX2: float +theX3: float Returns ------- None ") SetDiagonal; - void SetDiagonal(const Standard_Real X1, const Standard_Real X2, const Standard_Real X3); + void SetDiagonal(const Standard_Real theX1, const Standard_Real theX2, const Standard_Real theX3); /****************** SetDot ******************/ - /**** md5 signature: e8ca8e91dfbb699ded371e0fec68633f ****/ + /**** md5 signature: d0c52416cbbc69dc941e9814a04951d1 ****/ %feature("compactdefaultargs") SetDot; - %feature("autodoc", "Modifies this matrix so that applying it to any number triple (x, y, z) produces the same result as the scalar product of ref and the number triple (x, y, z): this * (x,y,z) = ref.(x,y,z) note: this matrix is symmetric. + %feature("autodoc", "Modifies this matrix so that applying it to any number triple (x, y, z) produces the same result as the scalar product of theref and the number triple (x, y, z): this * (x,y,z) = theref.(x,y,z) note: this matrix is symmetric. Parameters ---------- -Ref: gp_XYZ +theRef: gp_XYZ Returns ------- None ") SetDot; - void SetDot(const gp_XYZ & Ref); + void SetDot(const gp_XYZ & theRef); /****************** SetIdentity ******************/ - /**** md5 signature: 5bbdc9fdffc9b653a262b82f3031092e ****/ + /**** md5 signature: 29bad7dbd58ceb28d41fd54bb77dccfa ****/ %feature("compactdefaultargs") SetIdentity; %feature("autodoc", "Modifies this matrix so that it represents the identity matrix. @@ -10451,115 +10455,115 @@ None void SetIdentity(); /****************** SetRotation ******************/ - /**** md5 signature: cb359fc0704bbfbae4d0e22881e3c5d4 ****/ + /**** md5 signature: 28df49a6aeffc72b437daba2983e98b1 ****/ %feature("compactdefaultargs") SetRotation; - %feature("autodoc", "Modifies this matrix so that it represents a rotation. ang is the angular value in radians and the xyz axis gives the direction of the rotation. raises constructionerror if xyz.modulus() <= resolution(). + %feature("autodoc", "Modifies this matrix so that it represents a rotation. theang is the angular value in radians and the xyz axis gives the direction of the rotation. raises constructionerror if xyz.modulus() <= resolution(). Parameters ---------- -Axis: gp_XYZ -Ang: float +theAxis: gp_XYZ +theAng: float Returns ------- None ") SetRotation; - void SetRotation(const gp_XYZ & Axis, const Standard_Real Ang); + void SetRotation(const gp_XYZ & theAxis, const Standard_Real theAng); /****************** SetRow ******************/ - /**** md5 signature: 3be971dfae66b67ded0bceb4dc6a676f ****/ + /**** md5 signature: eaa069d684998a4b86ff2cff92480365 ****/ %feature("compactdefaultargs") SetRow; - %feature("autodoc", "Assigns the three coordinates of value to the row of index row of this matrix. raises outofrange if row < 1 or row > 3. + %feature("autodoc", "Assigns the three coordinates of value to the row of index therow of this matrix. raises outofrange if therow < 1 or therow > 3. Parameters ---------- -Row: int -Value: gp_XYZ +theRow: int +theValue: gp_XYZ Returns ------- None ") SetRow; - void SetRow(const Standard_Integer Row, const gp_XYZ & Value); + void SetRow(const Standard_Integer theRow, const gp_XYZ & theValue); /****************** SetRows ******************/ - /**** md5 signature: 5d8c5df2133fc87623bed77ac3c8adfd ****/ + /**** md5 signature: 9f360a5cd262963fdb0a0e93568929ba ****/ %feature("compactdefaultargs") SetRows; - %feature("autodoc", "Assigns the number triples row1, row2, row3 to the three rows of this matrix. + %feature("autodoc", "Assigns the number triples therow1, therow2, therow3 to the three rows of this matrix. Parameters ---------- -Row1: gp_XYZ -Row2: gp_XYZ -Row3: gp_XYZ +theRow1: gp_XYZ +theRow2: gp_XYZ +theRow3: gp_XYZ Returns ------- None ") SetRows; - void SetRows(const gp_XYZ & Row1, const gp_XYZ & Row2, const gp_XYZ & Row3); + void SetRows(const gp_XYZ & theRow1, const gp_XYZ & theRow2, const gp_XYZ & theRow3); /****************** SetScale ******************/ - /**** md5 signature: ed1e020e7e73778204761e7ad82059cb ****/ + /**** md5 signature: 39248edf6ba1a4f4f31956da18ba572a ****/ %feature("compactdefaultargs") SetScale; - %feature("autodoc", "Modifies the the matrix so that it represents a scaling transformation, where s is the scale factor. : | s 0.0 0.0 | = | 0.0 s 0.0 | | 0.0 0.0 s |. + %feature("autodoc", "Modifies the matrix so that it represents a scaling transformation, where thes is the scale factor. : @code | thes 0.0 0.0 | = | 0.0 thes 0.0 | | 0.0 0.0 thes | @endcode. Parameters ---------- -S: float +theS: float Returns ------- None ") SetScale; - void SetScale(const Standard_Real S); + void SetScale(const Standard_Real theS); /****************** SetValue ******************/ - /**** md5 signature: db365e16a78bd3bf72b91ac00f7ecbe0 ****/ + /**** md5 signature: 99a5a1dc4ea005a04a68da8d3f6274b3 ****/ %feature("compactdefaultargs") SetValue; - %feature("autodoc", "Assigns to the coefficient of row row, column col of this matrix. raises outofrange if row < 1 or row > 3 or col < 1 or col > 3. + %feature("autodoc", "Assigns to the coefficient of row therow, column thecol of this matrix. raises outofrange if therow < 1 or therow > 3 or thecol < 1 or thecol > 3. Parameters ---------- -Row: int -Col: int -Value: float +theRow: int +theCol: int +theValue: float Returns ------- None ") SetValue; - void SetValue(const Standard_Integer Row, const Standard_Integer Col, const Standard_Real Value); + void SetValue(const Standard_Integer theRow, const Standard_Integer theCol, const Standard_Real theValue); /****************** Subtract ******************/ - /**** md5 signature: bbd73df6fe6f9db59e2c47a133e82a16 ****/ + /**** md5 signature: a9c0fcdea7a766ba54c3c109f2ec3eb6 ****/ %feature("compactdefaultargs") Subtract; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_Mat +theOther: gp_Mat Returns ------- None ") Subtract; - void Subtract(const gp_Mat & Other); + void Subtract(const gp_Mat & theOther); /****************** Subtracted ******************/ - /**** md5 signature: e01cedd860fb50335ad89e7ce4d23725 ****/ + /**** md5 signature: e6ceebd1febc31105fe0199def472bd7 ****/ %feature("compactdefaultargs") Subtracted; - %feature("autodoc", "Computes for each coefficient of the matrix : .coef(i,j) - .coef(i,j). + %feature("autodoc", "Computes for each coefficient of the matrix : .coef(i,j) - .coef(i,j). Parameters ---------- -Other: gp_Mat +theOther: gp_Mat Returns ------- gp_Mat ") Subtracted; - gp_Mat Subtracted(const gp_Mat & Other); + gp_Mat Subtracted(const gp_Mat & theOther); /****************** Transpose ******************/ /**** md5 signature: 70e27025c56428cd3bbca609f0f0cfbd ****/ @@ -10573,7 +10577,7 @@ None void Transpose(); /****************** Transposed ******************/ - /**** md5 signature: 010793b64a105b4317bc7aba186423f1 ****/ + /**** md5 signature: 6f431e17dac82c5511fba18a2280b8a0 ****/ %feature("compactdefaultargs") Transposed; %feature("autodoc", "Transposes the matrix. a(j, i) -> a (i, j). @@ -10584,50 +10588,50 @@ gp_Mat gp_Mat Transposed(); /****************** Value ******************/ - /**** md5 signature: a9482d47079caf6e7f07fc5a5d2375b1 ****/ + /**** md5 signature: 6a2c4a8c6e47ce057687c7f426792775 ****/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the coefficient of range (row, col) raises outofrange if row < 1 or row > 3 or col < 1 or col > 3. + %feature("autodoc", "Returns the coefficient of range (therow, thecol) raises outofrange if therow < 1 or therow > 3 or thecol < 1 or thecol > 3. Parameters ---------- -Row: int -Col: int +theRow: int +theCol: int Returns ------- float ") Value; - const Standard_Real & Value(const Standard_Integer Row, const Standard_Integer Col); + const Standard_Real & Value(const Standard_Integer theRow, const Standard_Integer theCol); /****************** operator * ******************/ - /**** md5 signature: 45d38880a906bdc2ecfbfd53f046cde9 ****/ + /**** md5 signature: 7db0ed1ace38f8bf1c113456a70f43f7 ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_Mat +theOther: gp_Mat Returns ------- gp_Mat ") operator *; - gp_Mat operator *(const gp_Mat & Other); + gp_Mat operator *(const gp_Mat & theOther); /****************** operator * ******************/ - /**** md5 signature: a0ce831e9d54cd6279b3636f79cb8ef7 ****/ + /**** md5 signature: 111c858f76a112394f57e180fc6e7ea3 ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_Mat ") operator *; - gp_Mat operator *(const Standard_Real Scalar); + gp_Mat operator *(const Standard_Real theScalar); %extend{ @@ -10652,19 +10656,19 @@ gp_Mat return self } /****************** operator + ******************/ - /**** md5 signature: 888e64b4d79e7b5a714ea96df62d877c ****/ + /**** md5 signature: c2a4fbf1f0a086324496c01898bbe173 ****/ %feature("compactdefaultargs") operator +; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_Mat +theOther: gp_Mat Returns ------- gp_Mat ") operator +; - gp_Mat operator +(const gp_Mat & Other); + gp_Mat operator +(const gp_Mat & theOther); %extend{ @@ -10678,19 +10682,19 @@ gp_Mat return self } /****************** operator - ******************/ - /**** md5 signature: b2c8b203557e9b67eae6119380409e4d ****/ + /**** md5 signature: 005d2557fc210ec6218060a310064329 ****/ %feature("compactdefaultargs") operator -; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_Mat +theOther: gp_Mat Returns ------- gp_Mat ") operator -; - gp_Mat operator -(const gp_Mat & Other); + gp_Mat operator -(const gp_Mat & theOther); %extend{ @@ -10704,19 +10708,19 @@ gp_Mat return self } /****************** operator / ******************/ - /**** md5 signature: aa0da0c3d4c3e2c28dae27ce91d28fa5 ****/ + /**** md5 signature: 50cc92cc2a69d2e23a05248466cd8bca ****/ %feature("compactdefaultargs") operator /; %feature("autodoc", "No available documentation. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_Mat ") operator /; - gp_Mat operator /(const Standard_Real Scalar); + gp_Mat operator /(const Standard_Real theScalar); %extend{ @@ -10744,7 +10748,7 @@ gp_Mat class gp_Mat2d { public: /****************** gp_Mat2d ******************/ - /**** md5 signature: 3f9ad8079a6630f1d29e23ff1a2dc6a9 ****/ + /**** md5 signature: 824d966688fb682caf2b1e9c529e1a44 ****/ %feature("compactdefaultargs") gp_Mat2d; %feature("autodoc", "Creates a matrix with null coefficients. @@ -10755,20 +10759,20 @@ None gp_Mat2d(); /****************** gp_Mat2d ******************/ - /**** md5 signature: d615e498bcafcc974846c98219422ed9 ****/ + /**** md5 signature: 8ee2088d64337c1d8317be4e5edc2cbc ****/ %feature("compactdefaultargs") gp_Mat2d; - %feature("autodoc", "Col1, col2 are the 2 columns of the matrix. + %feature("autodoc", "Thecol1, thecol2 are the 2 columns of the matrix. Parameters ---------- -Col1: gp_XY -Col2: gp_XY +theCol1: gp_XY +theCol2: gp_XY Returns ------- None ") gp_Mat2d; - gp_Mat2d(const gp_XY & Col1, const gp_XY & Col2); + gp_Mat2d(const gp_XY & theCol1, const gp_XY & theCol2); /****************** Add ******************/ /**** md5 signature: 9f84026b13c61ba373b10330d3726faf ****/ @@ -10786,50 +10790,50 @@ None void Add(const gp_Mat2d & Other); /****************** Added ******************/ - /**** md5 signature: 81b2e6efaf67481f37c2626c37d14459 ****/ + /**** md5 signature: eee9fd4ef8b51dfcac2bc5bb7686fa3f ****/ %feature("compactdefaultargs") Added; - %feature("autodoc", "Computes the sum of this matrix and the matrix other.for each coefficient of the matrix : .coef(i,j) + .coef(i,j) note: - operator += assigns the result to this matrix, while - operator + creates a new one. + %feature("autodoc", "Computes the sum of this matrix and the matrix theother.for each coefficient of the matrix : @code .coef(i,j) + .coef(i,j) @endcode note: - operator += assigns the result to this matrix, while - operator + creates a new one. Parameters ---------- -Other: gp_Mat2d +theOther: gp_Mat2d Returns ------- gp_Mat2d ") Added; - gp_Mat2d Added(const gp_Mat2d & Other); + gp_Mat2d Added(const gp_Mat2d & theOther); %feature("autodoc","1"); %extend { - Standard_Real GetChangeValue(const Standard_Integer Row,const Standard_Integer Col) { - return (Standard_Real) $self->ChangeValue(Row,Col); + Standard_Real GetChangeValue(const Standard_Integer theRow,const Standard_Integer theCol) { + return (Standard_Real) $self->ChangeValue(theRow,theCol); } }; %feature("autodoc","1"); %extend { - void SetChangeValue(const Standard_Integer Row,const Standard_Integer Col,Standard_Real value) { - $self->ChangeValue(Row,Col)=value; + void SetChangeValue(const Standard_Integer theRow,const Standard_Integer theCol,Standard_Real value) { + $self->ChangeValue(theRow,theCol)=value; } }; /****************** Column ******************/ - /**** md5 signature: 2134bcea4c24f661b08e9883d8479c32 ****/ + /**** md5 signature: 72eddfffa8fb96e97f4ba890e948f029 ****/ %feature("compactdefaultargs") Column; - %feature("autodoc", "Returns the column of col index. raises outofrange if col < 1 or col > 2. + %feature("autodoc", "Returns the column of thecol index. raises outofrange if thecol < 1 or thecol > 2. Parameters ---------- -Col: int +theCol: int Returns ------- gp_XY ") Column; - gp_XY Column(const Standard_Integer Col); + gp_XY Column(const Standard_Integer theCol); /****************** Determinant ******************/ - /**** md5 signature: 5ac8cd01bd8c7b44a3e7395b4e2f6518 ****/ + /**** md5 signature: 2c651d1f91d91ef21c0622ab6d3444d4 ****/ %feature("compactdefaultargs") Determinant; %feature("autodoc", "Computes the determinant of the matrix. @@ -10851,34 +10855,34 @@ gp_XY gp_XY Diagonal(); /****************** Divide ******************/ - /**** md5 signature: 7bc46cf38daaa2229b322d9add0408e3 ****/ + /**** md5 signature: a8e3d56303725be34900c9165505e38a ****/ %feature("compactdefaultargs") Divide; %feature("autodoc", "No available documentation. Parameters ---------- -Scalar: float +theScalar: float Returns ------- None ") Divide; - void Divide(const Standard_Real Scalar); + void Divide(const Standard_Real theScalar); /****************** Divided ******************/ - /**** md5 signature: 080d1a785450e084ea181bdeda5f386e ****/ + /**** md5 signature: d03d3fa2837e4ab5c9ccd511088b35e8 ****/ %feature("compactdefaultargs") Divided; %feature("autodoc", "Divides all the coefficients of the matrix by a scalar. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_Mat2d ") Divided; - gp_Mat2d Divided(const Standard_Real Scalar); + gp_Mat2d Divided(const Standard_Real theScalar); /****************** Invert ******************/ /**** md5 signature: 980f166f600d23a8c77565829af2eeff ****/ @@ -10892,7 +10896,7 @@ None void Invert(); /****************** Inverted ******************/ - /**** md5 signature: 0212ea2a0fdffd77eaa40fe4dd3e2eae ****/ + /**** md5 signature: e25ae29335c96aa928e72866417e8ab1 ****/ %feature("compactdefaultargs") Inverted; %feature("autodoc", "Inverses the matrix and raises exception if the matrix is singular. @@ -10903,7 +10907,7 @@ gp_Mat2d gp_Mat2d Inverted(); /****************** IsSingular ******************/ - /**** md5 signature: a0f47fe8c8ec8cb2abeeacefc1391dcc ****/ + /**** md5 signature: 03390e58a75dab9eea1f879d1c62f432 ****/ %feature("compactdefaultargs") IsSingular; %feature("autodoc", "Returns true if this matrix is singular (and therefore, cannot be inverted). the gauss lu decomposition is used to invert the matrix so the matrix is considered as singular if the largest pivot found is lower or equal to resolution from gp. @@ -10914,175 +10918,175 @@ bool Standard_Boolean IsSingular(); /****************** Multiplied ******************/ - /**** md5 signature: 4fcb9407a2252203a62bb63402b66229 ****/ + /**** md5 signature: b9deb82837e4a5e91b08934edb6fe12d ****/ %feature("compactdefaultargs") Multiplied; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_Mat2d +theOther: gp_Mat2d Returns ------- gp_Mat2d ") Multiplied; - gp_Mat2d Multiplied(const gp_Mat2d & Other); + gp_Mat2d Multiplied(const gp_Mat2d & theOther); /****************** Multiplied ******************/ - /**** md5 signature: babfd1851bc808a202f226a1b8a27d15 ****/ + /**** md5 signature: 572d0fb590a5d3038f3701033c6276e5 ****/ %feature("compactdefaultargs") Multiplied; %feature("autodoc", "No available documentation. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_Mat2d ") Multiplied; - gp_Mat2d Multiplied(const Standard_Real Scalar); + gp_Mat2d Multiplied(const Standard_Real theScalar); /****************** Multiply ******************/ - /**** md5 signature: 198f5714b6594623c34e6a5cc372819f ****/ + /**** md5 signature: 6de2113f0d9321b382dc566d916d3f84 ****/ %feature("compactdefaultargs") Multiply; - %feature("autodoc", "Computes the product of two matrices * . + %feature("autodoc", "Computes the product of two matrices * . Parameters ---------- -Other: gp_Mat2d +theOther: gp_Mat2d Returns ------- None ") Multiply; - void Multiply(const gp_Mat2d & Other); + void Multiply(const gp_Mat2d & theOther); /****************** Multiply ******************/ - /**** md5 signature: c6d925fe0833ff6abc2c1aab20682246 ****/ + /**** md5 signature: 5ec6e322b1914d47759b5051335ce8b1 ****/ %feature("compactdefaultargs") Multiply; %feature("autodoc", "Multiplies all the coefficients of the matrix by a scalar. Parameters ---------- -Scalar: float +theScalar: float Returns ------- None ") Multiply; - void Multiply(const Standard_Real Scalar); + void Multiply(const Standard_Real theScalar); /****************** Power ******************/ - /**** md5 signature: 269b25031ee3626d57e26795a85486bb ****/ + /**** md5 signature: fe226a66f073d604b8a0d81d41f1ca71 ****/ %feature("compactdefaultargs") Power; %feature("autodoc", "No available documentation. Parameters ---------- -N: int +theN: int Returns ------- None ") Power; - void Power(const Standard_Integer N); + void Power(const Standard_Integer theN); /****************** Powered ******************/ - /**** md5 signature: 661908624c22c04980a9d67a8cde0066 ****/ + /**** md5 signature: 22dd65f2a0a762f94aba7326b16b0478 ****/ %feature("compactdefaultargs") Powered; - %feature("autodoc", "Computes = * * .......* , n time. if n = 0 = identity if n < 0 = .invert() *...........* .invert(). if n < 0 an exception can be raised if the matrix is not inversible. + %feature("autodoc", "Computes = * * .......* , then time. if then = 0 = identity if then < 0 = .invert() *...........* .invert(). if then < 0 an exception can be raised if the matrix is not inversible. Parameters ---------- -N: int +theN: int Returns ------- gp_Mat2d ") Powered; - gp_Mat2d Powered(const Standard_Integer N); + gp_Mat2d Powered(const Standard_Integer theN); /****************** PreMultiply ******************/ - /**** md5 signature: ef2fc80801794836ab5ff95c139fb82b ****/ + /**** md5 signature: decff535039fc67179cb5ce42cb49a25 ****/ %feature("compactdefaultargs") PreMultiply; - %feature("autodoc", "Modifies this matrix by premultiplying it by the matrix other = other * . + %feature("autodoc", "Modifies this matrix by premultiplying it by the matrix other = theother * . Parameters ---------- -Other: gp_Mat2d +theOther: gp_Mat2d Returns ------- None ") PreMultiply; - void PreMultiply(const gp_Mat2d & Other); + void PreMultiply(const gp_Mat2d & theOther); /****************** Row ******************/ - /**** md5 signature: df302aa210335aa000b2cfef12b08b4f ****/ + /**** md5 signature: 8e69c85df59f4d010677ced22d751412 ****/ %feature("compactdefaultargs") Row; - %feature("autodoc", "Returns the row of index row. raised if row < 1 or row > 2. + %feature("autodoc", "Returns the row of index therow. raised if therow < 1 or therow > 2. Parameters ---------- -Row: int +theRow: int Returns ------- gp_XY ") Row; - gp_XY Row(const Standard_Integer Row); + gp_XY Row(const Standard_Integer theRow); /****************** SetCol ******************/ - /**** md5 signature: 78c41204cb9b57314502eeecf0329c2a ****/ + /**** md5 signature: 926c6f2bb1fe0c46d5509f7bec09b814 ****/ %feature("compactdefaultargs") SetCol; - %feature("autodoc", "Assigns the two coordinates of value to the column of range col of this matrix raises outofrange if col < 1 or col > 2. + %feature("autodoc", "Assigns the two coordinates of thevalue to the column of range thecol of this matrix raises outofrange if thecol < 1 or thecol > 2. Parameters ---------- -Col: int -Value: gp_XY +theCol: int +theValue: gp_XY Returns ------- None ") SetCol; - void SetCol(const Standard_Integer Col, const gp_XY & Value); + void SetCol(const Standard_Integer theCol, const gp_XY & theValue); /****************** SetCols ******************/ - /**** md5 signature: cd333d94dafa69f436113f8f5d459147 ****/ + /**** md5 signature: 6afcfbf6aea2dca97f97a69fe4b45e16 ****/ %feature("compactdefaultargs") SetCols; - %feature("autodoc", "Assigns the number pairs col1, col2 to the two columns of this matrix. + %feature("autodoc", "Assigns the number pairs thecol1, thecol2 to the two columns of this matrix. Parameters ---------- -Col1: gp_XY -Col2: gp_XY +theCol1: gp_XY +theCol2: gp_XY Returns ------- None ") SetCols; - void SetCols(const gp_XY & Col1, const gp_XY & Col2); + void SetCols(const gp_XY & theCol1, const gp_XY & theCol2); /****************** SetDiagonal ******************/ - /**** md5 signature: 0030d64303d9ed0b4736cb062dc69967 ****/ + /**** md5 signature: 831afb46d8f41e1485c14a145a5c397d ****/ %feature("compactdefaultargs") SetDiagonal; - %feature("autodoc", "Modifies the main diagonal of the matrix. .value (1, 1) = x1 .value (2, 2) = x2 the other coefficients of the matrix are not modified. + %feature("autodoc", "Modifies the main diagonal of the matrix. @code .value (1, 1) = thex1 .value (2, 2) = thex2 @endcode the other coefficients of the matrix are not modified. Parameters ---------- -X1: float -X2: float +theX1: float +theX2: float Returns ------- None ") SetDiagonal; - void SetDiagonal(const Standard_Real X1, const Standard_Real X2); + void SetDiagonal(const Standard_Real theX1, const Standard_Real theX2); /****************** SetIdentity ******************/ - /**** md5 signature: 5bbdc9fdffc9b653a262b82f3031092e ****/ + /**** md5 signature: 29bad7dbd58ceb28d41fd54bb77dccfa ****/ %feature("compactdefaultargs") SetIdentity; %feature("autodoc", "Modifies this matrix, so that it represents the identity matrix. @@ -11093,113 +11097,113 @@ None void SetIdentity(); /****************** SetRotation ******************/ - /**** md5 signature: 779a0e2b4ad005b9683bae98de50aef0 ****/ + /**** md5 signature: 6c56d0255926866da01100ccb4acc92a ****/ %feature("compactdefaultargs") SetRotation; - %feature("autodoc", "Modifies this matrix, so that it representso a rotation. ang is the angular value in radian of the rotation. + %feature("autodoc", "Modifies this matrix, so that it represents a rotation. theang is the angular value in radian of the rotation. Parameters ---------- -Ang: float +theAng: float Returns ------- None ") SetRotation; - void SetRotation(const Standard_Real Ang); + void SetRotation(const Standard_Real theAng); /****************** SetRow ******************/ - /**** md5 signature: 386d735ca93edd828b22966cdcdb98d6 ****/ + /**** md5 signature: d981650ea71a835a33d95434ad748603 ****/ %feature("compactdefaultargs") SetRow; - %feature("autodoc", "Assigns the two coordinates of value to the row of index row of this matrix. raises outofrange if row < 1 or row > 2. + %feature("autodoc", "Assigns the two coordinates of thevalue to the row of index therow of this matrix. raises outofrange if therow < 1 or therow > 2. Parameters ---------- -Row: int -Value: gp_XY +theRow: int +theValue: gp_XY Returns ------- None ") SetRow; - void SetRow(const Standard_Integer Row, const gp_XY & Value); + void SetRow(const Standard_Integer theRow, const gp_XY & theValue); /****************** SetRows ******************/ - /**** md5 signature: fc0b78f732840fc6a9858bae94cc6062 ****/ + /**** md5 signature: da27ff36201d86cdab3c3e4eeb2fb37f ****/ %feature("compactdefaultargs") SetRows; - %feature("autodoc", "Assigns the number pairs row1, row2 to the two rows of this matrix. + %feature("autodoc", "Assigns the number pairs therow1, therow2 to the two rows of this matrix. Parameters ---------- -Row1: gp_XY -Row2: gp_XY +theRow1: gp_XY +theRow2: gp_XY Returns ------- None ") SetRows; - void SetRows(const gp_XY & Row1, const gp_XY & Row2); + void SetRows(const gp_XY & theRow1, const gp_XY & theRow2); /****************** SetScale ******************/ - /**** md5 signature: ed1e020e7e73778204761e7ad82059cb ****/ + /**** md5 signature: 39248edf6ba1a4f4f31956da18ba572a ****/ %feature("compactdefaultargs") SetScale; - %feature("autodoc", "Modifies the matrix such that it represents a scaling transformation, where s is the scale factor : | s 0.0 | = | 0.0 s |. + %feature("autodoc", "Modifies the matrix such that it represents a scaling transformation, where thes is the scale factor : @code | thes 0.0 | = | 0.0 thes | @endcode. Parameters ---------- -S: float +theS: float Returns ------- None ") SetScale; - void SetScale(const Standard_Real S); + void SetScale(const Standard_Real theS); /****************** SetValue ******************/ - /**** md5 signature: db365e16a78bd3bf72b91ac00f7ecbe0 ****/ + /**** md5 signature: 99a5a1dc4ea005a04a68da8d3f6274b3 ****/ %feature("compactdefaultargs") SetValue; - %feature("autodoc", "Assigns to the coefficient of row row, column col of this matrix. raises outofrange if row < 1 or row > 2 or col < 1 or col > 2. + %feature("autodoc", "Assigns to the coefficient of row therow, column thecol of this matrix. raises outofrange if therow < 1 or therow > 2 or thecol < 1 or thecol > 2. Parameters ---------- -Row: int -Col: int -Value: float +theRow: int +theCol: int +theValue: float Returns ------- None ") SetValue; - void SetValue(const Standard_Integer Row, const Standard_Integer Col, const Standard_Real Value); + void SetValue(const Standard_Integer theRow, const Standard_Integer theCol, const Standard_Real theValue); /****************** Subtract ******************/ - /**** md5 signature: b5dad0e007121eba734309739a87df5f ****/ + /**** md5 signature: 295bef982476844ba964928199c2de6a ****/ %feature("compactdefaultargs") Subtract; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_Mat2d +theOther: gp_Mat2d Returns ------- None ") Subtract; - void Subtract(const gp_Mat2d & Other); + void Subtract(const gp_Mat2d & theOther); /****************** Subtracted ******************/ - /**** md5 signature: 4961cb1fbfc37eea0a8cde77fb8e3261 ****/ + /**** md5 signature: 59b108ee65cbc1f892518bd1bd722b1c ****/ %feature("compactdefaultargs") Subtracted; - %feature("autodoc", "Computes for each coefficient of the matrix : .coef(i,j) - .coef(i,j). + %feature("autodoc", "Computes for each coefficient of the matrix : @code .coef(i,j) - .coef(i,j) @endcode. Parameters ---------- -Other: gp_Mat2d +theOther: gp_Mat2d Returns ------- gp_Mat2d ") Subtracted; - gp_Mat2d Subtracted(const gp_Mat2d & Other); + gp_Mat2d Subtracted(const gp_Mat2d & theOther); /****************** Transpose ******************/ /**** md5 signature: 70e27025c56428cd3bbca609f0f0cfbd ****/ @@ -11224,50 +11228,50 @@ gp_Mat2d gp_Mat2d Transposed(); /****************** Value ******************/ - /**** md5 signature: a9482d47079caf6e7f07fc5a5d2375b1 ****/ + /**** md5 signature: 6a2c4a8c6e47ce057687c7f426792775 ****/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the coefficient of range (row, col) raises outofrange if row < 1 or row > 2 or col < 1 or col > 2. + %feature("autodoc", "Returns the coefficient of range (ttheherow, thecol) raises outofrange if therow < 1 or therow > 2 or thecol < 1 or thecol > 2. Parameters ---------- -Row: int -Col: int +theRow: int +theCol: int Returns ------- float ") Value; - const Standard_Real & Value(const Standard_Integer Row, const Standard_Integer Col); + const Standard_Real & Value(const Standard_Integer theRow, const Standard_Integer theCol); /****************** operator * ******************/ - /**** md5 signature: 55dad889f6069c2935c250e98bdb6035 ****/ + /**** md5 signature: d0d0707b77bef9cb4901ef6eb0b2a834 ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_Mat2d +theOther: gp_Mat2d Returns ------- gp_Mat2d ") operator *; - gp_Mat2d operator *(const gp_Mat2d & Other); + gp_Mat2d operator *(const gp_Mat2d & theOther); /****************** operator * ******************/ - /**** md5 signature: af835aafa15e587e4df61655e93a35ac ****/ + /**** md5 signature: ba4e0d9feaa003b6bc088764b87a781e ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_Mat2d ") operator *; - gp_Mat2d operator *(const Standard_Real Scalar); + gp_Mat2d operator *(const Standard_Real theScalar); %extend{ @@ -11281,19 +11285,19 @@ gp_Mat2d return self } /****************** operator + ******************/ - /**** md5 signature: c60363dec8c652e51c5ed746f699db30 ****/ + /**** md5 signature: 54c36bc4369636c7afd7afc5c0751c62 ****/ %feature("compactdefaultargs") operator +; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_Mat2d +theOther: gp_Mat2d Returns ------- gp_Mat2d ") operator +; - gp_Mat2d operator +(const gp_Mat2d & Other); + gp_Mat2d operator +(const gp_Mat2d & theOther); %extend{ @@ -11307,19 +11311,19 @@ gp_Mat2d return self } /****************** operator - ******************/ - /**** md5 signature: 73c59474a30e4347b43b54ecb8a48c7a ****/ + /**** md5 signature: e647ff009fd603b513358596ee1840b5 ****/ %feature("compactdefaultargs") operator -; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_Mat2d +theOther: gp_Mat2d Returns ------- gp_Mat2d ") operator -; - gp_Mat2d operator -(const gp_Mat2d & Other); + gp_Mat2d operator -(const gp_Mat2d & theOther); %extend{ @@ -11333,19 +11337,19 @@ gp_Mat2d return self } /****************** operator / ******************/ - /**** md5 signature: 20b9287e4c7e1d57b97810086b3852a9 ****/ + /**** md5 signature: 5c63861d0b75195db183dc66c54cc61c ****/ %feature("compactdefaultargs") operator /; %feature("autodoc", "No available documentation. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_Mat2d ") operator /; - gp_Mat2d operator /(const Standard_Real Scalar); + gp_Mat2d operator /(const Standard_Real theScalar); %extend{ @@ -11373,7 +11377,7 @@ gp_Mat2d class gp_Parab { public: /****************** gp_Parab ******************/ - /**** md5 signature: e3fc01e2d0307aca63ac3cb95cf5abc4 ****/ + /**** md5 signature: 0bbad0099bcf19a0551fc6097a511ddf ****/ %feature("compactdefaultargs") gp_Parab; %feature("autodoc", "Creates an indefinite parabola. @@ -11384,39 +11388,39 @@ None gp_Parab(); /****************** gp_Parab ******************/ - /**** md5 signature: 4ba3c829ef007ee33f2272443829c269 ****/ + /**** md5 signature: d18d67a44c54d6e79987bb27f5fc733a ****/ %feature("compactdefaultargs") gp_Parab; - %feature("autodoc", "Creates a parabola with its local coordinate system 'a2' and it's focal length 'focal'. the xdirection of a2 defines the axis of symmetry of the parabola. the ydirection of a2 is parallel to the directrix of the parabola. the location point of a2 is the vertex of the parabola raises constructionerror if focal < 0.0 raised if focal < 0.0. + %feature("autodoc", "Creates a parabola with its local coordinate system 'thea2' and it's focal length 'focal'. the xdirection of thea2 defines the axis of symmetry of the parabola. the ydirection of thea2 is parallel to the directrix of the parabola. the location point of thea2 is the vertex of the parabola raises constructionerror if thefocal < 0.0 raised if thefocal < 0.0. Parameters ---------- -A2: gp_Ax2 -Focal: float +theA2: gp_Ax2 +theFocal: float Returns ------- None ") gp_Parab; - gp_Parab(const gp_Ax2 & A2, const Standard_Real Focal); + gp_Parab(const gp_Ax2 & theA2, const Standard_Real theFocal); /****************** gp_Parab ******************/ - /**** md5 signature: b945fc2a26bc6e7ec4ddbc18f0b7e19c ****/ + /**** md5 signature: 259f994397123b24ee9112e5db353e42 ****/ %feature("compactdefaultargs") gp_Parab; - %feature("autodoc", "D is the directrix of the parabola and f the focus point. the symmetry axis (xaxis) of the parabola is normal to the directrix and pass through the focus point f, but its location point is the vertex of the parabola. the yaxis of the parabola is parallel to d and its location point is the vertex of the parabola. the normal to the plane of the parabola is the cross product between the xaxis and the yaxis. + %feature("autodoc", "Thed is the directrix of the parabola and thef the focus point. the symmetry axis (xaxis) of the parabola is normal to the directrix and pass through the focus point thef, but its location point is the vertex of the parabola. the yaxis of the parabola is parallel to thed and its location point is the vertex of the parabola. the normal to the plane of the parabola is the cross product between the xaxis and the yaxis. Parameters ---------- -D: gp_Ax1 -F: gp_Pnt +theD: gp_Ax1 +theF: gp_Pnt Returns ------- None ") gp_Parab; - gp_Parab(const gp_Ax1 & D, const gp_Pnt & F); + gp_Parab(const gp_Ax1 & theD, const gp_Pnt & theF); /****************** Axis ******************/ - /**** md5 signature: cb9b52ff887b682f8bfc1eb2f646705a ****/ + /**** md5 signature: 8e27675ecbe6e648730266788c8e255c ****/ %feature("compactdefaultargs") Axis; %feature("autodoc", "Returns the main axis of the parabola. it is the axis normal to the plane of the parabola passing through the vertex of the parabola. @@ -11438,7 +11442,7 @@ gp_Ax1 gp_Ax1 Directrix(); /****************** Focal ******************/ - /**** md5 signature: 36c97a85b2e31ded83d59428f0f74c3c ****/ + /**** md5 signature: aeac7f567b991e94a3e75e9ed626f41a ****/ %feature("compactdefaultargs") Focal; %feature("autodoc", "Returns the distance between the vertex and the focus of the parabola. @@ -11460,7 +11464,7 @@ gp_Pnt gp_Pnt Focus(); /****************** Location ******************/ - /**** md5 signature: 42040ad2ed401b7e80bf90e4b6b5f418 ****/ + /**** md5 signature: becd3d5ba73b438c501a139df51b6b7f ****/ %feature("compactdefaultargs") Location; %feature("autodoc", "Returns the vertex of the parabola. it is the 'location' point of the coordinate system of the parabola. @@ -11471,97 +11475,97 @@ gp_Pnt const gp_Pnt Location(); /****************** Mirror ******************/ - /**** md5 signature: b133f2e6e1c74f672a216a0094bdfda6 ****/ + /**** md5 signature: 095878518b088b42d55c3da09f68a84c ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") Mirror; - void Mirror(const gp_Pnt & P); + void Mirror(const gp_Pnt & theP); /****************** Mirror ******************/ - /**** md5 signature: d1a0189a98d756bd9e5b51b4ae49992a ****/ + /**** md5 signature: cfb16cae08525c5f4ab330102e0377d4 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") Mirror; - void Mirror(const gp_Ax1 & A1); + void Mirror(const gp_Ax1 & theA1); /****************** Mirror ******************/ - /**** md5 signature: 874cde0169043be133e205e960c3ca57 ****/ + /**** md5 signature: ad34943401a2334beed8ccc79094d8df ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") Mirror; - void Mirror(const gp_Ax2 & A2); + void Mirror(const gp_Ax2 & theA2); /****************** Mirrored ******************/ - /**** md5 signature: bc987a480af27afdd8ff0264de94909e ****/ + /**** md5 signature: fe89f8112cf4d2a04ad7022b85359be4 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a parabola with respect to the point p which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of a parabola with respect to the point thep which is the center of the symmetry. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- gp_Parab ") Mirrored; - gp_Parab Mirrored(const gp_Pnt & P); + gp_Parab Mirrored(const gp_Pnt & theP); /****************** Mirrored ******************/ - /**** md5 signature: 3a0e7acd2963abb3dbf567f0484f1ff9 ****/ + /**** md5 signature: 2287a4a60fa325b82c4201ceb939ee25 ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a parabola with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- gp_Parab ") Mirrored; - gp_Parab Mirrored(const gp_Ax1 & A1); + gp_Parab Mirrored(const gp_Ax1 & theA1); /****************** Mirrored ******************/ - /**** md5 signature: d51d02d9e5a7140dc07f332dc92ac39f ****/ + /**** md5 signature: 94f2e68fa437c1cf68ae0df536058e66 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a parabola with respect to a plane. the axis placement a2 locates the plane of the symmetry (location, xdirection, ydirection). + %feature("autodoc", "Performs the symmetrical transformation of a parabola with respect to a plane. the axis placement thea2 locates the plane of the symmetry (location, xdirection, ydirection). Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- gp_Parab ") Mirrored; - gp_Parab Mirrored(const gp_Ax2 & A2); + gp_Parab Mirrored(const gp_Ax2 & theA2); /****************** Parameter ******************/ - /**** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ****/ + /**** md5 signature: a1c30d1196ee452cd8e422f1e25a0fbc ****/ %feature("compactdefaultargs") Parameter; %feature("autodoc", "Computes the parameter of the parabola. it is the distance between the focus and the directrix of the parabola. this distance is twice the focal length. @@ -11572,7 +11576,7 @@ float Standard_Real Parameter(); /****************** Position ******************/ - /**** md5 signature: 4998eb006d0dfaf45366e64da028e2d8 ****/ + /**** md5 signature: 0919c787263d4f8ff9c1e18688f5d16c ****/ %feature("compactdefaultargs") Position; %feature("autodoc", "Returns the local coordinate system of the parabola. @@ -11583,223 +11587,223 @@ gp_Ax2 const gp_Ax2 Position(); /****************** Rotate ******************/ - /**** md5 signature: 12c4967f27a0900e4176252164d2f2ce ****/ + /**** md5 signature: 424ab82daf880655bff8da4ef682e64b ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Ax1 & A1, const Standard_Real Ang); + void Rotate(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: f88fc2abdf873ebfedc57ad34a7da24b ****/ + /**** md5 signature: 4f1b34fa3b174848f1ddf29327ccbcaa ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates a parabola. a1 is the axis of the rotation. ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates a parabola. thea1 is the axis of the rotation. ang is the angular value of the rotation in radians. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- gp_Parab ") Rotated; - gp_Parab Rotated(const gp_Ax1 & A1, const Standard_Real Ang); + gp_Parab Rotated(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: e66fc526c4232f21fb4238a81292d522 ****/ + /**** md5 signature: a931b3c1f3cc70761b0f4bcbe2fc2ef0 ****/ %feature("compactdefaultargs") Scale; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- None ") Scale; - void Scale(const gp_Pnt & P, const Standard_Real S); + void Scale(const gp_Pnt & theP, const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: 93257f779b0924acfc4f09f74520d25a ****/ + /**** md5 signature: 66bfdce4a427cf5b2ef35eb1420cd948 ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Scales a parabola. s is the scaling value. if s is negative the direction of the symmetry axis xaxis is reversed and the direction of the yaxis too. + %feature("autodoc", "Scales a parabola. thes is the scaling value. if thes is negative the direction of the symmetry axis xaxis is reversed and the direction of the yaxis too. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- gp_Parab ") Scaled; - gp_Parab Scaled(const gp_Pnt & P, const Standard_Real S); + gp_Parab Scaled(const gp_Pnt & theP, const Standard_Real theS); /****************** SetAxis ******************/ - /**** md5 signature: 4f1ae44e92ff7b1da601b2ca71a3a58a ****/ + /**** md5 signature: 23e0b01de6336ec5c57ea6909e327d35 ****/ %feature("compactdefaultargs") SetAxis; - %feature("autodoc", "Modifies this parabola by redefining its local coordinate system so that - its origin and 'main direction' become those of the axis a1 (the 'x direction' and 'y direction' are then recomputed in the same way as for any gp_ax2) raises constructionerror if the direction of a1 is parallel to the previous xaxis of the parabola. + %feature("autodoc", "Modifies this parabola by redefining its local coordinate system so that - its origin and 'main direction' become those of the axis thea1 (the 'x direction' and 'y direction' are then recomputed in the same way as for any gp_ax2) raises constructionerror if the direction of thea1 is parallel to the previous xaxis of the parabola. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") SetAxis; - void SetAxis(const gp_Ax1 & A1); + void SetAxis(const gp_Ax1 & theA1); /****************** SetFocal ******************/ - /**** md5 signature: b79f368485f4739b39b65cdd8789fb05 ****/ + /**** md5 signature: 914118839d136348fff0bd2af4a9537c ****/ %feature("compactdefaultargs") SetFocal; - %feature("autodoc", "Changes the focal distance of the parabola. raises constructionerror if focal < 0.0. + %feature("autodoc", "Changes the focal distance of the parabola. raises constructionerror if thefocal < 0.0. Parameters ---------- -Focal: float +theFocal: float Returns ------- None ") SetFocal; - void SetFocal(const Standard_Real Focal); + void SetFocal(const Standard_Real theFocal); /****************** SetLocation ******************/ - /**** md5 signature: c028aee785b685956e8e7d5cba7ecb46 ****/ + /**** md5 signature: c106a7d7c472c3f26d65a1d2a029717b ****/ %feature("compactdefaultargs") SetLocation; %feature("autodoc", "Changes the location of the parabola. it is the vertex of the parabola. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") SetLocation; - void SetLocation(const gp_Pnt & P); + void SetLocation(const gp_Pnt & theP); /****************** SetPosition ******************/ - /**** md5 signature: 370491d423dd18be72ddbe9a7e5a5d72 ****/ + /**** md5 signature: ebc7dd35ccc08a819f6ac865a49dfe89 ****/ %feature("compactdefaultargs") SetPosition; %feature("autodoc", "Changes the local coordinate system of the parabola. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") SetPosition; - void SetPosition(const gp_Ax2 & A2); + void SetPosition(const gp_Ax2 & theA2); /****************** Transform ******************/ - /**** md5 signature: 45ee6a37cbc92ff06bd17b5653f32913 ****/ + /**** md5 signature: 0737a7286be728220e1a55ba0d6eafc3 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") Transform; - void Transform(const gp_Trsf & T); + void Transform(const gp_Trsf & theT); /****************** Transformed ******************/ - /**** md5 signature: 066b2a61a2170a20e4f85febd9567d46 ****/ + /**** md5 signature: a150aee383b2d87a574bfc8b6d5e892c ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms a parabola with the transformation t from class trsf. + %feature("autodoc", "Transforms a parabola with the transformation thet from class trsf. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- gp_Parab ") Transformed; - gp_Parab Transformed(const gp_Trsf & T); + gp_Parab Transformed(const gp_Trsf & theT); /****************** Translate ******************/ - /**** md5 signature: b3667af07c9a238180bc31cc15803f78 ****/ + /**** md5 signature: 0187bd9a09d9b334477a40e96047e03a ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- None ") Translate; - void Translate(const gp_Vec & V); + void Translate(const gp_Vec & theV); /****************** Translate ******************/ - /**** md5 signature: 5053222ade9605c7c37102310f06f2e8 ****/ + /**** md5 signature: cde9f9ebda90da2c1df1a27191e7ab81 ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- None ") Translate; - void Translate(const gp_Pnt & P1, const gp_Pnt & P2); + void Translate(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** Translated ******************/ - /**** md5 signature: 10a6ffc7244762f226e2e20d5335a07d ****/ + /**** md5 signature: bb486ea3364fd7ef78ec6d03b4df872e ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a parabola in the direction of the vector v. the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "Translates a parabola in the direction of the vector thev. the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- gp_Parab ") Translated; - gp_Parab Translated(const gp_Vec & V); + gp_Parab Translated(const gp_Vec & theV); /****************** Translated ******************/ - /**** md5 signature: 94f030853d481c7fa67787e1d592d31d ****/ + /**** md5 signature: 6dc200926e032f7777347e7b92260031 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a parabola from the point p1 to the point p2. + %feature("autodoc", "Translates a parabola from the point thep1 to the point thep2. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- gp_Parab ") Translated; - gp_Parab Translated(const gp_Pnt & P1, const gp_Pnt & P2); + gp_Parab Translated(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** XAxis ******************/ - /**** md5 signature: 33f98d138ae3ce92d202330aa4ae814d ****/ + /**** md5 signature: 900acbd3949b81ee383c3b457e95c597 ****/ %feature("compactdefaultargs") XAxis; %feature("autodoc", "Returns the symmetry axis of the parabola. the location point of the axis is the vertex of the parabola. @@ -11810,7 +11814,7 @@ gp_Ax1 gp_Ax1 XAxis(); /****************** YAxis ******************/ - /**** md5 signature: b471d966aca0b452073c5d55f8f5e027 ****/ + /**** md5 signature: 8db99d563f8cc2fa33e80ece09869c5c ****/ %feature("compactdefaultargs") YAxis; %feature("autodoc", "It is an axis parallel to the directrix of the parabola. the location point of this axis is the vertex of the parabola. @@ -11835,7 +11839,7 @@ gp_Ax1 class gp_Parab2d { public: /****************** gp_Parab2d ******************/ - /**** md5 signature: c7819fb5b0cac3646e03c5348cef2cdb ****/ + /**** md5 signature: 291962acfc5fd970ae287b879ec2aed8 ****/ %feature("compactdefaultargs") gp_Parab2d; %feature("autodoc", "Creates an indefinite parabola. @@ -11846,7 +11850,7 @@ None gp_Parab2d(); /****************** gp_Parab2d ******************/ - /**** md5 signature: 07792fe9d304f25695f05f61ddba3ec6 ****/ + /**** md5 signature: 405849b455cdb8b4e9138d65424b5567 ****/ %feature("compactdefaultargs") gp_Parab2d; %feature("autodoc", "Creates a parabola with its vertex point, its axis of symmetry ('xaxis') and its focal length. the sense of parametrization is given by thesense. if thesense == true (by default) then right-handed coordinate system is used, otherwise - left-handed. warnings : it is possible to have focallength = 0. in this case, the parabola looks like a line, which is parallel to the symmetry-axis. raises constructionerror if focallength < 0.0. @@ -11864,7 +11868,7 @@ None gp_Parab2d(const gp_Ax2d & theMirrorAxis, const Standard_Real theFocalLength, const Standard_Boolean theSense = Standard_True); /****************** gp_Parab2d ******************/ - /**** md5 signature: df9ae9e68dd32a93a1ba91cbcad1ec55 ****/ + /**** md5 signature: a85e70f69dcfb89ddc8141630ff5979c ****/ %feature("compactdefaultargs") gp_Parab2d; %feature("autodoc", "Creates a parabola with its vertex point, its axis of symmetry ('xaxis'), correspond y-axis and its focal length. warnings : it is possible to have focallength = 0. in this case, the parabola looks like a line, which is parallel to the symmetry-axis. raises constructionerror if focal < 0.0. @@ -11898,7 +11902,7 @@ None gp_Parab2d(const gp_Ax2d & theDirectrix, const gp_Pnt2d & theFocus, const Standard_Boolean theSense = Standard_True); /****************** Axis ******************/ - /**** md5 signature: 0eff9937795d77d7fba0cf7a211c0d78 ****/ + /**** md5 signature: bb6928287841d9c7a18f8a1ff601c637 ****/ %feature("compactdefaultargs") Axis; %feature("autodoc", "Returns the local coordinate system of the parabola. the 'location' point of this axis is the vertex of the parabola. @@ -11909,21 +11913,21 @@ gp_Ax22d gp_Ax22d Axis(); /****************** Coefficients ******************/ - /**** md5 signature: 2252ad010357f4e043a3c6dac4c3923c ****/ + /**** md5 signature: cc309b22e72d7a2fa63d9f3b74f48eaa ****/ %feature("compactdefaultargs") Coefficients; - %feature("autodoc", "Computes the coefficients of the implicit equation of the parabola (in wcs - world coordinate system). a * (x**2) + b * (y**2) + 2*c*(x*y) + 2*d*x + 2*e*y + f = 0. + %feature("autodoc", "Computes the coefficients of the implicit equation of the parabola (in wcs - world coordinate system). @code thea * (x**2) + theb * (y**2) + 2*thec*(x*y) + 2*thed*x + 2*thee*y + thef = 0. @endcode. Parameters ---------- Returns ------- -A: float -B: float -C: float -D: float -E: float -F: float +theA: float +theB: float +theC: float +theD: float +theE: float +theF: float ") Coefficients; void Coefficients(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); @@ -11939,7 +11943,7 @@ gp_Ax2d gp_Ax2d Directrix(); /****************** Focal ******************/ - /**** md5 signature: 36c97a85b2e31ded83d59428f0f74c3c ****/ + /**** md5 signature: aeac7f567b991e94a3e75e9ed626f41a ****/ %feature("compactdefaultargs") Focal; %feature("autodoc", "Returns the distance between the vertex and the focus of the parabola. @@ -11950,7 +11954,7 @@ float Standard_Real Focal(); /****************** Focus ******************/ - /**** md5 signature: 2c1658317ec9295538436248b7bfe86f ****/ + /**** md5 signature: 2ce52ee40e448c1b642e3a9bf8a3fbec ****/ %feature("compactdefaultargs") Focus; %feature("autodoc", "Returns the focus of the parabola. @@ -11961,7 +11965,7 @@ gp_Pnt2d gp_Pnt2d Focus(); /****************** IsDirect ******************/ - /**** md5 signature: e230b64eefbb898397296c5ca615d396 ****/ + /**** md5 signature: 218f7b7b68e34847c5868fa318c903a4 ****/ %feature("compactdefaultargs") IsDirect; %feature("autodoc", "Returns true if the local coordinate system is direct and false in the other case. @@ -11972,7 +11976,7 @@ bool Standard_Boolean IsDirect(); /****************** Location ******************/ - /**** md5 signature: b6d70f653f0835eef3aab3bab16c5c7c ****/ + /**** md5 signature: 0ccfb15f39bdabe9af01f2b820a918f5 ****/ %feature("compactdefaultargs") Location; %feature("autodoc", "Returns the vertex of the parabola. @@ -11983,37 +11987,37 @@ gp_Pnt2d gp_Pnt2d Location(); /****************** Mirror ******************/ - /**** md5 signature: 5a90a3ec4faf7909390bb0bfb4d9be0f ****/ + /**** md5 signature: 5f85e7eebe220829e022319813e0b5b1 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- None ") Mirror; - void Mirror(const gp_Pnt2d & P); + void Mirror(const gp_Pnt2d & theP); /****************** Mirror ******************/ - /**** md5 signature: 8b8d921c1e87f73e8278c4d42ae298f7 ****/ + /**** md5 signature: ec42c083971941a78ed6667e3ee849d3 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- None ") Mirror; - void Mirror(const gp_Ax2d & A); + void Mirror(const gp_Ax2d & theA); /****************** MirrorAxis ******************/ - /**** md5 signature: ccb0e47112b65a37a870aee7e58f1808 ****/ + /**** md5 signature: ce1fe7cd33c0fca4d7b8e7b672b5c2c7 ****/ %feature("compactdefaultargs") MirrorAxis; %feature("autodoc", "Returns the symmetry axis of the parabola. the 'location' point of this axis is the vertex of the parabola. @@ -12024,37 +12028,37 @@ gp_Ax2d gp_Ax2d MirrorAxis(); /****************** Mirrored ******************/ - /**** md5 signature: ce2e41ca5e4823f565b00761100fb361 ****/ + /**** md5 signature: cea50d8fa8f76255f4ded39c85765866 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a parabola with respect to the point p which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of a parabola with respect to the point thep which is the center of the symmetry. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- gp_Parab2d ") Mirrored; - gp_Parab2d Mirrored(const gp_Pnt2d & P); + gp_Parab2d Mirrored(const gp_Pnt2d & theP); /****************** Mirrored ******************/ - /**** md5 signature: bd84043c244950a58ca43e9e0a2a3d21 ****/ + /**** md5 signature: e37d521225c3b5550e609e90c32706d4 ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a parabola with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- gp_Parab2d ") Mirrored; - gp_Parab2d Mirrored(const gp_Ax2d & A); + gp_Parab2d Mirrored(const gp_Ax2d & theA); /****************** Parameter ******************/ - /**** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ****/ + /**** md5 signature: a1c30d1196ee452cd8e422f1e25a0fbc ****/ %feature("compactdefaultargs") Parameter; %feature("autodoc", "Returns the distance between the focus and the directrix of the parabola. @@ -12065,7 +12069,7 @@ float Standard_Real Parameter(); /****************** Reverse ******************/ - /**** md5 signature: b751d6874fc026e19a7a6cb37e9ac1b4 ****/ + /**** md5 signature: 51c7e0d05769dec0ec2bb70e4d25e48d ****/ %feature("compactdefaultargs") Reverse; %feature("autodoc", "No available documentation. @@ -12087,220 +12091,220 @@ gp_Parab2d gp_Parab2d Reversed(); /****************** Rotate ******************/ - /**** md5 signature: 795edcbb32146eb6f071bea4c90f5cfd ****/ + /**** md5 signature: 4514855f978c37f3ce31a9851c5a1153 ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d -Ang: float +theP: gp_Pnt2d +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Pnt2d & P, const Standard_Real Ang); + void Rotate(const gp_Pnt2d & theP, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: fe8504136f3c4abdd45105851b3a2b71 ****/ + /**** md5 signature: 07b05b09ee490ccc0dcf9bfeb8aeff28 ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates a parabola. p is the center of the rotation. ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates a parabola. thep is the center of the rotation. theang is the angular value of the rotation in radians. Parameters ---------- -P: gp_Pnt2d -Ang: float +theP: gp_Pnt2d +theAng: float Returns ------- gp_Parab2d ") Rotated; - gp_Parab2d Rotated(const gp_Pnt2d & P, const Standard_Real Ang); + gp_Parab2d Rotated(const gp_Pnt2d & theP, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: 5b49a8aeffcacace07c66937f77f1e03 ****/ + /**** md5 signature: c464bf78519bd3beeec5dd2bb7f74ab0 ****/ %feature("compactdefaultargs") Scale; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d -S: float +theP: gp_Pnt2d +theS: float Returns ------- None ") Scale; - void Scale(const gp_Pnt2d & P, const Standard_Real S); + void Scale(const gp_Pnt2d & theP, const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: c6ce0a4e8ae46e5ac90b0067962c7abf ****/ + /**** md5 signature: ec9c4eee0dc5bc4eb7da490464ae30f0 ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Scales a parabola. s is the scaling value. if s is negative the direction of the symmetry axis 'xaxis' is reversed and the direction of the 'yaxis' too. + %feature("autodoc", "Scales a parabola. thes is the scaling value. if thes is negative the direction of the symmetry axis 'xaxis' is reversed and the direction of the 'yaxis' too. Parameters ---------- -P: gp_Pnt2d -S: float +theP: gp_Pnt2d +theS: float Returns ------- gp_Parab2d ") Scaled; - gp_Parab2d Scaled(const gp_Pnt2d & P, const Standard_Real S); + gp_Parab2d Scaled(const gp_Pnt2d & theP, const Standard_Real theS); /****************** SetAxis ******************/ - /**** md5 signature: 016f6d0b52d2d85d5711abca672ca103 ****/ + /**** md5 signature: fba67a5039095eddccca14c1039ad8be ****/ %feature("compactdefaultargs") SetAxis; %feature("autodoc", "Changes the local coordinate system of the parabola. the 'location' point of a becomes the vertex of the parabola. Parameters ---------- -A: gp_Ax22d +theA: gp_Ax22d Returns ------- None ") SetAxis; - void SetAxis(const gp_Ax22d & A); + void SetAxis(const gp_Ax22d & theA); /****************** SetFocal ******************/ - /**** md5 signature: b79f368485f4739b39b65cdd8789fb05 ****/ + /**** md5 signature: 914118839d136348fff0bd2af4a9537c ****/ %feature("compactdefaultargs") SetFocal; - %feature("autodoc", "Changes the focal distance of the parabola warnings : it is possible to have focal = 0. raises constructionerror if focal < 0.0. + %feature("autodoc", "Changes the focal distance of the parabola warnings : it is possible to have thefocal = 0. raises constructionerror if thefocal < 0.0. Parameters ---------- -Focal: float +theFocal: float Returns ------- None ") SetFocal; - void SetFocal(const Standard_Real Focal); + void SetFocal(const Standard_Real theFocal); /****************** SetLocation ******************/ - /**** md5 signature: 368c9b8c039b553e22ee650e75e4d404 ****/ + /**** md5 signature: fea6486624f66c26e32103313f4d0c00 ****/ %feature("compactdefaultargs") SetLocation; %feature("autodoc", "Changes the 'location' point of the parabola. it is the vertex of the parabola. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- None ") SetLocation; - void SetLocation(const gp_Pnt2d & P); + void SetLocation(const gp_Pnt2d & theP); /****************** SetMirrorAxis ******************/ - /**** md5 signature: 631ceb375b96aa42133509bb9453c5c4 ****/ + /**** md5 signature: 281723b9c71ee4e90da8e3a736ceba20 ****/ %feature("compactdefaultargs") SetMirrorAxis; %feature("autodoc", "Modifies this parabola, by redefining its local coordinate system so that its origin and 'x direction' become those of the axis ma. the 'y direction' of the local coordinate system is then recomputed. the orientation of the local coordinate system is not modified. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- None ") SetMirrorAxis; - void SetMirrorAxis(const gp_Ax2d & A); + void SetMirrorAxis(const gp_Ax2d & theA); /****************** Transform ******************/ - /**** md5 signature: dace16a29a39216c0dd584c6964e840b ****/ + /**** md5 signature: 94f8045e6a4465708e872ec10cb3f4d1 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- None ") Transform; - void Transform(const gp_Trsf2d & T); + void Transform(const gp_Trsf2d & theT); /****************** Transformed ******************/ - /**** md5 signature: a9e7f590e99a486ea5b42440f32e6069 ****/ + /**** md5 signature: 41be15349bfdbf87db07ecec6d33d1cd ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms an parabola with the transformation t from class trsf2d. + %feature("autodoc", "Transforms an parabola with the transformation thet from class trsf2d. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- gp_Parab2d ") Transformed; - gp_Parab2d Transformed(const gp_Trsf2d & T); + gp_Parab2d Transformed(const gp_Trsf2d & theT); /****************** Translate ******************/ - /**** md5 signature: 1cd2e000b85692a9f89a6bf8e8e4782c ****/ + /**** md5 signature: f3112504d8f922313d0ee62e8d9fc9ad ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- None ") Translate; - void Translate(const gp_Vec2d & V); + void Translate(const gp_Vec2d & theV); /****************** Translate ******************/ - /**** md5 signature: c7768f1dcf9b6595f2bd4653737544f9 ****/ + /**** md5 signature: edde3614f43331c7884ace28c720ab8c ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt2d -P2: gp_Pnt2d +theP1: gp_Pnt2d +theP2: gp_Pnt2d Returns ------- None ") Translate; - void Translate(const gp_Pnt2d & P1, const gp_Pnt2d & P2); + void Translate(const gp_Pnt2d & theP1, const gp_Pnt2d & theP2); /****************** Translated ******************/ - /**** md5 signature: 7c54dc1a5740026f4e3d9295fed3ae62 ****/ + /**** md5 signature: 2c746dedc8aae05728c2d583b3a2cce0 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a parabola in the direction of the vector v. the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "Translates a parabola in the direction of the vectorthe thev. the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- gp_Parab2d ") Translated; - gp_Parab2d Translated(const gp_Vec2d & V); + gp_Parab2d Translated(const gp_Vec2d & theV); /****************** Translated ******************/ - /**** md5 signature: e5f1435e96ae0f486e8d88842afa30c4 ****/ + /**** md5 signature: 82da40ba35b417f0713a397be09f8f54 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a parabola from the point p1 to the point p2. + %feature("autodoc", "Translates a parabola from the point thep1 to the point thep2. Parameters ---------- -P1: gp_Pnt2d -P2: gp_Pnt2d +theP1: gp_Pnt2d +theP2: gp_Pnt2d Returns ------- gp_Parab2d ") Translated; - gp_Parab2d Translated(const gp_Pnt2d & P1, const gp_Pnt2d & P2); + gp_Parab2d Translated(const gp_Pnt2d & theP1, const gp_Pnt2d & theP2); }; @@ -12317,7 +12321,7 @@ gp_Parab2d class gp_Pln { public: /****************** gp_Pln ******************/ - /**** md5 signature: e5e5b8bb0d4fcb8a0a532209a60412ec ****/ + /**** md5 signature: 140af8c29cb7bcbff8bb0020dde34c46 ****/ %feature("compactdefaultargs") gp_Pln; %feature("autodoc", "Creates a plane coincident with oxy plane of the reference coordinate system. @@ -12328,56 +12332,56 @@ None gp_Pln(); /****************** gp_Pln ******************/ - /**** md5 signature: f7541cf67b6cd85d535e6a191aad6272 ****/ + /**** md5 signature: 7ef965f86daf93d3e23e0a60703eea5a ****/ %feature("compactdefaultargs") gp_Pln; - %feature("autodoc", "The coordinate system of the plane is defined with the axis placement a3. the 'direction' of a3 defines the normal to the plane. the 'location' of a3 defines the location (origin) of the plane. the 'xdirection' and 'ydirection' of a3 define the 'xaxis' and the 'yaxis' of the plane used to parametrize the plane. + %feature("autodoc", "The coordinate system of the plane is defined with the axis placement thea3. the 'direction' of thea3 defines the normal to the plane. the 'location' of thea3 defines the location (origin) of the plane. the 'xdirection' and 'ydirection' of thea3 define the 'xaxis' and the 'yaxis' of the plane used to parametrize the plane. Parameters ---------- -A3: gp_Ax3 +theA3: gp_Ax3 Returns ------- None ") gp_Pln; - gp_Pln(const gp_Ax3 & A3); + gp_Pln(const gp_Ax3 & theA3); /****************** gp_Pln ******************/ - /**** md5 signature: ce6fa1723d6c7fef5ad3fca83a58c732 ****/ + /**** md5 signature: cd878bd00d8e7f7e40bc5c64f2ded125 ****/ %feature("compactdefaultargs") gp_Pln; - %feature("autodoc", "Creates a plane with the 'location' point

and the normal direction . + %feature("autodoc", "Creates a plane with the 'location' point and the normal direction . Parameters ---------- -P: gp_Pnt -V: gp_Dir +theP: gp_Pnt +theV: gp_Dir Returns ------- None ") gp_Pln; - gp_Pln(const gp_Pnt & P, const gp_Dir & V); + gp_Pln(const gp_Pnt & theP, const gp_Dir & theV); /****************** gp_Pln ******************/ - /**** md5 signature: d208dff85d8216c73adc04a1452897c6 ****/ + /**** md5 signature: 888b21523cb73deacf86d8e6b60df7fa ****/ %feature("compactdefaultargs") gp_Pln; - %feature("autodoc", "Creates a plane from its cartesian equation : a * x + b * y + c * z + d = 0.0 raises constructionerror if sqrt (a*a + b*b + c*c) <= resolution from gp. + %feature("autodoc", "Creates a plane from its cartesian equation : @code thea * x + theb * y + thec * z + thed = 0.0 @endcode raises constructionerror if sqrt (thea*thea + theb*theb + thec*thec) <= resolution from gp. Parameters ---------- -A: float -B: float -C: float -D: float +theA: float +theB: float +theC: float +theD: float Returns ------- None ") gp_Pln; - gp_Pln(const Standard_Real A, const Standard_Real B, const Standard_Real C, const Standard_Real D); + gp_Pln(const Standard_Real theA, const Standard_Real theB, const Standard_Real theC, const Standard_Real theD); /****************** Axis ******************/ - /**** md5 signature: cb9b52ff887b682f8bfc1eb2f646705a ****/ + /**** md5 signature: 8e27675ecbe6e648730266788c8e255c ****/ %feature("compactdefaultargs") Axis; %feature("autodoc", "Returns the plane's normal axis. @@ -12388,57 +12392,57 @@ gp_Ax1 const gp_Ax1 Axis(); /****************** Coefficients ******************/ - /**** md5 signature: 5b10aec82a9daa5f313dd60e84b2b00b ****/ + /**** md5 signature: 44a7f776c114f4bc8a46f0e436e03316 ****/ %feature("compactdefaultargs") Coefficients; - %feature("autodoc", "Returns the coefficients of the plane's cartesian equation : a * x + b * y + c * z + d = 0. + %feature("autodoc", "Returns the coefficients of the plane's cartesian equation : @code thea * x + theb * y + thec * z + thed = 0. @endcode. Parameters ---------- Returns ------- -A: float -B: float -C: float -D: float +theA: float +theB: float +theC: float +theD: float ") Coefficients; void Coefficients(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); /****************** Contains ******************/ - /**** md5 signature: 4617c578d595c204f331df6213e3ae4a ****/ + /**** md5 signature: 505c74c81a15c8244323a9eb031db0f3 ****/ %feature("compactdefaultargs") Contains; - %feature("autodoc", "Returns true if this plane contains the point p. this means that - the distance between point p and this plane is less than or equal to lineartolerance, or - line l is normal to the 'main axis' of the local coordinate system of this plane, within the tolerance angulartolerance, and the distance between the origin of line l and this plane is less than or equal to lineartolerance. + %feature("autodoc", "Returns true if this plane contains the point thep. this means that - the distance between point thep and this plane is less than or equal to thelineartolerance, or - line l is normal to the 'main axis' of the local coordinate system of this plane, within the tolerance angulartolerance, and the distance between the origin of line l and this plane is less than or equal to thelineartolerance. Parameters ---------- -P: gp_Pnt -LinearTolerance: float +theP: gp_Pnt +theLinearTolerance: float Returns ------- bool ") Contains; - Standard_Boolean Contains(const gp_Pnt & P, const Standard_Real LinearTolerance); + Standard_Boolean Contains(const gp_Pnt & theP, const Standard_Real theLinearTolerance); /****************** Contains ******************/ - /**** md5 signature: b87a7584a63c110678cc5d19e6ae39cb ****/ + /**** md5 signature: 8d44abe0142c409a5d892b85aa8ca31a ****/ %feature("compactdefaultargs") Contains; - %feature("autodoc", "Returns true if this plane contains the line l. this means that - the distance between point p and this plane is less than or equal to lineartolerance, or - line l is normal to the 'main axis' of the local coordinate system of this plane, within the tolerance angulartolerance, and the distance between the origin of line l and this plane is less than or equal to lineartolerance. + %feature("autodoc", "Returns true if this plane contains the line thel. this means that - the distance between point p and this plane is less than or equal to lineartolerance, or - line thel is normal to the 'main axis' of the local coordinate system of this plane, within the tolerance theangulartolerance, and the distance between the origin of line thel and this plane is less than or equal to thelineartolerance. Parameters ---------- -L: gp_Lin -LinearTolerance: float -AngularTolerance: float +theL: gp_Lin +theLinearTolerance: float +theAngularTolerance: float Returns ------- bool ") Contains; - Standard_Boolean Contains(const gp_Lin & L, const Standard_Real LinearTolerance, const Standard_Real AngularTolerance); + Standard_Boolean Contains(const gp_Lin & theL, const Standard_Real theLinearTolerance, const Standard_Real theAngularTolerance); /****************** Direct ******************/ - /**** md5 signature: 33e4e96f61de8e23c989d6f9aec7d457 ****/ + /**** md5 signature: 2c90be540a5bf9418e7461f7f76c970a ****/ %feature("compactdefaultargs") Direct; %feature("autodoc", "Returns true if the ax3 is right handed. @@ -12449,49 +12453,49 @@ bool Standard_Boolean Direct(); /****************** Distance ******************/ - /**** md5 signature: d9ba17ce87a8f8e1c8805850d4d732ba ****/ + /**** md5 signature: 24964ab9dd1f6799bfd0455d7b81296d ****/ %feature("compactdefaultargs") Distance; - %feature("autodoc", "Computes the distance between and the point

. + %feature("autodoc", "Computes the distance between and the point . Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- float ") Distance; - Standard_Real Distance(const gp_Pnt & P); + Standard_Real Distance(const gp_Pnt & theP); /****************** Distance ******************/ - /**** md5 signature: 74f2c2bccd99eafebf461617eb35bd53 ****/ + /**** md5 signature: 198724346be23e2bc86a254093c956fb ****/ %feature("compactdefaultargs") Distance; - %feature("autodoc", "Computes the distance between and the line . + %feature("autodoc", "Computes the distance between and the line . Parameters ---------- -L: gp_Lin +theL: gp_Lin Returns ------- float ") Distance; - Standard_Real Distance(const gp_Lin & L); + Standard_Real Distance(const gp_Lin & theL); /****************** Distance ******************/ - /**** md5 signature: 2dd359e43fa33a1b8ad5abbd2c9b42f8 ****/ + /**** md5 signature: 14db36f60da7d047b7f51555682697cd ****/ %feature("compactdefaultargs") Distance; %feature("autodoc", "Computes the distance between two planes. Parameters ---------- -Other: gp_Pln +theOther: gp_Pln Returns ------- float ") Distance; - Standard_Real Distance(const gp_Pln & Other); + Standard_Real Distance(const gp_Pln & theOther); %feature("autodoc", "1"); @@ -12502,7 +12506,7 @@ float return s.str();} }; /****************** Location ******************/ - /**** md5 signature: 42040ad2ed401b7e80bf90e4b6b5f418 ****/ + /**** md5 signature: becd3d5ba73b438c501a139df51b6b7f ****/ %feature("compactdefaultargs") Location; %feature("autodoc", "Returns the plane's location (origin). @@ -12513,97 +12517,97 @@ gp_Pnt const gp_Pnt Location(); /****************** Mirror ******************/ - /**** md5 signature: b133f2e6e1c74f672a216a0094bdfda6 ****/ + /**** md5 signature: 095878518b088b42d55c3da09f68a84c ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") Mirror; - void Mirror(const gp_Pnt & P); + void Mirror(const gp_Pnt & theP); /****************** Mirror ******************/ - /**** md5 signature: d1a0189a98d756bd9e5b51b4ae49992a ****/ + /**** md5 signature: cfb16cae08525c5f4ab330102e0377d4 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") Mirror; - void Mirror(const gp_Ax1 & A1); + void Mirror(const gp_Ax1 & theA1); /****************** Mirror ******************/ - /**** md5 signature: 874cde0169043be133e205e960c3ca57 ****/ + /**** md5 signature: ad34943401a2334beed8ccc79094d8df ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") Mirror; - void Mirror(const gp_Ax2 & A2); + void Mirror(const gp_Ax2 & theA2); /****************** Mirrored ******************/ - /**** md5 signature: 6483b411a3fa025bd342dc38c7afbc8d ****/ + /**** md5 signature: aaee3f75b4b0b4d3727886f40f1d286a ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a plane with respect to the point

which is the center of the symmetry warnings : the normal direction to the plane is not changed. the 'xaxis' and the 'yaxis' are reversed. + %feature("autodoc", "Performs the symmetrical transformation of a plane with respect to the point which is the center of the symmetry warnings : the normal direction to the plane is not changed. the 'xaxis' and the 'yaxis' are reversed. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- gp_Pln ") Mirrored; - gp_Pln Mirrored(const gp_Pnt & P); + gp_Pln Mirrored(const gp_Pnt & theP); /****************** Mirrored ******************/ - /**** md5 signature: 14516c768e011aabf5bfe877f3457194 ****/ + /**** md5 signature: 0e2502af0a365506e551fbc184d8e996 ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a plane with respect to an axis placement which is the axis of the symmetry. the transformation is performed on the 'location' point, on the 'xaxis' and the 'yaxis'. the resulting normal direction is the cross product between the 'xdirection' and the 'ydirection' after transformation if the initial plane was right handed, else it is the opposite. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- gp_Pln ") Mirrored; - gp_Pln Mirrored(const gp_Ax1 & A1); + gp_Pln Mirrored(const gp_Ax1 & theA1); /****************** Mirrored ******************/ - /**** md5 signature: 9d136d70f75717363c3f1500d40d3860 ****/ + /**** md5 signature: dbb0d054805c887442482a051a9bdb57 ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a plane with respect to an axis placement. the axis placement locates the plane of the symmetry. the transformation is performed on the 'location' point, on the 'xaxis' and the 'yaxis'. the resulting normal direction is the cross product between the 'xdirection' and the 'ydirection' after transformation if the initial plane was right handed, else it is the opposite. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- gp_Pln ") Mirrored; - gp_Pln Mirrored(const gp_Ax2 & A2); + gp_Pln Mirrored(const gp_Ax2 & theA2); /****************** Position ******************/ - /**** md5 signature: 68613464f15b3681020927244b13614a ****/ + /**** md5 signature: c702d3a208cf0124b56544ef1f5c6ae7 ****/ %feature("compactdefaultargs") Position; %feature("autodoc", "Returns the local coordinate system of the plane . @@ -12614,253 +12618,253 @@ gp_Ax3 const gp_Ax3 Position(); /****************** Rotate ******************/ - /**** md5 signature: 12c4967f27a0900e4176252164d2f2ce ****/ + /**** md5 signature: 424ab82daf880655bff8da4ef682e64b ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Ax1 & A1, const Standard_Real Ang); + void Rotate(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: cf9b30be4425a77f5a5e0c321a1ef802 ****/ + /**** md5 signature: a66e3ce3f9504b1f0ce36b5ae26abdaf ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates a plane. a1 is the axis of the rotation. ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates a plane. thea1 is the axis of the rotation. theang is the angular value of the rotation in radians. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- gp_Pln ") Rotated; - gp_Pln Rotated(const gp_Ax1 & A1, const Standard_Real Ang); + gp_Pln Rotated(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: e66fc526c4232f21fb4238a81292d522 ****/ + /**** md5 signature: 2e3ad744b562b37602bc0d7050246d12 ****/ %feature("compactdefaultargs") Scale; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- None ") Scale; - void Scale(const gp_Pnt & P, const Standard_Real S); + void Scale(const gp_Pnt & theP, const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: 4edad6906b4eceab594f317715870612 ****/ + /**** md5 signature: 5a37d6e396a9b9dc90716cc868a30952 ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Scales a plane. s is the scaling value. + %feature("autodoc", "Scales a plane. thes is the scaling value. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- gp_Pln ") Scaled; - gp_Pln Scaled(const gp_Pnt & P, const Standard_Real S); + gp_Pln Scaled(const gp_Pnt & theP, const Standard_Real theS); /****************** SetAxis ******************/ - /**** md5 signature: 4f1ae44e92ff7b1da601b2ca71a3a58a ****/ + /**** md5 signature: 23e0b01de6336ec5c57ea6909e327d35 ****/ %feature("compactdefaultargs") SetAxis; - %feature("autodoc", "Modifies this plane, by redefining its local coordinate system so that - its origin and 'main direction' become those of the axis a1 (the 'x direction' and 'y direction' are then recomputed). raises constructionerror if the a1 is parallel to the 'xaxis' of the plane. + %feature("autodoc", "Modifies this plane, by redefining its local coordinate system so that - its origin and 'main direction' become those of the axis thea1 (the 'x direction' and 'y direction' are then recomputed). raises constructionerror if the thea1 is parallel to the 'xaxis' of the plane. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") SetAxis; - void SetAxis(const gp_Ax1 & A1); + void SetAxis(const gp_Ax1 & theA1); /****************** SetLocation ******************/ - /**** md5 signature: e697bd81202b5a89ce79ee03acd13d7c ****/ + /**** md5 signature: 549208ae587d601427fb98d16d4de1b7 ****/ %feature("compactdefaultargs") SetLocation; %feature("autodoc", "Changes the origin of the plane. Parameters ---------- -Loc: gp_Pnt +theLoc: gp_Pnt Returns ------- None ") SetLocation; - void SetLocation(const gp_Pnt & Loc); + void SetLocation(const gp_Pnt & theLoc); /****************** SetPosition ******************/ - /**** md5 signature: a135fc8d2ccb75941a304eed1c57e31d ****/ + /**** md5 signature: c788767c1fc0ca73bdf3541037626780 ****/ %feature("compactdefaultargs") SetPosition; %feature("autodoc", "Changes the local coordinate system of the plane. Parameters ---------- -A3: gp_Ax3 +theA3: gp_Ax3 Returns ------- None ") SetPosition; - void SetPosition(const gp_Ax3 & A3); + void SetPosition(const gp_Ax3 & theA3); /****************** SquareDistance ******************/ - /**** md5 signature: 382f20ab66f794f70a8fbaad3ecad14c ****/ + /**** md5 signature: 7fbe88c31283387e08156a089bc874fa ****/ %feature("compactdefaultargs") SquareDistance; - %feature("autodoc", "Computes the square distance between and the point

. + %feature("autodoc", "Computes the square distance between and the point . Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- float ") SquareDistance; - Standard_Real SquareDistance(const gp_Pnt & P); + Standard_Real SquareDistance(const gp_Pnt & theP); /****************** SquareDistance ******************/ - /**** md5 signature: ce976f40a4beaf7f94981d49a2f54445 ****/ + /**** md5 signature: 726f7e90111b550a0e03051ce3f6cdf3 ****/ %feature("compactdefaultargs") SquareDistance; - %feature("autodoc", "Computes the square distance between and the line . + %feature("autodoc", "Computes the square distance between and the line . Parameters ---------- -L: gp_Lin +theL: gp_Lin Returns ------- float ") SquareDistance; - Standard_Real SquareDistance(const gp_Lin & L); + Standard_Real SquareDistance(const gp_Lin & theL); /****************** SquareDistance ******************/ - /**** md5 signature: 1e48ca8e7bc7332edadba77c764cb503 ****/ + /**** md5 signature: bd937c8018e0c30032be03ab4d808364 ****/ %feature("compactdefaultargs") SquareDistance; %feature("autodoc", "Computes the square distance between two planes. Parameters ---------- -Other: gp_Pln +theOther: gp_Pln Returns ------- float ") SquareDistance; - Standard_Real SquareDistance(const gp_Pln & Other); + Standard_Real SquareDistance(const gp_Pln & theOther); /****************** Transform ******************/ - /**** md5 signature: 45ee6a37cbc92ff06bd17b5653f32913 ****/ + /**** md5 signature: ad39e75f28af84e2a27f2cfbe322b0a3 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") Transform; - void Transform(const gp_Trsf & T); + void Transform(const gp_Trsf & theT); /****************** Transformed ******************/ - /**** md5 signature: 14a13d53ea025ea6314250cfc840f553 ****/ + /**** md5 signature: a0f51f2c7779cdb47a1bad32b7e3c2a9 ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms a plane with the transformation t from class trsf. the transformation is performed on the 'location' point, on the 'xaxis' and the 'yaxis'. the resulting normal direction is the cross product between the 'xdirection' and the 'ydirection' after transformation. + %feature("autodoc", "Transforms a plane with the transformation thet from class trsf. the transformation is performed on the 'location' point, on the 'xaxis' and the 'yaxis'. the resulting normal direction is the cross product between the 'xdirection' and the 'ydirection' after transformation. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- gp_Pln ") Transformed; - gp_Pln Transformed(const gp_Trsf & T); + gp_Pln Transformed(const gp_Trsf & theT); /****************** Translate ******************/ - /**** md5 signature: b3667af07c9a238180bc31cc15803f78 ****/ + /**** md5 signature: 0187bd9a09d9b334477a40e96047e03a ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- None ") Translate; - void Translate(const gp_Vec & V); + void Translate(const gp_Vec & theV); /****************** Translate ******************/ - /**** md5 signature: 5053222ade9605c7c37102310f06f2e8 ****/ + /**** md5 signature: cde9f9ebda90da2c1df1a27191e7ab81 ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- None ") Translate; - void Translate(const gp_Pnt & P1, const gp_Pnt & P2); + void Translate(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** Translated ******************/ - /**** md5 signature: faa03ad19b44178f15a5c8268dddc174 ****/ + /**** md5 signature: 6a8f35bf5a7da8b90e5bc907c51ed0ca ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a plane in the direction of the vector v. the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "Translates a plane in the direction of the vector thev. the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- gp_Pln ") Translated; - gp_Pln Translated(const gp_Vec & V); + gp_Pln Translated(const gp_Vec & theV); /****************** Translated ******************/ - /**** md5 signature: 277e4ef7ad7b64dc9cef6f5490ac8f6a ****/ + /**** md5 signature: 4430861dd695a6808edb95f41a1bfa5f ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a plane from the point p1 to the point p2. + %feature("autodoc", "Translates a plane from the point thep1 to the point thep2. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- gp_Pln ") Translated; - gp_Pln Translated(const gp_Pnt & P1, const gp_Pnt & P2); + gp_Pln Translated(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** UReverse ******************/ - /**** md5 signature: abf35d5ee439e7b6d5054caae87282cf ****/ + /**** md5 signature: b0197b2ee987c6cd2138becb024e1db6 ****/ %feature("compactdefaultargs") UReverse; %feature("autodoc", "Reverses the u parametrization of the plane reversing the xaxis. @@ -12871,7 +12875,7 @@ None void UReverse(); /****************** VReverse ******************/ - /**** md5 signature: 01a05d129bc344a1e2870352e479923d ****/ + /**** md5 signature: 4d0389515240266be0c86e204c81b7a9 ****/ %feature("compactdefaultargs") VReverse; %feature("autodoc", "Reverses the v parametrization of the plane reversing the yaxis. @@ -12882,7 +12886,7 @@ None void VReverse(); /****************** XAxis ******************/ - /**** md5 signature: 33f98d138ae3ce92d202330aa4ae814d ****/ + /**** md5 signature: 900acbd3949b81ee383c3b457e95c597 ****/ %feature("compactdefaultargs") XAxis; %feature("autodoc", "Returns the x axis of the plane. @@ -12893,7 +12897,7 @@ gp_Ax1 gp_Ax1 XAxis(); /****************** YAxis ******************/ - /**** md5 signature: b471d966aca0b452073c5d55f8f5e027 ****/ + /**** md5 signature: 8db99d563f8cc2fa33e80ece09869c5c ****/ %feature("compactdefaultargs") YAxis; %feature("autodoc", "Returns the y axis of the plane. @@ -12918,7 +12922,7 @@ gp_Ax1 class gp_Pnt { public: /****************** gp_Pnt ******************/ - /**** md5 signature: 9986b2be22205ca669d961b504cb10d6 ****/ + /**** md5 signature: 099de985bdbcec96b9980976b3feac15 ****/ %feature("compactdefaultargs") gp_Pnt; %feature("autodoc", "Creates a point with zero coordinates. @@ -12929,56 +12933,56 @@ None gp_Pnt(); /****************** gp_Pnt ******************/ - /**** md5 signature: 52a9ae66aafdb298b35e4775441b34e3 ****/ + /**** md5 signature: 38c6c68bfa22a1daddd2c4838da7eb3e ****/ %feature("compactdefaultargs") gp_Pnt; %feature("autodoc", "Creates a point from a xyz object. Parameters ---------- -Coord: gp_XYZ +theCoord: gp_XYZ Returns ------- None ") gp_Pnt; - gp_Pnt(const gp_XYZ & Coord); + gp_Pnt(const gp_XYZ & theCoord); /****************** gp_Pnt ******************/ - /**** md5 signature: d005a967c242040a4678fe778b250536 ****/ + /**** md5 signature: 89fa34ea9824847657d3dce98df8da86 ****/ %feature("compactdefaultargs") gp_Pnt; - %feature("autodoc", "Creates a point with its 3 cartesian's coordinates : xp, yp, zp. + %feature("autodoc", "Creates a point with its 3 cartesian's coordinates : thexp, theyp, thezp. Parameters ---------- -Xp: float -Yp: float -Zp: float +theXp: float +theYp: float +theZp: float Returns ------- None ") gp_Pnt; - gp_Pnt(const Standard_Real Xp, const Standard_Real Yp, const Standard_Real Zp); + gp_Pnt(const Standard_Real theXp, const Standard_Real theYp, const Standard_Real theZp); /****************** BaryCenter ******************/ - /**** md5 signature: bf3a34847072aaf6946762140c9e7ef4 ****/ + /**** md5 signature: faacda518a6b395ff8b8684b538dbb23 ****/ %feature("compactdefaultargs") BaryCenter; - %feature("autodoc", "Assigns the result of the following expression to this point (alpha*this + beta*p) / (alpha + beta). + %feature("autodoc", "Assigns the result of the following expression to this point (thealpha*this + thebeta*thep) / (thealpha + thebeta). Parameters ---------- -Alpha: float -P: gp_Pnt -Beta: float +theAlpha: float +theP: gp_Pnt +theBeta: float Returns ------- None ") BaryCenter; - void BaryCenter(const Standard_Real Alpha, const gp_Pnt & P, const Standard_Real Beta); + void BaryCenter(const Standard_Real theAlpha, const gp_Pnt & theP, const Standard_Real theBeta); /****************** ChangeCoord ******************/ - /**** md5 signature: d91a016f7d04b80a3a235c21dc303efd ****/ + /**** md5 signature: 0e3894b34dd11dbea7adf08d1c89e1e7 ****/ %feature("compactdefaultargs") ChangeCoord; %feature("autodoc", "Returns the coordinates of this point. note: this syntax allows direct modification of the returned value. @@ -12989,38 +12993,38 @@ gp_XYZ gp_XYZ ChangeCoord(); /****************** Coord ******************/ - /**** md5 signature: 615686a863135af4177d92a1b696f909 ****/ + /**** md5 signature: 8be7c51c8cc2bc59521f97740b0be5d2 ****/ %feature("compactdefaultargs") Coord; - %feature("autodoc", "Returns the coordinate of corresponding to the value of index : index = 1 => x is returned index = 2 => y is returned index = 3 => z is returned raises outofrange if index != {1, 2, 3}. raised if index != {1, 2, 3}. + %feature("autodoc", "Returns the coordinate of corresponding to the value of theindex : theindex = 1 => x is returned theindex = 2 => y is returned theindex = 3 => z is returned raises outofrange if theindex != {1, 2, 3}. raised if theindex != {1, 2, 3}. Parameters ---------- -Index: int +theIndex: int Returns ------- float ") Coord; - Standard_Real Coord(const Standard_Integer Index); + Standard_Real Coord(const Standard_Integer theIndex); /****************** Coord ******************/ - /**** md5 signature: 8d12511db3c61746f51be65107e427ef ****/ + /**** md5 signature: a056f18fedc0073150abc3612c7d01fe ****/ %feature("compactdefaultargs") Coord; - %feature("autodoc", "For this point gives its three coordinates xp, yp and zp. + %feature("autodoc", "For this point gives its three coordinates thexp, theyp and thezp. Parameters ---------- Returns ------- -Xp: float -Yp: float -Zp: float +theXp: float +theYp: float +theZp: float ") Coord; void Coord(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); /****************** Coord ******************/ - /**** md5 signature: 4b57b76897a7b1cefab8b85d379a9b61 ****/ + /**** md5 signature: 36c1be5bcfb562eadb6e4b004da8d3ca ****/ %feature("compactdefaultargs") Coord; %feature("autodoc", "For this point, returns its three coordinates as a xyz object. @@ -13031,19 +13035,19 @@ gp_XYZ const gp_XYZ Coord(); /****************** Distance ******************/ - /**** md5 signature: a3f76ef7087abde72f705ea17a532c32 ****/ + /**** md5 signature: 9b81353e35619739142e6bdcae4f4017 ****/ %feature("compactdefaultargs") Distance; %feature("autodoc", "Computes the distance between two points. Parameters ---------- -Other: gp_Pnt +theOther: gp_Pnt Returns ------- float ") Distance; - Standard_Real Distance(const gp_Pnt & Other); + Standard_Real Distance(const gp_Pnt & theOther); %feature("autodoc", "1"); @@ -13069,377 +13073,377 @@ theStreamPos: int Standard_Boolean InitFromJson(const Standard_SStream & theSStream, Standard_Integer &OutValue); /****************** IsEqual ******************/ - /**** md5 signature: fac4cb0b0c6a2d6b9d46b54ba1428589 ****/ + /**** md5 signature: 866076bc094329e46528454cace96967 ****/ %feature("compactdefaultargs") IsEqual; - %feature("autodoc", "Comparison returns true if the distance between the two points is lower or equal to lineartolerance. + %feature("autodoc", "Comparison returns true if the distance between the two points is lower or equal to thelineartolerance. Parameters ---------- -Other: gp_Pnt -LinearTolerance: float +theOther: gp_Pnt +theLinearTolerance: float Returns ------- bool ") IsEqual; - Standard_Boolean IsEqual(const gp_Pnt & Other, const Standard_Real LinearTolerance); + Standard_Boolean IsEqual(const gp_Pnt & theOther, const Standard_Real theLinearTolerance); /****************** Mirror ******************/ - /**** md5 signature: b133f2e6e1c74f672a216a0094bdfda6 ****/ + /**** md5 signature: 095878518b088b42d55c3da09f68a84c ****/ %feature("compactdefaultargs") Mirror; - %feature("autodoc", "Performs the symmetrical transformation of a point with respect to the point p which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of a point with respect to the point thep which is the center of the symmetry. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") Mirror; - void Mirror(const gp_Pnt & P); + void Mirror(const gp_Pnt & theP); /****************** Mirror ******************/ - /**** md5 signature: d1a0189a98d756bd9e5b51b4ae49992a ****/ + /**** md5 signature: cfb16cae08525c5f4ab330102e0377d4 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") Mirror; - void Mirror(const gp_Ax1 & A1); + void Mirror(const gp_Ax1 & theA1); /****************** Mirror ******************/ - /**** md5 signature: 874cde0169043be133e205e960c3ca57 ****/ + /**** md5 signature: ad34943401a2334beed8ccc79094d8df ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") Mirror; - void Mirror(const gp_Ax2 & A2); + void Mirror(const gp_Ax2 & theA2); /****************** Mirrored ******************/ - /**** md5 signature: 52066bc5dd5834801faec2f2e0389b42 ****/ + /**** md5 signature: d62d4e27193b622c076eedda443dd05d ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a point with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- gp_Pnt ") Mirrored; - gp_Pnt Mirrored(const gp_Pnt & P); + gp_Pnt Mirrored(const gp_Pnt & theP); /****************** Mirrored ******************/ - /**** md5 signature: 003fad303721f03992a3523f97234579 ****/ + /**** md5 signature: 895bbd5f51ce6cc09922789f1bae8aa1 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a point with respect to a plane. the axis placement a2 locates the plane of the symmetry : (location, xdirection, ydirection). + %feature("autodoc", "Performs the symmetrical transformation of a point with respect to a plane. the axis placement thea2 locates the plane of the symmetry : (location, xdirection, ydirection). Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- gp_Pnt ") Mirrored; - gp_Pnt Mirrored(const gp_Ax1 & A1); + gp_Pnt Mirrored(const gp_Ax1 & theA1); /****************** Mirrored ******************/ - /**** md5 signature: f1fe1457937d7f6cb258ba2c904c0302 ****/ + /**** md5 signature: e26626a8fdddffe688d8ec14b1896d4d ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Rotates a point. a1 is the axis of the rotation. ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates a point. thea1 is the axis of the rotation. theang is the angular value of the rotation in radians. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- gp_Pnt ") Mirrored; - gp_Pnt Mirrored(const gp_Ax2 & A2); + gp_Pnt Mirrored(const gp_Ax2 & theA2); /****************** Rotate ******************/ - /**** md5 signature: 12c4967f27a0900e4176252164d2f2ce ****/ + /**** md5 signature: c26ecb0fe9ed773c4bd2ec6af298bfe8 ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Ax1 & A1, const Standard_Real Ang); + void Rotate(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: a61f63082aa6d7c69240687cc6db7957 ****/ + /**** md5 signature: 9cfabdd2c743c9aa4b05075dcfe9d285 ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Scales a point. s is the scaling value. + %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- gp_Pnt ") Rotated; - gp_Pnt Rotated(const gp_Ax1 & A1, const Standard_Real Ang); + gp_Pnt Rotated(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: e66fc526c4232f21fb4238a81292d522 ****/ + /**** md5 signature: a931b3c1f3cc70761b0f4bcbe2fc2ef0 ****/ %feature("compactdefaultargs") Scale; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Scales a point. thes is the scaling value. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- None ") Scale; - void Scale(const gp_Pnt & P, const Standard_Real S); + void Scale(const gp_Pnt & theP, const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: 49253a0db54f2dddf5e3b51341a95a25 ****/ + /**** md5 signature: ff1abdc34f75773777b61d17e8e084d6 ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Transforms a point with the transformation t. + %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- gp_Pnt ") Scaled; - gp_Pnt Scaled(const gp_Pnt & P, const Standard_Real S); + gp_Pnt Scaled(const gp_Pnt & theP, const Standard_Real theS); /****************** SetCoord ******************/ - /**** md5 signature: 6a7aba643afced1a67b8420fce55034e ****/ + /**** md5 signature: 52cef977af7789ed4ebe28e0285a09a0 ****/ %feature("compactdefaultargs") SetCoord; - %feature("autodoc", "Changes the coordinate of range index : index = 1 => x is modified index = 2 => y is modified index = 3 => z is modified raised if index != {1, 2, 3}. + %feature("autodoc", "Changes the coordinate of range theindex : theindex = 1 => x is modified theindex = 2 => y is modified theindex = 3 => z is modified raised if theindex != {1, 2, 3}. Parameters ---------- -Index: int -Xi: float +theIndex: int +theXi: float Returns ------- None ") SetCoord; - void SetCoord(const Standard_Integer Index, const Standard_Real Xi); + void SetCoord(const Standard_Integer theIndex, const Standard_Real theXi); /****************** SetCoord ******************/ - /**** md5 signature: 04daf90424b865da259787c0c109b56e ****/ + /**** md5 signature: fad469ec3e7a0663ac99248a42f8d4dd ****/ %feature("compactdefaultargs") SetCoord; - %feature("autodoc", "For this point, assigns the values xp, yp and zp to its three coordinates. + %feature("autodoc", "For this point, assigns the values thexp, theyp and thezp to its three coordinates. Parameters ---------- -Xp: float -Yp: float -Zp: float +theXp: float +theYp: float +theZp: float Returns ------- None ") SetCoord; - void SetCoord(const Standard_Real Xp, const Standard_Real Yp, const Standard_Real Zp); + void SetCoord(const Standard_Real theXp, const Standard_Real theYp, const Standard_Real theZp); /****************** SetX ******************/ - /**** md5 signature: 30fe204d4c67d94370133e1d40dc6787 ****/ + /**** md5 signature: 1bf65ee31f0303d20dd96cc6dbcfa44e ****/ %feature("compactdefaultargs") SetX; %feature("autodoc", "Assigns the given value to the x coordinate of this point. Parameters ---------- -X: float +theX: float Returns ------- None ") SetX; - void SetX(const Standard_Real X); + void SetX(const Standard_Real theX); /****************** SetXYZ ******************/ - /**** md5 signature: 970583a1db197d138846d12b1374d359 ****/ + /**** md5 signature: 310569de5a825945530b122be4e6ca69 ****/ %feature("compactdefaultargs") SetXYZ; - %feature("autodoc", "Assigns the three coordinates of coord to this point. + %feature("autodoc", "Assigns the three coordinates of thecoord to this point. Parameters ---------- -Coord: gp_XYZ +theCoord: gp_XYZ Returns ------- None ") SetXYZ; - void SetXYZ(const gp_XYZ & Coord); + void SetXYZ(const gp_XYZ & theCoord); /****************** SetY ******************/ - /**** md5 signature: 8f42f770a3959dece2671d90f60e35e2 ****/ + /**** md5 signature: 4d69a9fe7ed8a7d182afbae632001bd2 ****/ %feature("compactdefaultargs") SetY; %feature("autodoc", "Assigns the given value to the y coordinate of this point. Parameters ---------- -Y: float +theY: float Returns ------- None ") SetY; - void SetY(const Standard_Real Y); + void SetY(const Standard_Real theY); /****************** SetZ ******************/ - /**** md5 signature: d96a64d9a788ed7bdd745a3dcbb831ea ****/ + /**** md5 signature: 50f9696665e382f6944bd96e35b0a063 ****/ %feature("compactdefaultargs") SetZ; %feature("autodoc", "Assigns the given value to the z coordinate of this point. Parameters ---------- -Z: float +theZ: float Returns ------- None ") SetZ; - void SetZ(const Standard_Real Z); + void SetZ(const Standard_Real theZ); /****************** SquareDistance ******************/ - /**** md5 signature: b1b7443f7eb77c19895513a3c2ecc35e ****/ + /**** md5 signature: e963f6cbbfaed54cf3e1fbe75926f236 ****/ %feature("compactdefaultargs") SquareDistance; %feature("autodoc", "Computes the square distance between two points. Parameters ---------- -Other: gp_Pnt +theOther: gp_Pnt Returns ------- float ") SquareDistance; - Standard_Real SquareDistance(const gp_Pnt & Other); + Standard_Real SquareDistance(const gp_Pnt & theOther); /****************** Transform ******************/ - /**** md5 signature: 45ee6a37cbc92ff06bd17b5653f32913 ****/ + /**** md5 signature: 0737a7286be728220e1a55ba0d6eafc3 ****/ %feature("compactdefaultargs") Transform; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Transforms a point with the transformation t. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") Transform; - void Transform(const gp_Trsf & T); + void Transform(const gp_Trsf & theT); /****************** Transformed ******************/ - /**** md5 signature: 85a803c53321bd028fd87108d787242e ****/ + /**** md5 signature: b8b244cee1953af992aa6ca96ff8e3f7 ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Translates a point in the direction of the vector v. the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- gp_Pnt ") Transformed; - gp_Pnt Transformed(const gp_Trsf & T); + gp_Pnt Transformed(const gp_Trsf & theT); /****************** Translate ******************/ - /**** md5 signature: b3667af07c9a238180bc31cc15803f78 ****/ + /**** md5 signature: 0ada1d82324919fb7ff289d966f45df1 ****/ %feature("compactdefaultargs") Translate; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Translates a point in the direction of the vector thev. the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- None ") Translate; - void Translate(const gp_Vec & V); + void Translate(const gp_Vec & theV); /****************** Translate ******************/ - /**** md5 signature: 5053222ade9605c7c37102310f06f2e8 ****/ + /**** md5 signature: cde9f9ebda90da2c1df1a27191e7ab81 ****/ %feature("compactdefaultargs") Translate; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Translates a point from the point thep1 to the point thep2. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- None ") Translate; - void Translate(const gp_Pnt & P1, const gp_Pnt & P2); + void Translate(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** Translated ******************/ - /**** md5 signature: b9d0448ca2ce59b9555512423c2f300c ****/ + /**** md5 signature: 70fea41caf97670b5be8d4ee99722cf4 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a point from the point p1 to the point p2. + %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- gp_Pnt ") Translated; - gp_Pnt Translated(const gp_Vec & V); + gp_Pnt Translated(const gp_Vec & theV); /****************** Translated ******************/ - /**** md5 signature: bd8eb14c4e34e3e3dd37c5e50ee57a4b ****/ + /**** md5 signature: 000ced473994371719256ec6ea61a643 ****/ %feature("compactdefaultargs") Translated; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- gp_Pnt ") Translated; - gp_Pnt Translated(const gp_Pnt & P1, const gp_Pnt & P2); + gp_Pnt Translated(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** X ******************/ - /**** md5 signature: 2dbf42f7dc56303f104fb0fa585dc6e6 ****/ + /**** md5 signature: 05c2850f49d76f9d0f9da9e2fdb99a8b ****/ %feature("compactdefaultargs") X; %feature("autodoc", "For this point, returns its x coordinate. @@ -13450,7 +13454,7 @@ float Standard_Real X(); /****************** XYZ ******************/ - /**** md5 signature: ad2670b5502d8f29f92f756fdb200090 ****/ + /**** md5 signature: 0648fd358f9622b8fa775d64dec0d0a4 ****/ %feature("compactdefaultargs") XYZ; %feature("autodoc", "For this point, returns its three coordinates as a xyz object. @@ -13461,7 +13465,7 @@ gp_XYZ const gp_XYZ XYZ(); /****************** Y ******************/ - /**** md5 signature: 7fd17991f11a9702e525c7070ce7cec6 ****/ + /**** md5 signature: 0142f6b6b08f82a328de2fb00d13afbf ****/ %feature("compactdefaultargs") Y; %feature("autodoc", "For this point, returns its y coordinate. @@ -13472,7 +13476,7 @@ float Standard_Real Y(); /****************** Z ******************/ - /**** md5 signature: 87b89b9e016f37b0146cf52868684676 ****/ + /**** md5 signature: 786e228d2eeaf64f99dd51d3ab338f77 ****/ %feature("compactdefaultargs") Z; %feature("autodoc", "For this point, returns its z coordinate. @@ -13497,7 +13501,7 @@ float class gp_Pnt2d { public: /****************** gp_Pnt2d ******************/ - /**** md5 signature: bdb5e7db958fb2f7240c5d4064004d09 ****/ + /**** md5 signature: 15f9751e9c3d41985f179b71d5a5032a ****/ %feature("compactdefaultargs") gp_Pnt2d; %feature("autodoc", "Creates a point with zero coordinates. @@ -13508,38 +13512,38 @@ None gp_Pnt2d(); /****************** gp_Pnt2d ******************/ - /**** md5 signature: 5555a158a84391043ca41f24d4995cf0 ****/ + /**** md5 signature: 0b115859fd49adc9dce6d509324fa434 ****/ %feature("compactdefaultargs") gp_Pnt2d; %feature("autodoc", "Creates a point with a doublet of coordinates. Parameters ---------- -Coord: gp_XY +theCoord: gp_XY Returns ------- None ") gp_Pnt2d; - gp_Pnt2d(const gp_XY & Coord); + gp_Pnt2d(const gp_XY & theCoord); /****************** gp_Pnt2d ******************/ - /**** md5 signature: f458ba6fe010062959e1a1295c4c6ed6 ****/ + /**** md5 signature: ac15eb02af5890f339b11a9688b48bb2 ****/ %feature("compactdefaultargs") gp_Pnt2d; - %feature("autodoc", "Creates a point with its 2 cartesian's coordinates : xp, yp. + %feature("autodoc", "Creates a point with its 2 cartesian's coordinates : thexp, theyp. Parameters ---------- -Xp: float -Yp: float +theXp: float +theYp: float Returns ------- None ") gp_Pnt2d; - gp_Pnt2d(const Standard_Real Xp, const Standard_Real Yp); + gp_Pnt2d(const Standard_Real theXp, const Standard_Real theYp); /****************** ChangeCoord ******************/ - /**** md5 signature: daa7b4f69b48a458b836d6c84fd26869 ****/ + /**** md5 signature: f799b091563773cd52b21654e211a935 ****/ %feature("compactdefaultargs") ChangeCoord; %feature("autodoc", "Returns the coordinates of this point. note: this syntax allows direct modification of the returned value. @@ -13550,22 +13554,22 @@ gp_XY gp_XY ChangeCoord(); /****************** Coord ******************/ - /**** md5 signature: 615686a863135af4177d92a1b696f909 ****/ + /**** md5 signature: 8be7c51c8cc2bc59521f97740b0be5d2 ****/ %feature("compactdefaultargs") Coord; - %feature("autodoc", "Returns the coordinate of range index : index = 1 => x is returned index = 2 => y is returned raises outofrange if index != {1, 2}. + %feature("autodoc", "Returns the coordinate of range theindex : theindex = 1 => x is returned theindex = 2 => y is returned raises outofrange if theindex != {1, 2}. Parameters ---------- -Index: int +theIndex: int Returns ------- float ") Coord; - Standard_Real Coord(const Standard_Integer Index); + Standard_Real Coord(const Standard_Integer theIndex); /****************** Coord ******************/ - /**** md5 signature: bf99eedc1b01fce64310eda5f9815756 ****/ + /**** md5 signature: 441658ba68cf9672400126d589e8a4c6 ****/ %feature("compactdefaultargs") Coord; %feature("autodoc", "For this point returns its two coordinates as a number pair. @@ -13574,13 +13578,13 @@ Parameters Returns ------- -Xp: float -Yp: float +theXp: float +theYp: float ") Coord; void Coord(Standard_Real &OutValue, Standard_Real &OutValue); /****************** Coord ******************/ - /**** md5 signature: 8cf95df0ebf8dea346f97abb4b1c36bd ****/ + /**** md5 signature: 55c3583d2b85a3d85724dfd062f17fa4 ****/ %feature("compactdefaultargs") Coord; %feature("autodoc", "For this point, returns its two coordinates as a number pair. @@ -13591,19 +13595,19 @@ gp_XY const gp_XY Coord(); /****************** Distance ******************/ - /**** md5 signature: 45d37779d0699a561f05bd0252dd478b ****/ + /**** md5 signature: 83a823e839651576a7291054dda0db6e ****/ %feature("compactdefaultargs") Distance; %feature("autodoc", "Computes the distance between two points. Parameters ---------- -Other: gp_Pnt2d +theOther: gp_Pnt2d Returns ------- float ") Distance; - Standard_Real Distance(const gp_Pnt2d & Other); + Standard_Real Distance(const gp_Pnt2d & theOther); %feature("autodoc", "1"); @@ -13614,331 +13618,331 @@ float return s.str();} }; /****************** IsEqual ******************/ - /**** md5 signature: c7b908b5b337585cb84e3de55f70564d ****/ + /**** md5 signature: dcdc340de48c0cde13c42d260d47b39e ****/ %feature("compactdefaultargs") IsEqual; - %feature("autodoc", "Comparison returns true if the distance between the two points is lower or equal to lineartolerance. + %feature("autodoc", "Comparison returns true if the distance between the two points is lower or equal to thelineartolerance. Parameters ---------- -Other: gp_Pnt2d -LinearTolerance: float +theOther: gp_Pnt2d +theLinearTolerance: float Returns ------- bool ") IsEqual; - Standard_Boolean IsEqual(const gp_Pnt2d & Other, const Standard_Real LinearTolerance); + Standard_Boolean IsEqual(const gp_Pnt2d & theOther, const Standard_Real theLinearTolerance); /****************** Mirror ******************/ - /**** md5 signature: 5a90a3ec4faf7909390bb0bfb4d9be0f ****/ + /**** md5 signature: 5f85e7eebe220829e022319813e0b5b1 ****/ %feature("compactdefaultargs") Mirror; - %feature("autodoc", "Performs the symmetrical transformation of a point with respect to the point p which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of a point with respect to the point thep which is the center of the symmetry. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- None ") Mirror; - void Mirror(const gp_Pnt2d & P); + void Mirror(const gp_Pnt2d & theP); /****************** Mirror ******************/ - /**** md5 signature: 8b8d921c1e87f73e8278c4d42ae298f7 ****/ + /**** md5 signature: ec42c083971941a78ed6667e3ee849d3 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- None ") Mirror; - void Mirror(const gp_Ax2d & A); + void Mirror(const gp_Ax2d & theA); /****************** Mirrored ******************/ - /**** md5 signature: 5ddcbaf7de65adc88c09d20bc6bfa1af ****/ + /**** md5 signature: a394e9cdf42df95aaeb896b295efd181 ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a point with respect to an axis placement which is the axis. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- gp_Pnt2d ") Mirrored; - gp_Pnt2d Mirrored(const gp_Pnt2d & P); + gp_Pnt2d Mirrored(const gp_Pnt2d & theP); /****************** Mirrored ******************/ - /**** md5 signature: 3237eec51f4d13884ee7352228c40147 ****/ + /**** md5 signature: 084dc292f53e7e05aa08e651da8ea51d ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Rotates a point. a1 is the axis of the rotation. ang is the angular value of the rotation in radians. + %feature("autodoc", "No available documentation. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- gp_Pnt2d ") Mirrored; - gp_Pnt2d Mirrored(const gp_Ax2d & A); + gp_Pnt2d Mirrored(const gp_Ax2d & theA); /****************** Rotate ******************/ - /**** md5 signature: 795edcbb32146eb6f071bea4c90f5cfd ****/ + /**** md5 signature: 96011b42c3eec1be38fcc33efc511d13 ****/ %feature("compactdefaultargs") Rotate; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Rotates a point. thea1 is the axis of the rotation. ang is the angular value of the rotation in radians. Parameters ---------- -P: gp_Pnt2d -Ang: float +theP: gp_Pnt2d +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Pnt2d & P, const Standard_Real Ang); + void Rotate(const gp_Pnt2d & theP, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: b3b5f15a41a4c44f3e4c0afb47ca2b3f ****/ + /**** md5 signature: 80774d069fdedac1343712f2af5b8cc4 ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Scales a point. s is the scaling value. + %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d -Ang: float +theP: gp_Pnt2d +theAng: float Returns ------- gp_Pnt2d ") Rotated; - gp_Pnt2d Rotated(const gp_Pnt2d & P, const Standard_Real Ang); + gp_Pnt2d Rotated(const gp_Pnt2d & theP, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: 5b49a8aeffcacace07c66937f77f1e03 ****/ + /**** md5 signature: c464bf78519bd3beeec5dd2bb7f74ab0 ****/ %feature("compactdefaultargs") Scale; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Scales a point. thes is the scaling value. Parameters ---------- -P: gp_Pnt2d -S: float +theP: gp_Pnt2d +theS: float Returns ------- None ") Scale; - void Scale(const gp_Pnt2d & P, const Standard_Real S); + void Scale(const gp_Pnt2d & theP, const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: 501ecf9172096ebf6c460629f8b5741e ****/ + /**** md5 signature: 63b2d5cdd488ba49fc8bae89b03b1d04 ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Transforms a point with the transformation t. + %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt2d -S: float +theP: gp_Pnt2d +theS: float Returns ------- gp_Pnt2d ") Scaled; - gp_Pnt2d Scaled(const gp_Pnt2d & P, const Standard_Real S); + gp_Pnt2d Scaled(const gp_Pnt2d & theP, const Standard_Real theS); /****************** SetCoord ******************/ - /**** md5 signature: 6a7aba643afced1a67b8420fce55034e ****/ + /**** md5 signature: 52cef977af7789ed4ebe28e0285a09a0 ****/ %feature("compactdefaultargs") SetCoord; - %feature("autodoc", "Assigns the value xi to the coordinate that corresponds to index: index = 1 => x is modified index = 2 => y is modified raises outofrange if index != {1, 2}. + %feature("autodoc", "Assigns the value xi to the coordinate that corresponds to theindex: theindex = 1 => x is modified theindex = 2 => y is modified raises outofrange if theindex != {1, 2}. Parameters ---------- -Index: int -Xi: float +theIndex: int +theXi: float Returns ------- None ") SetCoord; - void SetCoord(const Standard_Integer Index, const Standard_Real Xi); + void SetCoord(const Standard_Integer theIndex, const Standard_Real theXi); /****************** SetCoord ******************/ - /**** md5 signature: 6360ae07448638f0dbe624db729d2fc2 ****/ + /**** md5 signature: a3837cf1cd8704bc76a1d90d6ec89b1d ****/ %feature("compactdefaultargs") SetCoord; - %feature("autodoc", "For this point, assigns the values xp and yp to its two coordinates. + %feature("autodoc", "For this point, assigns the values thexp and theyp to its two coordinates. Parameters ---------- -Xp: float -Yp: float +theXp: float +theYp: float Returns ------- None ") SetCoord; - void SetCoord(const Standard_Real Xp, const Standard_Real Yp); + void SetCoord(const Standard_Real theXp, const Standard_Real theYp); /****************** SetX ******************/ - /**** md5 signature: 30fe204d4c67d94370133e1d40dc6787 ****/ + /**** md5 signature: 1bf65ee31f0303d20dd96cc6dbcfa44e ****/ %feature("compactdefaultargs") SetX; %feature("autodoc", "Assigns the given value to the x coordinate of this point. Parameters ---------- -X: float +theX: float Returns ------- None ") SetX; - void SetX(const Standard_Real X); + void SetX(const Standard_Real theX); /****************** SetXY ******************/ - /**** md5 signature: 6c2893a57a740cb14668b2ad98f8f8f8 ****/ + /**** md5 signature: a04e254971f4b44fa9cc1f7852c920de ****/ %feature("compactdefaultargs") SetXY; %feature("autodoc", "Assigns the two coordinates of coord to this point. Parameters ---------- -Coord: gp_XY +theCoord: gp_XY Returns ------- None ") SetXY; - void SetXY(const gp_XY & Coord); + void SetXY(const gp_XY & theCoord); /****************** SetY ******************/ - /**** md5 signature: 8f42f770a3959dece2671d90f60e35e2 ****/ + /**** md5 signature: 4d69a9fe7ed8a7d182afbae632001bd2 ****/ %feature("compactdefaultargs") SetY; %feature("autodoc", "Assigns the given value to the y coordinate of this point. Parameters ---------- -Y: float +theY: float Returns ------- None ") SetY; - void SetY(const Standard_Real Y); + void SetY(const Standard_Real theY); /****************** SquareDistance ******************/ - /**** md5 signature: 1717e60f5fc9fff5a5d235f31e374703 ****/ + /**** md5 signature: 75c645d9981804bae577e693f134b33f ****/ %feature("compactdefaultargs") SquareDistance; %feature("autodoc", "Computes the square distance between two points. Parameters ---------- -Other: gp_Pnt2d +theOther: gp_Pnt2d Returns ------- float ") SquareDistance; - Standard_Real SquareDistance(const gp_Pnt2d & Other); + Standard_Real SquareDistance(const gp_Pnt2d & theOther); /****************** Transform ******************/ - /**** md5 signature: dace16a29a39216c0dd584c6964e840b ****/ + /**** md5 signature: 94f8045e6a4465708e872ec10cb3f4d1 ****/ %feature("compactdefaultargs") Transform; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Transforms a point with the transformation thet. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- None ") Transform; - void Transform(const gp_Trsf2d & T); + void Transform(const gp_Trsf2d & theT); /****************** Transformed ******************/ - /**** md5 signature: 686672b50d5d601ea082ab9bcb9de181 ****/ + /**** md5 signature: 156a0e54c907356c56d5ce58236049de ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Translates a point in the direction of the vector v. the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- gp_Pnt2d ") Transformed; - gp_Pnt2d Transformed(const gp_Trsf2d & T); + gp_Pnt2d Transformed(const gp_Trsf2d & theT); /****************** Translate ******************/ - /**** md5 signature: 1cd2e000b85692a9f89a6bf8e8e4782c ****/ + /**** md5 signature: 09ec5cd8c4d746c4df37ebfb0be314fb ****/ %feature("compactdefaultargs") Translate; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Translates a point in the direction of the vector thev. the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- None ") Translate; - void Translate(const gp_Vec2d & V); + void Translate(const gp_Vec2d & theV); /****************** Translate ******************/ - /**** md5 signature: c7768f1dcf9b6595f2bd4653737544f9 ****/ + /**** md5 signature: edde3614f43331c7884ace28c720ab8c ****/ %feature("compactdefaultargs") Translate; - %feature("autodoc", "No available documentation. + %feature("autodoc", "Translates a point from the point thep1 to the point thep2. Parameters ---------- -P1: gp_Pnt2d -P2: gp_Pnt2d +theP1: gp_Pnt2d +theP2: gp_Pnt2d Returns ------- None ") Translate; - void Translate(const gp_Pnt2d & P1, const gp_Pnt2d & P2); + void Translate(const gp_Pnt2d & theP1, const gp_Pnt2d & theP2); /****************** Translated ******************/ - /**** md5 signature: 131ffbdb9bd95a382668df31ca088793 ****/ + /**** md5 signature: f9bac74279b6775189a223ba713e8f9f ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a point from the point p1 to the point p2. + %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- gp_Pnt2d ") Translated; - gp_Pnt2d Translated(const gp_Vec2d & V); + gp_Pnt2d Translated(const gp_Vec2d & theV); /****************** Translated ******************/ - /**** md5 signature: 554d42a2d057b762bf2620b7d6ff191e ****/ + /**** md5 signature: 1b5a02c1209fa5adf61f69d1b08ab171 ****/ %feature("compactdefaultargs") Translated; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt2d -P2: gp_Pnt2d +theP1: gp_Pnt2d +theP2: gp_Pnt2d Returns ------- gp_Pnt2d ") Translated; - gp_Pnt2d Translated(const gp_Pnt2d & P1, const gp_Pnt2d & P2); + gp_Pnt2d Translated(const gp_Pnt2d & theP1, const gp_Pnt2d & theP2); /****************** X ******************/ - /**** md5 signature: 2dbf42f7dc56303f104fb0fa585dc6e6 ****/ + /**** md5 signature: 05c2850f49d76f9d0f9da9e2fdb99a8b ****/ %feature("compactdefaultargs") X; %feature("autodoc", "For this point, returns its x coordinate. @@ -13949,7 +13953,7 @@ float Standard_Real X(); /****************** XY ******************/ - /**** md5 signature: 0572c9669063bef343b6bffa656e7e3a ****/ + /**** md5 signature: 8129e296b053b8847fa5f009e7848507 ****/ %feature("compactdefaultargs") XY; %feature("autodoc", "For this point, returns its two coordinates as a number pair. @@ -13960,7 +13964,7 @@ gp_XY const gp_XY XY(); /****************** Y ******************/ - /**** md5 signature: 7fd17991f11a9702e525c7070ce7cec6 ****/ + /**** md5 signature: 0142f6b6b08f82a328de2fb00d13afbf ****/ %feature("compactdefaultargs") Y; %feature("autodoc", "For this point, returns its y coordinate. @@ -13985,7 +13989,7 @@ float class gp_Quaternion { public: /****************** gp_Quaternion ******************/ - /**** md5 signature: 8f260eebb7d0825b3549c0f26322905d ****/ + /**** md5 signature: 8fd7b50aec9da4510c148f23c42e1b2e ****/ %feature("compactdefaultargs") gp_Quaternion; %feature("autodoc", "Creates an identity quaternion. @@ -13996,25 +14000,25 @@ None gp_Quaternion(); /****************** gp_Quaternion ******************/ - /**** md5 signature: be14d63eeace74121262994a3638f24e ****/ + /**** md5 signature: 8cebe83ce1935c76fd992440dba8de74 ****/ %feature("compactdefaultargs") gp_Quaternion; %feature("autodoc", "Creates quaternion directly from component values. Parameters ---------- -x: float -y: float -z: float -w: float +theX: float +theY: float +theZ: float +theW: float Returns ------- None ") gp_Quaternion; - gp_Quaternion(const Standard_Real x, const Standard_Real y, const Standard_Real z, const Standard_Real w); + gp_Quaternion(const Standard_Real theX, const Standard_Real theY, const Standard_Real theZ, const Standard_Real theW); /****************** gp_Quaternion ******************/ - /**** md5 signature: f435bfacfee67199c3f9552e8bb3cb01 ****/ + /**** md5 signature: 186a9071fd1f4bab52cf360e731389af ****/ %feature("compactdefaultargs") gp_Quaternion; %feature("autodoc", "Creates quaternion representing shortest-arc rotation operator producing vector thevecto from vector thevecfrom. @@ -14030,7 +14034,7 @@ None gp_Quaternion(const gp_Vec & theVecFrom, const gp_Vec & theVecTo); /****************** gp_Quaternion ******************/ - /**** md5 signature: 7430bdcc642a839c4641b17063ddc1fe ****/ + /**** md5 signature: 7fd5e10c59598813a82dcb16327b3428 ****/ %feature("compactdefaultargs") gp_Quaternion; %feature("autodoc", "Creates quaternion representing shortest-arc rotation operator producing vector thevecto from vector thevecfrom. additional vector thehelpcrossvec defines preferred direction for rotation and is used when thevecto and thevecfrom are directed oppositely. @@ -14047,7 +14051,7 @@ None gp_Quaternion(const gp_Vec & theVecFrom, const gp_Vec & theVecTo, const gp_Vec & theHelpCrossVec); /****************** gp_Quaternion ******************/ - /**** md5 signature: 67cd5bb33c490fe562d97967f7b36087 ****/ + /**** md5 signature: 67d9b3bd93552e61c41be50a935d92e9 ****/ %feature("compactdefaultargs") gp_Quaternion; %feature("autodoc", "Creates quaternion representing rotation on angle theangle around vector theaxis. @@ -14063,7 +14067,7 @@ None gp_Quaternion(const gp_Vec & theAxis, const Standard_Real theAngle); /****************** gp_Quaternion ******************/ - /**** md5 signature: 3d8b1704f51b684d73640239af448e00 ****/ + /**** md5 signature: f72061baca48c37e52bb33d3fb34b2c9 ****/ %feature("compactdefaultargs") gp_Quaternion; %feature("autodoc", "Creates quaternion from rotation matrix 3*3 (which should be orthonormal skew-symmetric matrix). @@ -14080,7 +14084,7 @@ None /****************** Add ******************/ /**** md5 signature: 89bc03e00ba8a3a9b28df641bf26e36f ****/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Adds componnets of other quaternion; result is 'rotations mix'. + %feature("autodoc", "Adds components of other quaternion; result is 'rotations mix'. Parameters ---------- @@ -14093,7 +14097,7 @@ None void Add(const gp_Quaternion & theOther); /****************** Added ******************/ - /**** md5 signature: cd1f332eb9636e6e73dd41e1d2919236 ****/ + /**** md5 signature: 8b46bda795a294d1184244c8836f1f02 ****/ %feature("compactdefaultargs") Added; %feature("autodoc", "Makes sum of quaternion components; result is 'rotations mix'. @@ -14108,7 +14112,7 @@ gp_Quaternion gp_Quaternion Added(const gp_Quaternion & theOther); /****************** Dot ******************/ - /**** md5 signature: c9c9c1574b059eb19623af08fdbed154 ****/ + /**** md5 signature: f91a72d22c72f7999ccfa16ca1a8b03b ****/ %feature("compactdefaultargs") Dot; %feature("autodoc", "Computes inner product / scalar product / dot. @@ -14177,7 +14181,7 @@ theAngle: float void GetVectorAndAngle(gp_Vec & theAxis, Standard_Real &OutValue); /****************** Invert ******************/ - /**** md5 signature: 980f166f600d23a8c77565829af2eeff ****/ + /**** md5 signature: 27ae24404e0570a708e2e3589a9d9074 ****/ %feature("compactdefaultargs") Invert; %feature("autodoc", "Inverts quaternion (both rotation direction and norm). @@ -14188,7 +14192,7 @@ None void Invert(); /****************** Inverted ******************/ - /**** md5 signature: 0eb99f8a9da22cb5404e45f9d14290e5 ****/ + /**** md5 signature: b265662c44dfd7a96dad7992e3c425e6 ****/ %feature("compactdefaultargs") Inverted; %feature("autodoc", "Return inversed quaternion q^-1. @@ -14216,7 +14220,7 @@ bool /****************** Multiplied ******************/ /**** md5 signature: f63c763a6bb61294f87ae40ab0dca3a7 ****/ %feature("compactdefaultargs") Multiplied; - %feature("autodoc", "Multiply function - work the same as matrices multiplying. qq' = (cross(v,v') + wv' + w'v, ww' - dot(v,v')) result is rotation combination: q' than q (here q=this, q'=theq). notices than: qq' != q'q; qq^-1 = q;. + %feature("autodoc", "Multiply function - work the same as matrices multiplying. @code qq' = (cross(v,v') + wv' + w'v, ww' - dot(v,v')) @endcode result is rotation combination: q' than q (here q=this, q'=theq). notices that: @code qq' != q'q; qq^-1 = q; @endcode. Parameters ---------- @@ -14229,7 +14233,7 @@ gp_Quaternion gp_Quaternion Multiplied(const gp_Quaternion & theOther); /****************** Multiply ******************/ - /**** md5 signature: f68470dcbe66c530ffbe63b2a92b6de6 ****/ + /**** md5 signature: 1d8be55262472fb250e74724b4ecdfa6 ****/ %feature("compactdefaultargs") Multiply; %feature("autodoc", "Adds rotation by multiplication. @@ -14259,7 +14263,7 @@ gp_Vec gp_Vec Multiply(const gp_Vec & theVec); /****************** Negated ******************/ - /**** md5 signature: d37595c9f907def7fe6ee7b947fdf46e ****/ + /**** md5 signature: 4c5b02a3e13f06f61fe16a23f8d56de2 ****/ %feature("compactdefaultargs") Negated; %feature("autodoc", "Returns quaternion with all components negated. note that this operation does not affect neither rotation operator defined by quaternion nor its norm. @@ -14270,7 +14274,7 @@ gp_Quaternion gp_Quaternion Negated(); /****************** Norm ******************/ - /**** md5 signature: ef03a75c3e2c2e2728051dc33ad502de ****/ + /**** md5 signature: 350002efee6c6e1339f68d9fdd29b06b ****/ %feature("compactdefaultargs") Norm; %feature("autodoc", "Returns norm of quaternion. @@ -14292,7 +14296,7 @@ None void Normalize(); /****************** Normalized ******************/ - /**** md5 signature: d80fbdff5f3814015f8fd80babe081b3 ****/ + /**** md5 signature: d58f1c9978a9da4b8d155ede031c091b ****/ %feature("compactdefaultargs") Normalized; %feature("autodoc", "Returns quaternion scaled so that its norm goes to 1. @@ -14303,7 +14307,7 @@ gp_Quaternion gp_Quaternion Normalized(); /****************** Reverse ******************/ - /**** md5 signature: b751d6874fc026e19a7a6cb37e9ac1b4 ****/ + /**** md5 signature: 51c7e0d05769dec0ec2bb70e4d25e48d ****/ %feature("compactdefaultargs") Reverse; %feature("autodoc", "Reverse direction of rotation (conjugate quaternion). @@ -14314,7 +14318,7 @@ None void Reverse(); /****************** Reversed ******************/ - /**** md5 signature: 7d979f487396b0328f735b565cae6be5 ****/ + /**** md5 signature: c7f823a29a9553c5d6df85c0a9066880 ****/ %feature("compactdefaultargs") Reversed; %feature("autodoc", "Return rotation with reversed direction (conjugated quaternion). @@ -14340,7 +14344,7 @@ None void Scale(const Standard_Real theScale); /****************** Scaled ******************/ - /**** md5 signature: 0846fc600b0f4910286582bbca23f7f4 ****/ + /**** md5 signature: 311b1fcd3c656bb24814aba6b2ad4069 ****/ %feature("compactdefaultargs") Scaled; %feature("autodoc", "Returns scaled quaternion. @@ -14355,22 +14359,22 @@ gp_Quaternion gp_Quaternion Scaled(const Standard_Real theScale); /****************** Set ******************/ - /**** md5 signature: 5f25cb94856e75f818d2daff38b5d59b ****/ + /**** md5 signature: 0a5e78dcfe46f1c15ec4f35538edd5c5 ****/ %feature("compactdefaultargs") Set; %feature("autodoc", "No available documentation. Parameters ---------- -x: float -y: float -z: float -w: float +theX: float +theY: float +theZ: float +theW: float Returns ------- None ") Set; - void Set(const Standard_Real x, const Standard_Real y, const Standard_Real z, const Standard_Real w); + void Set(const Standard_Real theX, const Standard_Real theY, const Standard_Real theZ, const Standard_Real theW); /****************** Set ******************/ /**** md5 signature: ad310ae032124af045ddec68bbe1f321 ****/ @@ -14406,7 +14410,7 @@ None void SetEulerAngles(const gp_EulerSequence theOrder, const Standard_Real theAlpha, const Standard_Real theBeta, const Standard_Real theGamma); /****************** SetIdent ******************/ - /**** md5 signature: ba812ca978f2b1dcb6e27631c4e569ca ****/ + /**** md5 signature: c7362881acda19ff040f54aac2c65c5e ****/ %feature("compactdefaultargs") SetIdent; %feature("autodoc", "Make identity quaternion (zero-rotation). @@ -14481,7 +14485,7 @@ None void SetVectorAndAngle(const gp_Vec & theAxis, const Standard_Real theAngle); /****************** SquareNorm ******************/ - /**** md5 signature: 2c83246f1397a00d645d56132302070e ****/ + /**** md5 signature: 868f14372a8827ce60e3f21bde3b1160 ****/ %feature("compactdefaultargs") SquareNorm; %feature("autodoc", "Returns square norm of quaternion. @@ -14505,7 +14509,7 @@ None /****************** Subtract ******************/ /**** md5 signature: 9ef89e00b18ea43c5e3d529b547464e9 ****/ %feature("compactdefaultargs") Subtract; - %feature("autodoc", "Subtracts componnets of other quaternion; result is 'rotations mix'. + %feature("autodoc", "Subtracts components of other quaternion; result is 'rotations mix'. Parameters ---------- @@ -14518,7 +14522,7 @@ None void Subtract(const gp_Quaternion & theOther); /****************** Subtracted ******************/ - /**** md5 signature: 17253b3a7801af2e41256947dc7619b7 ****/ + /**** md5 signature: e43e91f9c16e0366438805ee38a331ca ****/ %feature("compactdefaultargs") Subtracted; %feature("autodoc", "Makes difference of quaternion components; result is 'rotations mix'. @@ -14533,7 +14537,7 @@ gp_Quaternion gp_Quaternion Subtracted(const gp_Quaternion & theOther); /****************** W ******************/ - /**** md5 signature: dde24677dd63b48ccacea2fe8006eed7 ****/ + /**** md5 signature: b2eecf2441deefacde5c86194fd72729 ****/ %feature("compactdefaultargs") W; %feature("autodoc", "No available documentation. @@ -14544,7 +14548,7 @@ float Standard_Real W(); /****************** X ******************/ - /**** md5 signature: 2dbf42f7dc56303f104fb0fa585dc6e6 ****/ + /**** md5 signature: 05c2850f49d76f9d0f9da9e2fdb99a8b ****/ %feature("compactdefaultargs") X; %feature("autodoc", "No available documentation. @@ -14555,7 +14559,7 @@ float Standard_Real X(); /****************** Y ******************/ - /**** md5 signature: 7fd17991f11a9702e525c7070ce7cec6 ****/ + /**** md5 signature: 0142f6b6b08f82a328de2fb00d13afbf ****/ %feature("compactdefaultargs") Y; %feature("autodoc", "No available documentation. @@ -14566,7 +14570,7 @@ float Standard_Real Y(); /****************** Z ******************/ - /**** md5 signature: 87b89b9e016f37b0146cf52868684676 ****/ + /**** md5 signature: 786e228d2eeaf64f99dd51d3ab338f77 ****/ %feature("compactdefaultargs") Z; %feature("autodoc", "No available documentation. @@ -14933,7 +14937,7 @@ None class gp_Sphere { public: /****************** gp_Sphere ******************/ - /**** md5 signature: 196219305043019f242a0c1cd15f6b1c ****/ + /**** md5 signature: 8f3029d2ee745522f41b3401882eecb4 ****/ %feature("compactdefaultargs") gp_Sphere; %feature("autodoc", "Creates an indefinite sphere. @@ -14944,25 +14948,25 @@ None gp_Sphere(); /****************** gp_Sphere ******************/ - /**** md5 signature: ee91c99cb23d92a082dd42b8a4663765 ****/ + /**** md5 signature: 88e7e45a96470b77aa78e9e60cf0de45 ****/ %feature("compactdefaultargs") gp_Sphere; - %feature("autodoc", "Constructs a sphere with radius radius, centered on the origin of a3. a3 is the local coordinate system of the sphere. warnings : it is not forbidden to create a sphere with null radius. raises constructionerror if radius < 0.0. + %feature("autodoc", "Constructs a sphere with radius theradius, centered on the origin of thea3. thea3 is the local coordinate system of the sphere. warnings : it is not forbidden to create a sphere with null radius. raises constructionerror if theradius < 0.0. Parameters ---------- -A3: gp_Ax3 -Radius: float +theA3: gp_Ax3 +theRadius: float Returns ------- None ") gp_Sphere; - gp_Sphere(const gp_Ax3 & A3, const Standard_Real Radius); + gp_Sphere(const gp_Ax3 & theA3, const Standard_Real theRadius); /****************** Area ******************/ - /**** md5 signature: a514cbcf0bd2f53e9374f58dcecded92 ****/ + /**** md5 signature: c02bdde385c5c793a22800891df9b9cd ****/ %feature("compactdefaultargs") Area; - %feature("autodoc", "Computes the aera of the sphere. + %feature("autodoc", "Computes the area of the sphere. Returns ------- @@ -14971,30 +14975,30 @@ float Standard_Real Area(); /****************** Coefficients ******************/ - /**** md5 signature: 922ffb066c913dfb924eafd175a6358f ****/ + /**** md5 signature: d2a72c55029fd5590f0555c1570db109 ****/ %feature("compactdefaultargs") Coefficients; - %feature("autodoc", "Computes the coefficients of the implicit equation of the quadric in the absolute cartesian coordinates system : a1.x**2 + a2.y**2 + a3.z**2 + 2.(b1.x.y + b2.x.z + b3.y.z) + 2.(c1.x + c2.y + c3.z) + d = 0.0. + %feature("autodoc", "Computes the coefficients of the implicit equation of the quadric in the absolute cartesian coordinates system : @code thea1.x**2 + thea2.y**2 + thea3.z**2 + 2.(theb1.x.y + theb2.x.z + theb3.y.z) + 2.(thec1.x + thec2.y + thec3.z) + thed = 0.0 @endcode. Parameters ---------- Returns ------- -A1: float -A2: float -A3: float -B1: float -B2: float -B3: float -C1: float -C2: float -C3: float -D: float +theA1: float +theA2: float +theA3: float +theB1: float +theB2: float +theB3: float +theC1: float +theC2: float +theC3: float +theD: float ") Coefficients; void Coefficients(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); /****************** Direct ******************/ - /**** md5 signature: 33e4e96f61de8e23c989d6f9aec7d457 ****/ + /**** md5 signature: 2c90be540a5bf9418e7461f7f76c970a ****/ %feature("compactdefaultargs") Direct; %feature("autodoc", "Returns true if the local coordinate system of this sphere is right-handed. @@ -15005,7 +15009,7 @@ bool Standard_Boolean Direct(); /****************** Location ******************/ - /**** md5 signature: 42040ad2ed401b7e80bf90e4b6b5f418 ****/ + /**** md5 signature: becd3d5ba73b438c501a139df51b6b7f ****/ %feature("compactdefaultargs") Location; %feature("autodoc", "--- purpose ; returns the center of the sphere. @@ -15016,97 +15020,97 @@ gp_Pnt const gp_Pnt Location(); /****************** Mirror ******************/ - /**** md5 signature: b133f2e6e1c74f672a216a0094bdfda6 ****/ + /**** md5 signature: 095878518b088b42d55c3da09f68a84c ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") Mirror; - void Mirror(const gp_Pnt & P); + void Mirror(const gp_Pnt & theP); /****************** Mirror ******************/ - /**** md5 signature: d1a0189a98d756bd9e5b51b4ae49992a ****/ + /**** md5 signature: cfb16cae08525c5f4ab330102e0377d4 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") Mirror; - void Mirror(const gp_Ax1 & A1); + void Mirror(const gp_Ax1 & theA1); /****************** Mirror ******************/ - /**** md5 signature: 874cde0169043be133e205e960c3ca57 ****/ + /**** md5 signature: ad34943401a2334beed8ccc79094d8df ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") Mirror; - void Mirror(const gp_Ax2 & A2); + void Mirror(const gp_Ax2 & theA2); /****************** Mirrored ******************/ - /**** md5 signature: b9020cd73b456ee3fcd548ddd993f42e ****/ + /**** md5 signature: a99c8241aaf642b110842c8bf9bfe9ea ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a sphere with respect to the point p which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of a sphere with respect to the point thep which is the center of the symmetry. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- gp_Sphere ") Mirrored; - gp_Sphere Mirrored(const gp_Pnt & P); + gp_Sphere Mirrored(const gp_Pnt & theP); /****************** Mirrored ******************/ - /**** md5 signature: d7fd743f716f8e86a09dbe2ad879f5f2 ****/ + /**** md5 signature: 78663102ade45731820b534be5da4b22 ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a sphere with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- gp_Sphere ") Mirrored; - gp_Sphere Mirrored(const gp_Ax1 & A1); + gp_Sphere Mirrored(const gp_Ax1 & theA1); /****************** Mirrored ******************/ - /**** md5 signature: 7b21d0fdbd50bd2c035ea3d72eb0664f ****/ + /**** md5 signature: 90ac71c1f32b2f1b46730b95c3c062bb ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a sphere with respect to a plane. the axis placement a2 locates the plane of the of the symmetry : (location, xdirection, ydirection). + %feature("autodoc", "Performs the symmetrical transformation of a sphere with respect to a plane. the axis placement thea2 locates the plane of the of the symmetry : (location, xdirection, ydirection). Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- gp_Sphere ") Mirrored; - gp_Sphere Mirrored(const gp_Ax2 & A2); + gp_Sphere Mirrored(const gp_Ax2 & theA2); /****************** Position ******************/ - /**** md5 signature: 68613464f15b3681020927244b13614a ****/ + /**** md5 signature: c702d3a208cf0124b56544ef1f5c6ae7 ****/ %feature("compactdefaultargs") Position; %feature("autodoc", "Returns the local coordinates system of the sphere. @@ -15117,7 +15121,7 @@ gp_Ax3 const gp_Ax3 Position(); /****************** Radius ******************/ - /**** md5 signature: 506a8dc1140a54bd4146c24bb5357fbf ****/ + /**** md5 signature: e995997e31f334f223fb359fc7382a66 ****/ %feature("compactdefaultargs") Radius; %feature("autodoc", "Returns the radius of the sphere. @@ -15128,208 +15132,208 @@ float Standard_Real Radius(); /****************** Rotate ******************/ - /**** md5 signature: 12c4967f27a0900e4176252164d2f2ce ****/ + /**** md5 signature: 424ab82daf880655bff8da4ef682e64b ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Ax1 & A1, const Standard_Real Ang); + void Rotate(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: 0c6d3c7fc4963e7d571f54211068486b ****/ + /**** md5 signature: b4a85964e1a4e01912b2cb06c8018b45 ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates a sphere. a1 is the axis of the rotation. ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates a sphere. thea1 is the axis of the rotation. theang is the angular value of the rotation in radians. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- gp_Sphere ") Rotated; - gp_Sphere Rotated(const gp_Ax1 & A1, const Standard_Real Ang); + gp_Sphere Rotated(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: e66fc526c4232f21fb4238a81292d522 ****/ + /**** md5 signature: a931b3c1f3cc70761b0f4bcbe2fc2ef0 ****/ %feature("compactdefaultargs") Scale; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- None ") Scale; - void Scale(const gp_Pnt & P, const Standard_Real S); + void Scale(const gp_Pnt & theP, const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: d4261d215dd48dc912e7df9f8164385b ****/ + /**** md5 signature: 222049befdb053ac3f42d802c6293a02 ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Scales a sphere. s is the scaling value. the absolute value of s is used to scale the sphere. + %feature("autodoc", "Scales a sphere. thes is the scaling value. the absolute value of s is used to scale the sphere. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- gp_Sphere ") Scaled; - gp_Sphere Scaled(const gp_Pnt & P, const Standard_Real S); + gp_Sphere Scaled(const gp_Pnt & theP, const Standard_Real theS); /****************** SetLocation ******************/ - /**** md5 signature: e697bd81202b5a89ce79ee03acd13d7c ****/ + /**** md5 signature: 549208ae587d601427fb98d16d4de1b7 ****/ %feature("compactdefaultargs") SetLocation; %feature("autodoc", "Changes the center of the sphere. Parameters ---------- -Loc: gp_Pnt +theLoc: gp_Pnt Returns ------- None ") SetLocation; - void SetLocation(const gp_Pnt & Loc); + void SetLocation(const gp_Pnt & theLoc); /****************** SetPosition ******************/ - /**** md5 signature: a135fc8d2ccb75941a304eed1c57e31d ****/ + /**** md5 signature: c788767c1fc0ca73bdf3541037626780 ****/ %feature("compactdefaultargs") SetPosition; %feature("autodoc", "Changes the local coordinate system of the sphere. Parameters ---------- -A3: gp_Ax3 +theA3: gp_Ax3 Returns ------- None ") SetPosition; - void SetPosition(const gp_Ax3 & A3); + void SetPosition(const gp_Ax3 & theA3); /****************** SetRadius ******************/ - /**** md5 signature: 452d48523583bd00e647880614077dd6 ****/ + /**** md5 signature: be4d106826d464b8bee7d31497e6c4fa ****/ %feature("compactdefaultargs") SetRadius; - %feature("autodoc", "Assigns r the radius of the sphere. warnings : it is not forbidden to create a sphere with null radius. raises constructionerror if r < 0.0. + %feature("autodoc", "Assigns ther the radius of the sphere. warnings : it is not forbidden to create a sphere with null radius. raises constructionerror if ther < 0.0. Parameters ---------- -R: float +theR: float Returns ------- None ") SetRadius; - void SetRadius(const Standard_Real R); + void SetRadius(const Standard_Real theR); /****************** Transform ******************/ - /**** md5 signature: 45ee6a37cbc92ff06bd17b5653f32913 ****/ + /**** md5 signature: 0737a7286be728220e1a55ba0d6eafc3 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") Transform; - void Transform(const gp_Trsf & T); + void Transform(const gp_Trsf & theT); /****************** Transformed ******************/ - /**** md5 signature: 2d1a460a3c470b5ba1330c957be01438 ****/ + /**** md5 signature: 71dca805732ae4b7ad43addc5dc49ab8 ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms a sphere with the transformation t from class trsf. + %feature("autodoc", "Transforms a sphere with the transformation thet from class trsf. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- gp_Sphere ") Transformed; - gp_Sphere Transformed(const gp_Trsf & T); + gp_Sphere Transformed(const gp_Trsf & theT); /****************** Translate ******************/ - /**** md5 signature: b3667af07c9a238180bc31cc15803f78 ****/ + /**** md5 signature: 0187bd9a09d9b334477a40e96047e03a ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- None ") Translate; - void Translate(const gp_Vec & V); + void Translate(const gp_Vec & theV); /****************** Translate ******************/ - /**** md5 signature: 5053222ade9605c7c37102310f06f2e8 ****/ + /**** md5 signature: cde9f9ebda90da2c1df1a27191e7ab81 ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- None ") Translate; - void Translate(const gp_Pnt & P1, const gp_Pnt & P2); + void Translate(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** Translated ******************/ - /**** md5 signature: ead19d106198a3daf20637efa461c847 ****/ + /**** md5 signature: 3b7775242f90986092f5ea95e5889222 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a sphere in the direction of the vector v. the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "Translates a sphere in the direction of the vector thev. the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- gp_Sphere ") Translated; - gp_Sphere Translated(const gp_Vec & V); + gp_Sphere Translated(const gp_Vec & theV); /****************** Translated ******************/ - /**** md5 signature: 00a4973c344d6db8f3031123478a23e8 ****/ + /**** md5 signature: d1aa99cb24e9c452cb12a5c8c62a475a ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a sphere from the point p1 to the point p2. + %feature("autodoc", "Translates a sphere from the point thep1 to the point thep2. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- gp_Sphere ") Translated; - gp_Sphere Translated(const gp_Pnt & P1, const gp_Pnt & P2); + gp_Sphere Translated(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** UReverse ******************/ - /**** md5 signature: abf35d5ee439e7b6d5054caae87282cf ****/ + /**** md5 signature: b0197b2ee987c6cd2138becb024e1db6 ****/ %feature("compactdefaultargs") UReverse; %feature("autodoc", "Reverses the u parametrization of the sphere reversing the yaxis. @@ -15340,7 +15344,7 @@ None void UReverse(); /****************** VReverse ******************/ - /**** md5 signature: 01a05d129bc344a1e2870352e479923d ****/ + /**** md5 signature: 4d0389515240266be0c86e204c81b7a9 ****/ %feature("compactdefaultargs") VReverse; %feature("autodoc", "Reverses the v parametrization of the sphere reversing the zaxis. @@ -15351,7 +15355,7 @@ None void VReverse(); /****************** Volume ******************/ - /**** md5 signature: 09f69eb56723243a302bd3839799847b ****/ + /**** md5 signature: 3d99563b1983002307bec20217cc20c8 ****/ %feature("compactdefaultargs") Volume; %feature("autodoc", "Computes the volume of the sphere. @@ -15362,7 +15366,7 @@ float Standard_Real Volume(); /****************** XAxis ******************/ - /**** md5 signature: 33f98d138ae3ce92d202330aa4ae814d ****/ + /**** md5 signature: 900acbd3949b81ee383c3b457e95c597 ****/ %feature("compactdefaultargs") XAxis; %feature("autodoc", "Returns the axis x of the sphere. @@ -15373,7 +15377,7 @@ gp_Ax1 gp_Ax1 XAxis(); /****************** YAxis ******************/ - /**** md5 signature: b471d966aca0b452073c5d55f8f5e027 ****/ + /**** md5 signature: 8db99d563f8cc2fa33e80ece09869c5c ****/ %feature("compactdefaultargs") YAxis; %feature("autodoc", "Returns the axis y of the sphere. @@ -15398,7 +15402,7 @@ gp_Ax1 class gp_Torus { public: /****************** gp_Torus ******************/ - /**** md5 signature: b8b97b042b5c52a5b6588a0daf923e14 ****/ + /**** md5 signature: b1b979ff943931fcf91b4a8e9becb529 ****/ %feature("compactdefaultargs") gp_Torus; %feature("autodoc", "Creates an indefinite torus. @@ -15409,24 +15413,24 @@ None gp_Torus(); /****************** gp_Torus ******************/ - /**** md5 signature: 67c6d04618551e27fc6e3723983ffed7 ****/ + /**** md5 signature: 23dbfcfa62b5bd0787a6845547f399ae ****/ %feature("compactdefaultargs") gp_Torus; - %feature("autodoc", "A torus centered on the origin of coordinate system a3, with major radius majorradius and minor radius minorradius, and with the reference plane defined by the origin, the 'x direction' and the 'y direction' of a3. warnings : it is not forbidden to create a torus with majorradius = minorradius = 0.0 raises constructionerror if minorradius < 0.0 or if majorradius < 0.0. + %feature("autodoc", "A torus centered on the origin of coordinate system thea3, with major radius themajorradius and minor radius theminorradius, and with the reference plane defined by the origin, the 'x direction' and the 'y direction' of thea3. warnings : it is not forbidden to create a torus with themajorradius = theminorradius = 0.0 raises constructionerror if theminorradius < 0.0 or if themajorradius < 0.0. Parameters ---------- -A3: gp_Ax3 -MajorRadius: float -MinorRadius: float +theA3: gp_Ax3 +theMajorRadius: float +theMinorRadius: float Returns ------- None ") gp_Torus; - gp_Torus(const gp_Ax3 & A3, const Standard_Real MajorRadius, const Standard_Real MinorRadius); + gp_Torus(const gp_Ax3 & theA3, const Standard_Real theMajorRadius, const Standard_Real theMinorRadius); /****************** Area ******************/ - /**** md5 signature: a514cbcf0bd2f53e9374f58dcecded92 ****/ + /**** md5 signature: c02bdde385c5c793a22800891df9b9cd ****/ %feature("compactdefaultargs") Area; %feature("autodoc", "Computes the area of the torus. @@ -15437,7 +15441,7 @@ float Standard_Real Area(); /****************** Axis ******************/ - /**** md5 signature: cb9b52ff887b682f8bfc1eb2f646705a ****/ + /**** md5 signature: 8e27675ecbe6e648730266788c8e255c ****/ %feature("compactdefaultargs") Axis; %feature("autodoc", "Returns the symmetry axis of the torus. @@ -15448,22 +15452,22 @@ gp_Ax1 const gp_Ax1 Axis(); /****************** Coefficients ******************/ - /**** md5 signature: f3843308545d4e3af26668e295f3d035 ****/ + /**** md5 signature: 0a0c060f241af6d7d31073b1da484ffd ****/ %feature("compactdefaultargs") Coefficients; - %feature("autodoc", "Computes the coefficients of the implicit equation of the surface in the absolute cartesian coordinate system: coef(1) * x^4 + coef(2) * y^4 + coef(3) * z^4 + coef(4) * x^3 * y + coef(5) * x^3 * z + coef(6) * y^3 * x + coef(7) * y^3 * z + coef(8) * z^3 * x + coef(9) * z^3 * y + coef(10) * x^2 * y^2 + coef(11) * x^2 * z^2 + coef(12) * y^2 * z^2 + coef(13) * x^2 * y * z + coef(14) * x * y^2 * z + coef(15) * x * y * z^2 + coef(16) * x^3 + coef(17) * y^3 + coef(18) * z^3 + coef(19) * x^2 * y + coef(20) * x^2 * z + coef(21) * y^2 * x + coef(22) * y^2 * z + coef(23) * z^2 * x + coef(24) * z^2 * y + coef(25) * x * y * z + coef(26) * x^2 + coef(27) * y^2 + coef(28) * z^2 + coef(29) * x * y + coef(30) * x * z + coef(31) * y * z + coef(32) * x + coef(33) * y + coef(34) * z + coef(35) = 0.0 raises dimensionerror if the length of coef is lower than 35. + %feature("autodoc", "Computes the coefficients of the implicit equation of the surface in the absolute cartesian coordinate system: @code coef(1) * x^4 + coef(2) * y^4 + coef(3) * z^4 + coef(4) * x^3 * y + coef(5) * x^3 * z + coef(6) * y^3 * x + coef(7) * y^3 * z + coef(8) * z^3 * x + coef(9) * z^3 * y + coef(10) * x^2 * y^2 + coef(11) * x^2 * z^2 + coef(12) * y^2 * z^2 + coef(13) * x^2 * y * z + coef(14) * x * y^2 * z + coef(15) * x * y * z^2 + coef(16) * x^3 + coef(17) * y^3 + coef(18) * z^3 + coef(19) * x^2 * y + coef(20) * x^2 * z + coef(21) * y^2 * x + coef(22) * y^2 * z + coef(23) * z^2 * x + coef(24) * z^2 * y + coef(25) * x * y * z + coef(26) * x^2 + coef(27) * y^2 + coef(28) * z^2 + coef(29) * x * y + coef(30) * x * z + coef(31) * y * z + coef(32) * x + coef(33) * y + coef(34) * z + coef(35) = 0.0 @endcode raises dimensionerror if the length of thecoef is lower than 35. Parameters ---------- -Coef: TColStd_Array1OfReal +theCoef: TColStd_Array1OfReal Returns ------- None ") Coefficients; - void Coefficients(TColStd_Array1OfReal & Coef); + void Coefficients(TColStd_Array1OfReal & theCoef); /****************** Direct ******************/ - /**** md5 signature: 33e4e96f61de8e23c989d6f9aec7d457 ****/ + /**** md5 signature: 2c90be540a5bf9418e7461f7f76c970a ****/ %feature("compactdefaultargs") Direct; %feature("autodoc", "Returns true if the ax3, the local coordinate system of this torus, is right handed. @@ -15474,7 +15478,7 @@ bool Standard_Boolean Direct(); /****************** Location ******************/ - /**** md5 signature: 42040ad2ed401b7e80bf90e4b6b5f418 ****/ + /**** md5 signature: becd3d5ba73b438c501a139df51b6b7f ****/ %feature("compactdefaultargs") Location; %feature("autodoc", "Returns the torus's location. @@ -15485,7 +15489,7 @@ gp_Pnt const gp_Pnt Location(); /****************** MajorRadius ******************/ - /**** md5 signature: e961bb81456f4d0a6154d0e9401e1ce8 ****/ + /**** md5 signature: 128082d838650d89e5451fc2ec2cdd95 ****/ %feature("compactdefaultargs") MajorRadius; %feature("autodoc", "Returns the major radius of the torus. @@ -15496,7 +15500,7 @@ float Standard_Real MajorRadius(); /****************** MinorRadius ******************/ - /**** md5 signature: e1383e2287a25901af1e2b42cc95af4d ****/ + /**** md5 signature: 5a903e1e296cb85037297fddc27e2870 ****/ %feature("compactdefaultargs") MinorRadius; %feature("autodoc", "Returns the minor radius of the torus. @@ -15507,97 +15511,97 @@ float Standard_Real MinorRadius(); /****************** Mirror ******************/ - /**** md5 signature: b133f2e6e1c74f672a216a0094bdfda6 ****/ + /**** md5 signature: 095878518b088b42d55c3da09f68a84c ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") Mirror; - void Mirror(const gp_Pnt & P); + void Mirror(const gp_Pnt & theP); /****************** Mirror ******************/ - /**** md5 signature: d1a0189a98d756bd9e5b51b4ae49992a ****/ + /**** md5 signature: cfb16cae08525c5f4ab330102e0377d4 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") Mirror; - void Mirror(const gp_Ax1 & A1); + void Mirror(const gp_Ax1 & theA1); /****************** Mirror ******************/ - /**** md5 signature: 874cde0169043be133e205e960c3ca57 ****/ + /**** md5 signature: ad34943401a2334beed8ccc79094d8df ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") Mirror; - void Mirror(const gp_Ax2 & A2); + void Mirror(const gp_Ax2 & theA2); /****************** Mirrored ******************/ - /**** md5 signature: 3cd892460ad0ff5200f0fee6e9fb5954 ****/ + /**** md5 signature: 641bd8e6c87d2e800ec87720a0d8d35d ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a torus with respect to the point p which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of a torus with respect to the point thep which is the center of the symmetry. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- gp_Torus ") Mirrored; - gp_Torus Mirrored(const gp_Pnt & P); + gp_Torus Mirrored(const gp_Pnt & theP); /****************** Mirrored ******************/ - /**** md5 signature: e3646debc1ef6aa780856d482104a451 ****/ + /**** md5 signature: ccacb6e90bd4de7e389afd7365fcd2fc ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a torus with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- gp_Torus ") Mirrored; - gp_Torus Mirrored(const gp_Ax1 & A1); + gp_Torus Mirrored(const gp_Ax1 & theA1); /****************** Mirrored ******************/ - /**** md5 signature: 49bd16952885af8df050070235b63c39 ****/ + /**** md5 signature: d11a538b0495a53b2b861aa239326232 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a torus with respect to a plane. the axis placement a2 locates the plane of the of the symmetry : (location, xdirection, ydirection). + %feature("autodoc", "Performs the symmetrical transformation of a torus with respect to a plane. the axis placement thea2 locates the plane of the of the symmetry : (location, xdirection, ydirection). Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- gp_Torus ") Mirrored; - gp_Torus Mirrored(const gp_Ax2 & A2); + gp_Torus Mirrored(const gp_Ax2 & theA2); /****************** Position ******************/ - /**** md5 signature: 68613464f15b3681020927244b13614a ****/ + /**** md5 signature: c702d3a208cf0124b56544ef1f5c6ae7 ****/ %feature("compactdefaultargs") Position; %feature("autodoc", "Returns the local coordinates system of the torus. @@ -15608,238 +15612,238 @@ gp_Ax3 const gp_Ax3 Position(); /****************** Rotate ******************/ - /**** md5 signature: 12c4967f27a0900e4176252164d2f2ce ****/ + /**** md5 signature: 424ab82daf880655bff8da4ef682e64b ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Ax1 & A1, const Standard_Real Ang); + void Rotate(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: 63c6ce6f9847836420b2dfdfe8ef7db2 ****/ + /**** md5 signature: 7cd0037c869861e7c4984ff8cea1a0dd ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates a torus. a1 is the axis of the rotation. ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates a torus. thea1 is the axis of the rotation. theang is the angular value of the rotation in radians. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- gp_Torus ") Rotated; - gp_Torus Rotated(const gp_Ax1 & A1, const Standard_Real Ang); + gp_Torus Rotated(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: e66fc526c4232f21fb4238a81292d522 ****/ + /**** md5 signature: a931b3c1f3cc70761b0f4bcbe2fc2ef0 ****/ %feature("compactdefaultargs") Scale; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- None ") Scale; - void Scale(const gp_Pnt & P, const Standard_Real S); + void Scale(const gp_Pnt & theP, const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: 023289c427d1ae9537decd18f9d7f05c ****/ + /**** md5 signature: 82dd7e80c01ce8b1d7d2aebbb8fe7dbc ****/ %feature("compactdefaultargs") Scaled; %feature("autodoc", "Scales a torus. s is the scaling value. the absolute value of s is used to scale the torus. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- gp_Torus ") Scaled; - gp_Torus Scaled(const gp_Pnt & P, const Standard_Real S); + gp_Torus Scaled(const gp_Pnt & theP, const Standard_Real theS); /****************** SetAxis ******************/ - /**** md5 signature: 4f1ae44e92ff7b1da601b2ca71a3a58a ****/ + /**** md5 signature: 23e0b01de6336ec5c57ea6909e327d35 ****/ %feature("compactdefaultargs") SetAxis; - %feature("autodoc", "Modifies this torus, by redefining its local coordinate system so that: - its origin and 'main direction' become those of the axis a1 (the 'x direction' and 'y direction' are then recomputed). raises constructionerror if the direction of a1 is parallel to the 'xdirection' of the coordinate system of the toroidal surface. + %feature("autodoc", "Modifies this torus, by redefining its local coordinate system so that: - its origin and 'main direction' become those of the axis thea1 (the 'x direction' and 'y direction' are then recomputed). raises constructionerror if the direction of thea1 is parallel to the 'xdirection' of the coordinate system of the toroidal surface. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") SetAxis; - void SetAxis(const gp_Ax1 & A1); + void SetAxis(const gp_Ax1 & theA1); /****************** SetLocation ******************/ - /**** md5 signature: e697bd81202b5a89ce79ee03acd13d7c ****/ + /**** md5 signature: 549208ae587d601427fb98d16d4de1b7 ****/ %feature("compactdefaultargs") SetLocation; %feature("autodoc", "Changes the location of the torus. Parameters ---------- -Loc: gp_Pnt +theLoc: gp_Pnt Returns ------- None ") SetLocation; - void SetLocation(const gp_Pnt & Loc); + void SetLocation(const gp_Pnt & theLoc); /****************** SetMajorRadius ******************/ - /**** md5 signature: 5b6d39118ca624402ca904f240869d93 ****/ + /**** md5 signature: 847f370a77fa02a8bf45fa2b00b28b74 ****/ %feature("compactdefaultargs") SetMajorRadius; - %feature("autodoc", "Assigns value to the major radius of this torus. raises constructionerror if majorradius - minorradius <= resolution(). + %feature("autodoc", "Assigns value to the major radius of this torus. raises constructionerror if themajorradius - minorradius <= resolution(). Parameters ---------- -MajorRadius: float +theMajorRadius: float Returns ------- None ") SetMajorRadius; - void SetMajorRadius(const Standard_Real MajorRadius); + void SetMajorRadius(const Standard_Real theMajorRadius); /****************** SetMinorRadius ******************/ - /**** md5 signature: 55b33932324c77b3c1e82a433bb9350f ****/ + /**** md5 signature: 2bb295e6e4f7e9ad627ec256d511ddce ****/ %feature("compactdefaultargs") SetMinorRadius; - %feature("autodoc", "Assigns value to the minor radius of this torus. raises constructionerror if minorradius < 0.0 or if majorradius - minorradius <= resolution from gp. + %feature("autodoc", "Assigns value to the minor radius of this torus. raises constructionerror if theminorradius < 0.0 or if majorradius - theminorradius <= resolution from gp. Parameters ---------- -MinorRadius: float +theMinorRadius: float Returns ------- None ") SetMinorRadius; - void SetMinorRadius(const Standard_Real MinorRadius); + void SetMinorRadius(const Standard_Real theMinorRadius); /****************** SetPosition ******************/ - /**** md5 signature: a135fc8d2ccb75941a304eed1c57e31d ****/ + /**** md5 signature: c788767c1fc0ca73bdf3541037626780 ****/ %feature("compactdefaultargs") SetPosition; %feature("autodoc", "Changes the local coordinate system of the surface. Parameters ---------- -A3: gp_Ax3 +theA3: gp_Ax3 Returns ------- None ") SetPosition; - void SetPosition(const gp_Ax3 & A3); + void SetPosition(const gp_Ax3 & theA3); /****************** Transform ******************/ - /**** md5 signature: 45ee6a37cbc92ff06bd17b5653f32913 ****/ + /**** md5 signature: 0737a7286be728220e1a55ba0d6eafc3 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") Transform; - void Transform(const gp_Trsf & T); + void Transform(const gp_Trsf & theT); /****************** Transformed ******************/ - /**** md5 signature: a7b0ae46f066ffaff4f308e5ab407c61 ****/ + /**** md5 signature: 163cb63b4e1664daa518145e11148598 ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms a torus with the transformation t from class trsf. + %feature("autodoc", "Transforms a torus with the transformation thet from class trsf. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- gp_Torus ") Transformed; - gp_Torus Transformed(const gp_Trsf & T); + gp_Torus Transformed(const gp_Trsf & theT); /****************** Translate ******************/ - /**** md5 signature: b3667af07c9a238180bc31cc15803f78 ****/ + /**** md5 signature: 0187bd9a09d9b334477a40e96047e03a ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- None ") Translate; - void Translate(const gp_Vec & V); + void Translate(const gp_Vec & theV); /****************** Translate ******************/ - /**** md5 signature: 5053222ade9605c7c37102310f06f2e8 ****/ + /**** md5 signature: cde9f9ebda90da2c1df1a27191e7ab81 ****/ %feature("compactdefaultargs") Translate; %feature("autodoc", "No available documentation. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- None ") Translate; - void Translate(const gp_Pnt & P1, const gp_Pnt & P2); + void Translate(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** Translated ******************/ - /**** md5 signature: dd1d054b4122018296d398fcb7d3f473 ****/ + /**** md5 signature: c291a2c8eb33cbe7cbe1a744213b8f17 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a torus in the direction of the vector v. the magnitude of the translation is the vector's magnitude. + %feature("autodoc", "Translates a torus in the direction of the vector thev. the magnitude of the translation is the vector's magnitude. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- gp_Torus ") Translated; - gp_Torus Translated(const gp_Vec & V); + gp_Torus Translated(const gp_Vec & theV); /****************** Translated ******************/ - /**** md5 signature: c9efe90de6ed10d06ef68f6b33d2b8bb ****/ + /**** md5 signature: f494e6671c4f91ca60714db72bceae40 ****/ %feature("compactdefaultargs") Translated; - %feature("autodoc", "Translates a torus from the point p1 to the point p2. + %feature("autodoc", "Translates a torus from the point thep1 to the point thep2. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- gp_Torus ") Translated; - gp_Torus Translated(const gp_Pnt & P1, const gp_Pnt & P2); + gp_Torus Translated(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** UReverse ******************/ - /**** md5 signature: abf35d5ee439e7b6d5054caae87282cf ****/ + /**** md5 signature: b0197b2ee987c6cd2138becb024e1db6 ****/ %feature("compactdefaultargs") UReverse; %feature("autodoc", "Reverses the u parametrization of the torus reversing the yaxis. @@ -15850,7 +15854,7 @@ None void UReverse(); /****************** VReverse ******************/ - /**** md5 signature: 01a05d129bc344a1e2870352e479923d ****/ + /**** md5 signature: 4d0389515240266be0c86e204c81b7a9 ****/ %feature("compactdefaultargs") VReverse; %feature("autodoc", "Reverses the v parametrization of the torus reversing the zaxis. @@ -15861,7 +15865,7 @@ None void VReverse(); /****************** Volume ******************/ - /**** md5 signature: 09f69eb56723243a302bd3839799847b ****/ + /**** md5 signature: 3d99563b1983002307bec20217cc20c8 ****/ %feature("compactdefaultargs") Volume; %feature("autodoc", "Computes the volume of the torus. @@ -15872,7 +15876,7 @@ float Standard_Real Volume(); /****************** XAxis ******************/ - /**** md5 signature: 33f98d138ae3ce92d202330aa4ae814d ****/ + /**** md5 signature: 900acbd3949b81ee383c3b457e95c597 ****/ %feature("compactdefaultargs") XAxis; %feature("autodoc", "Returns the axis x of the torus. @@ -15883,7 +15887,7 @@ gp_Ax1 gp_Ax1 XAxis(); /****************** YAxis ******************/ - /**** md5 signature: b471d966aca0b452073c5d55f8f5e027 ****/ + /**** md5 signature: 8db99d563f8cc2fa33e80ece09869c5c ****/ %feature("compactdefaultargs") YAxis; %feature("autodoc", "Returns the axis y of the torus. @@ -15919,19 +15923,19 @@ None gp_Trsf(); /****************** gp_Trsf ******************/ - /**** md5 signature: ff319e1df46aadd34b6bb57ed5a8adc4 ****/ + /**** md5 signature: 6add598973f1df2d0eb2b3ed0eccd65d ****/ %feature("compactdefaultargs") gp_Trsf; - %feature("autodoc", "Creates a 3d transformation from the 2d transformation t. the resulting transformation has a homogeneous vectorial part, v3, and a translation part, t3, built from t: a11 a12 0 a13 v3 = a21 a22 0 t3 = a23 0 0 1. 0 it also has the same scale factor as t. this guarantees (by projection) that the transformation which would be performed by t in a plane (2d space) is performed by the resulting transformation in the xoy plane of the 3d space, (i.e. in the plane defined by the origin (0., 0., 0.) and the vectors dx (1., 0., 0.), and dy (0., 1., 0.)). the scale factor is applied to the entire space. + %feature("autodoc", "Creates a 3d transformation from the 2d transformation thet. the resulting transformation has a homogeneous vectorial part, v3, and a translation part, t3, built from thet: a11 a12 0 a13 v3 = a21 a22 0 t3 = a23 0 0 1. 0 it also has the same scale factor as thet. this guarantees (by projection) that the transformation which would be performed by thet in a plane (2d space) is performed by the resulting transformation in the xoy plane of the 3d space, (i.e. in the plane defined by the origin (0., 0., 0.) and the vectors dx (1., 0., 0.), and dy (0., 1., 0.)). the scale factor is applied to the entire space. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- None ") gp_Trsf; - gp_Trsf(const gp_Trsf2d & T); + gp_Trsf(const gp_Trsf2d & theT); %feature("autodoc", "1"); @@ -15942,7 +15946,7 @@ None return s.str();} }; /****************** Form ******************/ - /**** md5 signature: 9bfbf058eebcd895fd3b29a4bba4ff05 ****/ + /**** md5 signature: f29bb1eb1523b456c279366338ab9947 ****/ %feature("compactdefaultargs") Form; %feature("autodoc", "Returns the nature of the transformation. it can be: an identity transformation, a rotation, a translation, a mirror transformation (relative to a point, an axis or a plane), a scaling transformation, or a compound transformation. @@ -15979,7 +15983,7 @@ gp_Quaternion gp_Quaternion GetRotation(); /****************** HVectorialPart ******************/ - /**** md5 signature: 9d5ac2039e694cad172914c9b0b47f35 ****/ + /**** md5 signature: e9352bf129ae39b98f78a562501e01bd ****/ %feature("compactdefaultargs") HVectorialPart; %feature("autodoc", "Computes the homogeneous vectorial part of the transformation. it is a 3*3 matrix which doesn't include the scale factor. in other words, the vectorial part of this transformation is equal to its homogeneous vectorial part, multiplied by the scale factor. the coefficients of this matrix must be multiplied by the scale factor to obtain the coefficients of the transformation. @@ -16016,9 +16020,9 @@ None void Invert(); /****************** Inverted ******************/ - /**** md5 signature: 0af22f80e92f934a325f524749a27b71 ****/ + /**** md5 signature: 8c8178aff8d9de38358efe4f66ee976d ****/ %feature("compactdefaultargs") Inverted; - %feature("autodoc", "Computes the reverse transformation raises an exception if the matrix of the transformation is not inversible, it means that the scale factor is lower or equal to resolution from package gp. computes the transformation composed with t and . in a c++ implementation you can also write tcomposed = * t. example : trsf t1, t2, tcomp; ............... tcomp = t2.multiplied(t1); // or (tcomp = t2 * t1) pnt p1(10.,3.,4.); pnt p2 = p1.transformed(tcomp); //using tcomp pnt p3 = p1.transformed(t1); //using t1 then t2 p3.transform(t2); // p3 = p2 !!!. + %feature("autodoc", "Computes the reverse transformation raises an exception if the matrix of the transformation is not inversible, it means that the scale factor is lower or equal to resolution from package gp. computes the transformation composed with t and . in a c++ implementation you can also write tcomposed = * t. example : @code gp_trsf t1, t2, tcomp; ............... tcomp = t2.multiplied(t1); // or (tcomp = t2 * t1) gp_pnt p1(10.,3.,4.); gp_pnt p2 = p1.transformed(tcomp); // using tcomp gp_pnt p3 = p1.transformed(t1); // using t1 then t2 p3.transform(t2); // p3 = p2 !!! @endcode. Returns ------- @@ -16027,7 +16031,7 @@ gp_Trsf gp_Trsf Inverted(); /****************** IsNegative ******************/ - /**** md5 signature: 526e6184e7b7162d8ef698149b1c8ce5 ****/ + /**** md5 signature: 4a3d241c868ecfc4b59898855c5acee1 ****/ %feature("compactdefaultargs") IsNegative; %feature("autodoc", "Returns true if the determinant of the vectorial part of this transformation is negative. @@ -16038,82 +16042,82 @@ bool Standard_Boolean IsNegative(); /****************** Multiplied ******************/ - /**** md5 signature: 89b92b3a39c58aebd18082edd25d666a ****/ + /**** md5 signature: a3abf3b187b687f3316b5161531d0cae ****/ %feature("compactdefaultargs") Multiplied; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- gp_Trsf ") Multiplied; - gp_Trsf Multiplied(const gp_Trsf & T); + gp_Trsf Multiplied(const gp_Trsf & theT); /****************** Multiply ******************/ - /**** md5 signature: bc915dbbebad2f35a4cfab175626a227 ****/ + /**** md5 signature: f7e5c9868b36738395306823c3477607 ****/ %feature("compactdefaultargs") Multiply; - %feature("autodoc", "Computes the transformation composed with and t. = * t. + %feature("autodoc", "Computes the transformation composed with and thet. = * thet. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") Multiply; - void Multiply(const gp_Trsf & T); + void Multiply(const gp_Trsf & theT); /****************** Power ******************/ - /**** md5 signature: 269b25031ee3626d57e26795a85486bb ****/ + /**** md5 signature: fe226a66f073d604b8a0d81d41f1ca71 ****/ %feature("compactdefaultargs") Power; %feature("autodoc", "No available documentation. Parameters ---------- -N: int +theN: int Returns ------- None ") Power; - void Power(const Standard_Integer N); + void Power(const Standard_Integer theN); /****************** Powered ******************/ - /**** md5 signature: 6e96fd771da7729ebceb97ff688f16a1 ****/ + /**** md5 signature: 44dee5a5c6288f8c7134fd01d64c4535 ****/ %feature("compactdefaultargs") Powered; - %feature("autodoc", "Computes the following composition of transformations * * .......* , n time. if n = 0 = identity if n < 0 = .inverse() *...........* .inverse(). //! raises if n < 0 and if the matrix of the transformation not inversible. + %feature("autodoc", "Computes the following composition of transformations * * .......* , then time. if then = 0 = identity if then < 0 = .inverse() *...........* .inverse(). //! raises if then < 0 and if the matrix of the transformation not inversible. Parameters ---------- -N: int +theN: int Returns ------- gp_Trsf ") Powered; - gp_Trsf Powered(const Standard_Integer N); + gp_Trsf Powered(const Standard_Integer theN); /****************** PreMultiply ******************/ - /**** md5 signature: d4d32a76005d5e4a96b92c51a22f3aa2 ****/ + /**** md5 signature: 42107802698e6c1a034595a950dbefa8 ****/ %feature("compactdefaultargs") PreMultiply; - %feature("autodoc", "Computes the transformation composed with and t. = t * . + %feature("autodoc", "Computes the transformation composed with and t. = thet * . Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") PreMultiply; - void PreMultiply(const gp_Trsf & T); + void PreMultiply(const gp_Trsf & theT); /****************** ScaleFactor ******************/ - /**** md5 signature: 67d4a7cfb2dd29c2b400060f1b45b408 ****/ + /**** md5 signature: bf80fcb76494dd02d25b2cd942a598b0 ****/ %feature("compactdefaultargs") ScaleFactor; %feature("autodoc", "Returns the scale factor. @@ -16124,255 +16128,255 @@ float Standard_Real ScaleFactor(); /****************** SetDisplacement ******************/ - /**** md5 signature: 9bf849b4599711f0b03637e4e716c209 ****/ + /**** md5 signature: bc729f850e51b221372c978f53e0e274 ****/ %feature("compactdefaultargs") SetDisplacement; - %feature("autodoc", "Modifies this transformation so that it transforms the coordinate system defined by fromsystem1 into the one defined by tosystem2. after this modification, this transformation transforms: - the origin of fromsystem1 into the origin of tosystem2, - the 'x direction' of fromsystem1 into the 'x direction' of tosystem2, - the 'y direction' of fromsystem1 into the 'y direction' of tosystem2, and - the 'main direction' of fromsystem1 into the 'main direction' of tosystem2. warning when you know the coordinates of a point in one coordinate system and you want to express these coordinates in another one, do not use the transformation resulting from this function. use the transformation that results from settransformation instead. setdisplacement and settransformation create related transformations: the vectorial part of one is the inverse of the vectorial part of the other. + %feature("autodoc", "Modifies this transformation so that it transforms the coordinate system defined by thefromsystem1 into the one defined by thetosystem2. after this modification, this transformation transforms: - the origin of thefromsystem1 into the origin of thetosystem2, - the 'x direction' of thefromsystem1 into the 'x direction' of thetosystem2, - the 'y direction' of thefromsystem1 into the 'y direction' of thetosystem2, and - the 'main direction' of thefromsystem1 into the 'main direction' of thetosystem2. warning when you know the coordinates of a point in one coordinate system and you want to express these coordinates in another one, do not use the transformation resulting from this function. use the transformation that results from settransformation instead. setdisplacement and settransformation create related transformations: the vectorial part of one is the inverse of the vectorial part of the other. Parameters ---------- -FromSystem1: gp_Ax3 -ToSystem2: gp_Ax3 +theFromSystem1: gp_Ax3 +theToSystem2: gp_Ax3 Returns ------- None ") SetDisplacement; - void SetDisplacement(const gp_Ax3 & FromSystem1, const gp_Ax3 & ToSystem2); + void SetDisplacement(const gp_Ax3 & theFromSystem1, const gp_Ax3 & theToSystem2); /****************** SetForm ******************/ - /**** md5 signature: 65354246303419aa6b6fa1be5cf42b84 ****/ + /**** md5 signature: f031458a253112c7113669d552558620 ****/ %feature("compactdefaultargs") SetForm; %feature("autodoc", "No available documentation. Parameters ---------- -P: gp_TrsfForm +theP: gp_TrsfForm Returns ------- None ") SetForm; - void SetForm(const gp_TrsfForm P); + void SetForm(const gp_TrsfForm theP); /****************** SetMirror ******************/ - /**** md5 signature: f79e1ea77fbdee1c320e31f1361c6730 ****/ + /**** md5 signature: 9ae229f07c38237a82abb04f8223ffd8 ****/ %feature("compactdefaultargs") SetMirror; - %feature("autodoc", "Makes the transformation into a symmetrical transformation. p is the center of the symmetry. + %feature("autodoc", "Makes the transformation into a symmetrical transformation. thep is the center of the symmetry. Parameters ---------- -P: gp_Pnt +theP: gp_Pnt Returns ------- None ") SetMirror; - void SetMirror(const gp_Pnt & P); + void SetMirror(const gp_Pnt & theP); /****************** SetMirror ******************/ - /**** md5 signature: 7066d9b31af98c9ea86817347daf465c ****/ + /**** md5 signature: 20f2e17deca99079b285391961ab328a ****/ %feature("compactdefaultargs") SetMirror; - %feature("autodoc", "Makes the transformation into a symmetrical transformation. a1 is the center of the axial symmetry. + %feature("autodoc", "Makes the transformation into a symmetrical transformation. thea1 is the center of the axial symmetry. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") SetMirror; - void SetMirror(const gp_Ax1 & A1); + void SetMirror(const gp_Ax1 & theA1); /****************** SetMirror ******************/ - /**** md5 signature: 2cac197a24c1c944e551f1729fc5c5a3 ****/ + /**** md5 signature: 2458ac702d5c513ec87af577e9535ef8 ****/ %feature("compactdefaultargs") SetMirror; - %feature("autodoc", "Makes the transformation into a symmetrical transformation. a2 is the center of the planar symmetry and defines the plane of symmetry by its origin, 'x direction' and 'y direction'. + %feature("autodoc", "Makes the transformation into a symmetrical transformation. thea2 is the center of the planar symmetry and defines the plane of symmetry by its origin, 'x direction' and 'y direction'. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") SetMirror; - void SetMirror(const gp_Ax2 & A2); + void SetMirror(const gp_Ax2 & theA2); /****************** SetRotation ******************/ - /**** md5 signature: e4f7150e32cd576cae0fcd176262eefe ****/ + /**** md5 signature: c40af8780de5829d9a6d529a528c17ac ****/ %feature("compactdefaultargs") SetRotation; - %feature("autodoc", "Changes the transformation into a rotation. a1 is the rotation axis and ang is the angular value of the rotation in radians. + %feature("autodoc", "Changes the transformation into a rotation. thea1 is the rotation axis and theang is the angular value of the rotation in radians. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- None ") SetRotation; - void SetRotation(const gp_Ax1 & A1, const Standard_Real Ang); + void SetRotation(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** SetRotation ******************/ - /**** md5 signature: 7d51e336d3737a06a70e6b5412ccae8f ****/ + /**** md5 signature: 987ac7613cdf0a3488f1e342439d9ee3 ****/ %feature("compactdefaultargs") SetRotation; %feature("autodoc", "Changes the transformation into a rotation defined by quaternion. note that rotation is performed around origin, i.e. no translation is involved. Parameters ---------- -R: gp_Quaternion +theR: gp_Quaternion Returns ------- None ") SetRotation; - void SetRotation(const gp_Quaternion & R); + void SetRotation(const gp_Quaternion & theR); /****************** SetRotationPart ******************/ - /**** md5 signature: ecee33d6b866206c8c2a38ba132d10cc ****/ + /**** md5 signature: 8c5113644708ca7c4e1104b931cda1ca ****/ %feature("compactdefaultargs") SetRotationPart; %feature("autodoc", "Replaces the rotation part with specified quaternion. Parameters ---------- -R: gp_Quaternion +theR: gp_Quaternion Returns ------- None ") SetRotationPart; - void SetRotationPart(const gp_Quaternion & R); + void SetRotationPart(const gp_Quaternion & theR); /****************** SetScale ******************/ - /**** md5 signature: bf33240be4dcb89b9e42c27b642a81bf ****/ + /**** md5 signature: 00b287ca07f8546ee0ae4a6a148df90f ****/ %feature("compactdefaultargs") SetScale; - %feature("autodoc", "Changes the transformation into a scale. p is the center of the scale and s is the scaling value. raises constructionerror if is null. + %feature("autodoc", "Changes the transformation into a scale. thep is the center of the scale and thes is the scaling value. raises constructionerror if is null. Parameters ---------- -P: gp_Pnt -S: float +theP: gp_Pnt +theS: float Returns ------- None ") SetScale; - void SetScale(const gp_Pnt & P, const Standard_Real S); + void SetScale(const gp_Pnt & theP, const Standard_Real theS); /****************** SetScaleFactor ******************/ - /**** md5 signature: da113cffaf2ef9a65380a09f05d05bb1 ****/ + /**** md5 signature: aafbc219c541a22e84af3131ca98c2be ****/ %feature("compactdefaultargs") SetScaleFactor; - %feature("autodoc", "Modifies the scale factor. raises constructionerror if s is null. + %feature("autodoc", "Modifies the scale factor. raises constructionerror if thes is null. Parameters ---------- -S: float +theS: float Returns ------- None ") SetScaleFactor; - void SetScaleFactor(const Standard_Real S); + void SetScaleFactor(const Standard_Real theS); /****************** SetTransformation ******************/ - /**** md5 signature: 1172606e4d13b47f0de8f2da05be4ded ****/ + /**** md5 signature: 24bd7f24f8983593be0b8a50fb19e976 ****/ %feature("compactdefaultargs") SetTransformation; - %feature("autodoc", "Modifies this transformation so that it transforms the coordinates of any point, (x, y, z), relative to a source coordinate system into the coordinates (x', y', z') which are relative to a target coordinate system, but which represent the same point the transformation is from the coordinate system 'fromsystem1' to the coordinate system 'tosystem2'. example : in a c++ implementation : real x1, y1, z1; // are the coordinates of a point in the // local system fromsystem1 real x2, y2, z2; // are the coordinates of a point in the // local system tosystem2 gp_pnt p1 (x1, y1, z1) trsf t; t.settransformation (fromsystem1, tosystem2); gp_pnt p2 = p1.transformed (t); p2.coord (x2, y2, z2);. + %feature("autodoc", "Modifies this transformation so that it transforms the coordinates of any point, (x, y, z), relative to a source coordinate system into the coordinates (x', y', z') which are relative to a target coordinate system, but which represent the same point the transformation is from the coordinate system 'thefromsystem1' to the coordinate system 'thetosystem2'. example : @code gp_ax3 thefromsystem1, thetosystem2; double x1, y1, z1; // are the coordinates of a point in the local system thefromsystem1 double x2, y2, z2; // are the coordinates of a point in the local system thetosystem2 gp_pnt p1 (x1, y1, z1) gp_trsf t; t.settransformation (thefromsystem1, thetosystem2); gp_pnt p2 = p1.transformed (t); p2.coord (x2, y2, z2); @endcode. Parameters ---------- -FromSystem1: gp_Ax3 -ToSystem2: gp_Ax3 +theFromSystem1: gp_Ax3 +theToSystem2: gp_Ax3 Returns ------- None ") SetTransformation; - void SetTransformation(const gp_Ax3 & FromSystem1, const gp_Ax3 & ToSystem2); + void SetTransformation(const gp_Ax3 & theFromSystem1, const gp_Ax3 & theToSystem2); /****************** SetTransformation ******************/ - /**** md5 signature: f2a94f640dbd08deb586685735aab53b ****/ + /**** md5 signature: 0745462ab5e4d17def9aec346b35bea2 ****/ %feature("compactdefaultargs") SetTransformation; - %feature("autodoc", "Modifies this transformation so that it transforms the coordinates of any point, (x, y, z), relative to a source coordinate system into the coordinates (x', y', z') which are relative to a target coordinate system, but which represent the same point the transformation is from the default coordinate system {p(0.,0.,0.), vx (1.,0.,0.), vy (0.,1.,0.), vz (0., 0. ,1.) } to the local coordinate system defined with the ax3 tosystem. use in the same way as the previous method. fromsystem1 is defaulted to the absolute coordinate system. + %feature("autodoc", "Modifies this transformation so that it transforms the coordinates of any point, (x, y, z), relative to a source coordinate system into the coordinates (x', y', z') which are relative to a target coordinate system, but which represent the same point the transformation is from the default coordinate system @code {p(0.,0.,0.), vx (1.,0.,0.), vy (0.,1.,0.), vz (0., 0. ,1.) } @endcode to the local coordinate system defined with the ax3 thetosystem. use in the same way as the previous method. fromsystem1 is defaulted to the absolute coordinate system. Parameters ---------- -ToSystem: gp_Ax3 +theToSystem: gp_Ax3 Returns ------- None ") SetTransformation; - void SetTransformation(const gp_Ax3 & ToSystem); + void SetTransformation(const gp_Ax3 & theToSystem); /****************** SetTransformation ******************/ - /**** md5 signature: 8194ad800cc651e635a541abc46fe606 ****/ + /**** md5 signature: 3a12cdc1c4650d167b7f7d3a0fd125d8 ****/ %feature("compactdefaultargs") SetTransformation; %feature("autodoc", "Sets transformation by directly specified rotation and translation. Parameters ---------- R: gp_Quaternion -T: gp_Vec +theT: gp_Vec Returns ------- None ") SetTransformation; - void SetTransformation(const gp_Quaternion & R, const gp_Vec & T); + void SetTransformation(const gp_Quaternion & R, const gp_Vec & theT); /****************** SetTranslation ******************/ - /**** md5 signature: 3c31d10ba59c354954be3d02e796470a ****/ + /**** md5 signature: 0b85665c662d04c53b16d4317c473334 ****/ %feature("compactdefaultargs") SetTranslation; - %feature("autodoc", "Changes the transformation into a translation. v is the vector of the translation. + %feature("autodoc", "Changes the transformation into a translation. thev is the vector of the translation. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- None ") SetTranslation; - void SetTranslation(const gp_Vec & V); + void SetTranslation(const gp_Vec & theV); /****************** SetTranslation ******************/ - /**** md5 signature: 95f25a5655da9a70e74001ee732a80d6 ****/ + /**** md5 signature: 370a79bc00245ee59924d61fcdf0c54c ****/ %feature("compactdefaultargs") SetTranslation; - %feature("autodoc", "Makes the transformation into a translation where the translation vector is the vector (p1, p2) defined from point p1 to point p2. + %feature("autodoc", "Makes the transformation into a translation where the translation vector is the vector (thep1, thep2) defined from point thep1 to point thep2. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- None ") SetTranslation; - void SetTranslation(const gp_Pnt & P1, const gp_Pnt & P2); + void SetTranslation(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** SetTranslationPart ******************/ - /**** md5 signature: 144e7417a5d30b2f71608f942b5e11c9 ****/ + /**** md5 signature: 1cfc8ffcc8a8b184c292bd08f8dec8d8 ****/ %feature("compactdefaultargs") SetTranslationPart; - %feature("autodoc", "Replaces the translation vector with the vector v. + %feature("autodoc", "Replaces the translation vector with the vector thev. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- None ") SetTranslationPart; - void SetTranslationPart(const gp_Vec & V); + void SetTranslationPart(const gp_Vec & theV); /****************** SetValues ******************/ /**** md5 signature: 2824051ae13eff24c35e73ba100d22d0 ****/ %feature("compactdefaultargs") SetValues; - %feature("autodoc", "Sets the coefficients of the transformation. the transformation of the point x,y,z is the point x',y',z' with : //! x' = a11 x + a12 y + a13 z + a14 y' = a21 x + a22 y + a23 z + a24 z' = a31 x + a32 y + a33 z + a34 //! the method value(i,j) will return aij. raises constructionerror if the determinant of the aij is null. the matrix is orthogonalized before future using. + %feature("autodoc", "Sets the coefficients of the transformation. the transformation of the point x,y,z is the point x',y',z' with : @code x' = a11 x + a12 y + a13 z + a14 y' = a21 x + a22 y + a23 z + a24 z' = a31 x + a32 y + a33 z + a34 @endcode the method value(i,j) will return aij. raises constructionerror if the determinant of the aij is null. the matrix is orthogonalized before future using. Parameters ---------- @@ -16396,7 +16400,7 @@ None void SetValues(const Standard_Real a11, const Standard_Real a12, const Standard_Real a13, const Standard_Real a14, const Standard_Real a21, const Standard_Real a22, const Standard_Real a23, const Standard_Real a24, const Standard_Real a31, const Standard_Real a32, const Standard_Real a33, const Standard_Real a34); /****************** Transforms ******************/ - /**** md5 signature: e55c1b0b3132b0094009ac78081a704b ****/ + /**** md5 signature: ba26ab7aff72ff32856094b1e250c94f ****/ %feature("compactdefaultargs") Transforms; %feature("autodoc", "No available documentation. @@ -16405,29 +16409,29 @@ Parameters Returns ------- -X: float -Y: float -Z: float +theX: float +theY: float +theZ: float ") Transforms; void Transforms(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); /****************** Transforms ******************/ - /**** md5 signature: 7c9a74fca6704e5441fbd1b45b0d2603 ****/ + /**** md5 signature: 8f9dd5cceda35c2463cf3d74007d1cb1 ****/ %feature("compactdefaultargs") Transforms; %feature("autodoc", "Transformation of a triplet xyz with a trsf. Parameters ---------- -Coord: gp_XYZ +theCoord: gp_XYZ Returns ------- None ") Transforms; - void Transforms(gp_XYZ & Coord); + void Transforms(gp_XYZ & theCoord); /****************** TranslationPart ******************/ - /**** md5 signature: 522a640cf54bd3f09fb41e692c8c176d ****/ + /**** md5 signature: 6e19b500ee29d7f16325476cae8b6aaf ****/ %feature("compactdefaultargs") TranslationPart; %feature("autodoc", "Returns the translation part of the transformation's matrix. @@ -16438,20 +16442,20 @@ gp_XYZ const gp_XYZ TranslationPart(); /****************** Value ******************/ - /**** md5 signature: 1f17b21423db514e298b820a9dd11211 ****/ + /**** md5 signature: de381dc023424482347f7e2b0c3a6975 ****/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the coefficients of the transformation's matrix. it is a 3 rows * 4 columns matrix. this coefficient includes the scale factor. raises outofranged if row < 1 or row > 3 or col < 1 or col > 4. + %feature("autodoc", "Returns the coefficients of the transformation's matrix. it is a 3 rows * 4 columns matrix. this coefficient includes the scale factor. raises outofranged if therow < 1 or therow > 3 or thecol < 1 or thecol > 4. Parameters ---------- -Row: int -Col: int +theRow: int +theCol: int Returns ------- float ") Value; - Standard_Real Value(const Standard_Integer Row, const Standard_Integer Col); + Standard_Real Value(const Standard_Integer theRow, const Standard_Integer theCol); /****************** VectorialPart ******************/ /**** md5 signature: bdd8d899188313a9c1b3691b370bb091 ****/ @@ -16465,19 +16469,19 @@ gp_Mat gp_Mat VectorialPart(); /****************** operator * ******************/ - /**** md5 signature: b5e0c5dd5461f3e088b7301ffbe546b4 ****/ + /**** md5 signature: b852c4112a776404e70a5d4e78b8784a ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- gp_Trsf ") operator *; - gp_Trsf operator *(const gp_Trsf & T); + gp_Trsf operator *(const gp_Trsf & theT); %extend{ @@ -16516,22 +16520,22 @@ None gp_Trsf2d(); /****************** gp_Trsf2d ******************/ - /**** md5 signature: 53fc95cc4a94621ba2c1184e8346eaea ****/ + /**** md5 signature: c6c9328acf9434f4dda10fa30184a1a2 ****/ %feature("compactdefaultargs") gp_Trsf2d; %feature("autodoc", "Creates a 2d transformation in the xy plane from a 3d transformation . Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") gp_Trsf2d; - gp_Trsf2d(const gp_Trsf & T); + gp_Trsf2d(const gp_Trsf & theT); /****************** Form ******************/ - /**** md5 signature: 9bfbf058eebcd895fd3b29a4bba4ff05 ****/ + /**** md5 signature: f29bb1eb1523b456c279366338ab9947 ****/ %feature("compactdefaultargs") Form; %feature("autodoc", "Returns the nature of the transformation. it can be an identity transformation, a rotation, a translation, a mirror (relative to a point or an axis), a scaling transformation, or a compound transformation. @@ -16542,7 +16546,7 @@ gp_TrsfForm gp_TrsfForm Form(); /****************** HVectorialPart ******************/ - /**** md5 signature: bd1f63761c4c14f4dfb772d30e566927 ****/ + /**** md5 signature: 9070d23625b58bfd13b4a1ac1f266cef ****/ %feature("compactdefaultargs") HVectorialPart; %feature("autodoc", "Returns the homogeneous vectorial part of the transformation. it is a 2*2 matrix which doesn't include the scale factor. the coefficients of this matrix must be multiplied by the scale factor to obtain the coefficients of the transformation. @@ -16564,7 +16568,7 @@ None void Invert(); /****************** Inverted ******************/ - /**** md5 signature: 3d081d8c57884a9afc0f1bd4f128a05e ****/ + /**** md5 signature: 4a87a39cc22573a261c142b1805b0bfd ****/ %feature("compactdefaultargs") Inverted; %feature("autodoc", "Computes the reverse transformation. raises an exception if the matrix of the transformation is not inversible, it means that the scale factor is lower or equal to resolution from package gp. @@ -16575,7 +16579,7 @@ gp_Trsf2d gp_Trsf2d Inverted(); /****************** IsNegative ******************/ - /**** md5 signature: 526e6184e7b7162d8ef698149b1c8ce5 ****/ + /**** md5 signature: 4a3d241c868ecfc4b59898855c5acee1 ****/ %feature("compactdefaultargs") IsNegative; %feature("autodoc", "Returns true if the determinant of the vectorial part of this transformation is negative.. @@ -16586,79 +16590,79 @@ bool Standard_Boolean IsNegative(); /****************** Multiplied ******************/ - /**** md5 signature: 1a9d8509663d4fa6bdf27ad8e94c9639 ****/ + /**** md5 signature: 0bae47e965ad147d9ddee6866d15b1be ****/ %feature("compactdefaultargs") Multiplied; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- gp_Trsf2d ") Multiplied; - gp_Trsf2d Multiplied(const gp_Trsf2d & T); + gp_Trsf2d Multiplied(const gp_Trsf2d & theT); /****************** Multiply ******************/ - /**** md5 signature: 857c5db7666b24a165df8dbbe22dff8a ****/ + /**** md5 signature: 83bd30efc23d272e5df01cfeb71d71a0 ****/ %feature("compactdefaultargs") Multiply; - %feature("autodoc", "Computes the transformation composed from and t. = * t. + %feature("autodoc", "Computes the transformation composed from and thet. = * thet. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- None ") Multiply; - void Multiply(const gp_Trsf2d & T); + void Multiply(const gp_Trsf2d & theT); /****************** Power ******************/ - /**** md5 signature: 269b25031ee3626d57e26795a85486bb ****/ + /**** md5 signature: fe226a66f073d604b8a0d81d41f1ca71 ****/ %feature("compactdefaultargs") Power; %feature("autodoc", "No available documentation. Parameters ---------- -N: int +theN: int Returns ------- None ") Power; - void Power(const Standard_Integer N); + void Power(const Standard_Integer theN); /****************** Powered ******************/ - /**** md5 signature: 74809284995a1c5be9d84a688691e939 ****/ + /**** md5 signature: 2f9e8990d35aa7f2e7b5d80c855a4931 ****/ %feature("compactdefaultargs") Powered; - %feature("autodoc", "Computes the following composition of transformations * * .......* , n time. if n = 0 = identity if n < 0 = .inverse() *...........* .inverse(). //! raises if n < 0 and if the matrix of the transformation not inversible. + %feature("autodoc", "Computes the following composition of transformations * * .......* , then time. if then = 0 = identity if then < 0 = .inverse() *...........* .inverse(). //! raises if then < 0 and if the matrix of the transformation not inversible. Parameters ---------- -N: int +theN: int Returns ------- gp_Trsf2d ") Powered; - gp_Trsf2d Powered(const Standard_Integer N); + gp_Trsf2d Powered(const Standard_Integer theN); /****************** PreMultiply ******************/ - /**** md5 signature: 30ae1d2a51ac1b0d453ef14ffdf4e12f ****/ + /**** md5 signature: 8eb748a68d09bdd778340085d327b3fc ****/ %feature("compactdefaultargs") PreMultiply; - %feature("autodoc", "Computes the transformation composed from and t. = t * . + %feature("autodoc", "Computes the transformation composed from and thet. = thet * . Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- None ") PreMultiply; - void PreMultiply(const gp_Trsf2d & T); + void PreMultiply(const gp_Trsf2d & theT); /****************** RotationPart ******************/ /**** md5 signature: 998e0caa47d024b1641265a66c85c396 ****/ @@ -16672,7 +16676,7 @@ float Standard_Real RotationPart(); /****************** ScaleFactor ******************/ - /**** md5 signature: 67d4a7cfb2dd29c2b400060f1b45b408 ****/ + /**** md5 signature: bf80fcb76494dd02d25b2cd942a598b0 ****/ %feature("compactdefaultargs") ScaleFactor; %feature("autodoc", "Returns the scale factor. @@ -16683,163 +16687,163 @@ float Standard_Real ScaleFactor(); /****************** SetMirror ******************/ - /**** md5 signature: b99a2a0975c5afd1079e68a54f4ee024 ****/ + /**** md5 signature: 388aadce60210db9d527f19a5a98b6ce ****/ %feature("compactdefaultargs") SetMirror; - %feature("autodoc", "Changes the transformation into a symmetrical transformation. p is the center of the symmetry. + %feature("autodoc", "Changes the transformation into a symmetrical transformation. thep is the center of the symmetry. Parameters ---------- -P: gp_Pnt2d +theP: gp_Pnt2d Returns ------- None ") SetMirror; - void SetMirror(const gp_Pnt2d & P); + void SetMirror(const gp_Pnt2d & theP); /****************** SetMirror ******************/ - /**** md5 signature: 09840925aa066f9e81dc705a4274f47c ****/ + /**** md5 signature: 485fdd406dbbef13d39717c7675b9756 ****/ %feature("compactdefaultargs") SetMirror; - %feature("autodoc", "Changes the transformation into a symmetrical transformation. a is the center of the axial symmetry. + %feature("autodoc", "Changes the transformation into a symmetrical transformation. thea is the center of the axial symmetry. Parameters ---------- -A: gp_Ax2d +theA: gp_Ax2d Returns ------- None ") SetMirror; - void SetMirror(const gp_Ax2d & A); + void SetMirror(const gp_Ax2d & theA); /****************** SetRotation ******************/ - /**** md5 signature: 04db1b532a5a3b4eb737b00808774dcc ****/ + /**** md5 signature: 601f5cab0dd42befb276d8a6bde69066 ****/ %feature("compactdefaultargs") SetRotation; - %feature("autodoc", "Changes the transformation into a rotation. p is the rotation's center and ang is the angular value of the rotation in radian. + %feature("autodoc", "Changes the transformation into a rotation. thep is the rotation's center and theang is the angular value of the rotation in radian. Parameters ---------- -P: gp_Pnt2d -Ang: float +theP: gp_Pnt2d +theAng: float Returns ------- None ") SetRotation; - void SetRotation(const gp_Pnt2d & P, const Standard_Real Ang); + void SetRotation(const gp_Pnt2d & theP, const Standard_Real theAng); /****************** SetScale ******************/ - /**** md5 signature: 72fce8983d864dc21ee0c17f7fcfe769 ****/ + /**** md5 signature: d2cc5529eebc2d6fdfccc7345b08b22c ****/ %feature("compactdefaultargs") SetScale; - %feature("autodoc", "Changes the transformation into a scale. p is the center of the scale and s is the scaling value. + %feature("autodoc", "Changes the transformation into a scale. thep is the center of the scale and thes is the scaling value. Parameters ---------- -P: gp_Pnt2d -S: float +theP: gp_Pnt2d +theS: float Returns ------- None ") SetScale; - void SetScale(const gp_Pnt2d & P, const Standard_Real S); + void SetScale(const gp_Pnt2d & theP, const Standard_Real theS); /****************** SetScaleFactor ******************/ - /**** md5 signature: da113cffaf2ef9a65380a09f05d05bb1 ****/ + /**** md5 signature: aafbc219c541a22e84af3131ca98c2be ****/ %feature("compactdefaultargs") SetScaleFactor; %feature("autodoc", "Modifies the scale factor. Parameters ---------- -S: float +theS: float Returns ------- None ") SetScaleFactor; - void SetScaleFactor(const Standard_Real S); + void SetScaleFactor(const Standard_Real theS); /****************** SetTransformation ******************/ - /**** md5 signature: 0af598d076d78b705fb5e9c4db627afa ****/ + /**** md5 signature: 648b6e972dffc1e8307f6e821456e152 ****/ %feature("compactdefaultargs") SetTransformation; - %feature("autodoc", "Changes a transformation allowing passage from the coordinate system 'fromsystem1' to the coordinate system 'tosystem2'. + %feature("autodoc", "Changes a transformation allowing passage from the coordinate system 'thefromsystem1' to the coordinate system 'thetosystem2'. Parameters ---------- -FromSystem1: gp_Ax2d -ToSystem2: gp_Ax2d +theFromSystem1: gp_Ax2d +theToSystem2: gp_Ax2d Returns ------- None ") SetTransformation; - void SetTransformation(const gp_Ax2d & FromSystem1, const gp_Ax2d & ToSystem2); + void SetTransformation(const gp_Ax2d & theFromSystem1, const gp_Ax2d & theToSystem2); /****************** SetTransformation ******************/ - /**** md5 signature: 55e7631d5275e21b43e271ccbadbacb9 ****/ + /**** md5 signature: 9db880503eb061f6e7c09a97e2f0ae2e ****/ %feature("compactdefaultargs") SetTransformation; - %feature("autodoc", "Changes the transformation allowing passage from the basic coordinate system {p(0.,0.,0.), vx (1.,0.,0.), vy (0.,1.,0.)} to the local coordinate system defined with the ax2d tosystem. + %feature("autodoc", "Changes the transformation allowing passage from the basic coordinate system {p(0.,0.,0.), vx (1.,0.,0.), vy (0.,1.,0.)} to the local coordinate system defined with the ax2d thetosystem. Parameters ---------- -ToSystem: gp_Ax2d +theToSystem: gp_Ax2d Returns ------- None ") SetTransformation; - void SetTransformation(const gp_Ax2d & ToSystem); + void SetTransformation(const gp_Ax2d & theToSystem); /****************** SetTranslation ******************/ - /**** md5 signature: 230c4cb205b25788ec6ee808ed25cf44 ****/ + /**** md5 signature: 194545521d4415e63a0535fe8e484f50 ****/ %feature("compactdefaultargs") SetTranslation; - %feature("autodoc", "Changes the transformation into a translation. v is the vector of the translation. + %feature("autodoc", "Changes the transformation into a translation. thev is the vector of the translation. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- None ") SetTranslation; - void SetTranslation(const gp_Vec2d & V); + void SetTranslation(const gp_Vec2d & theV); /****************** SetTranslation ******************/ - /**** md5 signature: d386103debd5645a0cbdd65157e0552f ****/ + /**** md5 signature: 6bdd6819723c7c3ba451dc5ee82dbe23 ****/ %feature("compactdefaultargs") SetTranslation; - %feature("autodoc", "Makes the transformation into a translation from the point p1 to the point p2. + %feature("autodoc", "Makes the transformation into a translation from the point thep1 to the point thep2. Parameters ---------- -P1: gp_Pnt2d -P2: gp_Pnt2d +theP1: gp_Pnt2d +theP2: gp_Pnt2d Returns ------- None ") SetTranslation; - void SetTranslation(const gp_Pnt2d & P1, const gp_Pnt2d & P2); + void SetTranslation(const gp_Pnt2d & theP1, const gp_Pnt2d & theP2); /****************** SetTranslationPart ******************/ - /**** md5 signature: c6610a4e9b4bbda8b4b630616d1f2275 ****/ + /**** md5 signature: 90998b7bd6da80ae9d5a13d99cde960c ****/ %feature("compactdefaultargs") SetTranslationPart; - %feature("autodoc", "Replaces the translation vector with v. + %feature("autodoc", "Replaces the translation vector with thev. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- None ") SetTranslationPart; - void SetTranslationPart(const gp_Vec2d & V); + void SetTranslationPart(const gp_Vec2d & theV); /****************** SetValues ******************/ /**** md5 signature: 03457aff397202bdadcf7b24752bfb08 ****/ %feature("compactdefaultargs") SetValues; - %feature("autodoc", "Sets the coefficients of the transformation. the transformation of the point x,y is the point x',y' with : //! x' = a11 x + a12 y + a13 y' = a21 x + a22 y + a23 //! the method value(i,j) will return aij. raises constructionerror if the determinant of the aij is null. if the matrix as not a uniform scale it will be orthogonalized before future using. + %feature("autodoc", "Sets the coefficients of the transformation. the transformation of the point x,y is the point x',y' with : @code x' = a11 x + a12 y + a13 y' = a21 x + a22 y + a23 @endcode the method value(i,j) will return aij. raises constructionerror if the determinant of the aij is null. if the matrix as not a uniform scale it will be orthogonalized before future using. Parameters ---------- @@ -16857,7 +16861,7 @@ None void SetValues(const Standard_Real a11, const Standard_Real a12, const Standard_Real a13, const Standard_Real a21, const Standard_Real a22, const Standard_Real a23); /****************** Transforms ******************/ - /**** md5 signature: 7a2a4d09be3965069a02b1ab2fe75da0 ****/ + /**** md5 signature: fa7acb5c2b81cd7673049034fcddc957 ****/ %feature("compactdefaultargs") Transforms; %feature("autodoc", "No available documentation. @@ -16866,28 +16870,28 @@ Parameters Returns ------- -X: float -Y: float +theX: float +theY: float ") Transforms; void Transforms(Standard_Real &OutValue, Standard_Real &OutValue); /****************** Transforms ******************/ - /**** md5 signature: 42fcc5a0a1f5720bc6e9d9621687e72b ****/ + /**** md5 signature: 4dc62941ec30f61dd6f0de5964b8fff6 ****/ %feature("compactdefaultargs") Transforms; %feature("autodoc", "Transforms a doublet xy with a trsf2d. Parameters ---------- -Coord: gp_XY +theCoord: gp_XY Returns ------- None ") Transforms; - void Transforms(gp_XY & Coord); + void Transforms(gp_XY & theCoord); /****************** TranslationPart ******************/ - /**** md5 signature: 2ba6f5175540b0ed3cbb670f3c8ff5d3 ****/ + /**** md5 signature: 6f19325c1730ba0fd4b588033c32e399 ****/ %feature("compactdefaultargs") TranslationPart; %feature("autodoc", "Returns the translation part of the transformation's matrix. @@ -16898,20 +16902,20 @@ gp_XY const gp_XY TranslationPart(); /****************** Value ******************/ - /**** md5 signature: 1f17b21423db514e298b820a9dd11211 ****/ + /**** md5 signature: de381dc023424482347f7e2b0c3a6975 ****/ %feature("compactdefaultargs") Value; - %feature("autodoc", "Returns the coefficients of the transformation's matrix. it is a 2 rows * 3 columns matrix. raises outofrange if row < 1 or row > 2 or col < 1 or col > 3. + %feature("autodoc", "Returns the coefficients of the transformation's matrix. it is a 2 rows * 3 columns matrix. raises outofrange if therow < 1 or therow > 2 or thecol < 1 or thecol > 3. Parameters ---------- -Row: int -Col: int +theRow: int +theCol: int Returns ------- float ") Value; - Standard_Real Value(const Standard_Integer Row, const Standard_Integer Col); + Standard_Real Value(const Standard_Integer theRow, const Standard_Integer theCol); /****************** VectorialPart ******************/ /**** md5 signature: 672fae35ed3393d8331524559101b431 ****/ @@ -16925,19 +16929,19 @@ gp_Mat2d gp_Mat2d VectorialPart(); /****************** operator * ******************/ - /**** md5 signature: eae9930751ddd82516a80e9812b43d93 ****/ + /**** md5 signature: 38afa6a03c04f954af48ca06f900c5d9 ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- gp_Trsf2d ") operator *; - gp_Trsf2d operator *(const gp_Trsf2d & T); + gp_Trsf2d operator *(const gp_Trsf2d & theT); %extend{ @@ -16965,7 +16969,7 @@ gp_Trsf2d class gp_Vec { public: /****************** gp_Vec ******************/ - /**** md5 signature: a83e11d1efa17c66e0590318efe9ad8a ****/ + /**** md5 signature: b634a3310a804d9341aea7e6148a6c4e ****/ %feature("compactdefaultargs") gp_Vec; %feature("autodoc", "Creates a zero vector. @@ -16976,312 +16980,312 @@ None gp_Vec(); /****************** gp_Vec ******************/ - /**** md5 signature: 9cfc9b7ff0513de00ccfba72ec8dd4c5 ****/ + /**** md5 signature: 295288e0cef120a387edd511c16b9dd1 ****/ %feature("compactdefaultargs") gp_Vec; - %feature("autodoc", "Creates a unitary vector from a direction v. + %feature("autodoc", "Creates a unitary vector from a direction thev. Parameters ---------- -V: gp_Dir +theV: gp_Dir Returns ------- None ") gp_Vec; - gp_Vec(const gp_Dir & V); + gp_Vec(const gp_Dir & theV); /****************** gp_Vec ******************/ - /**** md5 signature: 76da4eb2de14db7049739da4e0034583 ****/ + /**** md5 signature: 2134a3d4ef0ed3a83a8270dcaa872ad0 ****/ %feature("compactdefaultargs") gp_Vec; %feature("autodoc", "Creates a vector with a triplet of coordinates. Parameters ---------- -Coord: gp_XYZ +theCoord: gp_XYZ Returns ------- None ") gp_Vec; - gp_Vec(const gp_XYZ & Coord); + gp_Vec(const gp_XYZ & theCoord); /****************** gp_Vec ******************/ - /**** md5 signature: e96afc2d047c05754a28a2afbd3da192 ****/ + /**** md5 signature: 9d8aee611723d77714205fe230577101 ****/ %feature("compactdefaultargs") gp_Vec; %feature("autodoc", "Creates a point with its three cartesian coordinates. Parameters ---------- -Xv: float -Yv: float -Zv: float +theXv: float +theYv: float +theZv: float Returns ------- None ") gp_Vec; - gp_Vec(const Standard_Real Xv, const Standard_Real Yv, const Standard_Real Zv); + gp_Vec(const Standard_Real theXv, const Standard_Real theYv, const Standard_Real theZv); /****************** gp_Vec ******************/ - /**** md5 signature: 0e4db29a7e598c85fed6f0ccd6ec8795 ****/ + /**** md5 signature: 7b1e47600fbfdd00ccc8fcf71257161b ****/ %feature("compactdefaultargs") gp_Vec; - %feature("autodoc", "Creates a vector from two points. the length of the vector is the distance between p1 and p2. + %feature("autodoc", "Creates a vector from two points. the length of the vector is the distance between thep1 and thep2. Parameters ---------- -P1: gp_Pnt -P2: gp_Pnt +theP1: gp_Pnt +theP2: gp_Pnt Returns ------- None ") gp_Vec; - gp_Vec(const gp_Pnt & P1, const gp_Pnt & P2); + gp_Vec(const gp_Pnt & theP1, const gp_Pnt & theP2); /****************** Add ******************/ - /**** md5 signature: 552879d85b04d201aae866c5a8a3a5c2 ****/ + /**** md5 signature: e85bda124a8b054ccd5ebc04fa7ebb48 ****/ %feature("compactdefaultargs") Add; %feature("autodoc", "Adds two vectors. Parameters ---------- -Other: gp_Vec +theOther: gp_Vec Returns ------- None ") Add; - void Add(const gp_Vec & Other); + void Add(const gp_Vec & theOther); /****************** Added ******************/ - /**** md5 signature: a032ac9189c4d4e2816524da070cc13a ****/ + /**** md5 signature: 183b15e5f385c474defeca2d65c3d1e8 ****/ %feature("compactdefaultargs") Added; %feature("autodoc", "Adds two vectors. Parameters ---------- -Other: gp_Vec +theOther: gp_Vec Returns ------- gp_Vec ") Added; - gp_Vec Added(const gp_Vec & Other); + gp_Vec Added(const gp_Vec & theOther); /****************** Angle ******************/ - /**** md5 signature: 4e624552dc9786fcd4917adf2a9778da ****/ + /**** md5 signature: b751708bd6823c4aec88a41b497d1d7e ****/ %feature("compactdefaultargs") Angle; - %feature("autodoc", "Computes the angular value between and returns the angle value between 0 and pi in radian. raises vectorwithnullmagnitude if .magnitude() <= resolution from gp or other.magnitude() <= resolution because the angular value is indefinite if one of the vectors has a null magnitude. + %feature("autodoc", "Computes the angular value between and returns the angle value between 0 and pi in radian. raises vectorwithnullmagnitude if .magnitude() <= resolution from gp or theother.magnitude() <= resolution because the angular value is indefinite if one of the vectors has a null magnitude. Parameters ---------- -Other: gp_Vec +theOther: gp_Vec Returns ------- float ") Angle; - Standard_Real Angle(const gp_Vec & Other); + Standard_Real Angle(const gp_Vec & theOther); /****************** AngleWithRef ******************/ - /**** md5 signature: 9c8df4551f37ad797a026470c44e31d5 ****/ + /**** md5 signature: bb859897169c57a7d85f6c14c8881f4a ****/ %feature("compactdefaultargs") AngleWithRef; - %feature("autodoc", "Computes the angle, in radians, between this vector and vector other. the result is a value between -pi and pi. for this, vref defines the positive sense of rotation: the angular value is positive, if the cross product this ^ other has the same orientation as vref relative to the plane defined by the vectors this and other. otherwise, the angular value is negative. exceptions gp_vectorwithnullmagnitude if the magnitude of this vector, the vector other, or the vector vref is less than or equal to gp::resolution(). standard_domainerror if this vector, the vector other, and the vector vref are coplanar, unless this vector and the vector other are parallel. + %feature("autodoc", "Computes the angle, in radians, between this vector and vector theother. the result is a value between -pi and pi. for this, thevref defines the positive sense of rotation: the angular value is positive, if the cross product this ^ theother has the same orientation as thevref relative to the plane defined by the vectors this and theother. otherwise, the angular value is negative. exceptions gp_vectorwithnullmagnitude if the magnitude of this vector, the vector theother, or the vector thevref is less than or equal to gp::resolution(). standard_domainerror if this vector, the vector theother, and the vector thevref are coplanar, unless this vector and the vector theother are parallel. Parameters ---------- -Other: gp_Vec -VRef: gp_Vec +theOther: gp_Vec +theVRef: gp_Vec Returns ------- float ") AngleWithRef; - Standard_Real AngleWithRef(const gp_Vec & Other, const gp_Vec & VRef); + Standard_Real AngleWithRef(const gp_Vec & theOther, const gp_Vec & theVRef); /****************** Coord ******************/ - /**** md5 signature: 615686a863135af4177d92a1b696f909 ****/ + /**** md5 signature: 8be7c51c8cc2bc59521f97740b0be5d2 ****/ %feature("compactdefaultargs") Coord; - %feature("autodoc", "Returns the coordinate of range index : index = 1 => x is returned index = 2 => y is returned index = 3 => z is returned raised if index != {1, 2, 3}. + %feature("autodoc", "Returns the coordinate of range theindex : theindex = 1 => x is returned theindex = 2 => y is returned theindex = 3 => z is returned raised if theindex != {1, 2, 3}. Parameters ---------- -Index: int +theIndex: int Returns ------- float ") Coord; - Standard_Real Coord(const Standard_Integer Index); + Standard_Real Coord(const Standard_Integer theIndex); /****************** Coord ******************/ - /**** md5 signature: c21dee938f2596ca1071e28c84295612 ****/ + /**** md5 signature: 8826aee800a33929cf4796869323f263 ****/ %feature("compactdefaultargs") Coord; - %feature("autodoc", "For this vector returns its three coordinates xv, yv, and zvinline. + %feature("autodoc", "For this vector returns its three coordinates thexv, theyv, and thezv inline. Parameters ---------- Returns ------- -Xv: float -Yv: float -Zv: float +theXv: float +theYv: float +theZv: float ") Coord; void Coord(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); /****************** Cross ******************/ - /**** md5 signature: 2b1f5aa67b623e5305810f00fac44b05 ****/ + /**** md5 signature: 9af4822f8d433d8492b843e063cf1c85 ****/ %feature("compactdefaultargs") Cross; %feature("autodoc", "Computes the cross product between two vectors. Parameters ---------- -Right: gp_Vec +theRight: gp_Vec Returns ------- None ") Cross; - void Cross(const gp_Vec & Right); + void Cross(const gp_Vec & theRight); /****************** CrossCross ******************/ - /**** md5 signature: 229c54d290a453f8a9f868a599045445 ****/ + /**** md5 signature: 19d896f736c61837393846379b6ab7f9 ****/ %feature("compactdefaultargs") CrossCross; - %feature("autodoc", "Computes the triple vector product. ^= (v1 ^ v2). + %feature("autodoc", "Computes the triple vector product. ^= (thev1 ^ thev2). Parameters ---------- -V1: gp_Vec -V2: gp_Vec +theV1: gp_Vec +theV2: gp_Vec Returns ------- None ") CrossCross; - void CrossCross(const gp_Vec & V1, const gp_Vec & V2); + void CrossCross(const gp_Vec & theV1, const gp_Vec & theV2); /****************** CrossCrossed ******************/ - /**** md5 signature: cf58fa9d37af67fffff64e115a98eb9d ****/ + /**** md5 signature: 29baacbf12bada613a78dcebac29b2a7 ****/ %feature("compactdefaultargs") CrossCrossed; - %feature("autodoc", "Computes the triple vector product. ^ (v1 ^ v2). + %feature("autodoc", "Computes the triple vector product. ^ (thev1 ^ thev2). Parameters ---------- -V1: gp_Vec -V2: gp_Vec +theV1: gp_Vec +theV2: gp_Vec Returns ------- gp_Vec ") CrossCrossed; - gp_Vec CrossCrossed(const gp_Vec & V1, const gp_Vec & V2); + gp_Vec CrossCrossed(const gp_Vec & theV1, const gp_Vec & theV2); /****************** CrossMagnitude ******************/ - /**** md5 signature: 17e72cffa9792bcf70c1c87dac9e47ef ****/ + /**** md5 signature: f669749b76d4aaeb158763d03a2cb3b1 ****/ %feature("compactdefaultargs") CrossMagnitude; - %feature("autodoc", "Computes the magnitude of the cross product between and right. returns || ^ right ||. + %feature("autodoc", "Computes the magnitude of the cross product between and theright. returns || ^ theright ||. Parameters ---------- -Right: gp_Vec +theRight: gp_Vec Returns ------- float ") CrossMagnitude; - Standard_Real CrossMagnitude(const gp_Vec & Right); + Standard_Real CrossMagnitude(const gp_Vec & theRight); /****************** CrossSquareMagnitude ******************/ - /**** md5 signature: 876754e28c723bbad60485c5657e0b2d ****/ + /**** md5 signature: 1faad69f24a74292007cc4df0fdaf8dd ****/ %feature("compactdefaultargs") CrossSquareMagnitude; - %feature("autodoc", "Computes the square magnitude of the cross product between and right. returns || ^ right ||**2. + %feature("autodoc", "Computes the square magnitude of the cross product between and theright. returns || ^ theright ||**2. Parameters ---------- -Right: gp_Vec +theRight: gp_Vec Returns ------- float ") CrossSquareMagnitude; - Standard_Real CrossSquareMagnitude(const gp_Vec & Right); + Standard_Real CrossSquareMagnitude(const gp_Vec & theRight); /****************** Crossed ******************/ - /**** md5 signature: a6a151358db4d559aaaa71ac1ec992e1 ****/ + /**** md5 signature: d3e31a702486c99de0e70b6942d62dd2 ****/ %feature("compactdefaultargs") Crossed; %feature("autodoc", "Computes the cross product between two vectors. Parameters ---------- -Right: gp_Vec +theRight: gp_Vec Returns ------- gp_Vec ") Crossed; - gp_Vec Crossed(const gp_Vec & Right); + gp_Vec Crossed(const gp_Vec & theRight); /****************** Divide ******************/ - /**** md5 signature: 7bc46cf38daaa2229b322d9add0408e3 ****/ + /**** md5 signature: 6b91e208468c68ac43147a4e287acb7d ****/ %feature("compactdefaultargs") Divide; %feature("autodoc", "Divides a vector by a scalar. Parameters ---------- -Scalar: float +theScalar: float Returns ------- None ") Divide; - void Divide(const Standard_Real Scalar); + void Divide(const Standard_Real theScalar); /****************** Divided ******************/ - /**** md5 signature: 6f9ee1be03b1b0eacd85abca77a29eee ****/ + /**** md5 signature: 7db4b094c0beb4e5ff8b70252b2c56b2 ****/ %feature("compactdefaultargs") Divided; %feature("autodoc", "Divides a vector by a scalar. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_Vec ") Divided; - gp_Vec Divided(const Standard_Real Scalar); + gp_Vec Divided(const Standard_Real theScalar); /****************** Dot ******************/ - /**** md5 signature: ff4de6cc5bdebb2ffbbf29d24178a988 ****/ + /**** md5 signature: ba68d52afc4f6fed97550f37aab6a56f ****/ %feature("compactdefaultargs") Dot; %feature("autodoc", "Computes the scalar product. Parameters ---------- -Other: gp_Vec +theOther: gp_Vec Returns ------- float ") Dot; - Standard_Real Dot(const gp_Vec & Other); + Standard_Real Dot(const gp_Vec & theOther); /****************** DotCross ******************/ - /**** md5 signature: aff0f711ffc32d7f1d9db1fb06bb9ea1 ****/ + /**** md5 signature: 4e387a4bfab14f664547ee45402121c1 ****/ %feature("compactdefaultargs") DotCross; - %feature("autodoc", "Computes the triple scalar product * (v1 ^ v2). + %feature("autodoc", "Computes the triple scalar product * (thev1 ^ thev2). Parameters ---------- -V1: gp_Vec -V2: gp_Vec +theV1: gp_Vec +theV2: gp_Vec Returns ------- float ") DotCross; - Standard_Real DotCross(const gp_Vec & V1, const gp_Vec & V2); + Standard_Real DotCross(const gp_Vec & theV1, const gp_Vec & theV2); %feature("autodoc", "1"); @@ -17292,72 +17296,72 @@ float return s.str();} }; /****************** IsEqual ******************/ - /**** md5 signature: 1eccffb4c9b9c582baf9d99667ad6ef7 ****/ + /**** md5 signature: 2ac5ae9d97482a3a85db3acf17ae3ac7 ****/ %feature("compactdefaultargs") IsEqual; - %feature("autodoc", "Returns true if the two vectors have the same magnitude value and the same direction. the precision values are lineartolerance for the magnitude and angulartolerance for the direction. + %feature("autodoc", "Returns true if the two vectors have the same magnitude value and the same direction. the precision values are thelineartolerance for the magnitude and theangulartolerance for the direction. Parameters ---------- -Other: gp_Vec -LinearTolerance: float -AngularTolerance: float +theOther: gp_Vec +theLinearTolerance: float +theAngularTolerance: float Returns ------- bool ") IsEqual; - Standard_Boolean IsEqual(const gp_Vec & Other, const Standard_Real LinearTolerance, const Standard_Real AngularTolerance); + Standard_Boolean IsEqual(const gp_Vec & theOther, const Standard_Real theLinearTolerance, const Standard_Real theAngularTolerance); /****************** IsNormal ******************/ - /**** md5 signature: 49ce46f87bd5b8891bb36ed6d7ea3a69 ****/ + /**** md5 signature: c474d74c78fda1700119b5b241af6d9b ****/ %feature("compactdefaultargs") IsNormal; - %feature("autodoc", "Returns true if abs(.angle(other) - pi/2.) <= angulartolerance raises vectorwithnullmagnitude if .magnitude() <= resolution or other.magnitude() <= resolution from gp. + %feature("autodoc", "Returns true if abs(.angle(theother) - pi/2.) <= theangulartolerance raises vectorwithnullmagnitude if .magnitude() <= resolution or theother.magnitude() <= resolution from gp. Parameters ---------- -Other: gp_Vec -AngularTolerance: float +theOther: gp_Vec +theAngularTolerance: float Returns ------- bool ") IsNormal; - Standard_Boolean IsNormal(const gp_Vec & Other, const Standard_Real AngularTolerance); + Standard_Boolean IsNormal(const gp_Vec & theOther, const Standard_Real theAngularTolerance); /****************** IsOpposite ******************/ - /**** md5 signature: 8fdddb9ec53803bd7416a5dd2efaaabe ****/ + /**** md5 signature: c911b88c3d88e6bc27e2c3ca57f43ed8 ****/ %feature("compactdefaultargs") IsOpposite; - %feature("autodoc", "Returns true if pi - .angle(other) <= angulartolerance raises vectorwithnullmagnitude if .magnitude() <= resolution or other.magnitude() <= resolution from gp. + %feature("autodoc", "Returns true if pi - .angle(theother) <= theangulartolerance raises vectorwithnullmagnitude if .magnitude() <= resolution or other.magnitude() <= resolution from gp. Parameters ---------- -Other: gp_Vec -AngularTolerance: float +theOther: gp_Vec +theAngularTolerance: float Returns ------- bool ") IsOpposite; - Standard_Boolean IsOpposite(const gp_Vec & Other, const Standard_Real AngularTolerance); + Standard_Boolean IsOpposite(const gp_Vec & theOther, const Standard_Real theAngularTolerance); /****************** IsParallel ******************/ - /**** md5 signature: 9a12db6b7541ae7a15f5f7d374379ecf ****/ + /**** md5 signature: 31f65bb9984edf8b98acd924999056f9 ****/ %feature("compactdefaultargs") IsParallel; - %feature("autodoc", "Returns true if angle(, other) <= angulartolerance or pi - angle(, other) <= angulartolerance this definition means that two parallel vectors cannot define a plane but two vectors with opposite directions are considered as parallel. raises vectorwithnullmagnitude if .magnitude() <= resolution or other.magnitude() <= resolution from gp. + %feature("autodoc", "Returns true if angle(, theother) <= theangulartolerance or pi - angle(, theother) <= theangulartolerance this definition means that two parallel vectors cannot define a plane but two vectors with opposite directions are considered as parallel. raises vectorwithnullmagnitude if .magnitude() <= resolution or other.magnitude() <= resolution from gp. Parameters ---------- -Other: gp_Vec -AngularTolerance: float +theOther: gp_Vec +theAngularTolerance: float Returns ------- bool ") IsParallel; - Standard_Boolean IsParallel(const gp_Vec & Other, const Standard_Real AngularTolerance); + Standard_Boolean IsParallel(const gp_Vec & theOther, const Standard_Real theAngularTolerance); /****************** Magnitude ******************/ - /**** md5 signature: 226b68b23c63a4cea2ecf63c5b3ac5b6 ****/ + /**** md5 signature: 32ce43647be1c0dd397a58841fa1163e ****/ %feature("compactdefaultargs") Magnitude; %feature("autodoc", "Computes the magnitude of this vector. @@ -17368,127 +17372,127 @@ float Standard_Real Magnitude(); /****************** Mirror ******************/ - /**** md5 signature: 26a87960df64ac81888cd18e27471055 ****/ + /**** md5 signature: b85d16d9949c4ef27a2fa6c3d76269ae ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- None ") Mirror; - void Mirror(const gp_Vec & V); + void Mirror(const gp_Vec & theV); /****************** Mirror ******************/ - /**** md5 signature: d1a0189a98d756bd9e5b51b4ae49992a ****/ + /**** md5 signature: cfb16cae08525c5f4ab330102e0377d4 ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- None ") Mirror; - void Mirror(const gp_Ax1 & A1); + void Mirror(const gp_Ax1 & theA1); /****************** Mirror ******************/ - /**** md5 signature: 874cde0169043be133e205e960c3ca57 ****/ + /**** md5 signature: ad34943401a2334beed8ccc79094d8df ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "No available documentation. Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- None ") Mirror; - void Mirror(const gp_Ax2 & A2); + void Mirror(const gp_Ax2 & theA2); /****************** Mirrored ******************/ - /**** md5 signature: fb4bfc408d7a9a84b830c61677b335d3 ****/ + /**** md5 signature: 733ec5fa26b2fc8981d86078ca92a7eb ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a vector with respect to the vector v which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of a vector with respect to the vector thev which is the center of the symmetry. Parameters ---------- -V: gp_Vec +theV: gp_Vec Returns ------- gp_Vec ") Mirrored; - gp_Vec Mirrored(const gp_Vec & V); + gp_Vec Mirrored(const gp_Vec & theV); /****************** Mirrored ******************/ - /**** md5 signature: eccf7400cf908e1b1745e3c27cf67e57 ****/ + /**** md5 signature: d260cd3e623d418030d1d2be064ff9d2 ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a vector with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A1: gp_Ax1 +theA1: gp_Ax1 Returns ------- gp_Vec ") Mirrored; - gp_Vec Mirrored(const gp_Ax1 & A1); + gp_Vec Mirrored(const gp_Ax1 & theA1); /****************** Mirrored ******************/ - /**** md5 signature: ec241ef8bbb7218292f0e1adca15f422 ****/ + /**** md5 signature: fa9fb7beec4415155d02add28a2e92fd ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a vector with respect to a plane. the axis placement a2 locates the plane of the symmetry : (location, xdirection, ydirection). + %feature("autodoc", "Performs the symmetrical transformation of a vector with respect to a plane. the axis placement thea2 locates the plane of the symmetry : (location, xdirection, ydirection). Parameters ---------- -A2: gp_Ax2 +theA2: gp_Ax2 Returns ------- gp_Vec ") Mirrored; - gp_Vec Mirrored(const gp_Ax2 & A2); + gp_Vec Mirrored(const gp_Ax2 & theA2); /****************** Multiplied ******************/ - /**** md5 signature: d0ee6e3c15e50592c7a514d7c1b76927 ****/ + /**** md5 signature: 598abd18bdd1d8d332b79ef313fc6288 ****/ %feature("compactdefaultargs") Multiplied; %feature("autodoc", "Multiplies a vector by a scalar. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_Vec ") Multiplied; - gp_Vec Multiplied(const Standard_Real Scalar); + gp_Vec Multiplied(const Standard_Real theScalar); /****************** Multiply ******************/ - /**** md5 signature: c6d925fe0833ff6abc2c1aab20682246 ****/ + /**** md5 signature: 94c083012ff2f3e798eccef399e23708 ****/ %feature("compactdefaultargs") Multiply; %feature("autodoc", "Multiplies a vector by a scalar. Parameters ---------- -Scalar: float +theScalar: float Returns ------- None ") Multiply; - void Multiply(const Standard_Real Scalar); + void Multiply(const Standard_Real theScalar); /****************** Normalize ******************/ - /**** md5 signature: 587346cf1e1c12fdf674aedc915ccd95 ****/ + /**** md5 signature: df5d0be92b25875af291db140fcd7cf4 ****/ %feature("compactdefaultargs") Normalize; %feature("autodoc", "Normalizes a vector raises an exception if the magnitude of the vector is lower or equal to resolution from gp. @@ -17510,7 +17514,7 @@ gp_Vec gp_Vec Normalized(); /****************** Reverse ******************/ - /**** md5 signature: b751d6874fc026e19a7a6cb37e9ac1b4 ****/ + /**** md5 signature: 51c7e0d05769dec0ec2bb70e4d25e48d ****/ %feature("compactdefaultargs") Reverse; %feature("autodoc", "Reverses the direction of a vector. @@ -17521,7 +17525,7 @@ None void Reverse(); /****************** Reversed ******************/ - /**** md5 signature: 941836b04539ff9d955d90dd49a886cc ****/ + /**** md5 signature: 72f6b8c01fbd499ae4c92c2ddd1bec18 ****/ %feature("compactdefaultargs") Reversed; %feature("autodoc", "Reverses the direction of a vector. @@ -17532,273 +17536,273 @@ gp_Vec gp_Vec Reversed(); /****************** Rotate ******************/ - /**** md5 signature: 12c4967f27a0900e4176252164d2f2ce ****/ + /**** md5 signature: c26ecb0fe9ed773c4bd2ec6af298bfe8 ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- None ") Rotate; - void Rotate(const gp_Ax1 & A1, const Standard_Real Ang); + void Rotate(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: 64d4c6da36423a9cbd267c6228533ccc ****/ + /**** md5 signature: a33152801b7c9dfaa65a4be11a8c6cd7 ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates a vector. a1 is the axis of the rotation. ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates a vector. thea1 is the axis of the rotation. theang is the angular value of the rotation in radians. Parameters ---------- -A1: gp_Ax1 -Ang: float +theA1: gp_Ax1 +theAng: float Returns ------- gp_Vec ") Rotated; - gp_Vec Rotated(const gp_Ax1 & A1, const Standard_Real Ang); + gp_Vec Rotated(const gp_Ax1 & theA1, const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: 0874a05e93802f5d3b05494e8f21a8d2 ****/ + /**** md5 signature: 2d6b28bd34c257ef941fb69b6ae84ed6 ****/ %feature("compactdefaultargs") Scale; %feature("autodoc", "No available documentation. Parameters ---------- -S: float +theS: float Returns ------- None ") Scale; - void Scale(const Standard_Real S); + void Scale(const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: 40d5aa7a038a9d372e064b6245be966e ****/ + /**** md5 signature: 480942da813646e347aedefb3586a4db ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Scales a vector. s is the scaling value. + %feature("autodoc", "Scales a vector. thes is the scaling value. Parameters ---------- -S: float +theS: float Returns ------- gp_Vec ") Scaled; - gp_Vec Scaled(const Standard_Real S); + gp_Vec Scaled(const Standard_Real theS); /****************** SetCoord ******************/ - /**** md5 signature: 6a7aba643afced1a67b8420fce55034e ****/ + /**** md5 signature: 52cef977af7789ed4ebe28e0285a09a0 ****/ %feature("compactdefaultargs") SetCoord; - %feature("autodoc", "Changes the coordinate of range index index = 1 => x is modified index = 2 => y is modified index = 3 => z is modified raised if index != {1, 2, 3}. + %feature("autodoc", "Changes the coordinate of range theindex theindex = 1 => x is modified theindex = 2 => y is modified theindex = 3 => z is modified raised if theindex != {1, 2, 3}. Parameters ---------- -Index: int -Xi: float +theIndex: int +theXi: float Returns ------- None ") SetCoord; - void SetCoord(const Standard_Integer Index, const Standard_Real Xi); + void SetCoord(const Standard_Integer theIndex, const Standard_Real theXi); /****************** SetCoord ******************/ - /**** md5 signature: 535398862a18988c21af008f70ee6ea3 ****/ + /**** md5 signature: 9c543f38d13b1e9d90b3bd288c111618 ****/ %feature("compactdefaultargs") SetCoord; - %feature("autodoc", "For this vector, assigns - the values xv, yv and zv to its three coordinates. + %feature("autodoc", "For this vector, assigns - the values thexv, theyv and thezv to its three coordinates. Parameters ---------- -Xv: float -Yv: float -Zv: float +theXv: float +theYv: float +theZv: float Returns ------- None ") SetCoord; - void SetCoord(const Standard_Real Xv, const Standard_Real Yv, const Standard_Real Zv); + void SetCoord(const Standard_Real theXv, const Standard_Real theYv, const Standard_Real theZv); /****************** SetLinearForm ******************/ - /**** md5 signature: dd95b3f245e090a0c36a5470d4441ebd ****/ + /**** md5 signature: ba784cc1e5faf9ae13e32c11f8623030 ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", " is set to the following linear form : a1 * v1 + a2 * v2 + a3 * v3 + v4. + %feature("autodoc", " is set to the following linear form : thea1 * thev1 + thea2 * thev2 + thea3 * thev3 + thev4. Parameters ---------- -A1: float -V1: gp_Vec -A2: float -V2: gp_Vec -A3: float -V3: gp_Vec -V4: gp_Vec +theA1: float +theV1: gp_Vec +theA2: float +theV2: gp_Vec +theA3: float +theV3: gp_Vec +theV4: gp_Vec Returns ------- None ") SetLinearForm; - void SetLinearForm(const Standard_Real A1, const gp_Vec & V1, const Standard_Real A2, const gp_Vec & V2, const Standard_Real A3, const gp_Vec & V3, const gp_Vec & V4); + void SetLinearForm(const Standard_Real theA1, const gp_Vec & theV1, const Standard_Real theA2, const gp_Vec & theV2, const Standard_Real theA3, const gp_Vec & theV3, const gp_Vec & theV4); /****************** SetLinearForm ******************/ - /**** md5 signature: fd5685aeca2246f732f78edccc12291a ****/ + /**** md5 signature: 7da92e6de8028f7356740dde8f489c24 ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", " is set to the following linear form : a1 * v1 + a2 * v2 + a3 * v3. + %feature("autodoc", " is set to the following linear form : thea1 * thev1 + thea2 * thev2 + thea3 * thev3. Parameters ---------- -A1: float -V1: gp_Vec -A2: float -V2: gp_Vec -A3: float -V3: gp_Vec +theA1: float +theV1: gp_Vec +theA2: float +theV2: gp_Vec +theA3: float +theV3: gp_Vec Returns ------- None ") SetLinearForm; - void SetLinearForm(const Standard_Real A1, const gp_Vec & V1, const Standard_Real A2, const gp_Vec & V2, const Standard_Real A3, const gp_Vec & V3); + void SetLinearForm(const Standard_Real theA1, const gp_Vec & theV1, const Standard_Real theA2, const gp_Vec & theV2, const Standard_Real theA3, const gp_Vec & theV3); /****************** SetLinearForm ******************/ - /**** md5 signature: ef53ae47adf65eff64d933e736d9086f ****/ + /**** md5 signature: a4f356d662bfeef6a3ed7c139e665222 ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", " is set to the following linear form : a1 * v1 + a2 * v2 + v3. + %feature("autodoc", " is set to the following linear form : thea1 * thev1 + thea2 * thev2 + thev3. Parameters ---------- -A1: float -V1: gp_Vec -A2: float -V2: gp_Vec -V3: gp_Vec +theA1: float +theV1: gp_Vec +theA2: float +theV2: gp_Vec +theV3: gp_Vec Returns ------- None ") SetLinearForm; - void SetLinearForm(const Standard_Real A1, const gp_Vec & V1, const Standard_Real A2, const gp_Vec & V2, const gp_Vec & V3); + void SetLinearForm(const Standard_Real theA1, const gp_Vec & theV1, const Standard_Real theA2, const gp_Vec & theV2, const gp_Vec & theV3); /****************** SetLinearForm ******************/ - /**** md5 signature: b4bdfe148de05fe038d1ded3546dc063 ****/ + /**** md5 signature: cf46b535053cf4f01ff451d327e50935 ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", " is set to the following linear form : a1 * v1 + a2 * v2. + %feature("autodoc", " is set to the following linear form : thea1 * thev1 + thea2 * thev2. Parameters ---------- -A1: float -V1: gp_Vec -A2: float -V2: gp_Vec +theA1: float +theV1: gp_Vec +theA2: float +theV2: gp_Vec Returns ------- None ") SetLinearForm; - void SetLinearForm(const Standard_Real A1, const gp_Vec & V1, const Standard_Real A2, const gp_Vec & V2); + void SetLinearForm(const Standard_Real theA1, const gp_Vec & theV1, const Standard_Real theA2, const gp_Vec & theV2); /****************** SetLinearForm ******************/ - /**** md5 signature: b1e40a374589c4373bdfa3052deeb126 ****/ + /**** md5 signature: 7b39ed526a79ef435bb15c19c3e4af5e ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", " is set to the following linear form : a1 * v1 + v2. + %feature("autodoc", " is set to the following linear form : thea1 * thev1 + thev2. Parameters ---------- -A1: float -V1: gp_Vec -V2: gp_Vec +theA1: float +theV1: gp_Vec +theV2: gp_Vec Returns ------- None ") SetLinearForm; - void SetLinearForm(const Standard_Real A1, const gp_Vec & V1, const gp_Vec & V2); + void SetLinearForm(const Standard_Real theA1, const gp_Vec & theV1, const gp_Vec & theV2); /****************** SetLinearForm ******************/ - /**** md5 signature: eaab8f479a867119c47acbcec5283fe4 ****/ + /**** md5 signature: f8d178ea5c355745bbbdc45ea3f30517 ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", " is set to the following linear form : v1 + v2. + %feature("autodoc", " is set to the following linear form : thev1 + thev2. Parameters ---------- -V1: gp_Vec -V2: gp_Vec +theV1: gp_Vec +theV2: gp_Vec Returns ------- None ") SetLinearForm; - void SetLinearForm(const gp_Vec & V1, const gp_Vec & V2); + void SetLinearForm(const gp_Vec & theV1, const gp_Vec & theV2); /****************** SetX ******************/ - /**** md5 signature: 30fe204d4c67d94370133e1d40dc6787 ****/ + /**** md5 signature: 1bf65ee31f0303d20dd96cc6dbcfa44e ****/ %feature("compactdefaultargs") SetX; %feature("autodoc", "Assigns the given value to the x coordinate of this vector. Parameters ---------- -X: float +theX: float Returns ------- None ") SetX; - void SetX(const Standard_Real X); + void SetX(const Standard_Real theX); /****************** SetXYZ ******************/ - /**** md5 signature: 970583a1db197d138846d12b1374d359 ****/ + /**** md5 signature: 310569de5a825945530b122be4e6ca69 ****/ %feature("compactdefaultargs") SetXYZ; - %feature("autodoc", "Assigns the three coordinates of coord to this vector. + %feature("autodoc", "Assigns the three coordinates of thecoord to this vector. Parameters ---------- -Coord: gp_XYZ +theCoord: gp_XYZ Returns ------- None ") SetXYZ; - void SetXYZ(const gp_XYZ & Coord); + void SetXYZ(const gp_XYZ & theCoord); /****************** SetY ******************/ - /**** md5 signature: 8f42f770a3959dece2671d90f60e35e2 ****/ + /**** md5 signature: 4d69a9fe7ed8a7d182afbae632001bd2 ****/ %feature("compactdefaultargs") SetY; %feature("autodoc", "Assigns the given value to the x coordinate of this vector. Parameters ---------- -Y: float +theY: float Returns ------- None ") SetY; - void SetY(const Standard_Real Y); + void SetY(const Standard_Real theY); /****************** SetZ ******************/ - /**** md5 signature: d96a64d9a788ed7bdd745a3dcbb831ea ****/ + /**** md5 signature: 50f9696665e382f6944bd96e35b0a063 ****/ %feature("compactdefaultargs") SetZ; %feature("autodoc", "Assigns the given value to the x coordinate of this vector. Parameters ---------- -Z: float +theZ: float Returns ------- None ") SetZ; - void SetZ(const Standard_Real Z); + void SetZ(const Standard_Real theZ); /****************** SquareMagnitude ******************/ - /**** md5 signature: 86bd25f4a05f6f29c03f2f6a040d94d0 ****/ + /**** md5 signature: 65ee82a5930920204ad1cfebbc4cbbf2 ****/ %feature("compactdefaultargs") SquareMagnitude; %feature("autodoc", "Computes the square magnitude of this vector. @@ -17809,67 +17813,67 @@ float Standard_Real SquareMagnitude(); /****************** Subtract ******************/ - /**** md5 signature: b240158f96d5587b72da4b3e861f074c ****/ + /**** md5 signature: d490220c80e49ee10b08ea74fe9ca9f5 ****/ %feature("compactdefaultargs") Subtract; %feature("autodoc", "Subtracts two vectors. Parameters ---------- -Right: gp_Vec +theRight: gp_Vec Returns ------- None ") Subtract; - void Subtract(const gp_Vec & Right); + void Subtract(const gp_Vec & theRight); /****************** Subtracted ******************/ - /**** md5 signature: 640c9ad477d577623b4bdbf57daa8178 ****/ + /**** md5 signature: eda310ee34b23320e3e470ccb40edbb2 ****/ %feature("compactdefaultargs") Subtracted; %feature("autodoc", "Subtracts two vectors. Parameters ---------- -Right: gp_Vec +theRight: gp_Vec Returns ------- gp_Vec ") Subtracted; - gp_Vec Subtracted(const gp_Vec & Right); + gp_Vec Subtracted(const gp_Vec & theRight); /****************** Transform ******************/ - /**** md5 signature: 45ee6a37cbc92ff06bd17b5653f32913 ****/ + /**** md5 signature: 0737a7286be728220e1a55ba0d6eafc3 ****/ %feature("compactdefaultargs") Transform; - %feature("autodoc", "Transforms a vector with the transformation t. + %feature("autodoc", "Transforms a vector with the transformation thet. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- None ") Transform; - void Transform(const gp_Trsf & T); + void Transform(const gp_Trsf & theT); /****************** Transformed ******************/ - /**** md5 signature: 8580133342fec060b475de807e5396b6 ****/ + /**** md5 signature: 48cdf716cf3e31fccc783cccf9905ef6 ****/ %feature("compactdefaultargs") Transformed; - %feature("autodoc", "Transforms a vector with the transformation t. + %feature("autodoc", "Transforms a vector with the transformation thet. Parameters ---------- -T: gp_Trsf +theT: gp_Trsf Returns ------- gp_Vec ") Transformed; - gp_Vec Transformed(const gp_Trsf & T); + gp_Vec Transformed(const gp_Trsf & theT); /****************** X ******************/ - /**** md5 signature: 2dbf42f7dc56303f104fb0fa585dc6e6 ****/ + /**** md5 signature: 05c2850f49d76f9d0f9da9e2fdb99a8b ****/ %feature("compactdefaultargs") X; %feature("autodoc", "For this vector, returns its x coordinate. @@ -17880,7 +17884,7 @@ float Standard_Real X(); /****************** XYZ ******************/ - /**** md5 signature: ad2670b5502d8f29f92f756fdb200090 ****/ + /**** md5 signature: 0648fd358f9622b8fa775d64dec0d0a4 ****/ %feature("compactdefaultargs") XYZ; %feature("autodoc", "For this vector, returns - its three coordinates as a number triple. @@ -17891,7 +17895,7 @@ gp_XYZ const gp_XYZ XYZ(); /****************** Y ******************/ - /**** md5 signature: 7fd17991f11a9702e525c7070ce7cec6 ****/ + /**** md5 signature: 0142f6b6b08f82a328de2fb00d13afbf ****/ %feature("compactdefaultargs") Y; %feature("autodoc", "For this vector, returns its y coordinate. @@ -17902,7 +17906,7 @@ float Standard_Real Y(); /****************** Z ******************/ - /**** md5 signature: 87b89b9e016f37b0146cf52868684676 ****/ + /**** md5 signature: 786e228d2eeaf64f99dd51d3ab338f77 ****/ %feature("compactdefaultargs") Z; %feature("autodoc", "For this vector, returns its z coordinate. @@ -17913,34 +17917,34 @@ float Standard_Real Z(); /****************** operator * ******************/ - /**** md5 signature: 82d7bf92bb06d504e1ce609511526478 ****/ + /**** md5 signature: 9c18aa4e5462d66a6115348e9a28b890 ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_Vec ") operator *; - gp_Vec operator *(const Standard_Real Scalar); + gp_Vec operator *(const Standard_Real theScalar); /****************** operator * ******************/ - /**** md5 signature: bc839c21be5ffd61619ad20a3bf1ab24 ****/ + /**** md5 signature: 363bcfe1780d868514bd6db084048366 ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_Vec +theOther: gp_Vec Returns ------- float ") operator *; - Standard_Real operator *(const gp_Vec & Other); + Standard_Real operator *(const gp_Vec & theOther); %extend{ @@ -17954,19 +17958,19 @@ float return self } /****************** operator + ******************/ - /**** md5 signature: 7c384abf55762605bfdda262a0711593 ****/ + /**** md5 signature: 93b1480972ce5d4dbcc4bd90a181cd59 ****/ %feature("compactdefaultargs") operator +; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_Vec +theOther: gp_Vec Returns ------- gp_Vec ") operator +; - gp_Vec operator +(const gp_Vec & Other); + gp_Vec operator +(const gp_Vec & theOther); %extend{ @@ -17980,19 +17984,19 @@ gp_Vec return self } /****************** operator - ******************/ - /**** md5 signature: 63ccf3d23895222a708b6ada14f17250 ****/ + /**** md5 signature: 13506a405f58dab7716acf05b5ec6fc7 ****/ %feature("compactdefaultargs") operator -; %feature("autodoc", "No available documentation. Parameters ---------- -Right: gp_Vec +theRight: gp_Vec Returns ------- gp_Vec ") operator -; - gp_Vec operator -(const gp_Vec & Right); + gp_Vec operator -(const gp_Vec & theRight); /****************** operator - ******************/ /**** md5 signature: b019f223dbc17f31ce64d3eb0e5cdab5 ****/ @@ -18017,19 +18021,19 @@ gp_Vec return self } /****************** operator / ******************/ - /**** md5 signature: 558b4772600a3036b00c67d12db7dd14 ****/ + /**** md5 signature: 34acbb84206bf14cbc792d7112b3911e ****/ %feature("compactdefaultargs") operator /; %feature("autodoc", "No available documentation. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_Vec ") operator /; - gp_Vec operator /(const Standard_Real Scalar); + gp_Vec operator /(const Standard_Real theScalar); %extend{ @@ -18057,7 +18061,7 @@ gp_Vec class gp_Vec2d { public: /****************** gp_Vec2d ******************/ - /**** md5 signature: 738201ddfdb54479920976aa8b51068f ****/ + /**** md5 signature: 05b7ab2bb2ecb94843cc3cd8e4ceb553 ****/ %feature("compactdefaultargs") gp_Vec2d; %feature("autodoc", "Creates a zero vector. @@ -18068,234 +18072,234 @@ None gp_Vec2d(); /****************** gp_Vec2d ******************/ - /**** md5 signature: c2921f00c6eb98c579bdc0aea6ac728b ****/ + /**** md5 signature: 48ade316c7b23d43fd89edfc1cb684e0 ****/ %feature("compactdefaultargs") gp_Vec2d; - %feature("autodoc", "Creates a unitary vector from a direction v. + %feature("autodoc", "Creates a unitary vector from a direction thev. Parameters ---------- -V: gp_Dir2d +theV: gp_Dir2d Returns ------- None ") gp_Vec2d; - gp_Vec2d(const gp_Dir2d & V); + gp_Vec2d(const gp_Dir2d & theV); /****************** gp_Vec2d ******************/ - /**** md5 signature: d6d7b268c679b2141e899d9cb5390af7 ****/ + /**** md5 signature: 1c89ec00eeaa8493fe1c579caa2aff50 ****/ %feature("compactdefaultargs") gp_Vec2d; %feature("autodoc", "Creates a vector with a doublet of coordinates. Parameters ---------- -Coord: gp_XY +theCoord: gp_XY Returns ------- None ") gp_Vec2d; - gp_Vec2d(const gp_XY & Coord); + gp_Vec2d(const gp_XY & theCoord); /****************** gp_Vec2d ******************/ - /**** md5 signature: e931c980849960964ef8f82200d9205e ****/ + /**** md5 signature: c963b436d75381130b6b1e226db6beba ****/ %feature("compactdefaultargs") gp_Vec2d; %feature("autodoc", "Creates a point with its two cartesian coordinates. Parameters ---------- -Xv: float -Yv: float +theXv: float +theYv: float Returns ------- None ") gp_Vec2d; - gp_Vec2d(const Standard_Real Xv, const Standard_Real Yv); + gp_Vec2d(const Standard_Real theXv, const Standard_Real theYv); /****************** gp_Vec2d ******************/ - /**** md5 signature: ba71a2a695fea76c909ac177da58a16a ****/ + /**** md5 signature: e982e1194c488fb27534f0c75cba7643 ****/ %feature("compactdefaultargs") gp_Vec2d; - %feature("autodoc", "Creates a vector from two points. the length of the vector is the distance between p1 and p2. + %feature("autodoc", "Creates a vector from two points. the length of the vector is the distance between thep1 and thep2. Parameters ---------- -P1: gp_Pnt2d -P2: gp_Pnt2d +theP1: gp_Pnt2d +theP2: gp_Pnt2d Returns ------- None ") gp_Vec2d; - gp_Vec2d(const gp_Pnt2d & P1, const gp_Pnt2d & P2); + gp_Vec2d(const gp_Pnt2d & theP1, const gp_Pnt2d & theP2); /****************** Add ******************/ - /**** md5 signature: f8f123e87693fcde3f214e9062026bb0 ****/ + /**** md5 signature: c2895febe7400b6786be774a8ff75886 ****/ %feature("compactdefaultargs") Add; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_Vec2d +theOther: gp_Vec2d Returns ------- None ") Add; - void Add(const gp_Vec2d & Other); + void Add(const gp_Vec2d & theOther); /****************** Added ******************/ - /**** md5 signature: 27ae5ecc23c0f54ede7ca955c0a4d4dc ****/ + /**** md5 signature: 432b9c6e72af81b9a938507d15331383 ****/ %feature("compactdefaultargs") Added; %feature("autodoc", "Adds two vectors. Parameters ---------- -Other: gp_Vec2d +theOther: gp_Vec2d Returns ------- gp_Vec2d ") Added; - gp_Vec2d Added(const gp_Vec2d & Other); + gp_Vec2d Added(const gp_Vec2d & theOther); /****************** Angle ******************/ - /**** md5 signature: 0ddba91fa8211bd9ecfa7ad41b793ea8 ****/ + /**** md5 signature: da48acaf3f6b6c9d5c6f9dd22b93caac ****/ %feature("compactdefaultargs") Angle; - %feature("autodoc", "Computes the angular value between and returns the angle value between -pi and pi in radian. the orientation is from to other. the positive sense is the trigonometric sense. raises vectorwithnullmagnitude if .magnitude() <= resolution from gp or other.magnitude() <= resolution because the angular value is indefinite if one of the vectors has a null magnitude. + %feature("autodoc", "Computes the angular value between and returns the angle value between -pi and pi in radian. the orientation is from to theother. the positive sense is the trigonometric sense. raises vectorwithnullmagnitude if .magnitude() <= resolution from gp or theother.magnitude() <= resolution because the angular value is indefinite if one of the vectors has a null magnitude. Parameters ---------- -Other: gp_Vec2d +theOther: gp_Vec2d Returns ------- float ") Angle; - Standard_Real Angle(const gp_Vec2d & Other); + Standard_Real Angle(const gp_Vec2d & theOther); /****************** Coord ******************/ - /**** md5 signature: 615686a863135af4177d92a1b696f909 ****/ + /**** md5 signature: 8be7c51c8cc2bc59521f97740b0be5d2 ****/ %feature("compactdefaultargs") Coord; - %feature("autodoc", "Returns the coordinate of range index : index = 1 => x is returned index = 2 => y is returned raised if index != {1, 2}. + %feature("autodoc", "Returns the coordinate of range theindex : theindex = 1 => x is returned theindex = 2 => y is returned raised if theindex != {1, 2}. Parameters ---------- -Index: int +theIndex: int Returns ------- float ") Coord; - Standard_Real Coord(const Standard_Integer Index); + Standard_Real Coord(const Standard_Integer theIndex); /****************** Coord ******************/ - /**** md5 signature: b8a284c811b6527ab91769eb2ef6424d ****/ + /**** md5 signature: cd6b81aa323a641be1b7710b8f29c3b9 ****/ %feature("compactdefaultargs") Coord; - %feature("autodoc", "For this vector, returns its two coordinates xv and yv. + %feature("autodoc", "For this vector, returns its two coordinates thexv and theyv. Parameters ---------- Returns ------- -Xv: float -Yv: float +theXv: float +theYv: float ") Coord; void Coord(Standard_Real &OutValue, Standard_Real &OutValue); /****************** CrossMagnitude ******************/ - /**** md5 signature: ee12b4c07c95a5fba348585848919356 ****/ + /**** md5 signature: e11325657c0deb816152066189faa4ab ****/ %feature("compactdefaultargs") CrossMagnitude; - %feature("autodoc", "Computes the magnitude of the cross product between and right. returns || ^ right ||. + %feature("autodoc", "Computes the magnitude of the cross product between and theright. returns || ^ theright ||. Parameters ---------- -Right: gp_Vec2d +theRight: gp_Vec2d Returns ------- float ") CrossMagnitude; - Standard_Real CrossMagnitude(const gp_Vec2d & Right); + Standard_Real CrossMagnitude(const gp_Vec2d & theRight); /****************** CrossSquareMagnitude ******************/ - /**** md5 signature: 4840a4b1ffb04d8d6e29509545103fdf ****/ + /**** md5 signature: ca8a6dee6a5b2fb5ea663d9a42f0da7b ****/ %feature("compactdefaultargs") CrossSquareMagnitude; - %feature("autodoc", "Computes the square magnitude of the cross product between and right. returns || ^ right ||**2. + %feature("autodoc", "Computes the square magnitude of the cross product between and theright. returns || ^ theright ||**2. Parameters ---------- -Right: gp_Vec2d +theRight: gp_Vec2d Returns ------- float ") CrossSquareMagnitude; - Standard_Real CrossSquareMagnitude(const gp_Vec2d & Right); + Standard_Real CrossSquareMagnitude(const gp_Vec2d & theRight); /****************** Crossed ******************/ - /**** md5 signature: 47dc649aeb55e3faeb46861fe97c1965 ****/ + /**** md5 signature: d30b1ddf1a928da8d549ad74a3df9142 ****/ %feature("compactdefaultargs") Crossed; %feature("autodoc", "Computes the crossing product between two vectors. Parameters ---------- -Right: gp_Vec2d +theRight: gp_Vec2d Returns ------- float ") Crossed; - Standard_Real Crossed(const gp_Vec2d & Right); + Standard_Real Crossed(const gp_Vec2d & theRight); /****************** Divide ******************/ - /**** md5 signature: 7bc46cf38daaa2229b322d9add0408e3 ****/ + /**** md5 signature: 6b91e208468c68ac43147a4e287acb7d ****/ %feature("compactdefaultargs") Divide; %feature("autodoc", "No available documentation. Parameters ---------- -Scalar: float +theScalar: float Returns ------- None ") Divide; - void Divide(const Standard_Real Scalar); + void Divide(const Standard_Real theScalar); /****************** Divided ******************/ - /**** md5 signature: 71641d2d49495f2c447e3362a45a85e8 ****/ + /**** md5 signature: 50150c0b4b454d3725f7cb1cf03c1ade ****/ %feature("compactdefaultargs") Divided; %feature("autodoc", "Divides a vector by a scalar. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_Vec2d ") Divided; - gp_Vec2d Divided(const Standard_Real Scalar); + gp_Vec2d Divided(const Standard_Real theScalar); /****************** Dot ******************/ - /**** md5 signature: 5dbc96bfefacd876fca25a123dddfb69 ****/ + /**** md5 signature: 83f496aae5b485d051619c75b5a1cb37 ****/ %feature("compactdefaultargs") Dot; %feature("autodoc", "Computes the scalar product. Parameters ---------- -Other: gp_Vec2d +theOther: gp_Vec2d Returns ------- float ") Dot; - Standard_Real Dot(const gp_Vec2d & Other); + Standard_Real Dot(const gp_Vec2d & theOther); /****************** GetNormal ******************/ - /**** md5 signature: 764cc3c99b6de4a17a4ae68f5fda52ac ****/ + /**** md5 signature: dcb93582d2e8508e17b0006ff62d302b ****/ %feature("compactdefaultargs") GetNormal; %feature("autodoc", "No available documentation. @@ -18306,72 +18310,72 @@ gp_Vec2d gp_Vec2d GetNormal(); /****************** IsEqual ******************/ - /**** md5 signature: f0d01535abf67eaaee7933df52b76b9a ****/ + /**** md5 signature: f6af12975fc1702dd89874d75f43ae4f ****/ %feature("compactdefaultargs") IsEqual; - %feature("autodoc", "Returns true if the two vectors have the same magnitude value and the same direction. the precision values are lineartolerance for the magnitude and angulartolerance for the direction. + %feature("autodoc", "Returns true if the two vectors have the same magnitude value and the same direction. the precision values are thelineartolerance for the magnitude and theangulartolerance for the direction. Parameters ---------- -Other: gp_Vec2d -LinearTolerance: float -AngularTolerance: float +theOther: gp_Vec2d +theLinearTolerance: float +theAngularTolerance: float Returns ------- bool ") IsEqual; - Standard_Boolean IsEqual(const gp_Vec2d & Other, const Standard_Real LinearTolerance, const Standard_Real AngularTolerance); + Standard_Boolean IsEqual(const gp_Vec2d & theOther, const Standard_Real theLinearTolerance, const Standard_Real theAngularTolerance); /****************** IsNormal ******************/ - /**** md5 signature: 6c86838395da309e31e17ad62d65b4e2 ****/ + /**** md5 signature: cd2423101287311ef4d810a997e7f783 ****/ %feature("compactdefaultargs") IsNormal; - %feature("autodoc", "Returns true if abs(abs(.angle(other)) - pi/2.) <= angulartolerance raises vectorwithnullmagnitude if .magnitude() <= resolution or other.magnitude() <= resolution from gp. + %feature("autodoc", "Returns true if abs(abs(.angle(theother)) - pi/2.) <= theangulartolerance raises vectorwithnullmagnitude if .magnitude() <= resolution or theother.magnitude() <= resolution from gp. Parameters ---------- -Other: gp_Vec2d -AngularTolerance: float +theOther: gp_Vec2d +theAngularTolerance: float Returns ------- bool ") IsNormal; - Standard_Boolean IsNormal(const gp_Vec2d & Other, const Standard_Real AngularTolerance); + Standard_Boolean IsNormal(const gp_Vec2d & theOther, const Standard_Real theAngularTolerance); /****************** IsOpposite ******************/ - /**** md5 signature: b37ed60ac6430d490dc8034b219c8a36 ****/ + /**** md5 signature: 1bf3ebb7fd93f4d54ba61e3d7c8fea8f ****/ %feature("compactdefaultargs") IsOpposite; - %feature("autodoc", "Returns true if pi - abs(.angle(other)) <= angulartolerance raises vectorwithnullmagnitude if .magnitude() <= resolution or other.magnitude() <= resolution from gp. + %feature("autodoc", "Returns true if pi - abs(.angle(theother)) <= theangulartolerance raises vectorwithnullmagnitude if .magnitude() <= resolution or theother.magnitude() <= resolution from gp. Parameters ---------- -Other: gp_Vec2d -AngularTolerance: float +theOther: gp_Vec2d +theAngularTolerance: float Returns ------- bool ") IsOpposite; - Standard_Boolean IsOpposite(const gp_Vec2d & Other, const Standard_Real AngularTolerance); + Standard_Boolean IsOpposite(const gp_Vec2d & theOther, const Standard_Real theAngularTolerance); /****************** IsParallel ******************/ - /**** md5 signature: 1b233ca5596da993b7bf0bf8e0b190eb ****/ + /**** md5 signature: ac36646a5d155227bbf52a091e1eeaf8 ****/ %feature("compactdefaultargs") IsParallel; - %feature("autodoc", "Returns true if abs(angle(, other)) <= angulartolerance or pi - abs(angle(, other)) <= angulartolerance two vectors with opposite directions are considered as parallel. raises vectorwithnullmagnitude if .magnitude() <= resolution or other.magnitude() <= resolution from gp. + %feature("autodoc", "Returns true if abs(angle(, theother)) <= theangulartolerance or pi - abs(angle(, theother)) <= theangulartolerance two vectors with opposite directions are considered as parallel. raises vectorwithnullmagnitude if .magnitude() <= resolution or theother.magnitude() <= resolution from gp. Parameters ---------- -Other: gp_Vec2d -AngularTolerance: float +theOther: gp_Vec2d +theAngularTolerance: float Returns ------- bool ") IsParallel; - Standard_Boolean IsParallel(const gp_Vec2d & Other, const Standard_Real AngularTolerance); + Standard_Boolean IsParallel(const gp_Vec2d & theOther, const Standard_Real theAngularTolerance); /****************** Magnitude ******************/ - /**** md5 signature: 226b68b23c63a4cea2ecf63c5b3ac5b6 ****/ + /**** md5 signature: 32ce43647be1c0dd397a58841fa1163e ****/ %feature("compactdefaultargs") Magnitude; %feature("autodoc", "Computes the magnitude of this vector. @@ -18382,97 +18386,97 @@ float Standard_Real Magnitude(); /****************** Mirror ******************/ - /**** md5 signature: 9e0344961f8b2170ff3b5d956316d749 ****/ + /**** md5 signature: ea69e2d6868e004299bb83dd68d54283 ****/ %feature("compactdefaultargs") Mirror; - %feature("autodoc", "Performs the symmetrical transformation of a vector with respect to the vector v which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of a vector with respect to the vector thev which is the center of the symmetry. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- None ") Mirror; - void Mirror(const gp_Vec2d & V); + void Mirror(const gp_Vec2d & theV); /****************** Mirror ******************/ - /**** md5 signature: 25e1e0ec76d8e19946a8283b83e4164c ****/ + /**** md5 signature: 235268bdc819ae1aa6028dbccd7a8cfb ****/ %feature("compactdefaultargs") Mirror; %feature("autodoc", "Performs the symmetrical transformation of a vector with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A1: gp_Ax2d +theA1: gp_Ax2d Returns ------- None ") Mirror; - void Mirror(const gp_Ax2d & A1); + void Mirror(const gp_Ax2d & theA1); /****************** Mirrored ******************/ - /**** md5 signature: 2cf59fc9c65df7b00db69df465f11228 ****/ + /**** md5 signature: f8589ba6940d77412bec5604dacd9307 ****/ %feature("compactdefaultargs") Mirrored; - %feature("autodoc", "Performs the symmetrical transformation of a vector with respect to the vector v which is the center of the symmetry. + %feature("autodoc", "Performs the symmetrical transformation of a vector with respect to the vector thev which is the center of the symmetry. Parameters ---------- -V: gp_Vec2d +theV: gp_Vec2d Returns ------- gp_Vec2d ") Mirrored; - gp_Vec2d Mirrored(const gp_Vec2d & V); + gp_Vec2d Mirrored(const gp_Vec2d & theV); /****************** Mirrored ******************/ - /**** md5 signature: 669b3fb584f2f43533801ae69ed8d373 ****/ + /**** md5 signature: 2a2565e4a18bdb5f501d2e7387b1ec22 ****/ %feature("compactdefaultargs") Mirrored; %feature("autodoc", "Performs the symmetrical transformation of a vector with respect to an axis placement which is the axis of the symmetry. Parameters ---------- -A1: gp_Ax2d +theA1: gp_Ax2d Returns ------- gp_Vec2d ") Mirrored; - gp_Vec2d Mirrored(const gp_Ax2d & A1); + gp_Vec2d Mirrored(const gp_Ax2d & theA1); /****************** Multiplied ******************/ - /**** md5 signature: 16b656cb2d055241ddb497884ea91190 ****/ + /**** md5 signature: a6a935e8f643ca63aae1566c1f6df1b6 ****/ %feature("compactdefaultargs") Multiplied; %feature("autodoc", "Normalizes a vector raises an exception if the magnitude of the vector is lower or equal to resolution from package gp. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_Vec2d ") Multiplied; - gp_Vec2d Multiplied(const Standard_Real Scalar); + gp_Vec2d Multiplied(const Standard_Real theScalar); /****************** Multiply ******************/ - /**** md5 signature: c6d925fe0833ff6abc2c1aab20682246 ****/ + /**** md5 signature: 94c083012ff2f3e798eccef399e23708 ****/ %feature("compactdefaultargs") Multiply; %feature("autodoc", "No available documentation. Parameters ---------- -Scalar: float +theScalar: float Returns ------- None ") Multiply; - void Multiply(const Standard_Real Scalar); + void Multiply(const Standard_Real theScalar); /****************** Normalize ******************/ - /**** md5 signature: 587346cf1e1c12fdf674aedc915ccd95 ****/ + /**** md5 signature: df5d0be92b25875af291db140fcd7cf4 ****/ %feature("compactdefaultargs") Normalize; %feature("autodoc", "No available documentation. @@ -18494,7 +18498,7 @@ gp_Vec2d gp_Vec2d Normalized(); /****************** Reverse ******************/ - /**** md5 signature: b751d6874fc026e19a7a6cb37e9ac1b4 ****/ + /**** md5 signature: 51c7e0d05769dec0ec2bb70e4d25e48d ****/ %feature("compactdefaultargs") Reverse; %feature("autodoc", "No available documentation. @@ -18505,7 +18509,7 @@ None void Reverse(); /****************** Reversed ******************/ - /**** md5 signature: a991541fca6390f64df9d589cd37193f ****/ + /**** md5 signature: ec423c2fb50a9f76cc25647dc8893a02 ****/ %feature("compactdefaultargs") Reversed; %feature("autodoc", "Reverses the direction of a vector. @@ -18516,214 +18520,214 @@ gp_Vec2d gp_Vec2d Reversed(); /****************** Rotate ******************/ - /**** md5 signature: 1f5728589a1f78e2418cd03d8bfa9e86 ****/ + /**** md5 signature: 82996f7fe32ff93d39eb7f8fd7b1cdfd ****/ %feature("compactdefaultargs") Rotate; %feature("autodoc", "No available documentation. Parameters ---------- -Ang: float +theAng: float Returns ------- None ") Rotate; - void Rotate(const Standard_Real Ang); + void Rotate(const Standard_Real theAng); /****************** Rotated ******************/ - /**** md5 signature: ff874b66d9e1bfe9e9ec62d0cad989bb ****/ + /**** md5 signature: 342d4aadc2457355ae59bfd448c70147 ****/ %feature("compactdefaultargs") Rotated; - %feature("autodoc", "Rotates a vector. ang is the angular value of the rotation in radians. + %feature("autodoc", "Rotates a vector. theang is the angular value of the rotation in radians. Parameters ---------- -Ang: float +theAng: float Returns ------- gp_Vec2d ") Rotated; - gp_Vec2d Rotated(const Standard_Real Ang); + gp_Vec2d Rotated(const Standard_Real theAng); /****************** Scale ******************/ - /**** md5 signature: 0874a05e93802f5d3b05494e8f21a8d2 ****/ + /**** md5 signature: 2d6b28bd34c257ef941fb69b6ae84ed6 ****/ %feature("compactdefaultargs") Scale; %feature("autodoc", "No available documentation. Parameters ---------- -S: float +theS: float Returns ------- None ") Scale; - void Scale(const Standard_Real S); + void Scale(const Standard_Real theS); /****************** Scaled ******************/ - /**** md5 signature: 82743635d7f97723add016524b99dc57 ****/ + /**** md5 signature: 2020e6e566e0a55494be8f23c73b9e99 ****/ %feature("compactdefaultargs") Scaled; - %feature("autodoc", "Scales a vector. s is the scaling value. + %feature("autodoc", "Scales a vector. thes is the scaling value. Parameters ---------- -S: float +theS: float Returns ------- gp_Vec2d ") Scaled; - gp_Vec2d Scaled(const Standard_Real S); + gp_Vec2d Scaled(const Standard_Real theS); /****************** SetCoord ******************/ - /**** md5 signature: 6a7aba643afced1a67b8420fce55034e ****/ + /**** md5 signature: 52cef977af7789ed4ebe28e0285a09a0 ****/ %feature("compactdefaultargs") SetCoord; - %feature("autodoc", "Changes the coordinate of range index index = 1 => x is modified index = 2 => y is modified raises outofrange if index != {1, 2}. + %feature("autodoc", "Changes the coordinate of range theindex theindex = 1 => x is modified theindex = 2 => y is modified raises outofrange if theindex != {1, 2}. Parameters ---------- -Index: int -Xi: float +theIndex: int +theXi: float Returns ------- None ") SetCoord; - void SetCoord(const Standard_Integer Index, const Standard_Real Xi); + void SetCoord(const Standard_Integer theIndex, const Standard_Real theXi); /****************** SetCoord ******************/ - /**** md5 signature: 89ebec90371b06b65c615274fc32dbb5 ****/ + /**** md5 signature: f7ce5829547d8c735ee00c7444b81655 ****/ %feature("compactdefaultargs") SetCoord; - %feature("autodoc", "For this vector, assigns the values xv and yv to its two coordinates. + %feature("autodoc", "For this vector, assigns the values thexv and theyv to its two coordinates. Parameters ---------- -Xv: float -Yv: float +theXv: float +theYv: float Returns ------- None ") SetCoord; - void SetCoord(const Standard_Real Xv, const Standard_Real Yv); + void SetCoord(const Standard_Real theXv, const Standard_Real theYv); /****************** SetLinearForm ******************/ - /**** md5 signature: d7d0dce6b273b83078f36cb30bf1908c ****/ + /**** md5 signature: bd906f0bd8e37987e9d9ae94dae4a5b5 ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", " is set to the following linear form : a1 * v1 + a2 * v2 + v3. + %feature("autodoc", " is set to the following linear form : thea1 * thev1 + thea2 * thev2 + thev3. Parameters ---------- -A1: float -V1: gp_Vec2d -A2: float -V2: gp_Vec2d -V3: gp_Vec2d +theA1: float +theV1: gp_Vec2d +theA2: float +theV2: gp_Vec2d +theV3: gp_Vec2d Returns ------- None ") SetLinearForm; - void SetLinearForm(const Standard_Real A1, const gp_Vec2d & V1, const Standard_Real A2, const gp_Vec2d & V2, const gp_Vec2d & V3); + void SetLinearForm(const Standard_Real theA1, const gp_Vec2d & theV1, const Standard_Real theA2, const gp_Vec2d & theV2, const gp_Vec2d & theV3); /****************** SetLinearForm ******************/ - /**** md5 signature: 167b24f7866ea95c55b52f082dc0879f ****/ + /**** md5 signature: ce6784e542a49fe5902e1c951b0d7114 ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", " is set to the following linear form : a1 * v1 + a2 * v2. + %feature("autodoc", " is set to the following linear form : thea1 * thev1 + thea2 * thev2. Parameters ---------- -A1: float -V1: gp_Vec2d -A2: float -V2: gp_Vec2d +theA1: float +theV1: gp_Vec2d +theA2: float +theV2: gp_Vec2d Returns ------- None ") SetLinearForm; - void SetLinearForm(const Standard_Real A1, const gp_Vec2d & V1, const Standard_Real A2, const gp_Vec2d & V2); + void SetLinearForm(const Standard_Real theA1, const gp_Vec2d & theV1, const Standard_Real theA2, const gp_Vec2d & theV2); /****************** SetLinearForm ******************/ - /**** md5 signature: 823780e08736f8450a2ab04ce89dead0 ****/ + /**** md5 signature: bec6015049757435b1b8c89845425c1e ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", " is set to the following linear form : a1 * v1 + v2. + %feature("autodoc", " is set to the following linear form : thea1 * thev1 + thev2. Parameters ---------- -A1: float -V1: gp_Vec2d -V2: gp_Vec2d +theA1: float +theV1: gp_Vec2d +theV2: gp_Vec2d Returns ------- None ") SetLinearForm; - void SetLinearForm(const Standard_Real A1, const gp_Vec2d & V1, const gp_Vec2d & V2); + void SetLinearForm(const Standard_Real theA1, const gp_Vec2d & theV1, const gp_Vec2d & theV2); /****************** SetLinearForm ******************/ - /**** md5 signature: 9cc397b35ea5d911d89b95c8259a48cc ****/ + /**** md5 signature: 33d8769d59477c596bbfbd4c5da17e83 ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", " is set to the following linear form : left + right. + %feature("autodoc", " is set to the following linear form : thev1 + thev2. Parameters ---------- -Left: gp_Vec2d -Right: gp_Vec2d +theV1: gp_Vec2d +theV2: gp_Vec2d Returns ------- None ") SetLinearForm; - void SetLinearForm(const gp_Vec2d & Left, const gp_Vec2d & Right); + void SetLinearForm(const gp_Vec2d & theV1, const gp_Vec2d & theV2); /****************** SetX ******************/ - /**** md5 signature: 30fe204d4c67d94370133e1d40dc6787 ****/ + /**** md5 signature: 1bf65ee31f0303d20dd96cc6dbcfa44e ****/ %feature("compactdefaultargs") SetX; %feature("autodoc", "Assigns the given value to the x coordinate of this vector. Parameters ---------- -X: float +theX: float Returns ------- None ") SetX; - void SetX(const Standard_Real X); + void SetX(const Standard_Real theX); /****************** SetXY ******************/ - /**** md5 signature: 6c2893a57a740cb14668b2ad98f8f8f8 ****/ + /**** md5 signature: a04e254971f4b44fa9cc1f7852c920de ****/ %feature("compactdefaultargs") SetXY; - %feature("autodoc", "Assigns the two coordinates of coord to this vector. + %feature("autodoc", "Assigns the two coordinates of thecoord to this vector. Parameters ---------- -Coord: gp_XY +theCoord: gp_XY Returns ------- None ") SetXY; - void SetXY(const gp_XY & Coord); + void SetXY(const gp_XY & theCoord); /****************** SetY ******************/ - /**** md5 signature: 8f42f770a3959dece2671d90f60e35e2 ****/ + /**** md5 signature: 4d69a9fe7ed8a7d182afbae632001bd2 ****/ %feature("compactdefaultargs") SetY; %feature("autodoc", "Assigns the given value to the y coordinate of this vector. Parameters ---------- -Y: float +theY: float Returns ------- None ") SetY; - void SetY(const Standard_Real Y); + void SetY(const Standard_Real theY); /****************** SquareMagnitude ******************/ - /**** md5 signature: 86bd25f4a05f6f29c03f2f6a040d94d0 ****/ + /**** md5 signature: 65ee82a5930920204ad1cfebbc4cbbf2 ****/ %feature("compactdefaultargs") SquareMagnitude; %feature("autodoc", "Computes the square magnitude of this vector. @@ -18734,67 +18738,67 @@ float Standard_Real SquareMagnitude(); /****************** Subtract ******************/ - /**** md5 signature: bfd02e9426dd88459644bb82dfd3f343 ****/ + /**** md5 signature: e0df287ba2f43c66cabb2b6ec4f2c10d ****/ %feature("compactdefaultargs") Subtract; %feature("autodoc", "Subtracts two vectors. Parameters ---------- -Right: gp_Vec2d +theRight: gp_Vec2d Returns ------- None ") Subtract; - void Subtract(const gp_Vec2d & Right); + void Subtract(const gp_Vec2d & theRight); /****************** Subtracted ******************/ - /**** md5 signature: fda5d8617dc470d34ead39747515c336 ****/ + /**** md5 signature: 091661a7d99b2cf0d7e78cbf6e194162 ****/ %feature("compactdefaultargs") Subtracted; %feature("autodoc", "Subtracts two vectors. Parameters ---------- -Right: gp_Vec2d +theRight: gp_Vec2d Returns ------- gp_Vec2d ") Subtracted; - gp_Vec2d Subtracted(const gp_Vec2d & Right); + gp_Vec2d Subtracted(const gp_Vec2d & theRight); /****************** Transform ******************/ - /**** md5 signature: dace16a29a39216c0dd584c6964e840b ****/ + /**** md5 signature: 94f8045e6a4465708e872ec10cb3f4d1 ****/ %feature("compactdefaultargs") Transform; %feature("autodoc", "No available documentation. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- None ") Transform; - void Transform(const gp_Trsf2d & T); + void Transform(const gp_Trsf2d & theT); /****************** Transformed ******************/ - /**** md5 signature: 9d4f37e13ff7f955f0e23bbd5c27214d ****/ + /**** md5 signature: 07ec7b662dc14a46b6ff8505fe429a93 ****/ %feature("compactdefaultargs") Transformed; %feature("autodoc", "Transforms a vector with a trsf from gp. Parameters ---------- -T: gp_Trsf2d +theT: gp_Trsf2d Returns ------- gp_Vec2d ") Transformed; - gp_Vec2d Transformed(const gp_Trsf2d & T); + gp_Vec2d Transformed(const gp_Trsf2d & theT); /****************** X ******************/ - /**** md5 signature: 2dbf42f7dc56303f104fb0fa585dc6e6 ****/ + /**** md5 signature: 05c2850f49d76f9d0f9da9e2fdb99a8b ****/ %feature("compactdefaultargs") X; %feature("autodoc", "For this vector, returns its x coordinate. @@ -18805,7 +18809,7 @@ float Standard_Real X(); /****************** XY ******************/ - /**** md5 signature: 0572c9669063bef343b6bffa656e7e3a ****/ + /**** md5 signature: 8129e296b053b8847fa5f009e7848507 ****/ %feature("compactdefaultargs") XY; %feature("autodoc", "For this vector, returns its two coordinates as a number pair. @@ -18816,7 +18820,7 @@ gp_XY const gp_XY XY(); /****************** Y ******************/ - /**** md5 signature: 7fd17991f11a9702e525c7070ce7cec6 ****/ + /**** md5 signature: 0142f6b6b08f82a328de2fb00d13afbf ****/ %feature("compactdefaultargs") Y; %feature("autodoc", "For this vector, returns its y coordinate. @@ -18827,34 +18831,34 @@ float Standard_Real Y(); /****************** operator * ******************/ - /**** md5 signature: 820f4246d0d1a06e16854afdb1d45387 ****/ + /**** md5 signature: c09f1676bca1324ffe97d50e03553e47 ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_Vec2d +theOther: gp_Vec2d Returns ------- float ") operator *; - Standard_Real operator *(const gp_Vec2d & Other); + Standard_Real operator *(const gp_Vec2d & theOther); /****************** operator * ******************/ - /**** md5 signature: dc570e85a3a724281555cd67dcc05103 ****/ + /**** md5 signature: 38df849c6336da76c6cdd4e71a2cdf28 ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_Vec2d ") operator *; - gp_Vec2d operator *(const Standard_Real Scalar); + gp_Vec2d operator *(const Standard_Real theScalar); %extend{ @@ -18868,19 +18872,19 @@ gp_Vec2d return self } /****************** operator + ******************/ - /**** md5 signature: 8c1dba3f824b6f273bc09bbeb6d7a444 ****/ + /**** md5 signature: 34d7a6c112671277428feb10d3747300 ****/ %feature("compactdefaultargs") operator +; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_Vec2d +theOther: gp_Vec2d Returns ------- gp_Vec2d ") operator +; - gp_Vec2d operator +(const gp_Vec2d & Other); + gp_Vec2d operator +(const gp_Vec2d & theOther); %extend{ @@ -18905,19 +18909,19 @@ gp_Vec2d gp_Vec2d operator -(); /****************** operator - ******************/ - /**** md5 signature: 8c412a78c416a5fb1ac6ba5cf6e0c922 ****/ + /**** md5 signature: a5367d44226c848185a1b97cde32ec50 ****/ %feature("compactdefaultargs") operator -; %feature("autodoc", "No available documentation. Parameters ---------- -Right: gp_Vec2d +theRight: gp_Vec2d Returns ------- gp_Vec2d ") operator -; - gp_Vec2d operator -(const gp_Vec2d & Right); + gp_Vec2d operator -(const gp_Vec2d & theRight); %extend{ @@ -18931,19 +18935,19 @@ gp_Vec2d return self } /****************** operator / ******************/ - /**** md5 signature: 87606ae9d4c24ce5e7463f4a7848d298 ****/ + /**** md5 signature: b0e5e71aaabf55191684b3975d9eb54e ****/ %feature("compactdefaultargs") operator /; %feature("autodoc", "No available documentation. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_Vec2d ") operator /; - gp_Vec2d operator /(const Standard_Real Scalar); + gp_Vec2d operator /(const Standard_Real theScalar); %extend{ @@ -18971,7 +18975,7 @@ gp_Vec2d class gp_XY { public: /****************** gp_XY ******************/ - /**** md5 signature: 9b9b5c7e8c1877fd22cf4bcfef592562 ****/ + /**** md5 signature: 481937d291f637c0bf2b607e21a1236b ****/ %feature("compactdefaultargs") gp_XY; %feature("autodoc", "Creates xy object with zero coordinates (0,0). @@ -18982,50 +18986,50 @@ None gp_XY(); /****************** gp_XY ******************/ - /**** md5 signature: f77752d9049b6a28d4e97e8f0fe963df ****/ + /**** md5 signature: 2954fedf69ba3bfdd8644975c9e365e4 ****/ %feature("compactdefaultargs") gp_XY; %feature("autodoc", "A number pair defined by the xy coordinates. Parameters ---------- -X: float -Y: float +theX: float +theY: float Returns ------- None ") gp_XY; - gp_XY(const Standard_Real X, const Standard_Real Y); + gp_XY(const Standard_Real theX, const Standard_Real theY); /****************** Add ******************/ - /**** md5 signature: 4556d0386f28b55bf241c4f572e2bc9c ****/ + /**** md5 signature: 0aea59d9b8e91f4da1fd1bc82c836d0c ****/ %feature("compactdefaultargs") Add; - %feature("autodoc", "Computes the sum of this number pair and number pair other .x() = .x() + other.x() .y() = .y() + other.y(). + %feature("autodoc", "Computes the sum of this number pair and number pair theother @code .x() = .x() + theother.x() .y() = .y() + theother.y(). Parameters ---------- -Other: gp_XY +theOther: gp_XY Returns ------- None ") Add; - void Add(const gp_XY & Other); + void Add(const gp_XY & theOther); /****************** Added ******************/ - /**** md5 signature: d0ec543da58e472bf4f53ec5eceff2f5 ****/ + /**** md5 signature: 550ccb9bf6e21ceb48601cc416a4c7d3 ****/ %feature("compactdefaultargs") Added; - %feature("autodoc", "Computes the sum of this number pair and number pair other new.x() = .x() + other.x() new.y() = .y() + other.y(). + %feature("autodoc", "Computes the sum of this number pair and number pair theother @code new.x() = .x() + theother.x() new.y() = .y() + theother.y() @endcode. Parameters ---------- -Other: gp_XY +theOther: gp_XY Returns ------- gp_XY ") Added; - gp_XY Added(const gp_XY & Other); + gp_XY Added(const gp_XY & theOther); %feature("autodoc","1"); @@ -19041,22 +19045,22 @@ gp_XY } }; /****************** Coord ******************/ - /**** md5 signature: 615686a863135af4177d92a1b696f909 ****/ + /**** md5 signature: f8e2ac672e52fd226debe419b91a5fdd ****/ %feature("compactdefaultargs") Coord; - %feature("autodoc", "Returns the coordinate of range index : index = 1 => x is returned index = 2 => y is returned raises outofrange if index != {1, 2}. + %feature("autodoc", "Returns the coordinate of range theindex : theindex = 1 => x is returned theindex = 2 => y is returned raises outofrange if theindex != {1, 2}. Parameters ---------- -Index: int +theIndex: int Returns ------- float ") Coord; - Standard_Real Coord(const Standard_Integer Index); + Standard_Real Coord(const Standard_Integer theIndex); /****************** Coord ******************/ - /**** md5 signature: 2bbebb135dcc8c9f5d324bb139387460 ****/ + /**** md5 signature: 777710661e7d75e02bbe6cd9da6204dc ****/ %feature("compactdefaultargs") Coord; %feature("autodoc", "For this number pair, returns its coordinates x and y. @@ -19065,119 +19069,119 @@ Parameters Returns ------- -X: float -Y: float +theX: float +theY: float ") Coord; void Coord(Standard_Real &OutValue, Standard_Real &OutValue); /****************** CrossMagnitude ******************/ - /**** md5 signature: 6233f5d00c4226d0dc8082c924898c88 ****/ + /**** md5 signature: b9d3fd498ec45080533a13dc2205b23d ****/ %feature("compactdefaultargs") CrossMagnitude; - %feature("autodoc", "Computes the magnitude of the cross product between and right. returns || ^ right ||. + %feature("autodoc", "Computes the magnitude of the cross product between and theright. returns || ^ theright ||. Parameters ---------- -Right: gp_XY +theRight: gp_XY Returns ------- float ") CrossMagnitude; - Standard_Real CrossMagnitude(const gp_XY & Right); + Standard_Real CrossMagnitude(const gp_XY & theRight); /****************** CrossSquareMagnitude ******************/ - /**** md5 signature: 6783da7fa10361b03cd1efd585501ae0 ****/ + /**** md5 signature: 9cbab779daca690572d69e0cc393cce2 ****/ %feature("compactdefaultargs") CrossSquareMagnitude; - %feature("autodoc", "Computes the square magnitude of the cross product between and right. returns || ^ right ||**2. + %feature("autodoc", "Computes the square magnitude of the cross product between and theright. returns || ^ theright ||**2. Parameters ---------- -Right: gp_XY +theRight: gp_XY Returns ------- float ") CrossSquareMagnitude; - Standard_Real CrossSquareMagnitude(const gp_XY & Right); + Standard_Real CrossSquareMagnitude(const gp_XY & theRight); /****************** Crossed ******************/ - /**** md5 signature: ea63b7bd7d53c30e07ec9f9f61796429 ****/ + /**** md5 signature: 98e7234d929e0d7f7094422326680e37 ****/ %feature("compactdefaultargs") Crossed; - %feature("autodoc", "Real d = .x() * other.y() - .y() * other.x(). + %feature("autodoc", "@code double d = .x() * theother.y() - .y() * theother.x() @endcode. Parameters ---------- -Right: gp_XY +theOther: gp_XY Returns ------- float ") Crossed; - Standard_Real Crossed(const gp_XY & Right); + Standard_Real Crossed(const gp_XY & theOther); /****************** Divide ******************/ - /**** md5 signature: 7bc46cf38daaa2229b322d9add0408e3 ****/ + /**** md5 signature: 6b91e208468c68ac43147a4e287acb7d ****/ %feature("compactdefaultargs") Divide; %feature("autodoc", "Divides by a real. Parameters ---------- -Scalar: float +theScalar: float Returns ------- None ") Divide; - void Divide(const Standard_Real Scalar); + void Divide(const Standard_Real theScalar); /****************** Divided ******************/ - /**** md5 signature: 37e9ca4695c81cd4756de62d64fa8b6d ****/ + /**** md5 signature: 8c7264e49e4e15080aa8f3a30084a613 ****/ %feature("compactdefaultargs") Divided; %feature("autodoc", "Divides by a real. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_XY ") Divided; - gp_XY Divided(const Standard_Real Scalar); + gp_XY Divided(const Standard_Real theScalar); /****************** Dot ******************/ - /**** md5 signature: 64c515ab0f9e5774381c8632bed28593 ****/ + /**** md5 signature: 203d0d5944994685eb4acb7a8c98b4e6 ****/ %feature("compactdefaultargs") Dot; - %feature("autodoc", "Computes the scalar product between and other. + %feature("autodoc", "Computes the scalar product between and theother. Parameters ---------- -Other: gp_XY +theOther: gp_XY Returns ------- float ") Dot; - Standard_Real Dot(const gp_XY & Other); + Standard_Real Dot(const gp_XY & theOther); /****************** IsEqual ******************/ - /**** md5 signature: 336bd2c356d5e60179075d81a58487ba ****/ + /**** md5 signature: 2b1e8940d16c5a3875e1354e0b967cc8 ****/ %feature("compactdefaultargs") IsEqual; - %feature("autodoc", "Returns true if the coordinates of this number pair are equal to the respective coordinates of the number pair other, within the specified tolerance tolerance. i.e.: abs(.x() - other.x()) <= tolerance and abs(.y() - other.y()) <= tolerance and computations. + %feature("autodoc", "Returns true if the coordinates of this number pair are equal to the respective coordinates of the number pair theother, within the specified tolerance thetolerance. i.e.: abs(.x() - theother.x()) <= thetolerance and abs(.y() - theother.y()) <= thetolerance and computations. Parameters ---------- -Other: gp_XY -Tolerance: float +theOther: gp_XY +theTolerance: float Returns ------- bool ") IsEqual; - Standard_Boolean IsEqual(const gp_XY & Other, const Standard_Real Tolerance); + Standard_Boolean IsEqual(const gp_XY & theOther, const Standard_Real theTolerance); /****************** Modulus ******************/ - /**** md5 signature: fd1ea39f3920d59a842af376171fb4a0 ****/ + /**** md5 signature: 2699d32c474eedddd33fd283c9bedcfe ****/ %feature("compactdefaultargs") Modulus; %feature("autodoc", "Computes sqrt (x*x + y*y) where x and y are the two coordinates of this number pair. @@ -19188,99 +19192,99 @@ float Standard_Real Modulus(); /****************** Multiplied ******************/ - /**** md5 signature: 860248bfcbba3bca7f4bef4e4b4bddbf ****/ + /**** md5 signature: 32129e6fa98206b895bbd9d0dbc2abf5 ****/ %feature("compactdefaultargs") Multiplied; - %feature("autodoc", "New.x() = .x() * scalar; new.y() = .y() * scalar;. + %feature("autodoc", "@code new.x() = .x() * thescalar; new.y() = .y() * thescalar;. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_XY ") Multiplied; - gp_XY Multiplied(const Standard_Real Scalar); + gp_XY Multiplied(const Standard_Real theScalar); /****************** Multiplied ******************/ - /**** md5 signature: b44b85e3dfdb2c519f9cbae112f6caf6 ****/ + /**** md5 signature: ec4467f37006708c16cbab6f60a02570 ****/ %feature("compactdefaultargs") Multiplied; - %feature("autodoc", "New.x() = .x() * other.x(); new.y() = .y() * other.y();. + %feature("autodoc", "@code new.x() = .x() * theother.x(); new.y() = .y() * theother.y();. Parameters ---------- -Other: gp_XY +theOther: gp_XY Returns ------- gp_XY ") Multiplied; - gp_XY Multiplied(const gp_XY & Other); + gp_XY Multiplied(const gp_XY & theOther); /****************** Multiplied ******************/ - /**** md5 signature: b2d8ef1627ca605c735b55d513acb17c ****/ + /**** md5 signature: 32075de5ff84d6c32829b876df7d260e ****/ %feature("compactdefaultargs") Multiplied; - %feature("autodoc", "New = matrix * . + %feature("autodoc", "New = thematrix * @endcode. Parameters ---------- -Matrix: gp_Mat2d +theMatrix: gp_Mat2d Returns ------- gp_XY ") Multiplied; - gp_XY Multiplied(const gp_Mat2d & Matrix); + gp_XY Multiplied(const gp_Mat2d & theMatrix); /****************** Multiply ******************/ - /**** md5 signature: c6d925fe0833ff6abc2c1aab20682246 ****/ + /**** md5 signature: 94c083012ff2f3e798eccef399e23708 ****/ %feature("compactdefaultargs") Multiply; - %feature("autodoc", ".x() = .x() * scalar; .y() = .y() * scalar;. + %feature("autodoc", "@code .x() = .x() * thescalar; .y() = .y() * thescalar;. Parameters ---------- -Scalar: float +theScalar: float Returns ------- None ") Multiply; - void Multiply(const Standard_Real Scalar); + void Multiply(const Standard_Real theScalar); /****************** Multiply ******************/ - /**** md5 signature: a420b732d79b66d7a3238d3e3f6422ea ****/ + /**** md5 signature: 4f77e5fd412b710b83f5993cd03e1e94 ****/ %feature("compactdefaultargs") Multiply; - %feature("autodoc", ".x() = .x() * other.x(); .y() = .y() * other.y();. + %feature("autodoc", "@code .x() = .x() * theother.x(); .y() = .y() * theother.y();. Parameters ---------- -Other: gp_XY +theOther: gp_XY Returns ------- None ") Multiply; - void Multiply(const gp_XY & Other); + void Multiply(const gp_XY & theOther); /****************** Multiply ******************/ - /**** md5 signature: d2427b842de46096dd5fb54a0c795f3b ****/ + /**** md5 signature: 9fa69e1257a83260f98fe1bf1e332ad5 ****/ %feature("compactdefaultargs") Multiply; - %feature("autodoc", " = matrix * . + %feature("autodoc", " = thematrix * . Parameters ---------- -Matrix: gp_Mat2d +theMatrix: gp_Mat2d Returns ------- None ") Multiply; - void Multiply(const gp_Mat2d & Matrix); + void Multiply(const gp_Mat2d & theMatrix); /****************** Normalize ******************/ /**** md5 signature: 587346cf1e1c12fdf674aedc915ccd95 ****/ %feature("compactdefaultargs") Normalize; - %feature("autodoc", ".x() = .x()/ .modulus() .y() = .y()/ .modulus() raises constructionerror if .modulus() <= resolution from gp. + %feature("autodoc", "@code .x() = .x()/ .modulus() .y() = .y()/ .modulus() @endcode raises constructionerror if .modulus() <= resolution from gp. Returns ------- @@ -19289,9 +19293,9 @@ None void Normalize(); /****************** Normalized ******************/ - /**** md5 signature: 174ef09f589bc28ecc468d5199a2b619 ****/ + /**** md5 signature: 8898944e3b7e692f706481a3f7cdaa51 ****/ %feature("compactdefaultargs") Normalized; - %feature("autodoc", "New.x() = .x()/ .modulus() new.y() = .y()/ .modulus() raises constructionerror if .modulus() <= resolution from gp. + %feature("autodoc", "@code new.x() = .x()/ .modulus() new.y() = .y()/ .modulus() @endcode raises constructionerror if .modulus() <= resolution from gp. Returns ------- @@ -19300,9 +19304,9 @@ gp_XY gp_XY Normalized(); /****************** Reverse ******************/ - /**** md5 signature: b751d6874fc026e19a7a6cb37e9ac1b4 ****/ + /**** md5 signature: 9c5e529aeddddf4802e298a017101b81 ****/ %feature("compactdefaultargs") Reverse; - %feature("autodoc", ".x() = -.x() .y() = -.y(). + %feature("autodoc", "@code .x() = -.x() .y() = -.y(). Returns ------- @@ -19311,9 +19315,9 @@ None void Reverse(); /****************** Reversed ******************/ - /**** md5 signature: 427034000e7cda43b09154b1f7672730 ****/ + /**** md5 signature: 3f676473578a78a63892a2a9be728f89 ****/ %feature("compactdefaultargs") Reversed; - %feature("autodoc", "New.x() = -.x() new.y() = -.y(). + %feature("autodoc", "@code new.x() = -.x() new.y() = -.y(). Returns ------- @@ -19322,139 +19326,139 @@ gp_XY gp_XY Reversed(); /****************** SetCoord ******************/ - /**** md5 signature: 6a7aba643afced1a67b8420fce55034e ****/ + /**** md5 signature: e616fdf75a83d77d3aaf1662378e0d5a ****/ %feature("compactdefaultargs") SetCoord; - %feature("autodoc", "Modifies the coordinate of range index index = 1 => x is modified index = 2 => y is modified raises outofrange if index != {1, 2}. + %feature("autodoc", "Modifies the coordinate of range theindex theindex = 1 => x is modified theindex = 2 => y is modified raises outofrange if theindex != {1, 2}. Parameters ---------- -Index: int -Xi: float +theIndex: int +theXi: float Returns ------- None ") SetCoord; - void SetCoord(const Standard_Integer Index, const Standard_Real Xi); + void SetCoord(const Standard_Integer theIndex, const Standard_Real theXi); /****************** SetCoord ******************/ - /**** md5 signature: 7dcfdae9b9ff412a3b0904f02beeae09 ****/ + /**** md5 signature: e607770359989dca6babf13f3f489305 ****/ %feature("compactdefaultargs") SetCoord; - %feature("autodoc", "For this number pair, assigns the values x and y to its coordinates. + %feature("autodoc", "For this number pair, assigns the values thex and they to its coordinates. Parameters ---------- -X: float -Y: float +theX: float +theY: float Returns ------- None ") SetCoord; - void SetCoord(const Standard_Real X, const Standard_Real Y); + void SetCoord(const Standard_Real theX, const Standard_Real theY); /****************** SetLinearForm ******************/ - /**** md5 signature: 131bc64c1a2d837a9c9fcb9f50c95051 ****/ + /**** md5 signature: f4be5e8116b5c8dfc176c7d306a12ba0 ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", "Computes the following linear combination and assigns the result to this number pair: a1 * xy1 + a2 * xy2. + %feature("autodoc", "Computes the following linear combination and assigns the result to this number pair: @code thea1 * thexy1 + thea2 * thexy2. Parameters ---------- -A1: float -XY1: gp_XY -A2: float -XY2: gp_XY +theA1: float +theXY1: gp_XY +theA2: float +theXY2: gp_XY Returns ------- None ") SetLinearForm; - void SetLinearForm(const Standard_Real A1, const gp_XY & XY1, const Standard_Real A2, const gp_XY & XY2); + void SetLinearForm(const Standard_Real theA1, const gp_XY & theXY1, const Standard_Real theA2, const gp_XY & theXY2); /****************** SetLinearForm ******************/ - /**** md5 signature: a702ad60b752b1b613ba32c09608ac4a ****/ + /**** md5 signature: 1bcb5467e4199183bfa35fbae933fd05 ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", "-- computes the following linear combination and assigns the result to this number pair: a1 * xy1 + a2 * xy2 + xy3. + %feature("autodoc", "-- computes the following linear combination and assigns the result to this number pair: @code thea1 * thexy1 + thea2 * thexy2 + thexy3. Parameters ---------- -A1: float -XY1: gp_XY -A2: float -XY2: gp_XY -XY3: gp_XY +theA1: float +theXY1: gp_XY +theA2: float +theXY2: gp_XY +theXY3: gp_XY Returns ------- None ") SetLinearForm; - void SetLinearForm(const Standard_Real A1, const gp_XY & XY1, const Standard_Real A2, const gp_XY & XY2, const gp_XY & XY3); + void SetLinearForm(const Standard_Real theA1, const gp_XY & theXY1, const Standard_Real theA2, const gp_XY & theXY2, const gp_XY & theXY3); /****************** SetLinearForm ******************/ - /**** md5 signature: 34ef928dfd841fb7e117f87b876756c3 ****/ + /**** md5 signature: 9bedff4d535ccad73cb118a63d2b0d6c ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", "Computes the following linear combination and assigns the result to this number pair: a1 * xy1 + xy2. + %feature("autodoc", "Computes the following linear combination and assigns the result to this number pair: @code thea1 * thexy1 + thexy2. Parameters ---------- -A1: float -XY1: gp_XY -XY2: gp_XY +theA1: float +theXY1: gp_XY +theXY2: gp_XY Returns ------- None ") SetLinearForm; - void SetLinearForm(const Standard_Real A1, const gp_XY & XY1, const gp_XY & XY2); + void SetLinearForm(const Standard_Real theA1, const gp_XY & theXY1, const gp_XY & theXY2); /****************** SetLinearForm ******************/ - /**** md5 signature: 3a05137192dffb088fa03132d435106d ****/ + /**** md5 signature: bf4882d80826559c3bdeffa200aede8b ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", "Computes the following linear combination and assigns the result to this number pair: xy1 + xy2. + %feature("autodoc", "Computes the following linear combination and assigns the result to this number pair: @code thexy1 + thexy2. Parameters ---------- -XY1: gp_XY -XY2: gp_XY +theXY1: gp_XY +theXY2: gp_XY Returns ------- None ") SetLinearForm; - void SetLinearForm(const gp_XY & XY1, const gp_XY & XY2); + void SetLinearForm(const gp_XY & theXY1, const gp_XY & theXY2); /****************** SetX ******************/ - /**** md5 signature: 30fe204d4c67d94370133e1d40dc6787 ****/ + /**** md5 signature: 1bf65ee31f0303d20dd96cc6dbcfa44e ****/ %feature("compactdefaultargs") SetX; %feature("autodoc", "Assigns the given value to the x coordinate of this number pair. Parameters ---------- -X: float +theX: float Returns ------- None ") SetX; - void SetX(const Standard_Real X); + void SetX(const Standard_Real theX); /****************** SetY ******************/ - /**** md5 signature: 8f42f770a3959dece2671d90f60e35e2 ****/ + /**** md5 signature: 4d69a9fe7ed8a7d182afbae632001bd2 ****/ %feature("compactdefaultargs") SetY; %feature("autodoc", "Assigns the given value to the y coordinate of this number pair. Parameters ---------- -Y: float +theY: float Returns ------- None ") SetY; - void SetY(const Standard_Real Y); + void SetY(const Standard_Real theY); /****************** SquareModulus ******************/ - /**** md5 signature: e568dbeb039e9e13533b9c14cc54c454 ****/ + /**** md5 signature: 355ed50ec36f0efd762161071f1ceeb0 ****/ %feature("compactdefaultargs") SquareModulus; %feature("autodoc", "Computes x*x + y*y where x and y are the two coordinates of this number pair. @@ -19465,37 +19469,37 @@ float Standard_Real SquareModulus(); /****************** Subtract ******************/ - /**** md5 signature: 449e4bb00c6fff10f8c2c186d01ff47d ****/ + /**** md5 signature: e3e2c4e485bf9f3f43cb609a03c015a0 ****/ %feature("compactdefaultargs") Subtract; - %feature("autodoc", ".x() = .x() - other.x() .y() = .y() - other.y(). + %feature("autodoc", "@code .x() = .x() - theother.x() .y() = .y() - theother.y(). Parameters ---------- -Right: gp_XY +theOther: gp_XY Returns ------- None ") Subtract; - void Subtract(const gp_XY & Right); + void Subtract(const gp_XY & theOther); /****************** Subtracted ******************/ - /**** md5 signature: 47915cd519662979cc21fd45ad55e13c ****/ + /**** md5 signature: f11c2c10f430d270dfb273489de56364 ****/ %feature("compactdefaultargs") Subtracted; - %feature("autodoc", "New.x() = .x() - other.x() new.y() = .y() - other.y(). + %feature("autodoc", "@code new.x() = .x() - theother.x() new.y() = .y() - theother.y() @endcode. Parameters ---------- -Right: gp_XY +theOther: gp_XY Returns ------- gp_XY ") Subtracted; - gp_XY Subtracted(const gp_XY & Right); + gp_XY Subtracted(const gp_XY & theOther); /****************** X ******************/ - /**** md5 signature: 2dbf42f7dc56303f104fb0fa585dc6e6 ****/ + /**** md5 signature: 05c2850f49d76f9d0f9da9e2fdb99a8b ****/ %feature("compactdefaultargs") X; %feature("autodoc", "Returns the x coordinate of this number pair. @@ -19506,7 +19510,7 @@ float Standard_Real X(); /****************** Y ******************/ - /**** md5 signature: 7fd17991f11a9702e525c7070ce7cec6 ****/ + /**** md5 signature: 0142f6b6b08f82a328de2fb00d13afbf ****/ %feature("compactdefaultargs") Y; %feature("autodoc", "Returns the y coordinate of this number pair. @@ -19517,49 +19521,49 @@ float Standard_Real Y(); /****************** operator * ******************/ - /**** md5 signature: e802d7bd675be0157161309fa2c9542a ****/ + /**** md5 signature: 313d5c173b07864133323c3ebb74d1f4 ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_XY +theOther: gp_XY Returns ------- float ") operator *; - Standard_Real operator *(const gp_XY & Other); + Standard_Real operator *(const gp_XY & theOther); /****************** operator * ******************/ - /**** md5 signature: ba132ce6fd501b599dc2083d5bfcfc7c ****/ + /**** md5 signature: b7b68196f2cec5c311f8c59cff3fb710 ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_XY ") operator *; - gp_XY operator *(const Standard_Real Scalar); + gp_XY operator *(const Standard_Real theScalar); /****************** operator * ******************/ - /**** md5 signature: d0015076d4b3402831a5b623fa362a89 ****/ + /**** md5 signature: c102cce7afed6fe7ee6cb4da151be2c6 ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -Matrix: gp_Mat2d +theMatrix: gp_Mat2d Returns ------- gp_XY ") operator *; - gp_XY operator *(const gp_Mat2d & Matrix); + gp_XY operator *(const gp_Mat2d & theMatrix); %extend{ @@ -19595,19 +19599,19 @@ gp_XY return self } /****************** operator + ******************/ - /**** md5 signature: 5c3ba0a3e1175b6ad7975782967c00e8 ****/ + /**** md5 signature: cbc6099231d3db5976720aa710b80ca4 ****/ %feature("compactdefaultargs") operator +; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_XY +theOther: gp_XY Returns ------- gp_XY ") operator +; - gp_XY operator +(const gp_XY & Other); + gp_XY operator +(const gp_XY & theOther); %extend{ @@ -19632,19 +19636,19 @@ gp_XY gp_XY operator -(); /****************** operator - ******************/ - /**** md5 signature: fe73a14d5e0e90e6ce61890d1a9e82fd ****/ + /**** md5 signature: 0081cecc848380b2fd1cf6d9cb129fcb ****/ %feature("compactdefaultargs") operator -; %feature("autodoc", "No available documentation. Parameters ---------- -Right: gp_XY +theOther: gp_XY Returns ------- gp_XY ") operator -; - gp_XY operator -(const gp_XY & Right); + gp_XY operator -(const gp_XY & theOther); %extend{ @@ -19658,19 +19662,19 @@ gp_XY return self } /****************** operator / ******************/ - /**** md5 signature: 2762076a671a9e10098eafc444e23e69 ****/ + /**** md5 signature: aa3470df1c66fed23aa151e38121ca60 ****/ %feature("compactdefaultargs") operator /; %feature("autodoc", "No available documentation. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_XY ") operator /; - gp_XY operator /(const Standard_Real Scalar); + gp_XY operator /(const Standard_Real theScalar); %extend{ @@ -19698,9 +19702,9 @@ gp_XY class gp_XYZ { public: /****************** gp_XYZ ******************/ - /**** md5 signature: 1d329b1abf57382d25814b36ad126094 ****/ + /**** md5 signature: 8e065ee14f52a32317aeda3dae3f3f86 ****/ %feature("compactdefaultargs") gp_XYZ; - %feature("autodoc", "Creates an xyz object with zero co-ordinates (0,0,0). + %feature("autodoc", "Creates an xyz object with zero coordinates (0,0,0). Returns ------- @@ -19709,51 +19713,51 @@ None gp_XYZ(); /****************** gp_XYZ ******************/ - /**** md5 signature: bc2af43372e657a22b176e1816a98afc ****/ + /**** md5 signature: b892e83e6b84ed612c3c11b26e35f125 ****/ %feature("compactdefaultargs") gp_XYZ; %feature("autodoc", "Creates an xyz with given coordinates. Parameters ---------- -X: float -Y: float -Z: float +theX: float +theY: float +theZ: float Returns ------- None ") gp_XYZ; - gp_XYZ(const Standard_Real X, const Standard_Real Y, const Standard_Real Z); + gp_XYZ(const Standard_Real theX, const Standard_Real theY, const Standard_Real theZ); /****************** Add ******************/ - /**** md5 signature: 737352234eb33550cc346552adcc9e36 ****/ + /**** md5 signature: 67bef2099e583349ca294561f4af58fc ****/ %feature("compactdefaultargs") Add; - %feature("autodoc", ".x() = .x() + other.x() .y() = .y() + other.y() .z() = .z() + other.z(). + %feature("autodoc", "@code .x() = .x() + theother.x() .y() = .y() + theother.y() .z() = .z() + theother.z(). Parameters ---------- -Other: gp_XYZ +theOther: gp_XYZ Returns ------- None ") Add; - void Add(const gp_XYZ & Other); + void Add(const gp_XYZ & theOther); /****************** Added ******************/ - /**** md5 signature: a0a552d6e954c9b43f982c5e10c0c166 ****/ + /**** md5 signature: 02dca3aa1df695feacb2fb26bf5edb60 ****/ %feature("compactdefaultargs") Added; - %feature("autodoc", "New.x() = .x() + other.x() new.y() = .y() + other.y() new.z() = .z() + other.z(). + %feature("autodoc", "@code new.x() = .x() + theother.x() new.y() = .y() + theother.y() new.z() = .z() + theother.z() @endcode. Parameters ---------- -Other: gp_XYZ +theOther: gp_XYZ Returns ------- gp_XYZ ") Added; - gp_XYZ Added(const gp_XYZ & Other); + gp_XYZ Added(const gp_XYZ & theOther); %feature("autodoc","1"); @@ -19769,7 +19773,7 @@ gp_XYZ } }; /****************** ChangeData ******************/ - /**** md5 signature: f67de4d76a4dc069bec2279769c356f3 ****/ + /**** md5 signature: 44cc2d1ec4828f066e5752991dfd3e1e ****/ %feature("compactdefaultargs") ChangeData; %feature("autodoc", "Returns a ptr to coordinates location. is useful for algorithms, but does not perform any checks!. @@ -19780,22 +19784,22 @@ float * Standard_Real * ChangeData(); /****************** Coord ******************/ - /**** md5 signature: 615686a863135af4177d92a1b696f909 ****/ + /**** md5 signature: 8be7c51c8cc2bc59521f97740b0be5d2 ****/ %feature("compactdefaultargs") Coord; - %feature("autodoc", "Returns the coordinate of range index : index = 1 => x is returned index = 2 => y is returned index = 3 => z is returned //! raises outofrange if index != {1, 2, 3}. + %feature("autodoc", "Returns the coordinate of range theindex : theindex = 1 => x is returned theindex = 2 => y is returned theindex = 3 => z is returned //! raises outofrange if theindex != {1, 2, 3}. Parameters ---------- -Index: int +theIndex: int Returns ------- float ") Coord; - Standard_Real Coord(const Standard_Integer Index); + Standard_Real Coord(const Standard_Integer theIndex); /****************** Coord ******************/ - /**** md5 signature: 43b0651f3b971777fc055ece9d877be9 ****/ + /**** md5 signature: 5ef85c73f9c80cea4d8dc9bec59c3e4d ****/ %feature("compactdefaultargs") Coord; %feature("autodoc", "No available documentation. @@ -19804,164 +19808,164 @@ Parameters Returns ------- -X: float -Y: float -Z: float +theX: float +theY: float +theZ: float ") Coord; void Coord(Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue); /****************** Cross ******************/ - /**** md5 signature: 26e2781fd47b59936af096df9756ab29 ****/ + /**** md5 signature: 44b6cc9242ff22f43d9b071a9dafa3da ****/ %feature("compactdefaultargs") Cross; - %feature("autodoc", ".x() = .y() * other.z() - .z() * other.y() .y() = .z() * other.x() - .x() * other.z() .z() = .x() * other.y() - .y() * other.x(). + %feature("autodoc", "@code .x() = .y() * theother.z() - .z() * theother.y() .y() = .z() * theother.x() - .x() * theother.z() .z() = .x() * theother.y() - .y() * theother.x(). Parameters ---------- -Right: gp_XYZ +theOther: gp_XYZ Returns ------- None ") Cross; - void Cross(const gp_XYZ & Right); + void Cross(const gp_XYZ & theOther); /****************** CrossCross ******************/ - /**** md5 signature: b68c8730f4028c72b91247dfcda00f12 ****/ + /**** md5 signature: d58fa681888c289c2338ab4f793c27e3 ****/ %feature("compactdefaultargs") CrossCross; - %feature("autodoc", "Triple vector product computes = .cross(coord1.cross(coord2)). + %feature("autodoc", "Triple vector product computes = .cross(thecoord1.cross(thecoord2)). Parameters ---------- -Coord1: gp_XYZ -Coord2: gp_XYZ +theCoord1: gp_XYZ +theCoord2: gp_XYZ Returns ------- None ") CrossCross; - void CrossCross(const gp_XYZ & Coord1, const gp_XYZ & Coord2); + void CrossCross(const gp_XYZ & theCoord1, const gp_XYZ & theCoord2); /****************** CrossCrossed ******************/ - /**** md5 signature: fabfec399e2eed71cf2ebfc062d9d48d ****/ + /**** md5 signature: b6fedc8f26bc509c64afb9ab2d9d1516 ****/ %feature("compactdefaultargs") CrossCrossed; - %feature("autodoc", "Triple vector product computes new = .cross(coord1.cross(coord2)). + %feature("autodoc", "Triple vector product computes new = .cross(thecoord1.cross(thecoord2)). Parameters ---------- -Coord1: gp_XYZ -Coord2: gp_XYZ +theCoord1: gp_XYZ +theCoord2: gp_XYZ Returns ------- gp_XYZ ") CrossCrossed; - gp_XYZ CrossCrossed(const gp_XYZ & Coord1, const gp_XYZ & Coord2); + gp_XYZ CrossCrossed(const gp_XYZ & theCoord1, const gp_XYZ & theCoord2); /****************** CrossMagnitude ******************/ - /**** md5 signature: 5abd1621dc2bc29d4703930a9a901f9b ****/ + /**** md5 signature: 31b6eb03cfba937fc1d4e26350b6b090 ****/ %feature("compactdefaultargs") CrossMagnitude; - %feature("autodoc", "Computes the magnitude of the cross product between and right. returns || ^ right ||. + %feature("autodoc", "Computes the magnitude of the cross product between and theright. returns || ^ theright ||. Parameters ---------- -Right: gp_XYZ +theRight: gp_XYZ Returns ------- float ") CrossMagnitude; - Standard_Real CrossMagnitude(const gp_XYZ & Right); + Standard_Real CrossMagnitude(const gp_XYZ & theRight); /****************** CrossSquareMagnitude ******************/ - /**** md5 signature: 5149bdd9d2e5f96c8a10411eb65ccb7f ****/ + /**** md5 signature: aab1ebd15cd47598cea6f9b2c8f8b206 ****/ %feature("compactdefaultargs") CrossSquareMagnitude; - %feature("autodoc", "Computes the square magnitude of the cross product between and right. returns || ^ right ||**2. + %feature("autodoc", "Computes the square magnitude of the cross product between and theright. returns || ^ theright ||**2. Parameters ---------- -Right: gp_XYZ +theRight: gp_XYZ Returns ------- float ") CrossSquareMagnitude; - Standard_Real CrossSquareMagnitude(const gp_XYZ & Right); + Standard_Real CrossSquareMagnitude(const gp_XYZ & theRight); /****************** Crossed ******************/ - /**** md5 signature: 47507d4fa5bfdc4db754c687dc46fb30 ****/ + /**** md5 signature: 337f46c4918caa6ecc77fcbe1deffb1b ****/ %feature("compactdefaultargs") Crossed; - %feature("autodoc", "New.x() = .y() * other.z() - .z() * other.y() new.y() = .z() * other.x() - .x() * other.z() new.z() = .x() * other.y() - .y() * other.x(). + %feature("autodoc", "@code new.x() = .y() * theother.z() - .z() * theother.y() new.y() = .z() * theother.x() - .x() * theother.z() new.z() = .x() * theother.y() - .y() * theother.x() @endcode. Parameters ---------- -Right: gp_XYZ +theOther: gp_XYZ Returns ------- gp_XYZ ") Crossed; - gp_XYZ Crossed(const gp_XYZ & Right); + gp_XYZ Crossed(const gp_XYZ & theOther); /****************** Divide ******************/ - /**** md5 signature: 7bc46cf38daaa2229b322d9add0408e3 ****/ + /**** md5 signature: 6b91e208468c68ac43147a4e287acb7d ****/ %feature("compactdefaultargs") Divide; %feature("autodoc", "Divides by a real. Parameters ---------- -Scalar: float +theScalar: float Returns ------- None ") Divide; - void Divide(const Standard_Real Scalar); + void Divide(const Standard_Real theScalar); /****************** Divided ******************/ - /**** md5 signature: a6cd54f82957ce74ecec2ac439bf85ca ****/ + /**** md5 signature: 22df661a2356ac58fbb0528184d4737c ****/ %feature("compactdefaultargs") Divided; %feature("autodoc", "Divides by a real. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_XYZ ") Divided; - gp_XYZ Divided(const Standard_Real Scalar); + gp_XYZ Divided(const Standard_Real theScalar); /****************** Dot ******************/ - /**** md5 signature: 2789a9141397a45f8ccb1c77b8d80be2 ****/ + /**** md5 signature: 9d65717fd3f3f19504873fe7ad614fcd ****/ %feature("compactdefaultargs") Dot; - %feature("autodoc", "Computes the scalar product between and other. + %feature("autodoc", "Computes the scalar product between and theother. Parameters ---------- -Other: gp_XYZ +theOther: gp_XYZ Returns ------- float ") Dot; - Standard_Real Dot(const gp_XYZ & Other); + Standard_Real Dot(const gp_XYZ & theOther); /****************** DotCross ******************/ - /**** md5 signature: 1d82040d9678943a8dabace18e414116 ****/ + /**** md5 signature: a54eeec0a1cc11020b7b2b4d29ee4646 ****/ %feature("compactdefaultargs") DotCross; %feature("autodoc", "Computes the triple scalar product. Parameters ---------- -Coord1: gp_XYZ -Coord2: gp_XYZ +theCoord1: gp_XYZ +theCoord2: gp_XYZ Returns ------- float ") DotCross; - Standard_Real DotCross(const gp_XYZ & Coord1, const gp_XYZ & Coord2); + Standard_Real DotCross(const gp_XYZ & theCoord1, const gp_XYZ & theCoord2); %feature("autodoc", "1"); @@ -19972,7 +19976,7 @@ float return s.str();} }; /****************** GetData ******************/ - /**** md5 signature: fd12237104a886c16bf39a8750201e39 ****/ + /**** md5 signature: e47b5b0ea190980bdbd67208fc1d8ad0 ****/ %feature("compactdefaultargs") GetData; %feature("autodoc", "Returns a const ptr to coordinates location. is useful for algorithms, but does not perform any checks!. @@ -19998,23 +20002,23 @@ theStreamPos: int Standard_Boolean InitFromJson(const Standard_SStream & theSStream, Standard_Integer &OutValue); /****************** IsEqual ******************/ - /**** md5 signature: d23503bef8a5d867cb3e2f5bae904afb ****/ + /**** md5 signature: f95d99d49ea9ee51a45d7b7802e91efd ****/ %feature("compactdefaultargs") IsEqual; - %feature("autodoc", "Returns true if he coordinates of this xyz object are equal to the respective coordinates other, within the specified tolerance tolerance. i.e.: abs(.x() - other.x()) <= tolerance and abs(.y() - other.y()) <= tolerance and abs(.z() - other.z()) <= tolerance. + %feature("autodoc", "Returns true if he coordinates of this xyz object are equal to the respective coordinates other, within the specified tolerance thetolerance. i.e.: abs(.x() - theother.x()) <= thetolerance and abs(.y() - theother.y()) <= thetolerance and abs(.z() - theother.z()) <= thetolerance. Parameters ---------- -Other: gp_XYZ -Tolerance: float +theOther: gp_XYZ +theTolerance: float Returns ------- bool ") IsEqual; - Standard_Boolean IsEqual(const gp_XYZ & Other, const Standard_Real Tolerance); + Standard_Boolean IsEqual(const gp_XYZ & theOther, const Standard_Real theTolerance); /****************** Modulus ******************/ - /**** md5 signature: fd1ea39f3920d59a842af376171fb4a0 ****/ + /**** md5 signature: 2699d32c474eedddd33fd283c9bedcfe ****/ %feature("compactdefaultargs") Modulus; %feature("autodoc", "Computes sqrt (x*x + y*y + z*z) where x, y and z are the three coordinates of this xyz object. @@ -20025,99 +20029,99 @@ float Standard_Real Modulus(); /****************** Multiplied ******************/ - /**** md5 signature: 20b1b9aeecfb6bbf87aad0f00ae5333e ****/ + /**** md5 signature: 4f02f17d09449e7bc0d36aff9a280f7d ****/ %feature("compactdefaultargs") Multiplied; - %feature("autodoc", "New.x() = .x() * scalar; new.y() = .y() * scalar; new.z() = .z() * scalar;. + %feature("autodoc", "@code new.x() = .x() * thescalar; new.y() = .y() * thescalar; new.z() = .z() * thescalar;. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_XYZ ") Multiplied; - gp_XYZ Multiplied(const Standard_Real Scalar); + gp_XYZ Multiplied(const Standard_Real theScalar); /****************** Multiplied ******************/ - /**** md5 signature: 92a34cec157f0791d7c03277b71cc875 ****/ + /**** md5 signature: 7ae2dfc6b2f7b6d173a9b3da78431f1a ****/ %feature("compactdefaultargs") Multiplied; - %feature("autodoc", "New.x() = .x() * other.x(); new.y() = .y() * other.y(); new.z() = .z() * other.z();. + %feature("autodoc", "@code new.x() = .x() * theother.x(); new.y() = .y() * theother.y(); new.z() = .z() * theother.z();. Parameters ---------- -Other: gp_XYZ +theOther: gp_XYZ Returns ------- gp_XYZ ") Multiplied; - gp_XYZ Multiplied(const gp_XYZ & Other); + gp_XYZ Multiplied(const gp_XYZ & theOther); /****************** Multiplied ******************/ - /**** md5 signature: 40023907e401d14f0f5e68be5060d6a3 ****/ + /**** md5 signature: dcb20c1b76c36e98a12de7659a48c3c4 ****/ %feature("compactdefaultargs") Multiplied; - %feature("autodoc", "New = matrix * . + %feature("autodoc", "New = thematrix * @endcode. Parameters ---------- -Matrix: gp_Mat +theMatrix: gp_Mat Returns ------- gp_XYZ ") Multiplied; - gp_XYZ Multiplied(const gp_Mat & Matrix); + gp_XYZ Multiplied(const gp_Mat & theMatrix); /****************** Multiply ******************/ - /**** md5 signature: c6d925fe0833ff6abc2c1aab20682246 ****/ + /**** md5 signature: 94c083012ff2f3e798eccef399e23708 ****/ %feature("compactdefaultargs") Multiply; - %feature("autodoc", ".x() = .x() * scalar; .y() = .y() * scalar; .z() = .z() * scalar;. + %feature("autodoc", "@code .x() = .x() * thescalar; .y() = .y() * thescalar; .z() = .z() * thescalar;. Parameters ---------- -Scalar: float +theScalar: float Returns ------- None ") Multiply; - void Multiply(const Standard_Real Scalar); + void Multiply(const Standard_Real theScalar); /****************** Multiply ******************/ - /**** md5 signature: 4884fb695e11902209f7f03ebd132973 ****/ + /**** md5 signature: 1f54f3d3d1c9a3d0e021cf8a336ae046 ****/ %feature("compactdefaultargs") Multiply; - %feature("autodoc", ".x() = .x() * other.x(); .y() = .y() * other.y(); .z() = .z() * other.z();. + %feature("autodoc", "@code .x() = .x() * theother.x(); .y() = .y() * theother.y(); .z() = .z() * theother.z();. Parameters ---------- -Other: gp_XYZ +theOther: gp_XYZ Returns ------- None ") Multiply; - void Multiply(const gp_XYZ & Other); + void Multiply(const gp_XYZ & theOther); /****************** Multiply ******************/ - /**** md5 signature: aeeb166a5b8afb48b61dd65efda4061d ****/ + /**** md5 signature: 43e66ac0fad88b413425b094e5c004ce ****/ %feature("compactdefaultargs") Multiply; - %feature("autodoc", " = matrix * . + %feature("autodoc", " = thematrix * . Parameters ---------- -Matrix: gp_Mat +theMatrix: gp_Mat Returns ------- None ") Multiply; - void Multiply(const gp_Mat & Matrix); + void Multiply(const gp_Mat & theMatrix); /****************** Normalize ******************/ /**** md5 signature: 587346cf1e1c12fdf674aedc915ccd95 ****/ %feature("compactdefaultargs") Normalize; - %feature("autodoc", ".x() = .x()/ .modulus() .y() = .y()/ .modulus() .z() = .z()/ .modulus() raised if .modulus() <= resolution from gp. + %feature("autodoc", "@code .x() = .x()/ .modulus() .y() = .y()/ .modulus() .z() = .z()/ .modulus() @endcode raised if .modulus() <= resolution from gp. Returns ------- @@ -20126,9 +20130,9 @@ None void Normalize(); /****************** Normalized ******************/ - /**** md5 signature: bdff66b04d5a06b736ecae9c1e49ac93 ****/ + /**** md5 signature: 4831d449729805d4ef6171099bb6e815 ****/ %feature("compactdefaultargs") Normalized; - %feature("autodoc", "New.x() = .x()/ .modulus() new.y() = .y()/ .modulus() new.z() = .z()/ .modulus() raised if .modulus() <= resolution from gp. + %feature("autodoc", "@code new.x() = .x()/ .modulus() new.y() = .y()/ .modulus() new.z() = .z()/ .modulus() @endcode raised if .modulus() <= resolution from gp. Returns ------- @@ -20137,9 +20141,9 @@ gp_XYZ gp_XYZ Normalized(); /****************** Reverse ******************/ - /**** md5 signature: b751d6874fc026e19a7a6cb37e9ac1b4 ****/ + /**** md5 signature: 51c7e0d05769dec0ec2bb70e4d25e48d ****/ %feature("compactdefaultargs") Reverse; - %feature("autodoc", ".x() = -.x() .y() = -.y() .z() = -.z(). + %feature("autodoc", "@code .x() = -.x() .y() = -.y() .z() = -.z(). Returns ------- @@ -20148,9 +20152,9 @@ None void Reverse(); /****************** Reversed ******************/ - /**** md5 signature: e0f33a8f1169d8b42845765ed8af0988 ****/ + /**** md5 signature: f0776d123b6467ad09f21416658daa62 ****/ %feature("compactdefaultargs") Reversed; - %feature("autodoc", "New.x() = -.x() new.y() = -.y() new.z() = -.z(). + %feature("autodoc", "@code new.x() = -.x() new.y() = -.y() new.z() = -.z(). Returns ------- @@ -20159,196 +20163,196 @@ gp_XYZ gp_XYZ Reversed(); /****************** SetCoord ******************/ - /**** md5 signature: 191a33c01dc9e7fdb47a43d5d7ff9d99 ****/ + /**** md5 signature: c4b478464992cf7989de7989abd51418 ****/ %feature("compactdefaultargs") SetCoord; - %feature("autodoc", "For this xyz object, assigns the values x, y and z to its three coordinates. + %feature("autodoc", "For this xyz object, assigns the values thex, they and thez to its three coordinates. Parameters ---------- -X: float -Y: float -Z: float +theX: float +theY: float +theZ: float Returns ------- None ") SetCoord; - void SetCoord(const Standard_Real X, const Standard_Real Y, const Standard_Real Z); + void SetCoord(const Standard_Real theX, const Standard_Real theY, const Standard_Real theZ); /****************** SetCoord ******************/ - /**** md5 signature: 6a7aba643afced1a67b8420fce55034e ****/ + /**** md5 signature: 52cef977af7789ed4ebe28e0285a09a0 ****/ %feature("compactdefaultargs") SetCoord; - %feature("autodoc", "Modifies the coordinate of range index index = 1 => x is modified index = 2 => y is modified index = 3 => z is modified raises outofrange if index != {1, 2, 3}. + %feature("autodoc", "Modifies the coordinate of range theindex theindex = 1 => x is modified theindex = 2 => y is modified theindex = 3 => z is modified raises outofrange if theindex != {1, 2, 3}. Parameters ---------- -Index: int -Xi: float +theIndex: int +theXi: float Returns ------- None ") SetCoord; - void SetCoord(const Standard_Integer Index, const Standard_Real Xi); + void SetCoord(const Standard_Integer theIndex, const Standard_Real theXi); /****************** SetLinearForm ******************/ - /**** md5 signature: a4aeff26c15eeef1f7e306868d72e3a4 ****/ + /**** md5 signature: 187eaf8a0109eb0d1bf1b2607b9db42c ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", " is set to the following linear form : a1 * xyz1 + a2 * xyz2 + a3 * xyz3 + xyz4. + %feature("autodoc", " is set to the following linear form : @code thea1 * thexyz1 + thea2 * thexyz2 + thea3 * thexyz3 + thexyz4. Parameters ---------- -A1: float -XYZ1: gp_XYZ -A2: float -XYZ2: gp_XYZ -A3: float -XYZ3: gp_XYZ -XYZ4: gp_XYZ +theA1: float +theXYZ1: gp_XYZ +theA2: float +theXYZ2: gp_XYZ +theA3: float +theXYZ3: gp_XYZ +theXYZ4: gp_XYZ Returns ------- None ") SetLinearForm; - void SetLinearForm(const Standard_Real A1, const gp_XYZ & XYZ1, const Standard_Real A2, const gp_XYZ & XYZ2, const Standard_Real A3, const gp_XYZ & XYZ3, const gp_XYZ & XYZ4); + void SetLinearForm(const Standard_Real theA1, const gp_XYZ & theXYZ1, const Standard_Real theA2, const gp_XYZ & theXYZ2, const Standard_Real theA3, const gp_XYZ & theXYZ3, const gp_XYZ & theXYZ4); /****************** SetLinearForm ******************/ - /**** md5 signature: c888f7cec906ff175af4ae32fb00ae1b ****/ + /**** md5 signature: 5505dee7539423f37f2420e473a2b697 ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", " is set to the following linear form : a1 * xyz1 + a2 * xyz2 + a3 * xyz3. + %feature("autodoc", " is set to the following linear form : @code thea1 * thexyz1 + thea2 * thexyz2 + thea3 * thexyz3. Parameters ---------- -A1: float -XYZ1: gp_XYZ -A2: float -XYZ2: gp_XYZ -A3: float -XYZ3: gp_XYZ +theA1: float +theXYZ1: gp_XYZ +theA2: float +theXYZ2: gp_XYZ +theA3: float +theXYZ3: gp_XYZ Returns ------- None ") SetLinearForm; - void SetLinearForm(const Standard_Real A1, const gp_XYZ & XYZ1, const Standard_Real A2, const gp_XYZ & XYZ2, const Standard_Real A3, const gp_XYZ & XYZ3); + void SetLinearForm(const Standard_Real theA1, const gp_XYZ & theXYZ1, const Standard_Real theA2, const gp_XYZ & theXYZ2, const Standard_Real theA3, const gp_XYZ & theXYZ3); /****************** SetLinearForm ******************/ - /**** md5 signature: 3666fcade3b797169c49b77dc156aaeb ****/ + /**** md5 signature: 0d2cb15a10177b6d17bb7f330090698c ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", " is set to the following linear form : a1 * xyz1 + a2 * xyz2 + xyz3. + %feature("autodoc", " is set to the following linear form : @code thea1 * thexyz1 + thea2 * thexyz2 + thexyz3. Parameters ---------- -A1: float -XYZ1: gp_XYZ -A2: float -XYZ2: gp_XYZ -XYZ3: gp_XYZ +theA1: float +theXYZ1: gp_XYZ +theA2: float +theXYZ2: gp_XYZ +theXYZ3: gp_XYZ Returns ------- None ") SetLinearForm; - void SetLinearForm(const Standard_Real A1, const gp_XYZ & XYZ1, const Standard_Real A2, const gp_XYZ & XYZ2, const gp_XYZ & XYZ3); + void SetLinearForm(const Standard_Real theA1, const gp_XYZ & theXYZ1, const Standard_Real theA2, const gp_XYZ & theXYZ2, const gp_XYZ & theXYZ3); /****************** SetLinearForm ******************/ - /**** md5 signature: 37633a47abada4d8a166a3bdbd459978 ****/ + /**** md5 signature: 31093560c7c246c91928850f7e63307e ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", " is set to the following linear form : a1 * xyz1 + a2 * xyz2. + %feature("autodoc", " is set to the following linear form : @code thea1 * thexyz1 + thea2 * thexyz2. Parameters ---------- -A1: float -XYZ1: gp_XYZ -A2: float -XYZ2: gp_XYZ +theA1: float +theXYZ1: gp_XYZ +theA2: float +theXYZ2: gp_XYZ Returns ------- None ") SetLinearForm; - void SetLinearForm(const Standard_Real A1, const gp_XYZ & XYZ1, const Standard_Real A2, const gp_XYZ & XYZ2); + void SetLinearForm(const Standard_Real theA1, const gp_XYZ & theXYZ1, const Standard_Real theA2, const gp_XYZ & theXYZ2); /****************** SetLinearForm ******************/ - /**** md5 signature: 86d64f19481f78cc1566f3ff96ffc84a ****/ + /**** md5 signature: 2553d068b4732f6c2e9f3dadc95f1017 ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", " is set to the following linear form : a1 * xyz1 + xyz2. + %feature("autodoc", " is set to the following linear form : @code thea1 * thexyz1 + thexyz2. Parameters ---------- -A1: float -XYZ1: gp_XYZ -XYZ2: gp_XYZ +theA1: float +theXYZ1: gp_XYZ +theXYZ2: gp_XYZ Returns ------- None ") SetLinearForm; - void SetLinearForm(const Standard_Real A1, const gp_XYZ & XYZ1, const gp_XYZ & XYZ2); + void SetLinearForm(const Standard_Real theA1, const gp_XYZ & theXYZ1, const gp_XYZ & theXYZ2); /****************** SetLinearForm ******************/ - /**** md5 signature: f34d788cd256ace1d2636e769e0df8c9 ****/ + /**** md5 signature: 840cca334d03ce271dc214917d8743a7 ****/ %feature("compactdefaultargs") SetLinearForm; - %feature("autodoc", " is set to the following linear form : xyz1 + xyz2. + %feature("autodoc", " is set to the following linear form : @code thexyz1 + thexyz2. Parameters ---------- -XYZ1: gp_XYZ -XYZ2: gp_XYZ +theXYZ1: gp_XYZ +theXYZ2: gp_XYZ Returns ------- None ") SetLinearForm; - void SetLinearForm(const gp_XYZ & XYZ1, const gp_XYZ & XYZ2); + void SetLinearForm(const gp_XYZ & theXYZ1, const gp_XYZ & theXYZ2); /****************** SetX ******************/ - /**** md5 signature: 30fe204d4c67d94370133e1d40dc6787 ****/ + /**** md5 signature: 1bf65ee31f0303d20dd96cc6dbcfa44e ****/ %feature("compactdefaultargs") SetX; %feature("autodoc", "Assigns the given value to the x coordinate. Parameters ---------- -X: float +theX: float Returns ------- None ") SetX; - void SetX(const Standard_Real X); + void SetX(const Standard_Real theX); /****************** SetY ******************/ - /**** md5 signature: 8f42f770a3959dece2671d90f60e35e2 ****/ + /**** md5 signature: 4d69a9fe7ed8a7d182afbae632001bd2 ****/ %feature("compactdefaultargs") SetY; %feature("autodoc", "Assigns the given value to the y coordinate. Parameters ---------- -Y: float +theY: float Returns ------- None ") SetY; - void SetY(const Standard_Real Y); + void SetY(const Standard_Real theY); /****************** SetZ ******************/ - /**** md5 signature: d96a64d9a788ed7bdd745a3dcbb831ea ****/ + /**** md5 signature: 50f9696665e382f6944bd96e35b0a063 ****/ %feature("compactdefaultargs") SetZ; %feature("autodoc", "Assigns the given value to the z coordinate. Parameters ---------- -Z: float +theZ: float Returns ------- None ") SetZ; - void SetZ(const Standard_Real Z); + void SetZ(const Standard_Real theZ); /****************** SquareModulus ******************/ - /**** md5 signature: e568dbeb039e9e13533b9c14cc54c454 ****/ + /**** md5 signature: 355ed50ec36f0efd762161071f1ceeb0 ****/ %feature("compactdefaultargs") SquareModulus; %feature("autodoc", "Computes x*x + y*y + z*z where x, y and z are the three coordinates of this xyz object. @@ -20359,37 +20363,37 @@ float Standard_Real SquareModulus(); /****************** Subtract ******************/ - /**** md5 signature: 9310e472ac69edef1869ac650e25a5c0 ****/ + /**** md5 signature: a6f9eb29be8643b68c4e25dcc30cda9e ****/ %feature("compactdefaultargs") Subtract; - %feature("autodoc", ".x() = .x() - other.x() .y() = .y() - other.y() .z() = .z() - other.z(). + %feature("autodoc", "@code .x() = .x() - theother.x() .y() = .y() - theother.y() .z() = .z() - theother.z(). Parameters ---------- -Right: gp_XYZ +theOther: gp_XYZ Returns ------- None ") Subtract; - void Subtract(const gp_XYZ & Right); + void Subtract(const gp_XYZ & theOther); /****************** Subtracted ******************/ - /**** md5 signature: 42430ee59d710f67ddbbc4d7ed29af8a ****/ + /**** md5 signature: 47a2e916ad56b8a5128e2af6ce944547 ****/ %feature("compactdefaultargs") Subtracted; - %feature("autodoc", "New.x() = .x() - other.x() new.y() = .y() - other.y() new.z() = .z() - other.z(). + %feature("autodoc", "@code new.x() = .x() - theother.x() new.y() = .y() - theother.y() new.z() = .z() - theother.z(). Parameters ---------- -Right: gp_XYZ +theOther: gp_XYZ Returns ------- gp_XYZ ") Subtracted; - gp_XYZ Subtracted(const gp_XYZ & Right); + gp_XYZ Subtracted(const gp_XYZ & theOther); /****************** X ******************/ - /**** md5 signature: 2dbf42f7dc56303f104fb0fa585dc6e6 ****/ + /**** md5 signature: 05c2850f49d76f9d0f9da9e2fdb99a8b ****/ %feature("compactdefaultargs") X; %feature("autodoc", "Returns the x coordinate. @@ -20400,7 +20404,7 @@ float Standard_Real X(); /****************** Y ******************/ - /**** md5 signature: 7fd17991f11a9702e525c7070ce7cec6 ****/ + /**** md5 signature: 0142f6b6b08f82a328de2fb00d13afbf ****/ %feature("compactdefaultargs") Y; %feature("autodoc", "Returns the y coordinate. @@ -20411,7 +20415,7 @@ float Standard_Real Y(); /****************** Z ******************/ - /**** md5 signature: 87b89b9e016f37b0146cf52868684676 ****/ + /**** md5 signature: 786e228d2eeaf64f99dd51d3ab338f77 ****/ %feature("compactdefaultargs") Z; %feature("autodoc", "Returns the z coordinate. @@ -20422,49 +20426,49 @@ float Standard_Real Z(); /****************** operator * ******************/ - /**** md5 signature: 5b52e614850ab774fba8c8d1072e9d14 ****/ + /**** md5 signature: 09bbcb3a3a80da33fc086afa08d18c86 ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_XYZ +theOther: gp_XYZ Returns ------- float ") operator *; - Standard_Real operator *(const gp_XYZ & Other); + Standard_Real operator *(const gp_XYZ & theOther); /****************** operator * ******************/ - /**** md5 signature: 6a78b9db7b998bce12bc23b860ea5931 ****/ + /**** md5 signature: d957e68a4dc2daa2ad5ed9aee2d7e106 ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_XYZ ") operator *; - gp_XYZ operator *(const Standard_Real Scalar); + gp_XYZ operator *(const Standard_Real theScalar); /****************** operator * ******************/ - /**** md5 signature: e7a4207193cb2b7520ee8d75cc1fde7c ****/ + /**** md5 signature: d07f95a87eb281c3caf764b6ae47ed5d ****/ %feature("compactdefaultargs") operator *; %feature("autodoc", "No available documentation. Parameters ---------- -Matrix: gp_Mat +theMatrix: gp_Mat Returns ------- gp_XYZ ") operator *; - gp_XYZ operator *(const gp_Mat & Matrix); + gp_XYZ operator *(const gp_Mat & theMatrix); %extend{ @@ -20500,19 +20504,19 @@ gp_XYZ return self } /****************** operator + ******************/ - /**** md5 signature: b4c5f0b0c3bcd3603a26b7c664f94b34 ****/ + /**** md5 signature: 8924adfbe261216bc106729e6a25edff ****/ %feature("compactdefaultargs") operator +; %feature("autodoc", "No available documentation. Parameters ---------- -Other: gp_XYZ +theOther: gp_XYZ Returns ------- gp_XYZ ") operator +; - gp_XYZ operator +(const gp_XYZ & Other); + gp_XYZ operator +(const gp_XYZ & theOther); %extend{ @@ -20526,19 +20530,19 @@ gp_XYZ return self } /****************** operator - ******************/ - /**** md5 signature: ed1aeae30e9c62f250d3b7a571ecd6d2 ****/ + /**** md5 signature: 307e5e28b06e165c7bed9d6fa5019e70 ****/ %feature("compactdefaultargs") operator -; %feature("autodoc", "No available documentation. Parameters ---------- -Right: gp_XYZ +theOther: gp_XYZ Returns ------- gp_XYZ ") operator -; - gp_XYZ operator -(const gp_XYZ & Right); + gp_XYZ operator -(const gp_XYZ & theOther); %extend{ @@ -20552,19 +20556,19 @@ gp_XYZ return self } /****************** operator / ******************/ - /**** md5 signature: 4a3024612d9a35e3fdbb14bd386bfb24 ****/ + /**** md5 signature: aab1675bb3218dd6795d705ce7dac9af ****/ %feature("compactdefaultargs") operator /; %feature("autodoc", "No available documentation. Parameters ---------- -Scalar: float +theScalar: float Returns ------- gp_XYZ ") operator /; - gp_XYZ operator /(const Standard_Real Scalar); + gp_XYZ operator /(const Standard_Real theScalar); %extend{ diff --git a/src/SWIG_files/wrapper/gp.pyi b/src/SWIG_files/wrapper/gp.pyi index fc4f574df..4902865c1 100644 --- a/src/SWIG_files/wrapper/gp.pyi +++ b/src/SWIG_files/wrapper/gp.pyi @@ -5,6 +5,10 @@ from OCC.Core.Standard import * from OCC.Core.NCollection import * from OCC.Core.TColStd import * +#the following typedef cannot be wrapped as is +gp_Vec2f = NewType('gp_Vec2f', Any) +#the following typedef cannot be wrapped as is +gp_Vec3f = NewType('gp_Vec3f', Any) class gp_TrsfForm(IntEnum): gp_Identity: int = ... @@ -120,14 +124,14 @@ class gp_Ax1: @overload def __init__(self) -> None: ... @overload - def __init__(self, P: gp_Pnt, V: gp_Dir) -> None: ... - def Angle(self, Other: gp_Ax1) -> float: ... + def __init__(self, theP: gp_Pnt, theV: gp_Dir) -> None: ... + def Angle(self, theOther: gp_Ax1) -> float: ... def Direction(self) -> gp_Dir: ... def InitFromJson(self, theSStream: Standard_SStream) -> Tuple[bool, int]: ... def IsCoaxial(self, Other: gp_Ax1, AngularTolerance: float, LinearTolerance: float) -> bool: ... - def IsNormal(self, Other: gp_Ax1, AngularTolerance: float) -> bool: ... - def IsOpposite(self, Other: gp_Ax1, AngularTolerance: float) -> bool: ... - def IsParallel(self, Other: gp_Ax1, AngularTolerance: float) -> bool: ... + def IsNormal(self, theOther: gp_Ax1, theAngularTolerance: float) -> bool: ... + def IsOpposite(self, theOther: gp_Ax1, theAngularTolerance: float) -> bool: ... + def IsParallel(self, theOther: gp_Ax1, theAngularTolerance: float) -> bool: ... def Location(self) -> gp_Pnt: ... @overload def Mirror(self, P: gp_Pnt) -> None: ... @@ -143,22 +147,22 @@ class gp_Ax1: def Mirrored(self, A2: gp_Ax2) -> gp_Ax1: ... def Reverse(self) -> None: ... def Reversed(self) -> gp_Ax1: ... - def Rotate(self, A1: gp_Ax1, Ang: float) -> None: ... - def Rotated(self, A1: gp_Ax1, Ang: float) -> gp_Ax1: ... - def Scale(self, P: gp_Pnt, S: float) -> None: ... - def Scaled(self, P: gp_Pnt, S: float) -> gp_Ax1: ... - def SetDirection(self, V: gp_Dir) -> None: ... - def SetLocation(self, P: gp_Pnt) -> None: ... - def Transform(self, T: gp_Trsf) -> None: ... - def Transformed(self, T: gp_Trsf) -> gp_Ax1: ... + def Rotate(self, theA1: gp_Ax1, theAngRad: float) -> None: ... + def Rotated(self, theA1: gp_Ax1, theAngRad: float) -> gp_Ax1: ... + def Scale(self, theP: gp_Pnt, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt, theS: float) -> gp_Ax1: ... + def SetDirection(self, theV: gp_Dir) -> None: ... + def SetLocation(self, theP: gp_Pnt) -> None: ... + def Transform(self, theT: gp_Trsf) -> None: ... + def Transformed(self, theT: gp_Trsf) -> gp_Ax1: ... @overload - def Translate(self, V: gp_Vec) -> None: ... + def Translate(self, theV: gp_Vec) -> None: ... @overload - def Translate(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + def Translate(self, theP1: gp_Pnt, theP2: gp_Pnt) -> None: ... @overload - def Translated(self, V: gp_Vec) -> gp_Ax1: ... + def Translated(self, theV: gp_Vec) -> gp_Ax1: ... @overload - def Translated(self, P1: gp_Pnt, P2: gp_Pnt) -> gp_Ax1: ... + def Translated(self, theP1: gp_Pnt, theP2: gp_Pnt) -> gp_Ax1: ... class gp_Ax2: @overload @@ -167,7 +171,7 @@ class gp_Ax2: def __init__(self, P: gp_Pnt, N: gp_Dir, Vx: gp_Dir) -> None: ... @overload def __init__(self, P: gp_Pnt, V: gp_Dir) -> None: ... - def Angle(self, Other: gp_Ax2) -> float: ... + def Angle(self, theOther: gp_Ax2) -> float: ... def Axis(self) -> gp_Ax1: ... def Direction(self) -> gp_Dir: ... def InitFromJson(self, theSStream: Standard_SStream) -> Tuple[bool, int]: ... @@ -188,25 +192,25 @@ class gp_Ax2: def Mirrored(self, A1: gp_Ax1) -> gp_Ax2: ... @overload def Mirrored(self, A2: gp_Ax2) -> gp_Ax2: ... - def Rotate(self, A1: gp_Ax1, Ang: float) -> None: ... - def Rotated(self, A1: gp_Ax1, Ang: float) -> gp_Ax2: ... - def Scale(self, P: gp_Pnt, S: float) -> None: ... - def Scaled(self, P: gp_Pnt, S: float) -> gp_Ax2: ... + def Rotate(self, theA1: gp_Ax1, theAng: float) -> None: ... + def Rotated(self, theA1: gp_Ax1, theAng: float) -> gp_Ax2: ... + def Scale(self, theP: gp_Pnt, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt, theS: float) -> gp_Ax2: ... def SetAxis(self, A1: gp_Ax1) -> None: ... def SetDirection(self, V: gp_Dir) -> None: ... - def SetLocation(self, P: gp_Pnt) -> None: ... - def SetXDirection(self, Vx: gp_Dir) -> None: ... - def SetYDirection(self, Vy: gp_Dir) -> None: ... - def Transform(self, T: gp_Trsf) -> None: ... - def Transformed(self, T: gp_Trsf) -> gp_Ax2: ... + def SetLocation(self, theP: gp_Pnt) -> None: ... + def SetXDirection(self, theVx: gp_Dir) -> None: ... + def SetYDirection(self, theVy: gp_Dir) -> None: ... + def Transform(self, theT: gp_Trsf) -> None: ... + def Transformed(self, theT: gp_Trsf) -> gp_Ax2: ... @overload - def Translate(self, V: gp_Vec) -> None: ... + def Translate(self, theV: gp_Vec) -> None: ... @overload - def Translate(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + def Translate(self, theP1: gp_Pnt, theP2: gp_Pnt) -> None: ... @overload - def Translated(self, V: gp_Vec) -> gp_Ax2: ... + def Translated(self, theV: gp_Vec) -> gp_Ax2: ... @overload - def Translated(self, P1: gp_Pnt, P2: gp_Pnt) -> gp_Ax2: ... + def Translated(self, theP1: gp_Pnt, theP2: gp_Pnt) -> gp_Ax2: ... def XDirection(self) -> gp_Dir: ... def YDirection(self) -> gp_Dir: ... @@ -214,40 +218,40 @@ class gp_Ax22d: @overload def __init__(self) -> None: ... @overload - def __init__(self, P: gp_Pnt2d, Vx: gp_Dir2d, Vy: gp_Dir2d) -> None: ... + def __init__(self, theP: gp_Pnt2d, theVx: gp_Dir2d, theVy: gp_Dir2d) -> None: ... @overload - def __init__(self, P: gp_Pnt2d, V: gp_Dir2d, Sense: Optional[bool] = True) -> None: ... + def __init__(self, theP: gp_Pnt2d, theV: gp_Dir2d, theIsSense: Optional[bool] = True) -> None: ... @overload - def __init__(self, A: gp_Ax2d, Sense: Optional[bool] = True) -> None: ... + def __init__(self, theA: gp_Ax2d, theIsSense: Optional[bool] = True) -> None: ... def Location(self) -> gp_Pnt2d: ... @overload - def Mirror(self, P: gp_Pnt2d) -> None: ... + def Mirror(self, theP: gp_Pnt2d) -> None: ... @overload - def Mirror(self, A: gp_Ax2d) -> None: ... + def Mirror(self, theA: gp_Ax2d) -> None: ... @overload - def Mirrored(self, P: gp_Pnt2d) -> gp_Ax22d: ... + def Mirrored(self, theP: gp_Pnt2d) -> gp_Ax22d: ... @overload - def Mirrored(self, A: gp_Ax2d) -> gp_Ax22d: ... - def Rotate(self, P: gp_Pnt2d, Ang: float) -> None: ... - def Rotated(self, P: gp_Pnt2d, Ang: float) -> gp_Ax22d: ... - def Scale(self, P: gp_Pnt2d, S: float) -> None: ... - def Scaled(self, P: gp_Pnt2d, S: float) -> gp_Ax22d: ... - def SetAxis(self, A1: gp_Ax22d) -> None: ... - def SetLocation(self, P: gp_Pnt2d) -> None: ... - def SetXAxis(self, A1: gp_Ax2d) -> None: ... - def SetXDirection(self, Vx: gp_Dir2d) -> None: ... - def SetYAxis(self, A1: gp_Ax2d) -> None: ... - def SetYDirection(self, Vy: gp_Dir2d) -> None: ... - def Transform(self, T: gp_Trsf2d) -> None: ... - def Transformed(self, T: gp_Trsf2d) -> gp_Ax22d: ... + def Mirrored(self, theA: gp_Ax2d) -> gp_Ax22d: ... + def Rotate(self, theP: gp_Pnt2d, theAng: float) -> None: ... + def Rotated(self, theP: gp_Pnt2d, theAng: float) -> gp_Ax22d: ... + def Scale(self, theP: gp_Pnt2d, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt2d, theS: float) -> gp_Ax22d: ... + def SetAxis(self, theA1: gp_Ax22d) -> None: ... + def SetLocation(self, theP: gp_Pnt2d) -> None: ... + def SetXAxis(self, theA1: gp_Ax2d) -> None: ... + def SetXDirection(self, theVx: gp_Dir2d) -> None: ... + def SetYAxis(self, theA1: gp_Ax2d) -> None: ... + def SetYDirection(self, theVy: gp_Dir2d) -> None: ... + def Transform(self, theT: gp_Trsf2d) -> None: ... + def Transformed(self, theT: gp_Trsf2d) -> gp_Ax22d: ... @overload - def Translate(self, V: gp_Vec2d) -> None: ... + def Translate(self, theV: gp_Vec2d) -> None: ... @overload - def Translate(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + def Translate(self, theP1: gp_Pnt2d, theP2: gp_Pnt2d) -> None: ... @overload - def Translated(self, V: gp_Vec2d) -> gp_Ax22d: ... + def Translated(self, theV: gp_Vec2d) -> gp_Ax22d: ... @overload - def Translated(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> gp_Ax22d: ... + def Translated(self, theP1: gp_Pnt2d, theP2: gp_Pnt2d) -> gp_Ax22d: ... def XAxis(self) -> gp_Ax2d: ... def XDirection(self) -> gp_Dir2d: ... def YAxis(self) -> gp_Ax2d: ... @@ -257,13 +261,13 @@ class gp_Ax2d: @overload def __init__(self) -> None: ... @overload - def __init__(self, P: gp_Pnt2d, V: gp_Dir2d) -> None: ... - def Angle(self, Other: gp_Ax2d) -> float: ... + def __init__(self, theP: gp_Pnt2d, theV: gp_Dir2d) -> None: ... + def Angle(self, theOther: gp_Ax2d) -> float: ... def Direction(self) -> gp_Dir2d: ... def IsCoaxial(self, Other: gp_Ax2d, AngularTolerance: float, LinearTolerance: float) -> bool: ... - def IsNormal(self, Other: gp_Ax2d, AngularTolerance: float) -> bool: ... - def IsOpposite(self, Other: gp_Ax2d, AngularTolerance: float) -> bool: ... - def IsParallel(self, Other: gp_Ax2d, AngularTolerance: float) -> bool: ... + def IsNormal(self, theOther: gp_Ax2d, theAngularTolerance: float) -> bool: ... + def IsOpposite(self, theOther: gp_Ax2d, theAngularTolerance: float) -> bool: ... + def IsParallel(self, theOther: gp_Ax2d, theAngularTolerance: float) -> bool: ... def Location(self) -> gp_Pnt2d: ... @overload def Mirror(self, P: gp_Pnt2d) -> None: ... @@ -275,74 +279,74 @@ class gp_Ax2d: def Mirrored(self, A: gp_Ax2d) -> gp_Ax2d: ... def Reverse(self) -> None: ... def Reversed(self) -> gp_Ax2d: ... - def Rotate(self, P: gp_Pnt2d, Ang: float) -> None: ... - def Rotated(self, P: gp_Pnt2d, Ang: float) -> gp_Ax2d: ... + def Rotate(self, theP: gp_Pnt2d, theAng: float) -> None: ... + def Rotated(self, theP: gp_Pnt2d, theAng: float) -> gp_Ax2d: ... def Scale(self, P: gp_Pnt2d, S: float) -> None: ... - def Scaled(self, P: gp_Pnt2d, S: float) -> gp_Ax2d: ... - def SetDirection(self, V: gp_Dir2d) -> None: ... - def SetLocation(self, Locat: gp_Pnt2d) -> None: ... - def Transform(self, T: gp_Trsf2d) -> None: ... - def Transformed(self, T: gp_Trsf2d) -> gp_Ax2d: ... + def Scaled(self, theP: gp_Pnt2d, theS: float) -> gp_Ax2d: ... + def SetDirection(self, theV: gp_Dir2d) -> None: ... + def SetLocation(self, theP: gp_Pnt2d) -> None: ... + def Transform(self, theT: gp_Trsf2d) -> None: ... + def Transformed(self, theT: gp_Trsf2d) -> gp_Ax2d: ... @overload - def Translate(self, V: gp_Vec2d) -> None: ... + def Translate(self, theV: gp_Vec2d) -> None: ... @overload - def Translate(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + def Translate(self, theP1: gp_Pnt2d, theP2: gp_Pnt2d) -> None: ... @overload - def Translated(self, V: gp_Vec2d) -> gp_Ax2d: ... + def Translated(self, theV: gp_Vec2d) -> gp_Ax2d: ... @overload - def Translated(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> gp_Ax2d: ... + def Translated(self, theP1: gp_Pnt2d, theP2: gp_Pnt2d) -> gp_Ax2d: ... class gp_Ax3: @overload def __init__(self) -> None: ... @overload - def __init__(self, A: gp_Ax2) -> None: ... + def __init__(self, theA: gp_Ax2) -> None: ... @overload - def __init__(self, P: gp_Pnt, N: gp_Dir, Vx: gp_Dir) -> None: ... + def __init__(self, theP: gp_Pnt, theN: gp_Dir, theVx: gp_Dir) -> None: ... @overload - def __init__(self, P: gp_Pnt, V: gp_Dir) -> None: ... - def Angle(self, Other: gp_Ax3) -> float: ... + def __init__(self, theP: gp_Pnt, theV: gp_Dir) -> None: ... + def Angle(self, theOther: gp_Ax3) -> float: ... def Ax2(self) -> gp_Ax2: ... def Axis(self) -> gp_Ax1: ... def Direct(self) -> bool: ... def Direction(self) -> gp_Dir: ... def InitFromJson(self, theSStream: Standard_SStream) -> Tuple[bool, int]: ... @overload - def IsCoplanar(self, Other: gp_Ax3, LinearTolerance: float, AngularTolerance: float) -> bool: ... + def IsCoplanar(self, theOther: gp_Ax3, theLinearTolerance: float, theAngularTolerance: float) -> bool: ... @overload - def IsCoplanar(self, A1: gp_Ax1, LinearTolerance: float, AngularTolerance: float) -> bool: ... + def IsCoplanar(self, theA1: gp_Ax1, theLinearTolerance: float, theAngularTolerance: float) -> bool: ... def Location(self) -> gp_Pnt: ... @overload - def Mirror(self, P: gp_Pnt) -> None: ... + def Mirror(self, theP: gp_Pnt) -> None: ... @overload - def Mirror(self, A1: gp_Ax1) -> None: ... + def Mirror(self, theA1: gp_Ax1) -> None: ... @overload - def Mirror(self, A2: gp_Ax2) -> None: ... + def Mirror(self, theA2: gp_Ax2) -> None: ... @overload - def Mirrored(self, P: gp_Pnt) -> gp_Ax3: ... + def Mirrored(self, theP: gp_Pnt) -> gp_Ax3: ... @overload - def Mirrored(self, A1: gp_Ax1) -> gp_Ax3: ... + def Mirrored(self, theA1: gp_Ax1) -> gp_Ax3: ... @overload - def Mirrored(self, A2: gp_Ax2) -> gp_Ax3: ... - def Rotate(self, A1: gp_Ax1, Ang: float) -> None: ... - def Rotated(self, A1: gp_Ax1, Ang: float) -> gp_Ax3: ... - def Scale(self, P: gp_Pnt, S: float) -> None: ... - def Scaled(self, P: gp_Pnt, S: float) -> gp_Ax3: ... - def SetAxis(self, A1: gp_Ax1) -> None: ... - def SetDirection(self, V: gp_Dir) -> None: ... - def SetLocation(self, P: gp_Pnt) -> None: ... - def SetXDirection(self, Vx: gp_Dir) -> None: ... - def SetYDirection(self, Vy: gp_Dir) -> None: ... - def Transform(self, T: gp_Trsf) -> None: ... - def Transformed(self, T: gp_Trsf) -> gp_Ax3: ... + def Mirrored(self, theA2: gp_Ax2) -> gp_Ax3: ... + def Rotate(self, theA1: gp_Ax1, theAng: float) -> None: ... + def Rotated(self, theA1: gp_Ax1, theAng: float) -> gp_Ax3: ... + def Scale(self, theP: gp_Pnt, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt, theS: float) -> gp_Ax3: ... + def SetAxis(self, theA1: gp_Ax1) -> None: ... + def SetDirection(self, theV: gp_Dir) -> None: ... + def SetLocation(self, theP: gp_Pnt) -> None: ... + def SetXDirection(self, theVx: gp_Dir) -> None: ... + def SetYDirection(self, theVy: gp_Dir) -> None: ... + def Transform(self, theT: gp_Trsf) -> None: ... + def Transformed(self, theT: gp_Trsf) -> gp_Ax3: ... @overload - def Translate(self, V: gp_Vec) -> None: ... + def Translate(self, theV: gp_Vec) -> None: ... @overload - def Translate(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + def Translate(self, theP1: gp_Pnt, theP2: gp_Pnt) -> None: ... @overload - def Translated(self, V: gp_Vec) -> gp_Ax3: ... + def Translated(self, theV: gp_Vec) -> gp_Ax3: ... @overload - def Translated(self, P1: gp_Pnt, P2: gp_Pnt) -> gp_Ax3: ... + def Translated(self, theP1: gp_Pnt, theP2: gp_Pnt) -> gp_Ax3: ... def XDirection(self) -> gp_Dir: ... def XReverse(self) -> None: ... def YDirection(self) -> gp_Dir: ... @@ -353,46 +357,46 @@ class gp_Circ: @overload def __init__(self) -> None: ... @overload - def __init__(self, A2: gp_Ax2, Radius: float) -> None: ... + def __init__(self, theA2: gp_Ax2, theRadius: float) -> None: ... def Area(self) -> float: ... def Axis(self) -> gp_Ax1: ... - def Contains(self, P: gp_Pnt, LinearTolerance: float) -> bool: ... - def Distance(self, P: gp_Pnt) -> float: ... + def Contains(self, theP: gp_Pnt, theLinearTolerance: float) -> bool: ... + def Distance(self, theP: gp_Pnt) -> float: ... def Length(self) -> float: ... def Location(self) -> gp_Pnt: ... @overload - def Mirror(self, P: gp_Pnt) -> None: ... + def Mirror(self, theP: gp_Pnt) -> None: ... @overload - def Mirror(self, A1: gp_Ax1) -> None: ... + def Mirror(self, theA1: gp_Ax1) -> None: ... @overload - def Mirror(self, A2: gp_Ax2) -> None: ... + def Mirror(self, theA2: gp_Ax2) -> None: ... @overload - def Mirrored(self, P: gp_Pnt) -> gp_Circ: ... + def Mirrored(self, theP: gp_Pnt) -> gp_Circ: ... @overload - def Mirrored(self, A1: gp_Ax1) -> gp_Circ: ... + def Mirrored(self, theA1: gp_Ax1) -> gp_Circ: ... @overload - def Mirrored(self, A2: gp_Ax2) -> gp_Circ: ... + def Mirrored(self, theA2: gp_Ax2) -> gp_Circ: ... def Position(self) -> gp_Ax2: ... def Radius(self) -> float: ... - def Rotate(self, A1: gp_Ax1, Ang: float) -> None: ... - def Rotated(self, A1: gp_Ax1, Ang: float) -> gp_Circ: ... - def Scale(self, P: gp_Pnt, S: float) -> None: ... - def Scaled(self, P: gp_Pnt, S: float) -> gp_Circ: ... - def SetAxis(self, A1: gp_Ax1) -> None: ... - def SetLocation(self, P: gp_Pnt) -> None: ... - def SetPosition(self, A2: gp_Ax2) -> None: ... - def SetRadius(self, Radius: float) -> None: ... - def SquareDistance(self, P: gp_Pnt) -> float: ... - def Transform(self, T: gp_Trsf) -> None: ... - def Transformed(self, T: gp_Trsf) -> gp_Circ: ... + def Rotate(self, theA1: gp_Ax1, theAng: float) -> None: ... + def Rotated(self, theA1: gp_Ax1, theAng: float) -> gp_Circ: ... + def Scale(self, theP: gp_Pnt, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt, theS: float) -> gp_Circ: ... + def SetAxis(self, theA1: gp_Ax1) -> None: ... + def SetLocation(self, theP: gp_Pnt) -> None: ... + def SetPosition(self, theA2: gp_Ax2) -> None: ... + def SetRadius(self, theRadius: float) -> None: ... + def SquareDistance(self, theP: gp_Pnt) -> float: ... + def Transform(self, theT: gp_Trsf) -> None: ... + def Transformed(self, theT: gp_Trsf) -> gp_Circ: ... @overload - def Translate(self, V: gp_Vec) -> None: ... + def Translate(self, theV: gp_Vec) -> None: ... @overload - def Translate(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + def Translate(self, theP1: gp_Pnt, theP2: gp_Pnt) -> None: ... @overload - def Translated(self, V: gp_Vec) -> gp_Circ: ... + def Translated(self, theV: gp_Vec) -> gp_Circ: ... @overload - def Translated(self, P1: gp_Pnt, P2: gp_Pnt) -> gp_Circ: ... + def Translated(self, theP1: gp_Pnt, theP2: gp_Pnt) -> gp_Circ: ... def XAxis(self) -> gp_Ax1: ... def YAxis(self) -> gp_Ax1: ... @@ -400,49 +404,49 @@ class gp_Circ2d: @overload def __init__(self) -> None: ... @overload - def __init__(self, XAxis: gp_Ax2d, Radius: float, Sense: Optional[bool] = True) -> None: ... + def __init__(self, theXAxis: gp_Ax2d, theRadius: float, theIsSense: Optional[bool] = True) -> None: ... @overload - def __init__(self, Axis: gp_Ax22d, Radius: float) -> None: ... + def __init__(self, theAxis: gp_Ax22d, theRadius: float) -> None: ... def Area(self) -> float: ... def Axis(self) -> gp_Ax22d: ... def Coefficients(self) -> Tuple[float, float, float, float, float, float]: ... - def Contains(self, P: gp_Pnt2d, LinearTolerance: float) -> bool: ... - def Distance(self, P: gp_Pnt2d) -> float: ... + def Contains(self, theP: gp_Pnt2d, theLinearTolerance: float) -> bool: ... + def Distance(self, theP: gp_Pnt2d) -> float: ... def IsDirect(self) -> bool: ... def Length(self) -> float: ... def Location(self) -> gp_Pnt2d: ... @overload - def Mirror(self, P: gp_Pnt2d) -> None: ... + def Mirror(self, theP: gp_Pnt2d) -> None: ... @overload - def Mirror(self, A: gp_Ax2d) -> None: ... + def Mirror(self, theA: gp_Ax2d) -> None: ... @overload - def Mirrored(self, P: gp_Pnt2d) -> gp_Circ2d: ... + def Mirrored(self, theP: gp_Pnt2d) -> gp_Circ2d: ... @overload - def Mirrored(self, A: gp_Ax2d) -> gp_Circ2d: ... + def Mirrored(self, theA: gp_Ax2d) -> gp_Circ2d: ... def Position(self) -> gp_Ax22d: ... def Radius(self) -> float: ... def Reverse(self) -> None: ... def Reversed(self) -> gp_Circ2d: ... - def Rotate(self, P: gp_Pnt2d, Ang: float) -> None: ... - def Rotated(self, P: gp_Pnt2d, Ang: float) -> gp_Circ2d: ... - def Scale(self, P: gp_Pnt2d, S: float) -> None: ... - def Scaled(self, P: gp_Pnt2d, S: float) -> gp_Circ2d: ... - def SetAxis(self, A: gp_Ax22d) -> None: ... - def SetLocation(self, P: gp_Pnt2d) -> None: ... - def SetRadius(self, Radius: float) -> None: ... - def SetXAxis(self, A: gp_Ax2d) -> None: ... - def SetYAxis(self, A: gp_Ax2d) -> None: ... - def SquareDistance(self, P: gp_Pnt2d) -> float: ... - def Transform(self, T: gp_Trsf2d) -> None: ... - def Transformed(self, T: gp_Trsf2d) -> gp_Circ2d: ... - @overload - def Translate(self, V: gp_Vec2d) -> None: ... - @overload - def Translate(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def Translated(self, V: gp_Vec2d) -> gp_Circ2d: ... - @overload - def Translated(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> gp_Circ2d: ... + def Rotate(self, theP: gp_Pnt2d, theAng: float) -> None: ... + def Rotated(self, theP: gp_Pnt2d, theAng: float) -> gp_Circ2d: ... + def Scale(self, theP: gp_Pnt2d, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt2d, theS: float) -> gp_Circ2d: ... + def SetAxis(self, theA: gp_Ax22d) -> None: ... + def SetLocation(self, theP: gp_Pnt2d) -> None: ... + def SetRadius(self, theRadius: float) -> None: ... + def SetXAxis(self, theA: gp_Ax2d) -> None: ... + def SetYAxis(self, theA: gp_Ax2d) -> None: ... + def SquareDistance(self, theP: gp_Pnt2d) -> float: ... + def Transform(self, theT: gp_Trsf2d) -> None: ... + def Transformed(self, theT: gp_Trsf2d) -> gp_Circ2d: ... + @overload + def Translate(self, theV: gp_Vec2d) -> None: ... + @overload + def Translate(self, theP1: gp_Pnt2d, theP2: gp_Pnt2d) -> None: ... + @overload + def Translated(self, theV: gp_Vec2d) -> gp_Circ2d: ... + @overload + def Translated(self, theP1: gp_Pnt2d, theP2: gp_Pnt2d) -> gp_Circ2d: ... def XAxis(self) -> gp_Ax2d: ... def YAxis(self) -> gp_Ax2d: ... @@ -450,46 +454,46 @@ class gp_Cone: @overload def __init__(self) -> None: ... @overload - def __init__(self, A3: gp_Ax3, Ang: float, Radius: float) -> None: ... + def __init__(self, theA3: gp_Ax3, theAng: float, theRadius: float) -> None: ... def Apex(self) -> gp_Pnt: ... def Axis(self) -> gp_Ax1: ... def Coefficients(self) -> Tuple[float, float, float, float, float, float, float, float, float, float]: ... def Direct(self) -> bool: ... def Location(self) -> gp_Pnt: ... @overload - def Mirror(self, P: gp_Pnt) -> None: ... + def Mirror(self, theP: gp_Pnt) -> None: ... @overload - def Mirror(self, A1: gp_Ax1) -> None: ... + def Mirror(self, theA1: gp_Ax1) -> None: ... @overload - def Mirror(self, A2: gp_Ax2) -> None: ... + def Mirror(self, theA2: gp_Ax2) -> None: ... @overload - def Mirrored(self, P: gp_Pnt) -> gp_Cone: ... + def Mirrored(self, theP: gp_Pnt) -> gp_Cone: ... @overload - def Mirrored(self, A1: gp_Ax1) -> gp_Cone: ... + def Mirrored(self, theA1: gp_Ax1) -> gp_Cone: ... @overload - def Mirrored(self, A2: gp_Ax2) -> gp_Cone: ... + def Mirrored(self, theA2: gp_Ax2) -> gp_Cone: ... def Position(self) -> gp_Ax3: ... def RefRadius(self) -> float: ... - def Rotate(self, A1: gp_Ax1, Ang: float) -> None: ... - def Rotated(self, A1: gp_Ax1, Ang: float) -> gp_Cone: ... - def Scale(self, P: gp_Pnt, S: float) -> None: ... - def Scaled(self, P: gp_Pnt, S: float) -> gp_Cone: ... + def Rotate(self, theA1: gp_Ax1, theAng: float) -> None: ... + def Rotated(self, theA1: gp_Ax1, theAng: float) -> gp_Cone: ... + def Scale(self, theP: gp_Pnt, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt, theS: float) -> gp_Cone: ... def SemiAngle(self) -> float: ... - def SetAxis(self, A1: gp_Ax1) -> None: ... - def SetLocation(self, Loc: gp_Pnt) -> None: ... - def SetPosition(self, A3: gp_Ax3) -> None: ... - def SetRadius(self, R: float) -> None: ... - def SetSemiAngle(self, Ang: float) -> None: ... - def Transform(self, T: gp_Trsf) -> None: ... - def Transformed(self, T: gp_Trsf) -> gp_Cone: ... + def SetAxis(self, theA1: gp_Ax1) -> None: ... + def SetLocation(self, theLoc: gp_Pnt) -> None: ... + def SetPosition(self, theA3: gp_Ax3) -> None: ... + def SetRadius(self, theR: float) -> None: ... + def SetSemiAngle(self, theAng: float) -> None: ... + def Transform(self, theT: gp_Trsf) -> None: ... + def Transformed(self, theT: gp_Trsf) -> gp_Cone: ... @overload - def Translate(self, V: gp_Vec) -> None: ... + def Translate(self, theV: gp_Vec) -> None: ... @overload - def Translate(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + def Translate(self, theP1: gp_Pnt, theP2: gp_Pnt) -> None: ... @overload - def Translated(self, V: gp_Vec) -> gp_Cone: ... + def Translated(self, theV: gp_Vec) -> gp_Cone: ... @overload - def Translated(self, P1: gp_Pnt, P2: gp_Pnt) -> gp_Cone: ... + def Translated(self, theP1: gp_Pnt, theP2: gp_Pnt) -> gp_Cone: ... def UReverse(self) -> None: ... def VReverse(self) -> None: ... def XAxis(self) -> gp_Ax1: ... @@ -499,43 +503,43 @@ class gp_Cylinder: @overload def __init__(self) -> None: ... @overload - def __init__(self, A3: gp_Ax3, Radius: float) -> None: ... + def __init__(self, theA3: gp_Ax3, theRadius: float) -> None: ... def Axis(self) -> gp_Ax1: ... def Coefficients(self) -> Tuple[float, float, float, float, float, float, float, float, float, float]: ... def Direct(self) -> bool: ... def Location(self) -> gp_Pnt: ... @overload - def Mirror(self, P: gp_Pnt) -> None: ... + def Mirror(self, theP: gp_Pnt) -> None: ... @overload - def Mirror(self, A1: gp_Ax1) -> None: ... + def Mirror(self, theA1: gp_Ax1) -> None: ... @overload - def Mirror(self, A2: gp_Ax2) -> None: ... + def Mirror(self, theA2: gp_Ax2) -> None: ... @overload - def Mirrored(self, P: gp_Pnt) -> gp_Cylinder: ... + def Mirrored(self, theP: gp_Pnt) -> gp_Cylinder: ... @overload - def Mirrored(self, A1: gp_Ax1) -> gp_Cylinder: ... + def Mirrored(self, theA1: gp_Ax1) -> gp_Cylinder: ... @overload - def Mirrored(self, A2: gp_Ax2) -> gp_Cylinder: ... + def Mirrored(self, theA2: gp_Ax2) -> gp_Cylinder: ... def Position(self) -> gp_Ax3: ... def Radius(self) -> float: ... - def Rotate(self, A1: gp_Ax1, Ang: float) -> None: ... - def Rotated(self, A1: gp_Ax1, Ang: float) -> gp_Cylinder: ... - def Scale(self, P: gp_Pnt, S: float) -> None: ... - def Scaled(self, P: gp_Pnt, S: float) -> gp_Cylinder: ... - def SetAxis(self, A1: gp_Ax1) -> None: ... - def SetLocation(self, Loc: gp_Pnt) -> None: ... - def SetPosition(self, A3: gp_Ax3) -> None: ... - def SetRadius(self, R: float) -> None: ... - def Transform(self, T: gp_Trsf) -> None: ... - def Transformed(self, T: gp_Trsf) -> gp_Cylinder: ... + def Rotate(self, theA1: gp_Ax1, theAng: float) -> None: ... + def Rotated(self, theA1: gp_Ax1, theAng: float) -> gp_Cylinder: ... + def Scale(self, theP: gp_Pnt, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt, theS: float) -> gp_Cylinder: ... + def SetAxis(self, theA1: gp_Ax1) -> None: ... + def SetLocation(self, theLoc: gp_Pnt) -> None: ... + def SetPosition(self, theA3: gp_Ax3) -> None: ... + def SetRadius(self, theR: float) -> None: ... + def Transform(self, theT: gp_Trsf) -> None: ... + def Transformed(self, theT: gp_Trsf) -> gp_Cylinder: ... @overload - def Translate(self, V: gp_Vec) -> None: ... + def Translate(self, theV: gp_Vec) -> None: ... @overload - def Translate(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + def Translate(self, theP1: gp_Pnt, theP2: gp_Pnt) -> None: ... @overload - def Translated(self, V: gp_Vec) -> gp_Cylinder: ... + def Translated(self, theV: gp_Vec) -> gp_Cylinder: ... @overload - def Translated(self, P1: gp_Pnt, P2: gp_Pnt) -> gp_Cylinder: ... + def Translated(self, theP1: gp_Pnt, theP2: gp_Pnt) -> gp_Cylinder: ... def UReverse(self) -> None: ... def VReverse(self) -> None: ... def XAxis(self) -> gp_Ax1: ... @@ -545,54 +549,54 @@ class gp_Dir: @overload def __init__(self) -> None: ... @overload - def __init__(self, V: gp_Vec) -> None: ... + def __init__(self, theV: gp_Vec) -> None: ... @overload - def __init__(self, Coord: gp_XYZ) -> None: ... + def __init__(self, theCoord: gp_XYZ) -> None: ... @overload - def __init__(self, Xv: float, Yv: float, Zv: float) -> None: ... - def Angle(self, Other: gp_Dir) -> float: ... - def AngleWithRef(self, Other: gp_Dir, VRef: gp_Dir) -> float: ... + def __init__(self, theXv: float, theYv: float, theZv: float) -> None: ... + def Angle(self, theOther: gp_Dir) -> float: ... + def AngleWithRef(self, theOther: gp_Dir, theVRef: gp_Dir) -> float: ... @overload - def Coord(self, Index: int) -> float: ... + def Coord(self, theIndex: int) -> float: ... @overload def Coord(self) -> Tuple[float, float, float]: ... - def Cross(self, Right: gp_Dir) -> None: ... - def CrossCross(self, V1: gp_Dir, V2: gp_Dir) -> None: ... - def CrossCrossed(self, V1: gp_Dir, V2: gp_Dir) -> gp_Dir: ... - def Crossed(self, Right: gp_Dir) -> gp_Dir: ... - def Dot(self, Other: gp_Dir) -> float: ... - def DotCross(self, V1: gp_Dir, V2: gp_Dir) -> float: ... + def Cross(self, theRight: gp_Dir) -> None: ... + def CrossCross(self, theV1: gp_Dir, theV2: gp_Dir) -> None: ... + def CrossCrossed(self, theV1: gp_Dir, theV2: gp_Dir) -> gp_Dir: ... + def Crossed(self, theRight: gp_Dir) -> gp_Dir: ... + def Dot(self, theOther: gp_Dir) -> float: ... + def DotCross(self, theV1: gp_Dir, theV2: gp_Dir) -> float: ... def InitFromJson(self, theSStream: Standard_SStream) -> Tuple[bool, int]: ... - def IsEqual(self, Other: gp_Dir, AngularTolerance: float) -> bool: ... - def IsNormal(self, Other: gp_Dir, AngularTolerance: float) -> bool: ... - def IsOpposite(self, Other: gp_Dir, AngularTolerance: float) -> bool: ... - def IsParallel(self, Other: gp_Dir, AngularTolerance: float) -> bool: ... + def IsEqual(self, theOther: gp_Dir, theAngularTolerance: float) -> bool: ... + def IsNormal(self, theOther: gp_Dir, theAngularTolerance: float) -> bool: ... + def IsOpposite(self, theOther: gp_Dir, theAngularTolerance: float) -> bool: ... + def IsParallel(self, theOther: gp_Dir, theAngularTolerance: float) -> bool: ... @overload - def Mirror(self, V: gp_Dir) -> None: ... + def Mirror(self, theV: gp_Dir) -> None: ... @overload - def Mirror(self, A1: gp_Ax1) -> None: ... + def Mirror(self, theA1: gp_Ax1) -> None: ... @overload - def Mirror(self, A2: gp_Ax2) -> None: ... + def Mirror(self, theA2: gp_Ax2) -> None: ... @overload - def Mirrored(self, V: gp_Dir) -> gp_Dir: ... + def Mirrored(self, theV: gp_Dir) -> gp_Dir: ... @overload - def Mirrored(self, A1: gp_Ax1) -> gp_Dir: ... + def Mirrored(self, theA1: gp_Ax1) -> gp_Dir: ... @overload - def Mirrored(self, A2: gp_Ax2) -> gp_Dir: ... + def Mirrored(self, theA2: gp_Ax2) -> gp_Dir: ... def Reverse(self) -> None: ... def Reversed(self) -> gp_Dir: ... - def Rotate(self, A1: gp_Ax1, Ang: float) -> None: ... - def Rotated(self, A1: gp_Ax1, Ang: float) -> gp_Dir: ... - @overload - def SetCoord(self, Index: int, Xi: float) -> None: ... - @overload - def SetCoord(self, Xv: float, Yv: float, Zv: float) -> None: ... - def SetX(self, X: float) -> None: ... - def SetXYZ(self, Coord: gp_XYZ) -> None: ... - def SetY(self, Y: float) -> None: ... - def SetZ(self, Z: float) -> None: ... - def Transform(self, T: gp_Trsf) -> None: ... - def Transformed(self, T: gp_Trsf) -> gp_Dir: ... + def Rotate(self, theA1: gp_Ax1, theAng: float) -> None: ... + def Rotated(self, theA1: gp_Ax1, theAng: float) -> gp_Dir: ... + @overload + def SetCoord(self, theIndex: int, theXi: float) -> None: ... + @overload + def SetCoord(self, theXv: float, theYv: float, theZv: float) -> None: ... + def SetX(self, theX: float) -> None: ... + def SetXYZ(self, theCoord: gp_XYZ) -> None: ... + def SetY(self, theY: float) -> None: ... + def SetZ(self, theZ: float) -> None: ... + def Transform(self, theT: gp_Trsf) -> None: ... + def Transformed(self, theT: gp_Trsf) -> gp_Dir: ... def X(self) -> float: ... def XYZ(self) -> gp_XYZ: ... def Y(self) -> float: ... @@ -602,43 +606,43 @@ class gp_Dir2d: @overload def __init__(self) -> None: ... @overload - def __init__(self, V: gp_Vec2d) -> None: ... + def __init__(self, theV: gp_Vec2d) -> None: ... @overload - def __init__(self, Coord: gp_XY) -> None: ... + def __init__(self, theCoord: gp_XY) -> None: ... @overload - def __init__(self, Xv: float, Yv: float) -> None: ... - def Angle(self, Other: gp_Dir2d) -> float: ... + def __init__(self, theXv: float, theYv: float) -> None: ... + def Angle(self, theOther: gp_Dir2d) -> float: ... @overload - def Coord(self, Index: int) -> float: ... + def Coord(self, theIndex: int) -> float: ... @overload def Coord(self) -> Tuple[float, float]: ... - def Crossed(self, Right: gp_Dir2d) -> float: ... - def Dot(self, Other: gp_Dir2d) -> float: ... - def IsEqual(self, Other: gp_Dir2d, AngularTolerance: float) -> bool: ... - def IsNormal(self, Other: gp_Dir2d, AngularTolerance: float) -> bool: ... - def IsOpposite(self, Other: gp_Dir2d, AngularTolerance: float) -> bool: ... - def IsParallel(self, Other: gp_Dir2d, AngularTolerance: float) -> bool: ... + def Crossed(self, theRight: gp_Dir2d) -> float: ... + def Dot(self, theOther: gp_Dir2d) -> float: ... + def IsEqual(self, theOther: gp_Dir2d, theAngularTolerance: float) -> bool: ... + def IsNormal(self, theOther: gp_Dir2d, theAngularTolerance: float) -> bool: ... + def IsOpposite(self, theOther: gp_Dir2d, theAngularTolerance: float) -> bool: ... + def IsParallel(self, theOther: gp_Dir2d, theAngularTolerance: float) -> bool: ... @overload - def Mirror(self, V: gp_Dir2d) -> None: ... + def Mirror(self, theV: gp_Dir2d) -> None: ... @overload - def Mirror(self, A: gp_Ax2d) -> None: ... + def Mirror(self, theA: gp_Ax2d) -> None: ... @overload - def Mirrored(self, V: gp_Dir2d) -> gp_Dir2d: ... + def Mirrored(self, theV: gp_Dir2d) -> gp_Dir2d: ... @overload - def Mirrored(self, A: gp_Ax2d) -> gp_Dir2d: ... + def Mirrored(self, theA: gp_Ax2d) -> gp_Dir2d: ... def Reverse(self) -> None: ... def Reversed(self) -> gp_Dir2d: ... def Rotate(self, Ang: float) -> None: ... - def Rotated(self, Ang: float) -> gp_Dir2d: ... + def Rotated(self, theAng: float) -> gp_Dir2d: ... @overload - def SetCoord(self, Index: int, Xi: float) -> None: ... + def SetCoord(self, theIndex: int, theXi: float) -> None: ... @overload - def SetCoord(self, Xv: float, Yv: float) -> None: ... - def SetX(self, X: float) -> None: ... - def SetXY(self, Coord: gp_XY) -> None: ... - def SetY(self, Y: float) -> None: ... - def Transform(self, T: gp_Trsf2d) -> None: ... - def Transformed(self, T: gp_Trsf2d) -> gp_Dir2d: ... + def SetCoord(self, theXv: float, theYv: float) -> None: ... + def SetX(self, theX: float) -> None: ... + def SetXY(self, theCoord: gp_XY) -> None: ... + def SetY(self, theY: float) -> None: ... + def Transform(self, theT: gp_Trsf2d) -> None: ... + def Transformed(self, theT: gp_Trsf2d) -> gp_Dir2d: ... def X(self) -> float: ... def XY(self) -> gp_XY: ... def Y(self) -> float: ... @@ -647,7 +651,7 @@ class gp_Elips: @overload def __init__(self) -> None: ... @overload - def __init__(self, A2: gp_Ax2, MajorRadius: float, MinorRadius: float) -> None: ... + def __init__(self, theA2: gp_Ax2, theMajorRadius: float, theMinorRadius: float) -> None: ... def Area(self) -> float: ... def Axis(self) -> gp_Ax1: ... def Directrix1(self) -> gp_Ax1: ... @@ -660,38 +664,38 @@ class gp_Elips: def MajorRadius(self) -> float: ... def MinorRadius(self) -> float: ... @overload - def Mirror(self, P: gp_Pnt) -> None: ... + def Mirror(self, theP: gp_Pnt) -> None: ... @overload - def Mirror(self, A1: gp_Ax1) -> None: ... + def Mirror(self, theA1: gp_Ax1) -> None: ... @overload - def Mirror(self, A2: gp_Ax2) -> None: ... + def Mirror(self, theA2: gp_Ax2) -> None: ... @overload - def Mirrored(self, P: gp_Pnt) -> gp_Elips: ... + def Mirrored(self, theP: gp_Pnt) -> gp_Elips: ... @overload - def Mirrored(self, A1: gp_Ax1) -> gp_Elips: ... + def Mirrored(self, theA1: gp_Ax1) -> gp_Elips: ... @overload - def Mirrored(self, A2: gp_Ax2) -> gp_Elips: ... + def Mirrored(self, theA2: gp_Ax2) -> gp_Elips: ... def Parameter(self) -> float: ... def Position(self) -> gp_Ax2: ... - def Rotate(self, A1: gp_Ax1, Ang: float) -> None: ... - def Rotated(self, A1: gp_Ax1, Ang: float) -> gp_Elips: ... - def Scale(self, P: gp_Pnt, S: float) -> None: ... - def Scaled(self, P: gp_Pnt, S: float) -> gp_Elips: ... - def SetAxis(self, A1: gp_Ax1) -> None: ... - def SetLocation(self, P: gp_Pnt) -> None: ... - def SetMajorRadius(self, MajorRadius: float) -> None: ... - def SetMinorRadius(self, MinorRadius: float) -> None: ... - def SetPosition(self, A2: gp_Ax2) -> None: ... - def Transform(self, T: gp_Trsf) -> None: ... - def Transformed(self, T: gp_Trsf) -> gp_Elips: ... + def Rotate(self, theA1: gp_Ax1, theAng: float) -> None: ... + def Rotated(self, theA1: gp_Ax1, theAng: float) -> gp_Elips: ... + def Scale(self, theP: gp_Pnt, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt, theS: float) -> gp_Elips: ... + def SetAxis(self, theA1: gp_Ax1) -> None: ... + def SetLocation(self, theP: gp_Pnt) -> None: ... + def SetMajorRadius(self, theMajorRadius: float) -> None: ... + def SetMinorRadius(self, theMinorRadius: float) -> None: ... + def SetPosition(self, theA2: gp_Ax2) -> None: ... + def Transform(self, theT: gp_Trsf) -> None: ... + def Transformed(self, theT: gp_Trsf) -> gp_Elips: ... @overload - def Translate(self, V: gp_Vec) -> None: ... + def Translate(self, theV: gp_Vec) -> None: ... @overload - def Translate(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + def Translate(self, theP1: gp_Pnt, theP2: gp_Pnt) -> None: ... @overload - def Translated(self, V: gp_Vec) -> gp_Elips: ... + def Translated(self, theV: gp_Vec) -> gp_Elips: ... @overload - def Translated(self, P1: gp_Pnt, P2: gp_Pnt) -> gp_Elips: ... + def Translated(self, theP1: gp_Pnt, theP2: gp_Pnt) -> gp_Elips: ... def XAxis(self) -> gp_Ax1: ... def YAxis(self) -> gp_Ax1: ... @@ -699,9 +703,9 @@ class gp_Elips2d: @overload def __init__(self) -> None: ... @overload - def __init__(self, MajorAxis: gp_Ax2d, MajorRadius: float, MinorRadius: float, Sense: Optional[bool] = True) -> None: ... + def __init__(self, theMajorAxis: gp_Ax2d, theMajorRadius: float, theMinorRadius: float, theIsSense: Optional[bool] = True) -> None: ... @overload - def __init__(self, A: gp_Ax22d, MajorRadius: float, MinorRadius: float) -> None: ... + def __init__(self, theA: gp_Ax22d, theMajorRadius: float, theMinorRadius: float) -> None: ... def Area(self) -> float: ... def Axis(self) -> gp_Ax22d: ... def Coefficients(self) -> Tuple[float, float, float, float, float, float]: ... @@ -716,36 +720,36 @@ class gp_Elips2d: def MajorRadius(self) -> float: ... def MinorRadius(self) -> float: ... @overload - def Mirror(self, P: gp_Pnt2d) -> None: ... + def Mirror(self, theP: gp_Pnt2d) -> None: ... @overload - def Mirror(self, A: gp_Ax2d) -> None: ... + def Mirror(self, theA: gp_Ax2d) -> None: ... @overload - def Mirrored(self, P: gp_Pnt2d) -> gp_Elips2d: ... + def Mirrored(self, theP: gp_Pnt2d) -> gp_Elips2d: ... @overload - def Mirrored(self, A: gp_Ax2d) -> gp_Elips2d: ... + def Mirrored(self, theA: gp_Ax2d) -> gp_Elips2d: ... def Parameter(self) -> float: ... def Reverse(self) -> None: ... def Reversed(self) -> gp_Elips2d: ... - def Rotate(self, P: gp_Pnt2d, Ang: float) -> None: ... - def Rotated(self, P: gp_Pnt2d, Ang: float) -> gp_Elips2d: ... - def Scale(self, P: gp_Pnt2d, S: float) -> None: ... - def Scaled(self, P: gp_Pnt2d, S: float) -> gp_Elips2d: ... - def SetAxis(self, A: gp_Ax22d) -> None: ... - def SetLocation(self, P: gp_Pnt2d) -> None: ... - def SetMajorRadius(self, MajorRadius: float) -> None: ... - def SetMinorRadius(self, MinorRadius: float) -> None: ... - def SetXAxis(self, A: gp_Ax2d) -> None: ... - def SetYAxis(self, A: gp_Ax2d) -> None: ... - def Transform(self, T: gp_Trsf2d) -> None: ... - def Transformed(self, T: gp_Trsf2d) -> gp_Elips2d: ... - @overload - def Translate(self, V: gp_Vec2d) -> None: ... - @overload - def Translate(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def Translated(self, V: gp_Vec2d) -> gp_Elips2d: ... - @overload - def Translated(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> gp_Elips2d: ... + def Rotate(self, theP: gp_Pnt2d, theAng: float) -> None: ... + def Rotated(self, theP: gp_Pnt2d, theAng: float) -> gp_Elips2d: ... + def Scale(self, theP: gp_Pnt2d, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt2d, theS: float) -> gp_Elips2d: ... + def SetAxis(self, theA: gp_Ax22d) -> None: ... + def SetLocation(self, theP: gp_Pnt2d) -> None: ... + def SetMajorRadius(self, theMajorRadius: float) -> None: ... + def SetMinorRadius(self, theMinorRadius: float) -> None: ... + def SetXAxis(self, theA: gp_Ax2d) -> None: ... + def SetYAxis(self, theA: gp_Ax2d) -> None: ... + def Transform(self, theT: gp_Trsf2d) -> None: ... + def Transformed(self, theT: gp_Trsf2d) -> gp_Elips2d: ... + @overload + def Translate(self, theV: gp_Vec2d) -> None: ... + @overload + def Translate(self, theP1: gp_Pnt2d, theP2: gp_Pnt2d) -> None: ... + @overload + def Translated(self, theV: gp_Vec2d) -> gp_Elips2d: ... + @overload + def Translated(self, theP1: gp_Pnt2d, theP2: gp_Pnt2d) -> gp_Elips2d: ... def XAxis(self) -> gp_Ax2d: ... def YAxis(self) -> gp_Ax2d: ... @@ -753,74 +757,74 @@ class gp_GTrsf: @overload def __init__(self) -> None: ... @overload - def __init__(self, T: gp_Trsf) -> None: ... + def __init__(self, theT: gp_Trsf) -> None: ... @overload - def __init__(self, M: gp_Mat, V: gp_XYZ) -> None: ... + def __init__(self, theM: gp_Mat, theV: gp_XYZ) -> None: ... def Form(self) -> gp_TrsfForm: ... def Invert(self) -> None: ... def Inverted(self) -> gp_GTrsf: ... def IsNegative(self) -> bool: ... def IsSingular(self) -> bool: ... - def Multiplied(self, T: gp_GTrsf) -> gp_GTrsf: ... - def Multiply(self, T: gp_GTrsf) -> None: ... - def Power(self, N: int) -> None: ... - def Powered(self, N: int) -> gp_GTrsf: ... - def PreMultiply(self, T: gp_GTrsf) -> None: ... + def Multiplied(self, theT: gp_GTrsf) -> gp_GTrsf: ... + def Multiply(self, theT: gp_GTrsf) -> None: ... + def Power(self, theN: int) -> None: ... + def Powered(self, theN: int) -> gp_GTrsf: ... + def PreMultiply(self, theT: gp_GTrsf) -> None: ... @overload - def SetAffinity(self, A1: gp_Ax1, Ratio: float) -> None: ... + def SetAffinity(self, theA1: gp_Ax1, theRatio: float) -> None: ... @overload - def SetAffinity(self, A2: gp_Ax2, Ratio: float) -> None: ... + def SetAffinity(self, theA2: gp_Ax2, theRatio: float) -> None: ... def SetForm(self) -> None: ... - def SetTranslationPart(self, Coord: gp_XYZ) -> None: ... - def SetTrsf(self, T: gp_Trsf) -> None: ... - def SetValue(self, Row: int, Col: int, Value: float) -> None: ... - def SetVectorialPart(self, Matrix: gp_Mat) -> None: ... + def SetTranslationPart(self, theCoord: gp_XYZ) -> None: ... + def SetTrsf(self, theT: gp_Trsf) -> None: ... + def SetValue(self, theRow: int, theCol: int, theValue: float) -> None: ... + def SetVectorialPart(self, theMatrix: gp_Mat) -> None: ... @overload - def Transforms(self, Coord: gp_XYZ) -> None: ... + def Transforms(self, theCoord: gp_XYZ) -> None: ... @overload def Transforms(self) -> Tuple[float, float, float]: ... def TranslationPart(self) -> gp_XYZ: ... def Trsf(self) -> gp_Trsf: ... - def Value(self, Row: int, Col: int) -> float: ... + def Value(self, theRow: int, theCol: int) -> float: ... def VectorialPart(self) -> gp_Mat: ... class gp_GTrsf2d: @overload def __init__(self) -> None: ... @overload - def __init__(self, T: gp_Trsf2d) -> None: ... + def __init__(self, theT: gp_Trsf2d) -> None: ... @overload - def __init__(self, M: gp_Mat2d, V: gp_XY) -> None: ... + def __init__(self, theM: gp_Mat2d, theV: gp_XY) -> None: ... def Form(self) -> gp_TrsfForm: ... def Invert(self) -> None: ... def Inverted(self) -> gp_GTrsf2d: ... def IsNegative(self) -> bool: ... def IsSingular(self) -> bool: ... - def Multiplied(self, T: gp_GTrsf2d) -> gp_GTrsf2d: ... - def Multiply(self, T: gp_GTrsf2d) -> None: ... - def Power(self, N: int) -> None: ... - def Powered(self, N: int) -> gp_GTrsf2d: ... - def PreMultiply(self, T: gp_GTrsf2d) -> None: ... - def SetAffinity(self, A: gp_Ax2d, Ratio: float) -> None: ... - def SetTranslationPart(self, Coord: gp_XY) -> None: ... - def SetTrsf2d(self, T: gp_Trsf2d) -> None: ... - def SetValue(self, Row: int, Col: int, Value: float) -> None: ... - def SetVectorialPart(self, Matrix: gp_Mat2d) -> None: ... - def Transformed(self, Coord: gp_XY) -> gp_XY: ... - @overload - def Transforms(self, Coord: gp_XY) -> None: ... + def Multiplied(self, theT: gp_GTrsf2d) -> gp_GTrsf2d: ... + def Multiply(self, theT: gp_GTrsf2d) -> None: ... + def Power(self, theN: int) -> None: ... + def Powered(self, theN: int) -> gp_GTrsf2d: ... + def PreMultiply(self, theT: gp_GTrsf2d) -> None: ... + def SetAffinity(self, theA: gp_Ax2d, theRatio: float) -> None: ... + def SetTranslationPart(self, theCoord: gp_XY) -> None: ... + def SetTrsf2d(self, theT: gp_Trsf2d) -> None: ... + def SetValue(self, theRow: int, theCol: int, theValue: float) -> None: ... + def SetVectorialPart(self, theMatrix: gp_Mat2d) -> None: ... + def Transformed(self, theCoord: gp_XY) -> gp_XY: ... + @overload + def Transforms(self, theCoord: gp_XY) -> None: ... @overload def Transforms(self) -> Tuple[float, float]: ... def TranslationPart(self) -> gp_XY: ... def Trsf2d(self) -> gp_Trsf2d: ... - def Value(self, Row: int, Col: int) -> float: ... + def Value(self, theRow: int, theCol: int) -> float: ... def VectorialPart(self) -> gp_Mat2d: ... class gp_Hypr: @overload def __init__(self) -> None: ... @overload - def __init__(self, A2: gp_Ax2, MajorRadius: float, MinorRadius: float) -> None: ... + def __init__(self, theA2: gp_Ax2, theMajorRadius: float, theMinorRadius: float) -> None: ... def Asymptote1(self) -> gp_Ax1: ... def Asymptote2(self) -> gp_Ax1: ... def Axis(self) -> gp_Ax1: ... @@ -836,39 +840,39 @@ class gp_Hypr: def MajorRadius(self) -> float: ... def MinorRadius(self) -> float: ... @overload - def Mirror(self, P: gp_Pnt) -> None: ... + def Mirror(self, theP: gp_Pnt) -> None: ... @overload - def Mirror(self, A1: gp_Ax1) -> None: ... + def Mirror(self, theA1: gp_Ax1) -> None: ... @overload - def Mirror(self, A2: gp_Ax2) -> None: ... + def Mirror(self, theA2: gp_Ax2) -> None: ... @overload - def Mirrored(self, P: gp_Pnt) -> gp_Hypr: ... + def Mirrored(self, theP: gp_Pnt) -> gp_Hypr: ... @overload - def Mirrored(self, A1: gp_Ax1) -> gp_Hypr: ... + def Mirrored(self, theA1: gp_Ax1) -> gp_Hypr: ... @overload - def Mirrored(self, A2: gp_Ax2) -> gp_Hypr: ... + def Mirrored(self, theA2: gp_Ax2) -> gp_Hypr: ... def OtherBranch(self) -> gp_Hypr: ... def Parameter(self) -> float: ... def Position(self) -> gp_Ax2: ... - def Rotate(self, A1: gp_Ax1, Ang: float) -> None: ... - def Rotated(self, A1: gp_Ax1, Ang: float) -> gp_Hypr: ... - def Scale(self, P: gp_Pnt, S: float) -> None: ... - def Scaled(self, P: gp_Pnt, S: float) -> gp_Hypr: ... - def SetAxis(self, A1: gp_Ax1) -> None: ... - def SetLocation(self, P: gp_Pnt) -> None: ... - def SetMajorRadius(self, MajorRadius: float) -> None: ... - def SetMinorRadius(self, MinorRadius: float) -> None: ... - def SetPosition(self, A2: gp_Ax2) -> None: ... - def Transform(self, T: gp_Trsf) -> None: ... - def Transformed(self, T: gp_Trsf) -> gp_Hypr: ... + def Rotate(self, theA1: gp_Ax1, theAng: float) -> None: ... + def Rotated(self, theA1: gp_Ax1, theAng: float) -> gp_Hypr: ... + def Scale(self, theP: gp_Pnt, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt, theS: float) -> gp_Hypr: ... + def SetAxis(self, theA1: gp_Ax1) -> None: ... + def SetLocation(self, theP: gp_Pnt) -> None: ... + def SetMajorRadius(self, theMajorRadius: float) -> None: ... + def SetMinorRadius(self, theMinorRadius: float) -> None: ... + def SetPosition(self, theA2: gp_Ax2) -> None: ... + def Transform(self, theT: gp_Trsf) -> None: ... + def Transformed(self, theT: gp_Trsf) -> gp_Hypr: ... @overload - def Translate(self, V: gp_Vec) -> None: ... + def Translate(self, theV: gp_Vec) -> None: ... @overload - def Translate(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + def Translate(self, theP1: gp_Pnt, theP2: gp_Pnt) -> None: ... @overload - def Translated(self, V: gp_Vec) -> gp_Hypr: ... + def Translated(self, theV: gp_Vec) -> gp_Hypr: ... @overload - def Translated(self, P1: gp_Pnt, P2: gp_Pnt) -> gp_Hypr: ... + def Translated(self, theP1: gp_Pnt, theP2: gp_Pnt) -> gp_Hypr: ... def XAxis(self) -> gp_Ax1: ... def YAxis(self) -> gp_Ax1: ... @@ -876,9 +880,9 @@ class gp_Hypr2d: @overload def __init__(self) -> None: ... @overload - def __init__(self, MajorAxis: gp_Ax2d, MajorRadius: float, MinorRadius: float, Sense: Optional[bool] = True) -> None: ... + def __init__(self, theMajorAxis: gp_Ax2d, theMajorRadius: float, theMinorRadius: float, theIsSense: Optional[bool] = True) -> None: ... @overload - def __init__(self, A: gp_Ax22d, MajorRadius: float, MinorRadius: float) -> None: ... + def __init__(self, theA: gp_Ax22d, theMajorRadius: float, theMinorRadius: float) -> None: ... def Asymptote1(self) -> gp_Ax2d: ... def Asymptote2(self) -> gp_Ax2d: ... def Axis(self) -> gp_Ax22d: ... @@ -896,37 +900,37 @@ class gp_Hypr2d: def MajorRadius(self) -> float: ... def MinorRadius(self) -> float: ... @overload - def Mirror(self, P: gp_Pnt2d) -> None: ... + def Mirror(self, theP: gp_Pnt2d) -> None: ... @overload - def Mirror(self, A: gp_Ax2d) -> None: ... + def Mirror(self, theA: gp_Ax2d) -> None: ... @overload - def Mirrored(self, P: gp_Pnt2d) -> gp_Hypr2d: ... + def Mirrored(self, theP: gp_Pnt2d) -> gp_Hypr2d: ... @overload - def Mirrored(self, A: gp_Ax2d) -> gp_Hypr2d: ... + def Mirrored(self, theA: gp_Ax2d) -> gp_Hypr2d: ... def OtherBranch(self) -> gp_Hypr2d: ... def Parameter(self) -> float: ... def Reverse(self) -> None: ... def Reversed(self) -> gp_Hypr2d: ... - def Rotate(self, P: gp_Pnt2d, Ang: float) -> None: ... - def Rotated(self, P: gp_Pnt2d, Ang: float) -> gp_Hypr2d: ... - def Scale(self, P: gp_Pnt2d, S: float) -> None: ... - def Scaled(self, P: gp_Pnt2d, S: float) -> gp_Hypr2d: ... - def SetAxis(self, A: gp_Ax22d) -> None: ... - def SetLocation(self, P: gp_Pnt2d) -> None: ... - def SetMajorRadius(self, MajorRadius: float) -> None: ... - def SetMinorRadius(self, MinorRadius: float) -> None: ... - def SetXAxis(self, A: gp_Ax2d) -> None: ... - def SetYAxis(self, A: gp_Ax2d) -> None: ... - def Transform(self, T: gp_Trsf2d) -> None: ... - def Transformed(self, T: gp_Trsf2d) -> gp_Hypr2d: ... - @overload - def Translate(self, V: gp_Vec2d) -> None: ... - @overload - def Translate(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - @overload - def Translated(self, V: gp_Vec2d) -> gp_Hypr2d: ... - @overload - def Translated(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> gp_Hypr2d: ... + def Rotate(self, theP: gp_Pnt2d, theAng: float) -> None: ... + def Rotated(self, theP: gp_Pnt2d, theAng: float) -> gp_Hypr2d: ... + def Scale(self, theP: gp_Pnt2d, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt2d, theS: float) -> gp_Hypr2d: ... + def SetAxis(self, theA: gp_Ax22d) -> None: ... + def SetLocation(self, theP: gp_Pnt2d) -> None: ... + def SetMajorRadius(self, theMajorRadius: float) -> None: ... + def SetMinorRadius(self, theMinorRadius: float) -> None: ... + def SetXAxis(self, theA: gp_Ax2d) -> None: ... + def SetYAxis(self, theA: gp_Ax2d) -> None: ... + def Transform(self, theT: gp_Trsf2d) -> None: ... + def Transformed(self, theT: gp_Trsf2d) -> gp_Hypr2d: ... + @overload + def Translate(self, theV: gp_Vec2d) -> None: ... + @overload + def Translate(self, theP1: gp_Pnt2d, theP2: gp_Pnt2d) -> None: ... + @overload + def Translated(self, theV: gp_Vec2d) -> gp_Hypr2d: ... + @overload + def Translated(self, theP1: gp_Pnt2d, theP2: gp_Pnt2d) -> gp_Hypr2d: ... def XAxis(self) -> gp_Ax2d: ... def YAxis(self) -> gp_Ax2d: ... @@ -934,243 +938,243 @@ class gp_Lin: @overload def __init__(self) -> None: ... @overload - def __init__(self, A1: gp_Ax1) -> None: ... + def __init__(self, theA1: gp_Ax1) -> None: ... @overload - def __init__(self, P: gp_Pnt, V: gp_Dir) -> None: ... - def Angle(self, Other: gp_Lin) -> float: ... - def Contains(self, P: gp_Pnt, LinearTolerance: float) -> bool: ... + def __init__(self, theP: gp_Pnt, theV: gp_Dir) -> None: ... + def Angle(self, theOther: gp_Lin) -> float: ... + def Contains(self, theP: gp_Pnt, theLinearTolerance: float) -> bool: ... def Direction(self) -> gp_Dir: ... @overload - def Distance(self, P: gp_Pnt) -> float: ... + def Distance(self, theP: gp_Pnt) -> float: ... @overload - def Distance(self, Other: gp_Lin) -> float: ... + def Distance(self, theOther: gp_Lin) -> float: ... def Location(self) -> gp_Pnt: ... @overload - def Mirror(self, P: gp_Pnt) -> None: ... + def Mirror(self, theP: gp_Pnt) -> None: ... @overload - def Mirror(self, A1: gp_Ax1) -> None: ... + def Mirror(self, theA1: gp_Ax1) -> None: ... @overload - def Mirror(self, A2: gp_Ax2) -> None: ... + def Mirror(self, theA2: gp_Ax2) -> None: ... @overload - def Mirrored(self, P: gp_Pnt) -> gp_Lin: ... + def Mirrored(self, theP: gp_Pnt) -> gp_Lin: ... @overload - def Mirrored(self, A1: gp_Ax1) -> gp_Lin: ... + def Mirrored(self, theA1: gp_Ax1) -> gp_Lin: ... @overload - def Mirrored(self, A2: gp_Ax2) -> gp_Lin: ... - def Normal(self, P: gp_Pnt) -> gp_Lin: ... + def Mirrored(self, theA2: gp_Ax2) -> gp_Lin: ... + def Normal(self, theP: gp_Pnt) -> gp_Lin: ... def Position(self) -> gp_Ax1: ... def Reverse(self) -> None: ... def Reversed(self) -> gp_Lin: ... - def Rotate(self, A1: gp_Ax1, Ang: float) -> None: ... - def Rotated(self, A1: gp_Ax1, Ang: float) -> gp_Lin: ... - def Scale(self, P: gp_Pnt, S: float) -> None: ... - def Scaled(self, P: gp_Pnt, S: float) -> gp_Lin: ... - def SetDirection(self, V: gp_Dir) -> None: ... - def SetLocation(self, P: gp_Pnt) -> None: ... - def SetPosition(self, A1: gp_Ax1) -> None: ... + def Rotate(self, theA1: gp_Ax1, theAng: float) -> None: ... + def Rotated(self, theA1: gp_Ax1, theAng: float) -> gp_Lin: ... + def Scale(self, theP: gp_Pnt, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt, theS: float) -> gp_Lin: ... + def SetDirection(self, theV: gp_Dir) -> None: ... + def SetLocation(self, theP: gp_Pnt) -> None: ... + def SetPosition(self, theA1: gp_Ax1) -> None: ... @overload - def SquareDistance(self, P: gp_Pnt) -> float: ... + def SquareDistance(self, theP: gp_Pnt) -> float: ... @overload - def SquareDistance(self, Other: gp_Lin) -> float: ... - def Transform(self, T: gp_Trsf) -> None: ... - def Transformed(self, T: gp_Trsf) -> gp_Lin: ... + def SquareDistance(self, theOther: gp_Lin) -> float: ... + def Transform(self, theT: gp_Trsf) -> None: ... + def Transformed(self, theT: gp_Trsf) -> gp_Lin: ... @overload - def Translate(self, V: gp_Vec) -> None: ... + def Translate(self, theV: gp_Vec) -> None: ... @overload - def Translate(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + def Translate(self, theP1: gp_Pnt, theP2: gp_Pnt) -> None: ... @overload - def Translated(self, V: gp_Vec) -> gp_Lin: ... + def Translated(self, theV: gp_Vec) -> gp_Lin: ... @overload - def Translated(self, P1: gp_Pnt, P2: gp_Pnt) -> gp_Lin: ... + def Translated(self, theP1: gp_Pnt, theP2: gp_Pnt) -> gp_Lin: ... class gp_Lin2d: @overload def __init__(self) -> None: ... @overload - def __init__(self, A: gp_Ax2d) -> None: ... + def __init__(self, theA: gp_Ax2d) -> None: ... @overload - def __init__(self, P: gp_Pnt2d, V: gp_Dir2d) -> None: ... + def __init__(self, theP: gp_Pnt2d, theV: gp_Dir2d) -> None: ... @overload - def __init__(self, A: float, B: float, C: float) -> None: ... - def Angle(self, Other: gp_Lin2d) -> float: ... + def __init__(self, theA: float, theB: float, theC: float) -> None: ... + def Angle(self, theOther: gp_Lin2d) -> float: ... def Coefficients(self) -> Tuple[float, float, float]: ... - def Contains(self, P: gp_Pnt2d, LinearTolerance: float) -> bool: ... + def Contains(self, theP: gp_Pnt2d, theLinearTolerance: float) -> bool: ... def Direction(self) -> gp_Dir2d: ... @overload - def Distance(self, P: gp_Pnt2d) -> float: ... + def Distance(self, theP: gp_Pnt2d) -> float: ... @overload - def Distance(self, Other: gp_Lin2d) -> float: ... + def Distance(self, theOther: gp_Lin2d) -> float: ... def Location(self) -> gp_Pnt2d: ... @overload - def Mirror(self, P: gp_Pnt2d) -> None: ... + def Mirror(self, theP: gp_Pnt2d) -> None: ... @overload - def Mirror(self, A: gp_Ax2d) -> None: ... + def Mirror(self, theA: gp_Ax2d) -> None: ... @overload - def Mirrored(self, P: gp_Pnt2d) -> gp_Lin2d: ... + def Mirrored(self, theP: gp_Pnt2d) -> gp_Lin2d: ... @overload - def Mirrored(self, A: gp_Ax2d) -> gp_Lin2d: ... - def Normal(self, P: gp_Pnt2d) -> gp_Lin2d: ... + def Mirrored(self, theA: gp_Ax2d) -> gp_Lin2d: ... + def Normal(self, theP: gp_Pnt2d) -> gp_Lin2d: ... def Position(self) -> gp_Ax2d: ... def Reverse(self) -> None: ... def Reversed(self) -> gp_Lin2d: ... - def Rotate(self, P: gp_Pnt2d, Ang: float) -> None: ... - def Rotated(self, P: gp_Pnt2d, Ang: float) -> gp_Lin2d: ... - def Scale(self, P: gp_Pnt2d, S: float) -> None: ... - def Scaled(self, P: gp_Pnt2d, S: float) -> gp_Lin2d: ... - def SetDirection(self, V: gp_Dir2d) -> None: ... - def SetLocation(self, P: gp_Pnt2d) -> None: ... - def SetPosition(self, A: gp_Ax2d) -> None: ... + def Rotate(self, theP: gp_Pnt2d, theAng: float) -> None: ... + def Rotated(self, theP: gp_Pnt2d, theAng: float) -> gp_Lin2d: ... + def Scale(self, theP: gp_Pnt2d, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt2d, theS: float) -> gp_Lin2d: ... + def SetDirection(self, theV: gp_Dir2d) -> None: ... + def SetLocation(self, theP: gp_Pnt2d) -> None: ... + def SetPosition(self, theA: gp_Ax2d) -> None: ... @overload - def SquareDistance(self, P: gp_Pnt2d) -> float: ... + def SquareDistance(self, theP: gp_Pnt2d) -> float: ... @overload - def SquareDistance(self, Other: gp_Lin2d) -> float: ... - def Transform(self, T: gp_Trsf2d) -> None: ... - def Transformed(self, T: gp_Trsf2d) -> gp_Lin2d: ... + def SquareDistance(self, theOther: gp_Lin2d) -> float: ... + def Transform(self, theT: gp_Trsf2d) -> None: ... + def Transformed(self, theT: gp_Trsf2d) -> gp_Lin2d: ... @overload - def Translate(self, V: gp_Vec2d) -> None: ... + def Translate(self, theV: gp_Vec2d) -> None: ... @overload - def Translate(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + def Translate(self, theP1: gp_Pnt2d, theP2: gp_Pnt2d) -> None: ... @overload - def Translated(self, V: gp_Vec2d) -> gp_Lin2d: ... + def Translated(self, theV: gp_Vec2d) -> gp_Lin2d: ... @overload - def Translated(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> gp_Lin2d: ... + def Translated(self, theP1: gp_Pnt2d, theP2: gp_Pnt2d) -> gp_Lin2d: ... class gp_Mat: @overload def __init__(self) -> None: ... @overload - def __init__(self, a11: float, a12: float, a13: float, a21: float, a22: float, a23: float, a31: float, a32: float, a33: float) -> None: ... + def __init__(self, theA11: float, theA12: float, theA13: float, theA21: float, theA22: float, theA23: float, theA31: float, theA32: float, theA33: float) -> None: ... @overload - def __init__(self, Col1: gp_XYZ, Col2: gp_XYZ, Col3: gp_XYZ) -> None: ... - def Add(self, Other: gp_Mat) -> None: ... - def Added(self, Other: gp_Mat) -> gp_Mat: ... - def GetChangeValue(self, Row: int, Col: int) -> float: ... - def SetChangeValue(self, Row: int, Col: int, value: float) -> None: ... - def Column(self, Col: int) -> gp_XYZ: ... + def __init__(self, theCol1: gp_XYZ, theCol2: gp_XYZ, theCol3: gp_XYZ) -> None: ... + def Add(self, theOther: gp_Mat) -> None: ... + def Added(self, theOther: gp_Mat) -> gp_Mat: ... + def GetChangeValue(self, theRow: int, theCol: int) -> float: ... + def SetChangeValue(self, theRow: int, theCol: int, value: float) -> None: ... + def Column(self, theCol: int) -> gp_XYZ: ... def Determinant(self) -> float: ... def Diagonal(self) -> gp_XYZ: ... - def Divide(self, Scalar: float) -> None: ... - def Divided(self, Scalar: float) -> gp_Mat: ... + def Divide(self, theScalar: float) -> None: ... + def Divided(self, theScalar: float) -> gp_Mat: ... def Invert(self) -> None: ... def Inverted(self) -> gp_Mat: ... def IsSingular(self) -> bool: ... @overload - def Multiplied(self, Other: gp_Mat) -> gp_Mat: ... + def Multiplied(self, theOther: gp_Mat) -> gp_Mat: ... @overload - def Multiplied(self, Scalar: float) -> gp_Mat: ... + def Multiplied(self, theScalar: float) -> gp_Mat: ... @overload - def Multiply(self, Other: gp_Mat) -> None: ... + def Multiply(self, theOther: gp_Mat) -> None: ... @overload - def Multiply(self, Scalar: float) -> None: ... + def Multiply(self, theScalar: float) -> None: ... def Power(self, N: int) -> None: ... - def Powered(self, N: int) -> gp_Mat: ... - def PreMultiply(self, Other: gp_Mat) -> None: ... - def Row(self, Row: int) -> gp_XYZ: ... - def SetCol(self, Col: int, Value: gp_XYZ) -> None: ... - def SetCols(self, Col1: gp_XYZ, Col2: gp_XYZ, Col3: gp_XYZ) -> None: ... - def SetCross(self, Ref: gp_XYZ) -> None: ... - def SetDiagonal(self, X1: float, X2: float, X3: float) -> None: ... - def SetDot(self, Ref: gp_XYZ) -> None: ... + def Powered(self, theN: int) -> gp_Mat: ... + def PreMultiply(self, theOther: gp_Mat) -> None: ... + def Row(self, theRow: int) -> gp_XYZ: ... + def SetCol(self, theCol: int, theValue: gp_XYZ) -> None: ... + def SetCols(self, theCol1: gp_XYZ, theCol2: gp_XYZ, theCol3: gp_XYZ) -> None: ... + def SetCross(self, theRef: gp_XYZ) -> None: ... + def SetDiagonal(self, theX1: float, theX2: float, theX3: float) -> None: ... + def SetDot(self, theRef: gp_XYZ) -> None: ... def SetIdentity(self) -> None: ... - def SetRotation(self, Axis: gp_XYZ, Ang: float) -> None: ... - def SetRow(self, Row: int, Value: gp_XYZ) -> None: ... - def SetRows(self, Row1: gp_XYZ, Row2: gp_XYZ, Row3: gp_XYZ) -> None: ... - def SetScale(self, S: float) -> None: ... - def SetValue(self, Row: int, Col: int, Value: float) -> None: ... - def Subtract(self, Other: gp_Mat) -> None: ... - def Subtracted(self, Other: gp_Mat) -> gp_Mat: ... + def SetRotation(self, theAxis: gp_XYZ, theAng: float) -> None: ... + def SetRow(self, theRow: int, theValue: gp_XYZ) -> None: ... + def SetRows(self, theRow1: gp_XYZ, theRow2: gp_XYZ, theRow3: gp_XYZ) -> None: ... + def SetScale(self, theS: float) -> None: ... + def SetValue(self, theRow: int, theCol: int, theValue: float) -> None: ... + def Subtract(self, theOther: gp_Mat) -> None: ... + def Subtracted(self, theOther: gp_Mat) -> gp_Mat: ... def Transpose(self) -> None: ... def Transposed(self) -> gp_Mat: ... - def Value(self, Row: int, Col: int) -> float: ... + def Value(self, theRow: int, theCol: int) -> float: ... class gp_Mat2d: @overload def __init__(self) -> None: ... @overload - def __init__(self, Col1: gp_XY, Col2: gp_XY) -> None: ... + def __init__(self, theCol1: gp_XY, theCol2: gp_XY) -> None: ... def Add(self, Other: gp_Mat2d) -> None: ... - def Added(self, Other: gp_Mat2d) -> gp_Mat2d: ... - def GetChangeValue(self, Row: int, Col: int) -> float: ... - def SetChangeValue(self, Row: int, Col: int, value: float) -> None: ... - def Column(self, Col: int) -> gp_XY: ... + def Added(self, theOther: gp_Mat2d) -> gp_Mat2d: ... + def GetChangeValue(self, theRow: int, theCol: int) -> float: ... + def SetChangeValue(self, theRow: int, theCol: int, value: float) -> None: ... + def Column(self, theCol: int) -> gp_XY: ... def Determinant(self) -> float: ... def Diagonal(self) -> gp_XY: ... - def Divide(self, Scalar: float) -> None: ... - def Divided(self, Scalar: float) -> gp_Mat2d: ... + def Divide(self, theScalar: float) -> None: ... + def Divided(self, theScalar: float) -> gp_Mat2d: ... def Invert(self) -> None: ... def Inverted(self) -> gp_Mat2d: ... def IsSingular(self) -> bool: ... @overload - def Multiplied(self, Other: gp_Mat2d) -> gp_Mat2d: ... + def Multiplied(self, theOther: gp_Mat2d) -> gp_Mat2d: ... @overload - def Multiplied(self, Scalar: float) -> gp_Mat2d: ... + def Multiplied(self, theScalar: float) -> gp_Mat2d: ... @overload - def Multiply(self, Other: gp_Mat2d) -> None: ... + def Multiply(self, theOther: gp_Mat2d) -> None: ... @overload - def Multiply(self, Scalar: float) -> None: ... - def Power(self, N: int) -> None: ... - def Powered(self, N: int) -> gp_Mat2d: ... - def PreMultiply(self, Other: gp_Mat2d) -> None: ... - def Row(self, Row: int) -> gp_XY: ... - def SetCol(self, Col: int, Value: gp_XY) -> None: ... - def SetCols(self, Col1: gp_XY, Col2: gp_XY) -> None: ... - def SetDiagonal(self, X1: float, X2: float) -> None: ... + def Multiply(self, theScalar: float) -> None: ... + def Power(self, theN: int) -> None: ... + def Powered(self, theN: int) -> gp_Mat2d: ... + def PreMultiply(self, theOther: gp_Mat2d) -> None: ... + def Row(self, theRow: int) -> gp_XY: ... + def SetCol(self, theCol: int, theValue: gp_XY) -> None: ... + def SetCols(self, theCol1: gp_XY, theCol2: gp_XY) -> None: ... + def SetDiagonal(self, theX1: float, theX2: float) -> None: ... def SetIdentity(self) -> None: ... - def SetRotation(self, Ang: float) -> None: ... - def SetRow(self, Row: int, Value: gp_XY) -> None: ... - def SetRows(self, Row1: gp_XY, Row2: gp_XY) -> None: ... - def SetScale(self, S: float) -> None: ... - def SetValue(self, Row: int, Col: int, Value: float) -> None: ... - def Subtract(self, Other: gp_Mat2d) -> None: ... - def Subtracted(self, Other: gp_Mat2d) -> gp_Mat2d: ... + def SetRotation(self, theAng: float) -> None: ... + def SetRow(self, theRow: int, theValue: gp_XY) -> None: ... + def SetRows(self, theRow1: gp_XY, theRow2: gp_XY) -> None: ... + def SetScale(self, theS: float) -> None: ... + def SetValue(self, theRow: int, theCol: int, theValue: float) -> None: ... + def Subtract(self, theOther: gp_Mat2d) -> None: ... + def Subtracted(self, theOther: gp_Mat2d) -> gp_Mat2d: ... def Transpose(self) -> None: ... def Transposed(self) -> gp_Mat2d: ... - def Value(self, Row: int, Col: int) -> float: ... + def Value(self, theRow: int, theCol: int) -> float: ... class gp_Parab: @overload def __init__(self) -> None: ... @overload - def __init__(self, A2: gp_Ax2, Focal: float) -> None: ... + def __init__(self, theA2: gp_Ax2, theFocal: float) -> None: ... @overload - def __init__(self, D: gp_Ax1, F: gp_Pnt) -> None: ... + def __init__(self, theD: gp_Ax1, theF: gp_Pnt) -> None: ... def Axis(self) -> gp_Ax1: ... def Directrix(self) -> gp_Ax1: ... def Focal(self) -> float: ... def Focus(self) -> gp_Pnt: ... def Location(self) -> gp_Pnt: ... @overload - def Mirror(self, P: gp_Pnt) -> None: ... + def Mirror(self, theP: gp_Pnt) -> None: ... @overload - def Mirror(self, A1: gp_Ax1) -> None: ... + def Mirror(self, theA1: gp_Ax1) -> None: ... @overload - def Mirror(self, A2: gp_Ax2) -> None: ... + def Mirror(self, theA2: gp_Ax2) -> None: ... @overload - def Mirrored(self, P: gp_Pnt) -> gp_Parab: ... + def Mirrored(self, theP: gp_Pnt) -> gp_Parab: ... @overload - def Mirrored(self, A1: gp_Ax1) -> gp_Parab: ... + def Mirrored(self, theA1: gp_Ax1) -> gp_Parab: ... @overload - def Mirrored(self, A2: gp_Ax2) -> gp_Parab: ... + def Mirrored(self, theA2: gp_Ax2) -> gp_Parab: ... def Parameter(self) -> float: ... def Position(self) -> gp_Ax2: ... - def Rotate(self, A1: gp_Ax1, Ang: float) -> None: ... - def Rotated(self, A1: gp_Ax1, Ang: float) -> gp_Parab: ... - def Scale(self, P: gp_Pnt, S: float) -> None: ... - def Scaled(self, P: gp_Pnt, S: float) -> gp_Parab: ... - def SetAxis(self, A1: gp_Ax1) -> None: ... - def SetFocal(self, Focal: float) -> None: ... - def SetLocation(self, P: gp_Pnt) -> None: ... - def SetPosition(self, A2: gp_Ax2) -> None: ... - def Transform(self, T: gp_Trsf) -> None: ... - def Transformed(self, T: gp_Trsf) -> gp_Parab: ... + def Rotate(self, theA1: gp_Ax1, theAng: float) -> None: ... + def Rotated(self, theA1: gp_Ax1, theAng: float) -> gp_Parab: ... + def Scale(self, theP: gp_Pnt, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt, theS: float) -> gp_Parab: ... + def SetAxis(self, theA1: gp_Ax1) -> None: ... + def SetFocal(self, theFocal: float) -> None: ... + def SetLocation(self, theP: gp_Pnt) -> None: ... + def SetPosition(self, theA2: gp_Ax2) -> None: ... + def Transform(self, theT: gp_Trsf) -> None: ... + def Transformed(self, theT: gp_Trsf) -> gp_Parab: ... @overload - def Translate(self, V: gp_Vec) -> None: ... + def Translate(self, theV: gp_Vec) -> None: ... @overload - def Translate(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + def Translate(self, theP1: gp_Pnt, theP2: gp_Pnt) -> None: ... @overload - def Translated(self, V: gp_Vec) -> gp_Parab: ... + def Translated(self, theV: gp_Vec) -> gp_Parab: ... @overload - def Translated(self, P1: gp_Pnt, P2: gp_Pnt) -> gp_Parab: ... + def Translated(self, theP1: gp_Pnt, theP2: gp_Pnt) -> gp_Parab: ... def XAxis(self) -> gp_Ax1: ... def YAxis(self) -> gp_Ax1: ... @@ -1191,95 +1195,95 @@ class gp_Parab2d: def IsDirect(self) -> bool: ... def Location(self) -> gp_Pnt2d: ... @overload - def Mirror(self, P: gp_Pnt2d) -> None: ... + def Mirror(self, theP: gp_Pnt2d) -> None: ... @overload - def Mirror(self, A: gp_Ax2d) -> None: ... + def Mirror(self, theA: gp_Ax2d) -> None: ... def MirrorAxis(self) -> gp_Ax2d: ... @overload - def Mirrored(self, P: gp_Pnt2d) -> gp_Parab2d: ... + def Mirrored(self, theP: gp_Pnt2d) -> gp_Parab2d: ... @overload - def Mirrored(self, A: gp_Ax2d) -> gp_Parab2d: ... + def Mirrored(self, theA: gp_Ax2d) -> gp_Parab2d: ... def Parameter(self) -> float: ... def Reverse(self) -> None: ... def Reversed(self) -> gp_Parab2d: ... - def Rotate(self, P: gp_Pnt2d, Ang: float) -> None: ... - def Rotated(self, P: gp_Pnt2d, Ang: float) -> gp_Parab2d: ... - def Scale(self, P: gp_Pnt2d, S: float) -> None: ... - def Scaled(self, P: gp_Pnt2d, S: float) -> gp_Parab2d: ... - def SetAxis(self, A: gp_Ax22d) -> None: ... - def SetFocal(self, Focal: float) -> None: ... - def SetLocation(self, P: gp_Pnt2d) -> None: ... - def SetMirrorAxis(self, A: gp_Ax2d) -> None: ... - def Transform(self, T: gp_Trsf2d) -> None: ... - def Transformed(self, T: gp_Trsf2d) -> gp_Parab2d: ... + def Rotate(self, theP: gp_Pnt2d, theAng: float) -> None: ... + def Rotated(self, theP: gp_Pnt2d, theAng: float) -> gp_Parab2d: ... + def Scale(self, theP: gp_Pnt2d, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt2d, theS: float) -> gp_Parab2d: ... + def SetAxis(self, theA: gp_Ax22d) -> None: ... + def SetFocal(self, theFocal: float) -> None: ... + def SetLocation(self, theP: gp_Pnt2d) -> None: ... + def SetMirrorAxis(self, theA: gp_Ax2d) -> None: ... + def Transform(self, theT: gp_Trsf2d) -> None: ... + def Transformed(self, theT: gp_Trsf2d) -> gp_Parab2d: ... @overload - def Translate(self, V: gp_Vec2d) -> None: ... + def Translate(self, theV: gp_Vec2d) -> None: ... @overload - def Translate(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + def Translate(self, theP1: gp_Pnt2d, theP2: gp_Pnt2d) -> None: ... @overload - def Translated(self, V: gp_Vec2d) -> gp_Parab2d: ... + def Translated(self, theV: gp_Vec2d) -> gp_Parab2d: ... @overload - def Translated(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> gp_Parab2d: ... + def Translated(self, theP1: gp_Pnt2d, theP2: gp_Pnt2d) -> gp_Parab2d: ... class gp_Pln: @overload def __init__(self) -> None: ... @overload - def __init__(self, A3: gp_Ax3) -> None: ... + def __init__(self, theA3: gp_Ax3) -> None: ... @overload - def __init__(self, P: gp_Pnt, V: gp_Dir) -> None: ... + def __init__(self, theP: gp_Pnt, theV: gp_Dir) -> None: ... @overload - def __init__(self, A: float, B: float, C: float, D: float) -> None: ... + def __init__(self, theA: float, theB: float, theC: float, theD: float) -> None: ... def Axis(self) -> gp_Ax1: ... def Coefficients(self) -> Tuple[float, float, float, float]: ... @overload - def Contains(self, P: gp_Pnt, LinearTolerance: float) -> bool: ... + def Contains(self, theP: gp_Pnt, theLinearTolerance: float) -> bool: ... @overload - def Contains(self, L: gp_Lin, LinearTolerance: float, AngularTolerance: float) -> bool: ... + def Contains(self, theL: gp_Lin, theLinearTolerance: float, theAngularTolerance: float) -> bool: ... def Direct(self) -> bool: ... @overload - def Distance(self, P: gp_Pnt) -> float: ... + def Distance(self, theP: gp_Pnt) -> float: ... @overload - def Distance(self, L: gp_Lin) -> float: ... + def Distance(self, theL: gp_Lin) -> float: ... @overload - def Distance(self, Other: gp_Pln) -> float: ... + def Distance(self, theOther: gp_Pln) -> float: ... def Location(self) -> gp_Pnt: ... @overload - def Mirror(self, P: gp_Pnt) -> None: ... + def Mirror(self, theP: gp_Pnt) -> None: ... @overload - def Mirror(self, A1: gp_Ax1) -> None: ... + def Mirror(self, theA1: gp_Ax1) -> None: ... @overload - def Mirror(self, A2: gp_Ax2) -> None: ... + def Mirror(self, theA2: gp_Ax2) -> None: ... @overload - def Mirrored(self, P: gp_Pnt) -> gp_Pln: ... + def Mirrored(self, theP: gp_Pnt) -> gp_Pln: ... @overload - def Mirrored(self, A1: gp_Ax1) -> gp_Pln: ... + def Mirrored(self, theA1: gp_Ax1) -> gp_Pln: ... @overload - def Mirrored(self, A2: gp_Ax2) -> gp_Pln: ... + def Mirrored(self, theA2: gp_Ax2) -> gp_Pln: ... def Position(self) -> gp_Ax3: ... - def Rotate(self, A1: gp_Ax1, Ang: float) -> None: ... - def Rotated(self, A1: gp_Ax1, Ang: float) -> gp_Pln: ... - def Scale(self, P: gp_Pnt, S: float) -> None: ... - def Scaled(self, P: gp_Pnt, S: float) -> gp_Pln: ... - def SetAxis(self, A1: gp_Ax1) -> None: ... - def SetLocation(self, Loc: gp_Pnt) -> None: ... - def SetPosition(self, A3: gp_Ax3) -> None: ... + def Rotate(self, theA1: gp_Ax1, theAng: float) -> None: ... + def Rotated(self, theA1: gp_Ax1, theAng: float) -> gp_Pln: ... + def Scale(self, theP: gp_Pnt, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt, theS: float) -> gp_Pln: ... + def SetAxis(self, theA1: gp_Ax1) -> None: ... + def SetLocation(self, theLoc: gp_Pnt) -> None: ... + def SetPosition(self, theA3: gp_Ax3) -> None: ... @overload - def SquareDistance(self, P: gp_Pnt) -> float: ... + def SquareDistance(self, theP: gp_Pnt) -> float: ... @overload - def SquareDistance(self, L: gp_Lin) -> float: ... + def SquareDistance(self, theL: gp_Lin) -> float: ... @overload - def SquareDistance(self, Other: gp_Pln) -> float: ... - def Transform(self, T: gp_Trsf) -> None: ... - def Transformed(self, T: gp_Trsf) -> gp_Pln: ... + def SquareDistance(self, theOther: gp_Pln) -> float: ... + def Transform(self, theT: gp_Trsf) -> None: ... + def Transformed(self, theT: gp_Trsf) -> gp_Pln: ... @overload - def Translate(self, V: gp_Vec) -> None: ... + def Translate(self, theV: gp_Vec) -> None: ... @overload - def Translate(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + def Translate(self, theP1: gp_Pnt, theP2: gp_Pnt) -> None: ... @overload - def Translated(self, V: gp_Vec) -> gp_Pln: ... + def Translated(self, theV: gp_Vec) -> gp_Pln: ... @overload - def Translated(self, P1: gp_Pnt, P2: gp_Pnt) -> gp_Pln: ... + def Translated(self, theP1: gp_Pnt, theP2: gp_Pnt) -> gp_Pln: ... def UReverse(self) -> None: ... def VReverse(self) -> None: ... def XAxis(self) -> gp_Ax1: ... @@ -1289,55 +1293,55 @@ class gp_Pnt: @overload def __init__(self) -> None: ... @overload - def __init__(self, Coord: gp_XYZ) -> None: ... + def __init__(self, theCoord: gp_XYZ) -> None: ... @overload - def __init__(self, Xp: float, Yp: float, Zp: float) -> None: ... - def BaryCenter(self, Alpha: float, P: gp_Pnt, Beta: float) -> None: ... + def __init__(self, theXp: float, theYp: float, theZp: float) -> None: ... + def BaryCenter(self, theAlpha: float, theP: gp_Pnt, theBeta: float) -> None: ... def ChangeCoord(self) -> gp_XYZ: ... @overload - def Coord(self, Index: int) -> float: ... + def Coord(self, theIndex: int) -> float: ... @overload def Coord(self) -> Tuple[float, float, float]: ... @overload def Coord(self) -> gp_XYZ: ... - def Distance(self, Other: gp_Pnt) -> float: ... + def Distance(self, theOther: gp_Pnt) -> float: ... def InitFromJson(self, theSStream: Standard_SStream) -> Tuple[bool, int]: ... - def IsEqual(self, Other: gp_Pnt, LinearTolerance: float) -> bool: ... + def IsEqual(self, theOther: gp_Pnt, theLinearTolerance: float) -> bool: ... @overload - def Mirror(self, P: gp_Pnt) -> None: ... + def Mirror(self, theP: gp_Pnt) -> None: ... @overload - def Mirror(self, A1: gp_Ax1) -> None: ... + def Mirror(self, theA1: gp_Ax1) -> None: ... @overload - def Mirror(self, A2: gp_Ax2) -> None: ... + def Mirror(self, theA2: gp_Ax2) -> None: ... @overload - def Mirrored(self, P: gp_Pnt) -> gp_Pnt: ... + def Mirrored(self, theP: gp_Pnt) -> gp_Pnt: ... @overload - def Mirrored(self, A1: gp_Ax1) -> gp_Pnt: ... + def Mirrored(self, theA1: gp_Ax1) -> gp_Pnt: ... @overload - def Mirrored(self, A2: gp_Ax2) -> gp_Pnt: ... - def Rotate(self, A1: gp_Ax1, Ang: float) -> None: ... - def Rotated(self, A1: gp_Ax1, Ang: float) -> gp_Pnt: ... - def Scale(self, P: gp_Pnt, S: float) -> None: ... - def Scaled(self, P: gp_Pnt, S: float) -> gp_Pnt: ... + def Mirrored(self, theA2: gp_Ax2) -> gp_Pnt: ... + def Rotate(self, theA1: gp_Ax1, theAng: float) -> None: ... + def Rotated(self, theA1: gp_Ax1, theAng: float) -> gp_Pnt: ... + def Scale(self, theP: gp_Pnt, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt, theS: float) -> gp_Pnt: ... @overload - def SetCoord(self, Index: int, Xi: float) -> None: ... + def SetCoord(self, theIndex: int, theXi: float) -> None: ... @overload - def SetCoord(self, Xp: float, Yp: float, Zp: float) -> None: ... - def SetX(self, X: float) -> None: ... - def SetXYZ(self, Coord: gp_XYZ) -> None: ... - def SetY(self, Y: float) -> None: ... - def SetZ(self, Z: float) -> None: ... - def SquareDistance(self, Other: gp_Pnt) -> float: ... - def Transform(self, T: gp_Trsf) -> None: ... - def Transformed(self, T: gp_Trsf) -> gp_Pnt: ... + def SetCoord(self, theXp: float, theYp: float, theZp: float) -> None: ... + def SetX(self, theX: float) -> None: ... + def SetXYZ(self, theCoord: gp_XYZ) -> None: ... + def SetY(self, theY: float) -> None: ... + def SetZ(self, theZ: float) -> None: ... + def SquareDistance(self, theOther: gp_Pnt) -> float: ... + def Transform(self, theT: gp_Trsf) -> None: ... + def Transformed(self, theT: gp_Trsf) -> gp_Pnt: ... @overload - def Translate(self, V: gp_Vec) -> None: ... + def Translate(self, theV: gp_Vec) -> None: ... @overload - def Translate(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + def Translate(self, theP1: gp_Pnt, theP2: gp_Pnt) -> None: ... @overload - def Translated(self, V: gp_Vec) -> gp_Pnt: ... + def Translated(self, theV: gp_Vec) -> gp_Pnt: ... @overload - def Translated(self, P1: gp_Pnt, P2: gp_Pnt) -> gp_Pnt: ... + def Translated(self, theP1: gp_Pnt, theP2: gp_Pnt) -> gp_Pnt: ... def X(self) -> float: ... def XYZ(self) -> gp_XYZ: ... def Y(self) -> float: ... @@ -1347,48 +1351,48 @@ class gp_Pnt2d: @overload def __init__(self) -> None: ... @overload - def __init__(self, Coord: gp_XY) -> None: ... + def __init__(self, theCoord: gp_XY) -> None: ... @overload - def __init__(self, Xp: float, Yp: float) -> None: ... + def __init__(self, theXp: float, theYp: float) -> None: ... def ChangeCoord(self) -> gp_XY: ... @overload - def Coord(self, Index: int) -> float: ... + def Coord(self, theIndex: int) -> float: ... @overload def Coord(self) -> Tuple[float, float]: ... @overload def Coord(self) -> gp_XY: ... - def Distance(self, Other: gp_Pnt2d) -> float: ... - def IsEqual(self, Other: gp_Pnt2d, LinearTolerance: float) -> bool: ... + def Distance(self, theOther: gp_Pnt2d) -> float: ... + def IsEqual(self, theOther: gp_Pnt2d, theLinearTolerance: float) -> bool: ... @overload - def Mirror(self, P: gp_Pnt2d) -> None: ... + def Mirror(self, theP: gp_Pnt2d) -> None: ... @overload - def Mirror(self, A: gp_Ax2d) -> None: ... + def Mirror(self, theA: gp_Ax2d) -> None: ... @overload - def Mirrored(self, P: gp_Pnt2d) -> gp_Pnt2d: ... + def Mirrored(self, theP: gp_Pnt2d) -> gp_Pnt2d: ... @overload - def Mirrored(self, A: gp_Ax2d) -> gp_Pnt2d: ... - def Rotate(self, P: gp_Pnt2d, Ang: float) -> None: ... - def Rotated(self, P: gp_Pnt2d, Ang: float) -> gp_Pnt2d: ... - def Scale(self, P: gp_Pnt2d, S: float) -> None: ... - def Scaled(self, P: gp_Pnt2d, S: float) -> gp_Pnt2d: ... + def Mirrored(self, theA: gp_Ax2d) -> gp_Pnt2d: ... + def Rotate(self, theP: gp_Pnt2d, theAng: float) -> None: ... + def Rotated(self, theP: gp_Pnt2d, theAng: float) -> gp_Pnt2d: ... + def Scale(self, theP: gp_Pnt2d, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt2d, theS: float) -> gp_Pnt2d: ... @overload - def SetCoord(self, Index: int, Xi: float) -> None: ... + def SetCoord(self, theIndex: int, theXi: float) -> None: ... @overload - def SetCoord(self, Xp: float, Yp: float) -> None: ... - def SetX(self, X: float) -> None: ... - def SetXY(self, Coord: gp_XY) -> None: ... - def SetY(self, Y: float) -> None: ... - def SquareDistance(self, Other: gp_Pnt2d) -> float: ... - def Transform(self, T: gp_Trsf2d) -> None: ... - def Transformed(self, T: gp_Trsf2d) -> gp_Pnt2d: ... + def SetCoord(self, theXp: float, theYp: float) -> None: ... + def SetX(self, theX: float) -> None: ... + def SetXY(self, theCoord: gp_XY) -> None: ... + def SetY(self, theY: float) -> None: ... + def SquareDistance(self, theOther: gp_Pnt2d) -> float: ... + def Transform(self, theT: gp_Trsf2d) -> None: ... + def Transformed(self, theT: gp_Trsf2d) -> gp_Pnt2d: ... @overload - def Translate(self, V: gp_Vec2d) -> None: ... + def Translate(self, theV: gp_Vec2d) -> None: ... @overload - def Translate(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... + def Translate(self, theP1: gp_Pnt2d, theP2: gp_Pnt2d) -> None: ... @overload - def Translated(self, V: gp_Vec2d) -> gp_Pnt2d: ... + def Translated(self, theV: gp_Vec2d) -> gp_Pnt2d: ... @overload - def Translated(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> gp_Pnt2d: ... + def Translated(self, theP1: gp_Pnt2d, theP2: gp_Pnt2d) -> gp_Pnt2d: ... def X(self) -> float: ... def XY(self) -> gp_XY: ... def Y(self) -> float: ... @@ -1397,7 +1401,7 @@ class gp_Quaternion: @overload def __init__(self) -> None: ... @overload - def __init__(self, x: float, y: float, z: float, w: float) -> None: ... + def __init__(self, theX: float, theY: float, theZ: float, theW: float) -> None: ... @overload def __init__(self, theVecFrom: gp_Vec, theVecTo: gp_Vec) -> None: ... @overload @@ -1430,7 +1434,7 @@ class gp_Quaternion: def Scale(self, theScale: float) -> None: ... def Scaled(self, theScale: float) -> gp_Quaternion: ... @overload - def Set(self, x: float, y: float, z: float, w: float) -> None: ... + def Set(self, theX: float, theY: float, theZ: float, theW: float) -> None: ... @overload def Set(self, theQuaternion: gp_Quaternion) -> None: ... def SetEulerAngles(self, theOrder: gp_EulerSequence, theAlpha: float, theBeta: float, theGamma: float) -> None: ... @@ -1480,42 +1484,42 @@ class gp_Sphere: @overload def __init__(self) -> None: ... @overload - def __init__(self, A3: gp_Ax3, Radius: float) -> None: ... + def __init__(self, theA3: gp_Ax3, theRadius: float) -> None: ... def Area(self) -> float: ... def Coefficients(self) -> Tuple[float, float, float, float, float, float, float, float, float, float]: ... def Direct(self) -> bool: ... def Location(self) -> gp_Pnt: ... @overload - def Mirror(self, P: gp_Pnt) -> None: ... + def Mirror(self, theP: gp_Pnt) -> None: ... @overload - def Mirror(self, A1: gp_Ax1) -> None: ... + def Mirror(self, theA1: gp_Ax1) -> None: ... @overload - def Mirror(self, A2: gp_Ax2) -> None: ... + def Mirror(self, theA2: gp_Ax2) -> None: ... @overload - def Mirrored(self, P: gp_Pnt) -> gp_Sphere: ... + def Mirrored(self, theP: gp_Pnt) -> gp_Sphere: ... @overload - def Mirrored(self, A1: gp_Ax1) -> gp_Sphere: ... + def Mirrored(self, theA1: gp_Ax1) -> gp_Sphere: ... @overload - def Mirrored(self, A2: gp_Ax2) -> gp_Sphere: ... + def Mirrored(self, theA2: gp_Ax2) -> gp_Sphere: ... def Position(self) -> gp_Ax3: ... def Radius(self) -> float: ... - def Rotate(self, A1: gp_Ax1, Ang: float) -> None: ... - def Rotated(self, A1: gp_Ax1, Ang: float) -> gp_Sphere: ... - def Scale(self, P: gp_Pnt, S: float) -> None: ... - def Scaled(self, P: gp_Pnt, S: float) -> gp_Sphere: ... - def SetLocation(self, Loc: gp_Pnt) -> None: ... - def SetPosition(self, A3: gp_Ax3) -> None: ... - def SetRadius(self, R: float) -> None: ... - def Transform(self, T: gp_Trsf) -> None: ... - def Transformed(self, T: gp_Trsf) -> gp_Sphere: ... + def Rotate(self, theA1: gp_Ax1, theAng: float) -> None: ... + def Rotated(self, theA1: gp_Ax1, theAng: float) -> gp_Sphere: ... + def Scale(self, theP: gp_Pnt, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt, theS: float) -> gp_Sphere: ... + def SetLocation(self, theLoc: gp_Pnt) -> None: ... + def SetPosition(self, theA3: gp_Ax3) -> None: ... + def SetRadius(self, theR: float) -> None: ... + def Transform(self, theT: gp_Trsf) -> None: ... + def Transformed(self, theT: gp_Trsf) -> gp_Sphere: ... @overload - def Translate(self, V: gp_Vec) -> None: ... + def Translate(self, theV: gp_Vec) -> None: ... @overload - def Translate(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + def Translate(self, theP1: gp_Pnt, theP2: gp_Pnt) -> None: ... @overload - def Translated(self, V: gp_Vec) -> gp_Sphere: ... + def Translated(self, theV: gp_Vec) -> gp_Sphere: ... @overload - def Translated(self, P1: gp_Pnt, P2: gp_Pnt) -> gp_Sphere: ... + def Translated(self, theP1: gp_Pnt, theP2: gp_Pnt) -> gp_Sphere: ... def UReverse(self) -> None: ... def VReverse(self) -> None: ... def Volume(self) -> float: ... @@ -1526,46 +1530,46 @@ class gp_Torus: @overload def __init__(self) -> None: ... @overload - def __init__(self, A3: gp_Ax3, MajorRadius: float, MinorRadius: float) -> None: ... + def __init__(self, theA3: gp_Ax3, theMajorRadius: float, theMinorRadius: float) -> None: ... def Area(self) -> float: ... def Axis(self) -> gp_Ax1: ... - def Coefficients(self, Coef: TColStd_Array1OfReal) -> None: ... + def Coefficients(self, theCoef: TColStd_Array1OfReal) -> None: ... def Direct(self) -> bool: ... def Location(self) -> gp_Pnt: ... def MajorRadius(self) -> float: ... def MinorRadius(self) -> float: ... @overload - def Mirror(self, P: gp_Pnt) -> None: ... + def Mirror(self, theP: gp_Pnt) -> None: ... @overload - def Mirror(self, A1: gp_Ax1) -> None: ... + def Mirror(self, theA1: gp_Ax1) -> None: ... @overload - def Mirror(self, A2: gp_Ax2) -> None: ... + def Mirror(self, theA2: gp_Ax2) -> None: ... @overload - def Mirrored(self, P: gp_Pnt) -> gp_Torus: ... + def Mirrored(self, theP: gp_Pnt) -> gp_Torus: ... @overload - def Mirrored(self, A1: gp_Ax1) -> gp_Torus: ... + def Mirrored(self, theA1: gp_Ax1) -> gp_Torus: ... @overload - def Mirrored(self, A2: gp_Ax2) -> gp_Torus: ... + def Mirrored(self, theA2: gp_Ax2) -> gp_Torus: ... def Position(self) -> gp_Ax3: ... - def Rotate(self, A1: gp_Ax1, Ang: float) -> None: ... - def Rotated(self, A1: gp_Ax1, Ang: float) -> gp_Torus: ... - def Scale(self, P: gp_Pnt, S: float) -> None: ... - def Scaled(self, P: gp_Pnt, S: float) -> gp_Torus: ... - def SetAxis(self, A1: gp_Ax1) -> None: ... - def SetLocation(self, Loc: gp_Pnt) -> None: ... - def SetMajorRadius(self, MajorRadius: float) -> None: ... - def SetMinorRadius(self, MinorRadius: float) -> None: ... - def SetPosition(self, A3: gp_Ax3) -> None: ... - def Transform(self, T: gp_Trsf) -> None: ... - def Transformed(self, T: gp_Trsf) -> gp_Torus: ... + def Rotate(self, theA1: gp_Ax1, theAng: float) -> None: ... + def Rotated(self, theA1: gp_Ax1, theAng: float) -> gp_Torus: ... + def Scale(self, theP: gp_Pnt, theS: float) -> None: ... + def Scaled(self, theP: gp_Pnt, theS: float) -> gp_Torus: ... + def SetAxis(self, theA1: gp_Ax1) -> None: ... + def SetLocation(self, theLoc: gp_Pnt) -> None: ... + def SetMajorRadius(self, theMajorRadius: float) -> None: ... + def SetMinorRadius(self, theMinorRadius: float) -> None: ... + def SetPosition(self, theA3: gp_Ax3) -> None: ... + def Transform(self, theT: gp_Trsf) -> None: ... + def Transformed(self, theT: gp_Trsf) -> gp_Torus: ... @overload - def Translate(self, V: gp_Vec) -> None: ... + def Translate(self, theV: gp_Vec) -> None: ... @overload - def Translate(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... + def Translate(self, theP1: gp_Pnt, theP2: gp_Pnt) -> None: ... @overload - def Translated(self, V: gp_Vec) -> gp_Torus: ... + def Translated(self, theV: gp_Vec) -> gp_Torus: ... @overload - def Translated(self, P1: gp_Pnt, P2: gp_Pnt) -> gp_Torus: ... + def Translated(self, theP1: gp_Pnt, theP2: gp_Pnt) -> gp_Torus: ... def UReverse(self) -> None: ... def VReverse(self) -> None: ... def Volume(self) -> float: ... @@ -1576,7 +1580,7 @@ class gp_Trsf: @overload def __init__(self) -> None: ... @overload - def __init__(self, T: gp_Trsf2d) -> None: ... + def __init__(self, theT: gp_Trsf2d) -> None: ... def Form(self) -> gp_TrsfForm: ... @overload def GetRotation(self, theAxis: gp_XYZ) -> Tuple[bool, float]: ... @@ -1587,170 +1591,170 @@ class gp_Trsf: def Invert(self) -> None: ... def Inverted(self) -> gp_Trsf: ... def IsNegative(self) -> bool: ... - def Multiplied(self, T: gp_Trsf) -> gp_Trsf: ... - def Multiply(self, T: gp_Trsf) -> None: ... - def Power(self, N: int) -> None: ... - def Powered(self, N: int) -> gp_Trsf: ... - def PreMultiply(self, T: gp_Trsf) -> None: ... + def Multiplied(self, theT: gp_Trsf) -> gp_Trsf: ... + def Multiply(self, theT: gp_Trsf) -> None: ... + def Power(self, theN: int) -> None: ... + def Powered(self, theN: int) -> gp_Trsf: ... + def PreMultiply(self, theT: gp_Trsf) -> None: ... def ScaleFactor(self) -> float: ... - def SetDisplacement(self, FromSystem1: gp_Ax3, ToSystem2: gp_Ax3) -> None: ... - def SetForm(self, P: gp_TrsfForm) -> None: ... + def SetDisplacement(self, theFromSystem1: gp_Ax3, theToSystem2: gp_Ax3) -> None: ... + def SetForm(self, theP: gp_TrsfForm) -> None: ... @overload - def SetMirror(self, P: gp_Pnt) -> None: ... + def SetMirror(self, theP: gp_Pnt) -> None: ... @overload - def SetMirror(self, A1: gp_Ax1) -> None: ... + def SetMirror(self, theA1: gp_Ax1) -> None: ... @overload - def SetMirror(self, A2: gp_Ax2) -> None: ... + def SetMirror(self, theA2: gp_Ax2) -> None: ... @overload - def SetRotation(self, A1: gp_Ax1, Ang: float) -> None: ... + def SetRotation(self, theA1: gp_Ax1, theAng: float) -> None: ... @overload - def SetRotation(self, R: gp_Quaternion) -> None: ... - def SetRotationPart(self, R: gp_Quaternion) -> None: ... - def SetScale(self, P: gp_Pnt, S: float) -> None: ... - def SetScaleFactor(self, S: float) -> None: ... + def SetRotation(self, theR: gp_Quaternion) -> None: ... + def SetRotationPart(self, theR: gp_Quaternion) -> None: ... + def SetScale(self, theP: gp_Pnt, theS: float) -> None: ... + def SetScaleFactor(self, theS: float) -> None: ... @overload - def SetTransformation(self, FromSystem1: gp_Ax3, ToSystem2: gp_Ax3) -> None: ... + def SetTransformation(self, theFromSystem1: gp_Ax3, theToSystem2: gp_Ax3) -> None: ... @overload - def SetTransformation(self, ToSystem: gp_Ax3) -> None: ... + def SetTransformation(self, theToSystem: gp_Ax3) -> None: ... @overload - def SetTransformation(self, R: gp_Quaternion, T: gp_Vec) -> None: ... + def SetTransformation(self, R: gp_Quaternion, theT: gp_Vec) -> None: ... @overload - def SetTranslation(self, V: gp_Vec) -> None: ... + def SetTranslation(self, theV: gp_Vec) -> None: ... @overload - def SetTranslation(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - def SetTranslationPart(self, V: gp_Vec) -> None: ... + def SetTranslation(self, theP1: gp_Pnt, theP2: gp_Pnt) -> None: ... + def SetTranslationPart(self, theV: gp_Vec) -> None: ... def SetValues(self, a11: float, a12: float, a13: float, a14: float, a21: float, a22: float, a23: float, a24: float, a31: float, a32: float, a33: float, a34: float) -> None: ... @overload def Transforms(self) -> Tuple[float, float, float]: ... @overload - def Transforms(self, Coord: gp_XYZ) -> None: ... + def Transforms(self, theCoord: gp_XYZ) -> None: ... def TranslationPart(self) -> gp_XYZ: ... - def Value(self, Row: int, Col: int) -> float: ... + def Value(self, theRow: int, theCol: int) -> float: ... def VectorialPart(self) -> gp_Mat: ... class gp_Trsf2d: @overload def __init__(self) -> None: ... @overload - def __init__(self, T: gp_Trsf) -> None: ... + def __init__(self, theT: gp_Trsf) -> None: ... def Form(self) -> gp_TrsfForm: ... def HVectorialPart(self) -> gp_Mat2d: ... def Invert(self) -> None: ... def Inverted(self) -> gp_Trsf2d: ... def IsNegative(self) -> bool: ... - def Multiplied(self, T: gp_Trsf2d) -> gp_Trsf2d: ... - def Multiply(self, T: gp_Trsf2d) -> None: ... - def Power(self, N: int) -> None: ... - def Powered(self, N: int) -> gp_Trsf2d: ... - def PreMultiply(self, T: gp_Trsf2d) -> None: ... + def Multiplied(self, theT: gp_Trsf2d) -> gp_Trsf2d: ... + def Multiply(self, theT: gp_Trsf2d) -> None: ... + def Power(self, theN: int) -> None: ... + def Powered(self, theN: int) -> gp_Trsf2d: ... + def PreMultiply(self, theT: gp_Trsf2d) -> None: ... def RotationPart(self) -> float: ... def ScaleFactor(self) -> float: ... @overload - def SetMirror(self, P: gp_Pnt2d) -> None: ... + def SetMirror(self, theP: gp_Pnt2d) -> None: ... @overload - def SetMirror(self, A: gp_Ax2d) -> None: ... - def SetRotation(self, P: gp_Pnt2d, Ang: float) -> None: ... - def SetScale(self, P: gp_Pnt2d, S: float) -> None: ... - def SetScaleFactor(self, S: float) -> None: ... + def SetMirror(self, theA: gp_Ax2d) -> None: ... + def SetRotation(self, theP: gp_Pnt2d, theAng: float) -> None: ... + def SetScale(self, theP: gp_Pnt2d, theS: float) -> None: ... + def SetScaleFactor(self, theS: float) -> None: ... @overload - def SetTransformation(self, FromSystem1: gp_Ax2d, ToSystem2: gp_Ax2d) -> None: ... + def SetTransformation(self, theFromSystem1: gp_Ax2d, theToSystem2: gp_Ax2d) -> None: ... @overload - def SetTransformation(self, ToSystem: gp_Ax2d) -> None: ... + def SetTransformation(self, theToSystem: gp_Ax2d) -> None: ... @overload - def SetTranslation(self, V: gp_Vec2d) -> None: ... + def SetTranslation(self, theV: gp_Vec2d) -> None: ... @overload - def SetTranslation(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - def SetTranslationPart(self, V: gp_Vec2d) -> None: ... + def SetTranslation(self, theP1: gp_Pnt2d, theP2: gp_Pnt2d) -> None: ... + def SetTranslationPart(self, theV: gp_Vec2d) -> None: ... def SetValues(self, a11: float, a12: float, a13: float, a21: float, a22: float, a23: float) -> None: ... @overload def Transforms(self) -> Tuple[float, float]: ... @overload - def Transforms(self, Coord: gp_XY) -> None: ... + def Transforms(self, theCoord: gp_XY) -> None: ... def TranslationPart(self) -> gp_XY: ... - def Value(self, Row: int, Col: int) -> float: ... + def Value(self, theRow: int, theCol: int) -> float: ... def VectorialPart(self) -> gp_Mat2d: ... class gp_Vec: @overload def __init__(self) -> None: ... @overload - def __init__(self, V: gp_Dir) -> None: ... + def __init__(self, theV: gp_Dir) -> None: ... @overload - def __init__(self, Coord: gp_XYZ) -> None: ... + def __init__(self, theCoord: gp_XYZ) -> None: ... @overload - def __init__(self, Xv: float, Yv: float, Zv: float) -> None: ... + def __init__(self, theXv: float, theYv: float, theZv: float) -> None: ... @overload - def __init__(self, P1: gp_Pnt, P2: gp_Pnt) -> None: ... - def Add(self, Other: gp_Vec) -> None: ... - def Added(self, Other: gp_Vec) -> gp_Vec: ... - def Angle(self, Other: gp_Vec) -> float: ... - def AngleWithRef(self, Other: gp_Vec, VRef: gp_Vec) -> float: ... + def __init__(self, theP1: gp_Pnt, theP2: gp_Pnt) -> None: ... + def Add(self, theOther: gp_Vec) -> None: ... + def Added(self, theOther: gp_Vec) -> gp_Vec: ... + def Angle(self, theOther: gp_Vec) -> float: ... + def AngleWithRef(self, theOther: gp_Vec, theVRef: gp_Vec) -> float: ... @overload - def Coord(self, Index: int) -> float: ... + def Coord(self, theIndex: int) -> float: ... @overload def Coord(self) -> Tuple[float, float, float]: ... - def Cross(self, Right: gp_Vec) -> None: ... - def CrossCross(self, V1: gp_Vec, V2: gp_Vec) -> None: ... - def CrossCrossed(self, V1: gp_Vec, V2: gp_Vec) -> gp_Vec: ... - def CrossMagnitude(self, Right: gp_Vec) -> float: ... - def CrossSquareMagnitude(self, Right: gp_Vec) -> float: ... - def Crossed(self, Right: gp_Vec) -> gp_Vec: ... - def Divide(self, Scalar: float) -> None: ... - def Divided(self, Scalar: float) -> gp_Vec: ... - def Dot(self, Other: gp_Vec) -> float: ... - def DotCross(self, V1: gp_Vec, V2: gp_Vec) -> float: ... - def IsEqual(self, Other: gp_Vec, LinearTolerance: float, AngularTolerance: float) -> bool: ... - def IsNormal(self, Other: gp_Vec, AngularTolerance: float) -> bool: ... - def IsOpposite(self, Other: gp_Vec, AngularTolerance: float) -> bool: ... - def IsParallel(self, Other: gp_Vec, AngularTolerance: float) -> bool: ... + def Cross(self, theRight: gp_Vec) -> None: ... + def CrossCross(self, theV1: gp_Vec, theV2: gp_Vec) -> None: ... + def CrossCrossed(self, theV1: gp_Vec, theV2: gp_Vec) -> gp_Vec: ... + def CrossMagnitude(self, theRight: gp_Vec) -> float: ... + def CrossSquareMagnitude(self, theRight: gp_Vec) -> float: ... + def Crossed(self, theRight: gp_Vec) -> gp_Vec: ... + def Divide(self, theScalar: float) -> None: ... + def Divided(self, theScalar: float) -> gp_Vec: ... + def Dot(self, theOther: gp_Vec) -> float: ... + def DotCross(self, theV1: gp_Vec, theV2: gp_Vec) -> float: ... + def IsEqual(self, theOther: gp_Vec, theLinearTolerance: float, theAngularTolerance: float) -> bool: ... + def IsNormal(self, theOther: gp_Vec, theAngularTolerance: float) -> bool: ... + def IsOpposite(self, theOther: gp_Vec, theAngularTolerance: float) -> bool: ... + def IsParallel(self, theOther: gp_Vec, theAngularTolerance: float) -> bool: ... def Magnitude(self) -> float: ... @overload - def Mirror(self, V: gp_Vec) -> None: ... + def Mirror(self, theV: gp_Vec) -> None: ... @overload - def Mirror(self, A1: gp_Ax1) -> None: ... + def Mirror(self, theA1: gp_Ax1) -> None: ... @overload - def Mirror(self, A2: gp_Ax2) -> None: ... + def Mirror(self, theA2: gp_Ax2) -> None: ... @overload - def Mirrored(self, V: gp_Vec) -> gp_Vec: ... + def Mirrored(self, theV: gp_Vec) -> gp_Vec: ... @overload - def Mirrored(self, A1: gp_Ax1) -> gp_Vec: ... + def Mirrored(self, theA1: gp_Ax1) -> gp_Vec: ... @overload - def Mirrored(self, A2: gp_Ax2) -> gp_Vec: ... - def Multiplied(self, Scalar: float) -> gp_Vec: ... - def Multiply(self, Scalar: float) -> None: ... + def Mirrored(self, theA2: gp_Ax2) -> gp_Vec: ... + def Multiplied(self, theScalar: float) -> gp_Vec: ... + def Multiply(self, theScalar: float) -> None: ... def Normalize(self) -> None: ... def Normalized(self) -> gp_Vec: ... def Reverse(self) -> None: ... def Reversed(self) -> gp_Vec: ... - def Rotate(self, A1: gp_Ax1, Ang: float) -> None: ... - def Rotated(self, A1: gp_Ax1, Ang: float) -> gp_Vec: ... - def Scale(self, S: float) -> None: ... - def Scaled(self, S: float) -> gp_Vec: ... + def Rotate(self, theA1: gp_Ax1, theAng: float) -> None: ... + def Rotated(self, theA1: gp_Ax1, theAng: float) -> gp_Vec: ... + def Scale(self, theS: float) -> None: ... + def Scaled(self, theS: float) -> gp_Vec: ... @overload - def SetCoord(self, Index: int, Xi: float) -> None: ... + def SetCoord(self, theIndex: int, theXi: float) -> None: ... @overload - def SetCoord(self, Xv: float, Yv: float, Zv: float) -> None: ... + def SetCoord(self, theXv: float, theYv: float, theZv: float) -> None: ... @overload - def SetLinearForm(self, A1: float, V1: gp_Vec, A2: float, V2: gp_Vec, A3: float, V3: gp_Vec, V4: gp_Vec) -> None: ... + def SetLinearForm(self, theA1: float, theV1: gp_Vec, theA2: float, theV2: gp_Vec, theA3: float, theV3: gp_Vec, theV4: gp_Vec) -> None: ... @overload - def SetLinearForm(self, A1: float, V1: gp_Vec, A2: float, V2: gp_Vec, A3: float, V3: gp_Vec) -> None: ... + def SetLinearForm(self, theA1: float, theV1: gp_Vec, theA2: float, theV2: gp_Vec, theA3: float, theV3: gp_Vec) -> None: ... @overload - def SetLinearForm(self, A1: float, V1: gp_Vec, A2: float, V2: gp_Vec, V3: gp_Vec) -> None: ... + def SetLinearForm(self, theA1: float, theV1: gp_Vec, theA2: float, theV2: gp_Vec, theV3: gp_Vec) -> None: ... @overload - def SetLinearForm(self, A1: float, V1: gp_Vec, A2: float, V2: gp_Vec) -> None: ... + def SetLinearForm(self, theA1: float, theV1: gp_Vec, theA2: float, theV2: gp_Vec) -> None: ... @overload - def SetLinearForm(self, A1: float, V1: gp_Vec, V2: gp_Vec) -> None: ... + def SetLinearForm(self, theA1: float, theV1: gp_Vec, theV2: gp_Vec) -> None: ... @overload - def SetLinearForm(self, V1: gp_Vec, V2: gp_Vec) -> None: ... - def SetX(self, X: float) -> None: ... - def SetXYZ(self, Coord: gp_XYZ) -> None: ... - def SetY(self, Y: float) -> None: ... - def SetZ(self, Z: float) -> None: ... + def SetLinearForm(self, theV1: gp_Vec, theV2: gp_Vec) -> None: ... + def SetX(self, theX: float) -> None: ... + def SetXYZ(self, theCoord: gp_XYZ) -> None: ... + def SetY(self, theY: float) -> None: ... + def SetZ(self, theZ: float) -> None: ... def SquareMagnitude(self) -> float: ... - def Subtract(self, Right: gp_Vec) -> None: ... - def Subtracted(self, Right: gp_Vec) -> gp_Vec: ... - def Transform(self, T: gp_Trsf) -> None: ... - def Transformed(self, T: gp_Trsf) -> gp_Vec: ... + def Subtract(self, theRight: gp_Vec) -> None: ... + def Subtracted(self, theRight: gp_Vec) -> gp_Vec: ... + def Transform(self, theT: gp_Trsf) -> None: ... + def Transformed(self, theT: gp_Trsf) -> gp_Vec: ... def X(self) -> float: ... def XYZ(self) -> gp_XYZ: ... def Y(self) -> float: ... @@ -1760,70 +1764,70 @@ class gp_Vec2d: @overload def __init__(self) -> None: ... @overload - def __init__(self, V: gp_Dir2d) -> None: ... + def __init__(self, theV: gp_Dir2d) -> None: ... @overload - def __init__(self, Coord: gp_XY) -> None: ... + def __init__(self, theCoord: gp_XY) -> None: ... @overload - def __init__(self, Xv: float, Yv: float) -> None: ... + def __init__(self, theXv: float, theYv: float) -> None: ... @overload - def __init__(self, P1: gp_Pnt2d, P2: gp_Pnt2d) -> None: ... - def Add(self, Other: gp_Vec2d) -> None: ... - def Added(self, Other: gp_Vec2d) -> gp_Vec2d: ... - def Angle(self, Other: gp_Vec2d) -> float: ... + def __init__(self, theP1: gp_Pnt2d, theP2: gp_Pnt2d) -> None: ... + def Add(self, theOther: gp_Vec2d) -> None: ... + def Added(self, theOther: gp_Vec2d) -> gp_Vec2d: ... + def Angle(self, theOther: gp_Vec2d) -> float: ... @overload - def Coord(self, Index: int) -> float: ... + def Coord(self, theIndex: int) -> float: ... @overload def Coord(self) -> Tuple[float, float]: ... - def CrossMagnitude(self, Right: gp_Vec2d) -> float: ... - def CrossSquareMagnitude(self, Right: gp_Vec2d) -> float: ... - def Crossed(self, Right: gp_Vec2d) -> float: ... - def Divide(self, Scalar: float) -> None: ... - def Divided(self, Scalar: float) -> gp_Vec2d: ... - def Dot(self, Other: gp_Vec2d) -> float: ... + def CrossMagnitude(self, theRight: gp_Vec2d) -> float: ... + def CrossSquareMagnitude(self, theRight: gp_Vec2d) -> float: ... + def Crossed(self, theRight: gp_Vec2d) -> float: ... + def Divide(self, theScalar: float) -> None: ... + def Divided(self, theScalar: float) -> gp_Vec2d: ... + def Dot(self, theOther: gp_Vec2d) -> float: ... def GetNormal(self) -> gp_Vec2d: ... - def IsEqual(self, Other: gp_Vec2d, LinearTolerance: float, AngularTolerance: float) -> bool: ... - def IsNormal(self, Other: gp_Vec2d, AngularTolerance: float) -> bool: ... - def IsOpposite(self, Other: gp_Vec2d, AngularTolerance: float) -> bool: ... - def IsParallel(self, Other: gp_Vec2d, AngularTolerance: float) -> bool: ... + def IsEqual(self, theOther: gp_Vec2d, theLinearTolerance: float, theAngularTolerance: float) -> bool: ... + def IsNormal(self, theOther: gp_Vec2d, theAngularTolerance: float) -> bool: ... + def IsOpposite(self, theOther: gp_Vec2d, theAngularTolerance: float) -> bool: ... + def IsParallel(self, theOther: gp_Vec2d, theAngularTolerance: float) -> bool: ... def Magnitude(self) -> float: ... @overload - def Mirror(self, V: gp_Vec2d) -> None: ... + def Mirror(self, theV: gp_Vec2d) -> None: ... @overload - def Mirror(self, A1: gp_Ax2d) -> None: ... + def Mirror(self, theA1: gp_Ax2d) -> None: ... @overload - def Mirrored(self, V: gp_Vec2d) -> gp_Vec2d: ... + def Mirrored(self, theV: gp_Vec2d) -> gp_Vec2d: ... @overload - def Mirrored(self, A1: gp_Ax2d) -> gp_Vec2d: ... - def Multiplied(self, Scalar: float) -> gp_Vec2d: ... - def Multiply(self, Scalar: float) -> None: ... + def Mirrored(self, theA1: gp_Ax2d) -> gp_Vec2d: ... + def Multiplied(self, theScalar: float) -> gp_Vec2d: ... + def Multiply(self, theScalar: float) -> None: ... def Normalize(self) -> None: ... def Normalized(self) -> gp_Vec2d: ... def Reverse(self) -> None: ... def Reversed(self) -> gp_Vec2d: ... - def Rotate(self, Ang: float) -> None: ... - def Rotated(self, Ang: float) -> gp_Vec2d: ... - def Scale(self, S: float) -> None: ... - def Scaled(self, S: float) -> gp_Vec2d: ... + def Rotate(self, theAng: float) -> None: ... + def Rotated(self, theAng: float) -> gp_Vec2d: ... + def Scale(self, theS: float) -> None: ... + def Scaled(self, theS: float) -> gp_Vec2d: ... @overload - def SetCoord(self, Index: int, Xi: float) -> None: ... + def SetCoord(self, theIndex: int, theXi: float) -> None: ... @overload - def SetCoord(self, Xv: float, Yv: float) -> None: ... + def SetCoord(self, theXv: float, theYv: float) -> None: ... @overload - def SetLinearForm(self, A1: float, V1: gp_Vec2d, A2: float, V2: gp_Vec2d, V3: gp_Vec2d) -> None: ... + def SetLinearForm(self, theA1: float, theV1: gp_Vec2d, theA2: float, theV2: gp_Vec2d, theV3: gp_Vec2d) -> None: ... @overload - def SetLinearForm(self, A1: float, V1: gp_Vec2d, A2: float, V2: gp_Vec2d) -> None: ... + def SetLinearForm(self, theA1: float, theV1: gp_Vec2d, theA2: float, theV2: gp_Vec2d) -> None: ... @overload - def SetLinearForm(self, A1: float, V1: gp_Vec2d, V2: gp_Vec2d) -> None: ... + def SetLinearForm(self, theA1: float, theV1: gp_Vec2d, theV2: gp_Vec2d) -> None: ... @overload - def SetLinearForm(self, Left: gp_Vec2d, Right: gp_Vec2d) -> None: ... - def SetX(self, X: float) -> None: ... - def SetXY(self, Coord: gp_XY) -> None: ... - def SetY(self, Y: float) -> None: ... + def SetLinearForm(self, theV1: gp_Vec2d, theV2: gp_Vec2d) -> None: ... + def SetX(self, theX: float) -> None: ... + def SetXY(self, theCoord: gp_XY) -> None: ... + def SetY(self, theY: float) -> None: ... def SquareMagnitude(self) -> float: ... - def Subtract(self, Right: gp_Vec2d) -> None: ... - def Subtracted(self, Right: gp_Vec2d) -> gp_Vec2d: ... - def Transform(self, T: gp_Trsf2d) -> None: ... - def Transformed(self, T: gp_Trsf2d) -> gp_Vec2d: ... + def Subtract(self, theRight: gp_Vec2d) -> None: ... + def Subtracted(self, theRight: gp_Vec2d) -> gp_Vec2d: ... + def Transform(self, theT: gp_Trsf2d) -> None: ... + def Transformed(self, theT: gp_Trsf2d) -> gp_Vec2d: ... def X(self) -> float: ... def XY(self) -> gp_XY: ... def Y(self) -> float: ... @@ -1832,56 +1836,56 @@ class gp_XY: @overload def __init__(self) -> None: ... @overload - def __init__(self, X: float, Y: float) -> None: ... - def Add(self, Other: gp_XY) -> None: ... - def Added(self, Other: gp_XY) -> gp_XY: ... + def __init__(self, theX: float, theY: float) -> None: ... + def Add(self, theOther: gp_XY) -> None: ... + def Added(self, theOther: gp_XY) -> gp_XY: ... def GetChangeCoord(self, theIndex: int) -> float: ... def SetChangeCoord(self, theIndex: int, value: float) -> None: ... @overload - def Coord(self, Index: int) -> float: ... + def Coord(self, theIndex: int) -> float: ... @overload def Coord(self) -> Tuple[float, float]: ... - def CrossMagnitude(self, Right: gp_XY) -> float: ... - def CrossSquareMagnitude(self, Right: gp_XY) -> float: ... - def Crossed(self, Right: gp_XY) -> float: ... - def Divide(self, Scalar: float) -> None: ... - def Divided(self, Scalar: float) -> gp_XY: ... - def Dot(self, Other: gp_XY) -> float: ... - def IsEqual(self, Other: gp_XY, Tolerance: float) -> bool: ... + def CrossMagnitude(self, theRight: gp_XY) -> float: ... + def CrossSquareMagnitude(self, theRight: gp_XY) -> float: ... + def Crossed(self, theOther: gp_XY) -> float: ... + def Divide(self, theScalar: float) -> None: ... + def Divided(self, theScalar: float) -> gp_XY: ... + def Dot(self, theOther: gp_XY) -> float: ... + def IsEqual(self, theOther: gp_XY, theTolerance: float) -> bool: ... def Modulus(self) -> float: ... @overload - def Multiplied(self, Scalar: float) -> gp_XY: ... + def Multiplied(self, theScalar: float) -> gp_XY: ... @overload - def Multiplied(self, Other: gp_XY) -> gp_XY: ... + def Multiplied(self, theOther: gp_XY) -> gp_XY: ... @overload - def Multiplied(self, Matrix: gp_Mat2d) -> gp_XY: ... + def Multiplied(self, theMatrix: gp_Mat2d) -> gp_XY: ... @overload - def Multiply(self, Scalar: float) -> None: ... + def Multiply(self, theScalar: float) -> None: ... @overload - def Multiply(self, Other: gp_XY) -> None: ... + def Multiply(self, theOther: gp_XY) -> None: ... @overload - def Multiply(self, Matrix: gp_Mat2d) -> None: ... + def Multiply(self, theMatrix: gp_Mat2d) -> None: ... def Normalize(self) -> None: ... def Normalized(self) -> gp_XY: ... def Reverse(self) -> None: ... def Reversed(self) -> gp_XY: ... @overload - def SetCoord(self, Index: int, Xi: float) -> None: ... + def SetCoord(self, theIndex: int, theXi: float) -> None: ... @overload - def SetCoord(self, X: float, Y: float) -> None: ... + def SetCoord(self, theX: float, theY: float) -> None: ... @overload - def SetLinearForm(self, A1: float, XY1: gp_XY, A2: float, XY2: gp_XY) -> None: ... + def SetLinearForm(self, theA1: float, theXY1: gp_XY, theA2: float, theXY2: gp_XY) -> None: ... @overload - def SetLinearForm(self, A1: float, XY1: gp_XY, A2: float, XY2: gp_XY, XY3: gp_XY) -> None: ... + def SetLinearForm(self, theA1: float, theXY1: gp_XY, theA2: float, theXY2: gp_XY, theXY3: gp_XY) -> None: ... @overload - def SetLinearForm(self, A1: float, XY1: gp_XY, XY2: gp_XY) -> None: ... + def SetLinearForm(self, theA1: float, theXY1: gp_XY, theXY2: gp_XY) -> None: ... @overload - def SetLinearForm(self, XY1: gp_XY, XY2: gp_XY) -> None: ... - def SetX(self, X: float) -> None: ... - def SetY(self, Y: float) -> None: ... + def SetLinearForm(self, theXY1: gp_XY, theXY2: gp_XY) -> None: ... + def SetX(self, theX: float) -> None: ... + def SetY(self, theY: float) -> None: ... def SquareModulus(self) -> float: ... - def Subtract(self, Right: gp_XY) -> None: ... - def Subtracted(self, Right: gp_XY) -> gp_XY: ... + def Subtract(self, theOther: gp_XY) -> None: ... + def Subtracted(self, theOther: gp_XY) -> gp_XY: ... def X(self) -> float: ... def Y(self) -> float: ... @@ -1889,68 +1893,68 @@ class gp_XYZ: @overload def __init__(self) -> None: ... @overload - def __init__(self, X: float, Y: float, Z: float) -> None: ... - def Add(self, Other: gp_XYZ) -> None: ... - def Added(self, Other: gp_XYZ) -> gp_XYZ: ... + def __init__(self, theX: float, theY: float, theZ: float) -> None: ... + def Add(self, theOther: gp_XYZ) -> None: ... + def Added(self, theOther: gp_XYZ) -> gp_XYZ: ... def GetChangeCoord(self, theIndex: int) -> float: ... def SetChangeCoord(self, theIndex: int, value: float) -> None: ... def ChangeData(self) -> float: ... @overload - def Coord(self, Index: int) -> float: ... + def Coord(self, theIndex: int) -> float: ... @overload def Coord(self) -> Tuple[float, float, float]: ... - def Cross(self, Right: gp_XYZ) -> None: ... - def CrossCross(self, Coord1: gp_XYZ, Coord2: gp_XYZ) -> None: ... - def CrossCrossed(self, Coord1: gp_XYZ, Coord2: gp_XYZ) -> gp_XYZ: ... - def CrossMagnitude(self, Right: gp_XYZ) -> float: ... - def CrossSquareMagnitude(self, Right: gp_XYZ) -> float: ... - def Crossed(self, Right: gp_XYZ) -> gp_XYZ: ... - def Divide(self, Scalar: float) -> None: ... - def Divided(self, Scalar: float) -> gp_XYZ: ... - def Dot(self, Other: gp_XYZ) -> float: ... - def DotCross(self, Coord1: gp_XYZ, Coord2: gp_XYZ) -> float: ... + def Cross(self, theOther: gp_XYZ) -> None: ... + def CrossCross(self, theCoord1: gp_XYZ, theCoord2: gp_XYZ) -> None: ... + def CrossCrossed(self, theCoord1: gp_XYZ, theCoord2: gp_XYZ) -> gp_XYZ: ... + def CrossMagnitude(self, theRight: gp_XYZ) -> float: ... + def CrossSquareMagnitude(self, theRight: gp_XYZ) -> float: ... + def Crossed(self, theOther: gp_XYZ) -> gp_XYZ: ... + def Divide(self, theScalar: float) -> None: ... + def Divided(self, theScalar: float) -> gp_XYZ: ... + def Dot(self, theOther: gp_XYZ) -> float: ... + def DotCross(self, theCoord1: gp_XYZ, theCoord2: gp_XYZ) -> float: ... def GetData(self) -> float: ... def InitFromJson(self, theSStream: Standard_SStream) -> Tuple[bool, int]: ... - def IsEqual(self, Other: gp_XYZ, Tolerance: float) -> bool: ... + def IsEqual(self, theOther: gp_XYZ, theTolerance: float) -> bool: ... def Modulus(self) -> float: ... @overload - def Multiplied(self, Scalar: float) -> gp_XYZ: ... + def Multiplied(self, theScalar: float) -> gp_XYZ: ... @overload - def Multiplied(self, Other: gp_XYZ) -> gp_XYZ: ... + def Multiplied(self, theOther: gp_XYZ) -> gp_XYZ: ... @overload - def Multiplied(self, Matrix: gp_Mat) -> gp_XYZ: ... + def Multiplied(self, theMatrix: gp_Mat) -> gp_XYZ: ... @overload - def Multiply(self, Scalar: float) -> None: ... + def Multiply(self, theScalar: float) -> None: ... @overload - def Multiply(self, Other: gp_XYZ) -> None: ... + def Multiply(self, theOther: gp_XYZ) -> None: ... @overload - def Multiply(self, Matrix: gp_Mat) -> None: ... + def Multiply(self, theMatrix: gp_Mat) -> None: ... def Normalize(self) -> None: ... def Normalized(self) -> gp_XYZ: ... def Reverse(self) -> None: ... def Reversed(self) -> gp_XYZ: ... @overload - def SetCoord(self, X: float, Y: float, Z: float) -> None: ... + def SetCoord(self, theX: float, theY: float, theZ: float) -> None: ... @overload - def SetCoord(self, Index: int, Xi: float) -> None: ... + def SetCoord(self, theIndex: int, theXi: float) -> None: ... @overload - def SetLinearForm(self, A1: float, XYZ1: gp_XYZ, A2: float, XYZ2: gp_XYZ, A3: float, XYZ3: gp_XYZ, XYZ4: gp_XYZ) -> None: ... + def SetLinearForm(self, theA1: float, theXYZ1: gp_XYZ, theA2: float, theXYZ2: gp_XYZ, theA3: float, theXYZ3: gp_XYZ, theXYZ4: gp_XYZ) -> None: ... @overload - def SetLinearForm(self, A1: float, XYZ1: gp_XYZ, A2: float, XYZ2: gp_XYZ, A3: float, XYZ3: gp_XYZ) -> None: ... + def SetLinearForm(self, theA1: float, theXYZ1: gp_XYZ, theA2: float, theXYZ2: gp_XYZ, theA3: float, theXYZ3: gp_XYZ) -> None: ... @overload - def SetLinearForm(self, A1: float, XYZ1: gp_XYZ, A2: float, XYZ2: gp_XYZ, XYZ3: gp_XYZ) -> None: ... + def SetLinearForm(self, theA1: float, theXYZ1: gp_XYZ, theA2: float, theXYZ2: gp_XYZ, theXYZ3: gp_XYZ) -> None: ... @overload - def SetLinearForm(self, A1: float, XYZ1: gp_XYZ, A2: float, XYZ2: gp_XYZ) -> None: ... + def SetLinearForm(self, theA1: float, theXYZ1: gp_XYZ, theA2: float, theXYZ2: gp_XYZ) -> None: ... @overload - def SetLinearForm(self, A1: float, XYZ1: gp_XYZ, XYZ2: gp_XYZ) -> None: ... + def SetLinearForm(self, theA1: float, theXYZ1: gp_XYZ, theXYZ2: gp_XYZ) -> None: ... @overload - def SetLinearForm(self, XYZ1: gp_XYZ, XYZ2: gp_XYZ) -> None: ... - def SetX(self, X: float) -> None: ... - def SetY(self, Y: float) -> None: ... - def SetZ(self, Z: float) -> None: ... + def SetLinearForm(self, theXYZ1: gp_XYZ, theXYZ2: gp_XYZ) -> None: ... + def SetX(self, theX: float) -> None: ... + def SetY(self, theY: float) -> None: ... + def SetZ(self, theZ: float) -> None: ... def SquareModulus(self) -> float: ... - def Subtract(self, Right: gp_XYZ) -> None: ... - def Subtracted(self, Right: gp_XYZ) -> gp_XYZ: ... + def Subtract(self, theOther: gp_XYZ) -> None: ... + def Subtracted(self, theOther: gp_XYZ) -> gp_XYZ: ... def X(self) -> float: ... def Y(self) -> float: ... def Z(self) -> float: ... diff --git a/src/SWIG_files/wrapper/math.i b/src/SWIG_files/wrapper/math.i index 0c0714305..c9a727bb1 100644 --- a/src/SWIG_files/wrapper/math.i +++ b/src/SWIG_files/wrapper/math.i @@ -1,5 +1,5 @@ /* -Copyright 2008-2020 Thomas Paviot (tpaviot@gmail.com) +Copyright 2008-2022 Thomas Paviot (tpaviot@gmail.com) This file is part of pythonOCC. pythonOCC is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ along with pythonOCC. If not, see . */ %define MATHDOCSTRING "math module, see official documentation at -https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_math.html" +https://www.opencascade.com/doc/occt-7.6.0/refman/html/package_math.html" %enddef %module (package="OCC.Core", docstring=MATHDOCSTRING) math @@ -74,7 +74,7 @@ enum math_Status { /* end public enums declaration */ -/* python proy classes for enums */ +/* python proxy classes for enums */ %pythoncode { class math_Status(IntEnum): @@ -2081,7 +2081,7 @@ class math_FunctionRoots { /****************** math_FunctionRoots ******************/ /**** md5 signature: abf707bf72f290b30f6f389c3c53da02 ****/ %feature("compactdefaultargs") math_FunctionRoots; - %feature("autodoc", "Calculates all the real roots of a function f-k within the range a..b. whithout conditions on a and b a solution x is found when abs(xi - xi-1) <= epsx and abs(f(xi)-k) <= epsf. the function is considered as null between a and b if abs(f-k) <= epsnull within this range. + %feature("autodoc", "Calculates all the real roots of a function f-k within the range a..b. without conditions on a and b a solution x is found when abs(xi - xi-1) <= epsx and abs(f(xi)-k) <= epsf. the function is considered as null between a and b if abs(f-k) <= epsnull within this range. Parameters ---------- @@ -2750,7 +2750,7 @@ class math_GaussMultipleIntegration { /****************** math_GaussMultipleIntegration ******************/ /**** md5 signature: 70f32a9670faa17902d312aaf809dc84 ****/ %feature("compactdefaultargs") math_GaussMultipleIntegration; - %feature("autodoc", "The gauss-legendre integration with order = points of integration for each unknow, is done on the function f between the bounds lower and upper. + %feature("autodoc", "The gauss-legendre integration with order = points of integration for each unknown, is done on the function f between the bounds lower and upper. Parameters ---------- @@ -2812,7 +2812,7 @@ class math_GaussSetIntegration { /****************** math_GaussSetIntegration ******************/ /**** md5 signature: ccc7194f05e1d20cdc9dff8f00019009 ****/ %feature("compactdefaultargs") math_GaussSetIntegration; - %feature("autodoc", "The gauss-legendre integration with order = points of integration for each unknow, is done on the function f between the bounds lower and upper. + %feature("autodoc", "The gauss-legendre integration with order = points of integration for each unknown, is done on the function f between the bounds lower and upper. Parameters ---------- @@ -3336,7 +3336,7 @@ class math_IntegerVector { /****************** math_IntegerVector ******************/ /**** md5 signature: dd6f29403a7348f09b915bb39a25605e ****/ %feature("compactdefaultargs") math_IntegerVector; - %feature("autodoc", "Contructs an integervector in the range [lower..upper]. + %feature("autodoc", "Constructs an integervector in the range [lower..upper]. Parameters ---------- @@ -3352,7 +3352,7 @@ None /****************** math_IntegerVector ******************/ /**** md5 signature: 345490133e420bea4f84e5e2707b7e52 ****/ %feature("compactdefaultargs") math_IntegerVector; - %feature("autodoc", "Contructs an integervector in the range [lower..upper] with all the elements set to theinitialvalue. + %feature("autodoc", "Constructs an integervector in the range [lower..upper] with all the elements set to theinitialvalue. Parameters ---------- @@ -4393,7 +4393,7 @@ None /****************** Initialized ******************/ /**** md5 signature: aa19c52ca7ffa72391b02d4d20747655 ****/ %feature("compactdefaultargs") Initialized; - %feature("autodoc", "Matrixes are copied through assignement. an exception is raised if the dimensions are differents. + %feature("autodoc", "Matrixes are copied through assignment. an exception is raised if the dimensions are different. Parameters ---------- @@ -5478,7 +5478,7 @@ None /****************** GetStatus ******************/ /**** md5 signature: f0121c820ebe3b5d3aba6ff3efc32974 ****/ %feature("compactdefaultargs") GetStatus; - %feature("autodoc", "Returns the status of computation. the exception notdone is raised if an error has occured. + %feature("autodoc", "Returns the status of computation. the exception notdone is raised if an error has occurred. Returns ------- @@ -5489,7 +5489,7 @@ math_Status /****************** Gradient ******************/ /**** md5 signature: 6c3691fb2b0bb6085965955bdcce0a12 ****/ %feature("compactdefaultargs") Gradient; - %feature("autodoc", "Returns the gradient vector at the minimum. exception notdone is raised if an error has occured.the minimum was not found. + %feature("autodoc", "Returns the gradient vector at the minimum. exception notdone is raised if an error has occurred. the minimum was not found. Returns ------- @@ -5526,7 +5526,7 @@ bool /****************** IsDone ******************/ /**** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ****/ %feature("compactdefaultargs") IsDone; - %feature("autodoc", "Tests if an error has occured. + %feature("autodoc", "Tests if an error has occurred. Returns ------- @@ -5537,7 +5537,7 @@ bool /****************** Location ******************/ /**** md5 signature: 5a88ac2c95c5682bdeb613bd0a6c6d51 ****/ %feature("compactdefaultargs") Location; - %feature("autodoc", "Returns the location vector of the minimum. exception notdone is raised if an error has occured. + %feature("autodoc", "Returns the location vector of the minimum. exception notdone is raised if an error has occurred. Returns ------- @@ -5548,7 +5548,7 @@ math_Vector /****************** Location ******************/ /**** md5 signature: c2f6dc7227af27a93b49ddbc87dfbc1a ****/ %feature("compactdefaultargs") Location; - %feature("autodoc", "Outputs the location vector of the minimum in loc. exception notdone is raised if an error has occured. exception dimensionerror is raised if the range of loc is not equal to the range of the startingpoint. + %feature("autodoc", "Outputs the location vector of the minimum in loc. exception notdone is raised if an error has occurred. exception dimensionerror is raised if the range of loc is not equal to the range of the startingpoint. Parameters ---------- @@ -5574,7 +5574,7 @@ float /****************** NbIterations ******************/ /**** md5 signature: 05334f1e34f7c858ac022754e906f2bf ****/ %feature("compactdefaultargs") NbIterations; - %feature("autodoc", "Returns the number of iterations really done in the calculation of the minimum. the exception notdone is raised if an error has occured. + %feature("autodoc", "Returns the number of iterations really done in the calculation of the minimum. the exception notdone is raised if an error has occurred. Returns ------- @@ -6119,7 +6119,7 @@ class math_Uzawa { /****************** math_Uzawa ******************/ /**** md5 signature: ce8a643cc052d25710c36d089c8860f4 ****/ %feature("compactdefaultargs") math_Uzawa; - %feature("autodoc", "Given an input matrix cont, two input vectors secont and startingpoint, it solves cont*x = secont (only = equations) with a minimization of norme(x-x0). the maximun iterations number allowed is fixed to nbiterations. the tolerance epslic is fixed for the dual variable convergence. the tolerance epslix is used for the convergence of x. exception constuctionerror is raised if the line number of cont is different from the length of secont. + %feature("autodoc", "Given an input matrix cont, two input vectors secont and startingpoint, it solves cont*x = secont (only = equations) with a minimization of norme(x-x0). the maximum iterations number allowed is fixed to nbiterations. the tolerance epslic is fixed for the dual variable convergence. the tolerance epslix is used for the convergence of x. exception constructionerror is raised if the line number of cont is different from the length of secont. Parameters ---------- @@ -6142,7 +6142,7 @@ None /****************** math_Uzawa ******************/ /**** md5 signature: fbff15989748ebd19e9916a271b6e5a5 ****/ %feature("compactdefaultargs") math_Uzawa; - %feature("autodoc", "Given an input matrix cont, two input vectors secont and startingpoint, it solves cont*x = secont (the nce first equations are equal equations and the nci last equations are inequalities <) with a minimization of norme(x-x0). the maximun iterations number allowed is fixed to nbiterations. the tolerance epslic is fixed for the dual variable convergence. the tolerance epslix is used for the convergence of x. there are no conditions on nce and nci. exception constuctionerror is raised if the line number of cont is different from the length of secont and from nce + nci. + %feature("autodoc", "Given an input matrix cont, two input vectors secont and startingpoint, it solves cont*x = secont (the nce first equations are equal equations and the nci last equations are inequalities <) with a minimization of norme(x-x0). the maximum iterations number allowed is fixed to nbiterations. the tolerance epslic is fixed for the dual variable convergence. the tolerance epslix is used for the convergence of x. there are no conditions on nce and nci. exception constructionerror is raised if the line number of cont is different from the length of secont and from nce + nci. Parameters ---------- @@ -6333,7 +6333,7 @@ class math_Vector { /****************** math_Vector ******************/ /**** md5 signature: 1a74438a487a14d6d15fe510ae695e42 ****/ %feature("compactdefaultargs") math_Vector; - %feature("autodoc", "Contructs a non-initialized vector in the range [thelower..theupper] 'thelower' and 'theupper' are the indexes of the lower and upper bounds of the constructed vector. + %feature("autodoc", "Constructs a non-initialized vector in the range [thelower..theupper] 'thelower' and 'theupper' are the indexes of the lower and upper bounds of the constructed vector. Parameters ---------- @@ -6349,7 +6349,7 @@ None /****************** math_Vector ******************/ /**** md5 signature: 0ea591b3860a4e3f376925614a2fe35e ****/ %feature("compactdefaultargs") math_Vector; - %feature("autodoc", "Contructs a vector in the range [thelower..theupper] whose values are all initialized with the value 'theinitialvalue'. + %feature("autodoc", "Constructs a vector in the range [thelower..theupper] whose values are all initialized with the value 'theinitialvalue'. Parameters ---------- @@ -6527,7 +6527,7 @@ None /****************** Initialized ******************/ /**** md5 signature: 176526852f04bc77a737d191c0b99e41 ****/ %feature("compactdefaultargs") Initialized; - %feature("autodoc", "Initialises a vector by copying 'theother'. an exception is raised if the lengths are differents. + %feature("autodoc", "Initialises a vector by copying 'theother'. an exception is raised if the lengths are different. Parameters ---------- diff --git a/src/Tesselator/ShapeTesselator.cpp b/src/Tesselator/ShapeTesselator.cpp index 0a1a9afd2..51e729ad9 100644 --- a/src/Tesselator/ShapeTesselator.cpp +++ b/src/Tesselator/ShapeTesselator.cpp @@ -117,11 +117,11 @@ void ShapeTesselator::Tesselate(bool compute_edges, float mesh_quality, bool par aface *this_face = new aface; //write vertex buffer - const TColgp_Array1OfPnt& Nodes = myT->Nodes(); + const TColgp_Array1OfPnt& Nodes = myT->MapNodeArray()->Array1(); this_face->vertex_coord = new double[Nodes.Length() * 3]; this_face->number_of_coords = Nodes.Length(); for (Standard_Integer i = Nodes.Lower(); i <= Nodes.Upper(); i++) { - gp_Pnt p = Nodes(i).Transformed(aLocation.Transformation()); + gp_Pnt p = myT->Node(i).Transformed(aLocation).XYZ(); this_face->vertex_coord[((i-1) * 3)+ 0] = p.X(); this_face->vertex_coord[((i-1) * 3)+ 1] = p.Y(); this_face->vertex_coord[((i-1) * 3)+ 2] = p.Z(); @@ -131,14 +131,14 @@ void ShapeTesselator::Tesselate(bool compute_edges, float mesh_quality, bool par if (myT->HasUVNodes()) { BRepGProp_Face prop(myFace); - const TColgp_Array1OfPnt2d& uvnodes = myT->UVNodes(); + const TColgp_Array1OfPnt2d& uvnodes = myT->MapUVNodeArray()->Array1(); Standard_Integer ilower = uvnodes.Lower(); Standard_Integer iBufferSize = uvnodes.Upper()-uvnodes.Lower()+1; this_face->normal_coord = new Standard_Real[iBufferSize * 3]; this_face->number_of_normals = iBufferSize; for (int i = uvnodes.Lower(); i <= uvnodes.Upper(); ++i) { - const gp_Pnt2d& uv_pnt = uvnodes(i); + const gp_Pnt2d& uv_pnt = myT->UVNode(i); gp_Pnt p; gp_Vec n; prop.Normal(uv_pnt.X(),uv_pnt.Y(),p,n); if (n.SquareMagnitude() > 0.) { @@ -154,7 +154,8 @@ void ShapeTesselator::Tesselate(bool compute_edges, float mesh_quality, bool par } else { invalidNormalCount++; - } + } + //write triangle buffer TopAbs_Orientation orient = myFace.Orientation(); const Poly_Array1OfTriangle& triangles = myT->Triangles(); @@ -282,7 +283,7 @@ void ShapeTesselator::ComputeEdges() theEdge->vertex_coord = new Standard_Real[nbNodesInFace * 3 * sizeof(Standard_Real)]; const TColStd_Array1OfInteger& indices = aPoly->Nodes(); - const TColgp_Array1OfPnt& Nodes = aPolyTria->Nodes(); + const TColgp_Array1OfPnt& Nodes = aPolyTria->MapNodeArray()->Array1(); // go through the index array for (Standard_Integer i=indices.Lower();i <= indices.Upper();i++) { diff --git a/test/core_geometry_unittest.py b/test/core_geometry_unittest.py index f5e129739..54cf93181 100644 --- a/test/core_geometry_unittest.py +++ b/test/core_geometry_unittest.py @@ -17,7 +17,6 @@ ##You should have received a copy of the GNU Lesser General Public License ##along with pythonOCC. If not, see . -import sys import unittest from OCC.Core.gp import ( @@ -102,8 +101,6 @@ ) from OCC.Core.Convert import Convert_TgtThetaOver2 from OCC.Core.BRepAdaptor import BRepAdaptor_Curve -from OCC.Core.GeomAdaptor import GeomAdaptor_Curve -from OCC.Core.Geom import Geom_Curve # # Utility functions @@ -715,22 +712,23 @@ def test_curve_adaptor(self): p2 = gp_Pnt(5, 5, 0) ed1 = BRepBuilderAPI_MakeEdge(p2, p1).Edge() c1 = BRepAdaptor_Curve(ed1) - self.assertTrue(isinstance(c1.Curve(), GeomAdaptor_Curve)) + self.assertTrue(isinstance(c1, BRepAdaptor_Curve)) + # self.assertTrue(isinstance(c1.Curve(), GeomAdaptor_Curve)) # should pass on all platforms - self.assertTrue(isinstance(c1.Curve().Curve(), Geom_Curve)) - c2 = BRepAdaptor_Curve(ed1).Curve() + # self.assertTrue(isinstance(c1.Curve().Curve(), Geom_Curve)) + # c2 = BRepAdaptor_Curve(ed1).Curve() # only works on linux - if sys.platform == "linux": - self.assertTrue(isinstance(c2.Curve(), Geom_Curve)) - self.assertTrue( - isinstance(BRepAdaptor_Curve(ed1).Curve().Curve(), Geom_Curve) - ) + # if sys.platform == "linux": + # self.assertTrue(isinstance(c2.Curve(), Geom_Curve)) + # self.assertTrue( + # isinstance(BRepAdaptor_Curve(ed1).Curve().Curve(), Geom_Curve) + # ) def suite(): - suite = unittest.TestSuite() - suite.addTest(unittest.makeSuite(TestGeometry)) - return suite + uts = unittest.TestSuite() + uts.addTest(unittest.makeSuite(TestGeometry)) + return uts if __name__ == "__main__": diff --git a/test/core_meshdatasource_unittest.py b/test/core_meshdatasource_unittest.py index cbdd31e6f..35607aa74 100644 --- a/test/core_meshdatasource_unittest.py +++ b/test/core_meshdatasource_unittest.py @@ -26,7 +26,6 @@ import numpy as np -os STL_BOTTLE_FILENAME = os.path.join(".", "test_io", "bottle_ascii.stl") @@ -70,20 +69,24 @@ def test_create_mesh_datasource(self): self.assertEqual(node_ids.Value(3), 5) # check normal of elements is_ok, nx, ny, nz = a_data_source.GetNormal(1, 3) + self.assertTrue(is_ok) self.assertEqual(nx, 0.0) self.assertEqual(ny, 0.0) self.assertEqual(nz, -1.0) is_ok, nx, ny, nz = a_data_source.GetNormal(2, 3) + self.assertTrue(is_ok) self.assertEqual(nx, 0.0) self.assertEqual(ny, -1.0) self.assertEqual(nz, 0.0) # check normal of nodes is_ok, nx, ny, nz = a_data_source.GetNodeNormal(1, 1) + self.assertTrue(is_ok) self.assertEqual(nx, 0.0) self.assertEqual(ny, 0.0) self.assertEqual(nz, -1.0) is_ok, nx, ny, nz = a_data_source.GetNodeNormal(1, 2) self.assertEqual(nx, 0.0) + self.assertTrue(is_ok) # floating point number comparison, rounded to 12 decimals self.assertEqual(round(ny, 12), -round(sqrt(2) / 2, 12)) self.assertEqual(round(nz, 12), -round(sqrt(2) / 2, 12)) @@ -109,12 +112,14 @@ def testset_check_normals(self): # set and check normal of elements a_data_source.SetElemNormals(elem_normals_data) is_ok, nx, ny, nz = a_data_source.GetNormal(1, 3) + self.assertTrue(is_ok) self.assertEqual(nx, 0.0) self.assertEqual(ny, 0.0) self.assertEqual(nz, 1.0) # set and check normal of nodes a_data_source.SetNodeNormals(node_normals_data) is_ok, nx, ny, nz = a_data_source.GetNodeNormal(1, 2) + self.assertTrue(is_ok) self.assertEqual(nx, 0.0) self.assertEqual(ny, 0.0) self.assertEqual(nz, -1.0) @@ -158,6 +163,7 @@ def test_create_mesh_datasource_from_numpy_ndarray(self): # create data source a_data_source = MeshDS_DataSource(vertices, faces) + self.assertTrue(isinstance(a_data_source, MeshDS_DataSource)) def suite(): diff --git a/test/core_wrapper_features_unittest.py b/test/core_wrapper_features_unittest.py index a348be1cc..41ea65f08 100644 --- a/test/core_wrapper_features_unittest.py +++ b/test/core_wrapper_features_unittest.py @@ -647,9 +647,9 @@ def test_array_iterator(self) -> None: def test_repr_for_null_TopoDS_Shape(self) -> None: # create null vertex and shape v = TopoDS_Vertex() - self.assertTrue("Null" in v.__repr__()) + self.assertTrue("Null" in repr(v)) s = TopoDS_Shape() - self.assertTrue("Null" in s.__repr__()) + self.assertTrue("Null" in repr(s)) def test_in_place_operators(self) -> None: # operator += diff --git a/test/test_mypy_classic_occ_bottle.py b/test/test_mypy_classic_occ_bottle.py index bea0ca9e7..b3c1d7859 100644 --- a/test/test_mypy_classic_occ_bottle.py +++ b/test/test_mypy_classic_occ_bottle.py @@ -151,7 +151,10 @@ def geom_plane_from_face(aFace: TopoDS_Face) -> gp_Pln: facesToRemove = TopTools_ListOfShape() facesToRemove.Append(aFace) -myBody_step3 = BRepOffsetAPI_MakeThickSolid(myBody_step2.Shape(), facesToRemove, -thickness / 50.0, 0.001) +mk_thick_solid = BRepOffsetAPI_MakeThickSolid() +mk_thick_solid.MakeThickSolidByJoin(myBody_step2.Shape(), facesToRemove, -thickness / 50.0, 0.001) +mk_thick_solid.Build() +myBody_step3 = mk_thick_solid.Shape() # Set up our surfaces for the threading on the neck neckAx2_Ax3 = gp_Ax3(neckLocation, gp_DZ()) @@ -201,6 +204,6 @@ def geom_plane_from_face(aFace: TopoDS_Face) -> gp_Pln: bottle = TopoDS_Compound() aBuilder = BRep_Builder() aBuilder.MakeCompound(bottle) -aBuilder.Add(bottle, myBody_step3.Shape()) +aBuilder.Add(bottle, myBody_step3) aBuilder.Add(bottle, myThreading) print("bottle created")